Resolved data for a skeleton and the targeted skelAnim.
More...
#include <resolvedSkeletonSchema.h>
|
| class | Builder |
| | Utility class for setting sparse sets of child data source fields to be filled as arguments into BuildRetained. More...
|
| |
|
|
| USDSKELIMAGING_API HdMatrixDataSourceHandle | GetSkelLocalToCommonSpace () const |
| | Transform to go from the local space if the skeleton prim to common space (as defined by UsdSkelImagingDataSourceXformResolver).
|
| |
| USDSKELIMAGING_API HdMatrix4fArrayDataSourceHandle | GetSkinningTransforms () const |
| | Passed to the extComputations.
|
| |
| USDSKELIMAGING_API HdTokenArrayDataSourceHandle | GetBlendShapes () const |
| | Just forwarded from the skelAnim's blendShapes.
|
| |
| USDSKELIMAGING_API HdFloatArrayDataSourceHandle | GetBlendShapeWeights () const |
| | Just forwarded from the skelAnim's blendShapeWeights.
|
| |
| | 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.
|
| |
Resolved data for a skeleton and the targeted skelAnim.
Populated by the skeleton resolving scene index.
Definition at line 53 of file resolvedSkeletonSchema.h.
◆ UsdSkelImagingResolvedSkeletonSchema()
◆ BuildRetained()
| static USDSKELIMAGING_API HdContainerDataSourceHandle BuildRetained |
( |
const HdMatrixDataSourceHandle & |
skelLocalToCommonSpace, |
|
|
const HdMatrix4fArrayDataSourceHandle & |
skinningTransforms, |
|
|
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.
◆ GetBlendShapes()
| USDSKELIMAGING_API HdTokenArrayDataSourceHandle GetBlendShapes |
( |
| ) |
const |
Just forwarded from the skelAnim's blendShapes.
◆ GetBlendShapesLocator()
Prim-level relative data source locator to locate blendShapes.
◆ GetBlendShapeWeights()
| USDSKELIMAGING_API HdFloatArrayDataSourceHandle GetBlendShapeWeights |
( |
| ) |
const |
Just forwarded from the skelAnim's blendShapeWeights.
◆ 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 "resolvedSkeleton" from the parent container and constructs a UsdSkelImagingResolvedSkeletonSchema instance.
Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
◆ GetSchemaToken()
| static USDSKELIMAGING_API const TfToken & GetSchemaToken |
( |
| ) |
|
|
static |
Returns a token where the container representing this schema is found in a container by default.
◆ GetSkelLocalToCommonSpace()
| USDSKELIMAGING_API HdMatrixDataSourceHandle GetSkelLocalToCommonSpace |
( |
| ) |
const |
◆ GetSkelLocalToCommonSpaceLocator()
Prim-level relative data source locator to locate skelLocalToCommonSpace.
◆ GetSkinningTransforms()
| USDSKELIMAGING_API HdMatrix4fArrayDataSourceHandle GetSkinningTransforms |
( |
| ) |
const |
Passed to the extComputations.
Computed from the following: skeleton's joints (determining the topology), and bind and rest (if needed) transforms. skelAnim's joints (determining the remapping) and translations, rotations and scales.
◆ GetSkinningTransformsLocator()
Prim-level relative data source locator to locate skinningTransforms.
The documentation for this class was generated from the following file: