#include <sphereSchema.h>
Definition at line 51 of file sphereSchema.h.
HdSphereSchema::HdSphereSchema |
( |
HdContainerDataSourceHandle |
container | ) |
|
|
inline |
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 HdSphereSchema HdSphereSchema::GetFromParent |
( |
const HdContainerDataSourceHandle & |
fromParentContainer | ) |
|
|
static |
Retrieves a container data source with the schema's default name token "sphere" from the parent container and constructs a HdSphereSchema 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: