#include <capsuleSchema.h>
Definition at line 52 of file capsuleSchema.h.
HdCapsuleSchema::HdCapsuleSchema |
( |
HdContainerDataSourceHandle |
container | ) |
|
|
inline |
Retrieves a container data source with the schema's default name token "capsule" from the parent container and constructs a HdCapsuleSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
Definition at line 58 of file capsuleSchema.h.
Returns token data source for use as axis value.
The following values will be stored statically and reused for future calls:
- HdCapsuleSchemaTokens->X
- HdCapsuleSchemaTokens->Y
- HdCapsuleSchemaTokens->Z
- Deprecated:
- Use Builder instead.
Builds a container data source which includes the provided child data sources. Parameters with nullptr values are excluded. This is a low-level interface. For cases in which it's desired to define the container with a sparse set of child fields, the Builder class is often more convenient and readable.
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
static HD_API HdCapsuleSchema HdCapsuleSchema::GetFromParent |
( |
const HdContainerDataSourceHandle & |
fromParentContainer | ) |
|
|
static |
Retrieves a container data source with the schema's default name token "capsule" from the parent container and constructs a HdCapsuleSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
Returns a token where the container representing this schema is found in a container by default.
The documentation for this class was generated from the following file: