#include <sceneGlobalsSchema.h>
Definition at line 74 of file sceneGlobalsSchema.h.
HdSceneGlobalsSchema::HdSceneGlobalsSchema |
( |
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.
Prim-level relative data source locator to locate activeRenderSettingsPrim.
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
static const SdfPath& HdSceneGlobalsSchema::GetDefaultPrimPath |
( |
| ) |
|
|
inlinestatic |
Utility method to concretize the convention of parking the "sceneGlobals" container at the root prim of the scene index.
Definition at line 96 of file sceneGlobalsSchema.h.
Retrieves a container data source with the schema's default name token "sceneGlobals" from the parent container and constructs a HdSceneGlobalsSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
Constructs and returns a HdSceneGlobalsSchema from the root prim in the scene index. Since the root prim might not have a data source for this schema, the result should be checked with IsDefined() or a bool conversion before use.
- Note
- This API is preferable to GetFromParent(container).
static HD_API const TfToken& HdSceneGlobalsSchema::GetSchemaToken |
( |
| ) |
|
|
static |
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: