|
HDK
|
#include <geomModelSchema.h>
Inheritance diagram for UsdImagingGeomModelSchema:Classes | |
| class | Builder |
Static Public Member Functions | |
Schema location | |
| static USDIMAGING_API const TfToken & | GetSchemaToken () |
| static USDIMAGING_API const HdDataSourceLocator & | GetDefaultLocator () |
Data source locators for members | |
The following methods return an HdDataSourceLocator (relative to the prim-level data source) where the data source for a member can be found. This is often useful for checking intersection against the HdDataSourceLocatorSet sent with HdDataSourceObserver::PrimsDirtied. | |
| static USDIMAGING_API const HdDataSourceLocator & | GetDrawModeLocator () |
| Prim-level relative data source locator to locate drawMode. More... | |
Schema construction | |
| static USDIMAGING_API HdContainerDataSourceHandle | BuildRetained (const HdTokenDataSourceHandle &drawMode, const HdBoolDataSourceHandle &applyDrawMode, const HdVec3fDataSourceHandle &drawModeColor, const HdTokenDataSourceHandle &cardGeometry, const HdAssetPathDataSourceHandle &cardTextureXPos, const HdAssetPathDataSourceHandle &cardTextureYPos, const HdAssetPathDataSourceHandle &cardTextureZPos, const HdAssetPathDataSourceHandle &cardTextureXNeg, const HdAssetPathDataSourceHandle &cardTextureYNeg, const HdAssetPathDataSourceHandle &cardTextureZNeg) |
| static USDIMAGING_API HdTokenDataSourceHandle | BuildDrawModeDataSource (const TfToken &drawMode) |
| static USDIMAGING_API HdTokenDataSourceHandle | BuildCardGeometryDataSource (const TfToken &cardGeometry) |
Schema retrieval | |
| UsdImagingGeomModelSchema (HdContainerDataSourceHandle container) | |
| static USDIMAGING_API UsdImagingGeomModelSchema | GetFromParent (const HdContainerDataSourceHandle &fromParentContainer) |
Additional Inherited Members | |
Public Types inherited from HdSchema | |
| using | UnderlyingDataSource = HdContainerDataSource |
Protected Member Functions inherited from HdSchema | |
| template<typename T > | |
| T::Handle | _GetTypedDataSource (TfToken name) const |
Protected Attributes inherited from HdSchema | |
| HdContainerDataSourceHandle | _container |
Definition at line 62 of file geomModelSchema.h.
|
inline |
Retrieves a container data source with the schema's default name token "geomModel" from the parent container and constructs a UsdImagingGeomModelSchema 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 68 of file geomModelSchema.h.
|
static |
Returns token data source for use as cardGeometry value.
The following values will be stored statically and reused for future calls:
|
static |
Returns token data source for use as drawMode value.
The following values will be stored statically and reused for future calls:
|
static |
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.
| USDIMAGING_API HdBoolDataSourceHandle UsdImagingGeomModelSchema::GetApplyDrawMode | ( | ) | const |
| USDIMAGING_API HdTokenDataSourceHandle UsdImagingGeomModelSchema::GetCardGeometry | ( | ) | const |
| USDIMAGING_API HdAssetPathDataSourceHandle UsdImagingGeomModelSchema::GetCardTextureXNeg | ( | ) | const |
| USDIMAGING_API HdAssetPathDataSourceHandle UsdImagingGeomModelSchema::GetCardTextureXPos | ( | ) | const |
| USDIMAGING_API HdAssetPathDataSourceHandle UsdImagingGeomModelSchema::GetCardTextureYNeg | ( | ) | const |
| USDIMAGING_API HdAssetPathDataSourceHandle UsdImagingGeomModelSchema::GetCardTextureYPos | ( | ) | const |
| USDIMAGING_API HdAssetPathDataSourceHandle UsdImagingGeomModelSchema::GetCardTextureZNeg | ( | ) | const |
| USDIMAGING_API HdAssetPathDataSourceHandle UsdImagingGeomModelSchema::GetCardTextureZPos | ( | ) | const |
|
static |
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
| USDIMAGING_API HdTokenDataSourceHandle UsdImagingGeomModelSchema::GetDrawMode | ( | ) | const |
| USDIMAGING_API HdVec3fDataSourceHandle UsdImagingGeomModelSchema::GetDrawModeColor | ( | ) | const |
|
static |
Prim-level relative data source locator to locate drawMode.
|
static |
Retrieves a container data source with the schema's default name token "geomModel" from the parent container and constructs a UsdImagingGeomModelSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
|
static |
Returns a token where the container representing this schema is found in a container by default.