Corresponds to UsdSkelSkeleton.
More...
#include <skeletonSchema.h>
|
| class | Builder |
| | Utility class for setting sparse sets of child data source fields to be filled as arguments into BuildRetained. More...
|
| |
|
|
| USDSKELIMAGING_API HdTokenArrayDataSourceHandle | GetJoints () const |
| | Determines topology of skeleton.
|
| |
| USDSKELIMAGING_API HdTokenArrayDataSourceHandle | GetJointNames () const |
| | Here for completeness but ignored for posing the geometry.
|
| |
|
USDSKELIMAGING_API HdMatrixArrayDataSourceHandle | GetBindTransforms () const |
| |
| USDSKELIMAGING_API HdMatrixArrayDataSourceHandle | GetRestTransforms () const |
| | These are local rest transforms.
|
| |
| | HdSchema (HdContainerDataSourceHandle container) |
| |
| HD_API HdContainerDataSourceHandle | GetContainer () const |
| | Returns the container data source that this schema is interpreting.
|
| |
|
HD_API bool | IsDefined () const |
| |
| | operator bool () const |
| | Returns true if this schema is applied on top of a non-null container.
|
| |
|
|
| static USDSKELIMAGING_API const TfToken & | GetSchemaToken () |
| | Returns a token where the container representing this schema is found in a container by default.
|
| |
| static USDSKELIMAGING_API const HdDataSourceLocator & | GetDefaultLocator () |
| | Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
|
| |
|
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 USDSKELIMAGING_API const HdDataSourceLocator & | GetJointsLocator () |
| | Prim-level relative data source locator to locate joints.
|
| |
| static USDSKELIMAGING_API const HdDataSourceLocator & | GetJointNamesLocator () |
| | Prim-level relative data source locator to locate jointNames.
|
| |
| static USDSKELIMAGING_API const HdDataSourceLocator & | GetBindTransformsLocator () |
| | Prim-level relative data source locator to locate bindTransforms.
|
| |
| static USDSKELIMAGING_API const HdDataSourceLocator & | GetRestTransformsLocator () |
| | Prim-level relative data source locator to locate restTransforms.
|
| |
|
| static USDSKELIMAGING_API HdContainerDataSourceHandle | BuildRetained (const HdTokenArrayDataSourceHandle &joints, const HdTokenArrayDataSourceHandle &jointNames, const HdMatrixArrayDataSourceHandle &bindTransforms, const HdMatrixArrayDataSourceHandle &restTransforms) |
| |
Corresponds to UsdSkelSkeleton.
Definition at line 52 of file skeletonSchema.h.
◆ UsdSkelImagingSkeletonSchema()
◆ BuildRetained()
| static USDSKELIMAGING_API HdContainerDataSourceHandle BuildRetained |
( |
const HdTokenArrayDataSourceHandle & |
joints, |
|
|
const HdTokenArrayDataSourceHandle & |
jointNames, |
|
|
const HdMatrixArrayDataSourceHandle & |
bindTransforms, |
|
|
const HdMatrixArrayDataSourceHandle & |
restTransforms |
|
) |
| |
|
static |
- 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.
◆ GetBindTransformsLocator()
Prim-level relative data source locator to locate bindTransforms.
◆ GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
◆ GetFromParent()
Retrieves a container data source with the schema's default name token "skeleton" from the parent container and constructs a UsdSkelImagingSkeletonSchema instance.
Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
◆ GetJointNames()
| USDSKELIMAGING_API HdTokenArrayDataSourceHandle GetJointNames |
( |
| ) |
const |
Here for completeness but ignored for posing the geometry.
See Skeleton.jointNames in usdSkel/schema for uses.
◆ GetJointNamesLocator()
Prim-level relative data source locator to locate jointNames.
◆ GetJoints()
| USDSKELIMAGING_API HdTokenArrayDataSourceHandle GetJoints |
( |
| ) |
const |
Determines topology of skeleton.
◆ GetJointsLocator()
Prim-level relative data source locator to locate joints.
◆ GetRestTransforms()
| USDSKELIMAGING_API HdMatrixArrayDataSourceHandle GetRestTransforms |
( |
| ) |
const |
These are local rest transforms.
◆ GetRestTransformsLocator()
Prim-level relative data source locator to locate restTransforms.
◆ GetSchemaToken()
| static USDSKELIMAGING_API const TfToken & 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: