Corresponds to UsdSkelAnimation.
More...
#include <animationSchema.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 |
| |
|
USDSKELIMAGING_API HdVec3fArrayDataSourceHandle | GetTranslations () const |
| |
|
USDSKELIMAGING_API HdQuatfArrayDataSourceHandle | GetRotations () const |
| |
|
USDSKELIMAGING_API HdVec3hArrayDataSourceHandle | GetScales () const |
| |
|
USDSKELIMAGING_API HdTokenArrayDataSourceHandle | GetBlendShapes () const |
| |
|
USDSKELIMAGING_API HdFloatArrayDataSourceHandle | GetBlendShapeWeights () const |
| |
| | 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 & | GetTranslationsLocator () |
| | Prim-level relative data source locator to locate translations.
|
| |
| static USDSKELIMAGING_API const HdDataSourceLocator & | GetRotationsLocator () |
| | Prim-level relative data source locator to locate rotations.
|
| |
| static USDSKELIMAGING_API const HdDataSourceLocator & | GetScalesLocator () |
| | Prim-level relative data source locator to locate scales.
|
| |
| static USDSKELIMAGING_API const HdDataSourceLocator & | GetBlendShapesLocator () |
| | Prim-level relative data source locator to locate blendShapes.
|
| |
| static USDSKELIMAGING_API const HdDataSourceLocator & | GetBlendShapeWeightsLocator () |
| | Prim-level relative data source locator to locate blendShapeWeights.
|
| |
|
| static USDSKELIMAGING_API HdContainerDataSourceHandle | BuildRetained (const HdTokenArrayDataSourceHandle &joints, const HdVec3fArrayDataSourceHandle &translations, const HdQuatfArrayDataSourceHandle &rotations, const HdVec3hArrayDataSourceHandle &scales, const HdTokenArrayDataSourceHandle &blendShapes, const HdFloatArrayDataSourceHandle &blendShapeWeights) |
| |
Corresponds to UsdSkelAnimation.
Definition at line 54 of file animationSchema.h.
◆ UsdSkelImagingAnimationSchema()
◆ BuildRetained()
| static USDSKELIMAGING_API HdContainerDataSourceHandle BuildRetained |
( |
const HdTokenArrayDataSourceHandle & |
joints, |
|
|
const HdVec3fArrayDataSourceHandle & |
translations, |
|
|
const HdQuatfArrayDataSourceHandle & |
rotations, |
|
|
const HdVec3hArrayDataSourceHandle & |
scales, |
|
|
const HdTokenArrayDataSourceHandle & |
blendShapes, |
|
|
const HdFloatArrayDataSourceHandle & |
blendShapeWeights |
|
) |
| |
|
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.
◆ GetBlendShapesLocator()
Prim-level relative data source locator to locate blendShapes.
◆ GetBlendShapeWeightsLocator()
Prim-level relative data source locator to locate blendShapeWeights.
◆ 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 "skelAnimation" from the parent container and constructs a UsdSkelImagingAnimationSchema instance.
Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
◆ GetJointsLocator()
Prim-level relative data source locator to locate joints.
◆ GetRotationsLocator()
Prim-level relative data source locator to locate rotations.
◆ GetScalesLocator()
Prim-level relative data source locator to locate scales.
◆ GetSchemaToken()
| static USDSKELIMAGING_API const TfToken & GetSchemaToken |
( |
| ) |
|
|
static |
Returns a token where the container representing this schema is found in a container by default.
◆ GetTranslationsLocator()
Prim-level relative data source locator to locate translations.
The documentation for this class was generated from the following file: