Corresponds to UsdSkelBindingAPI.
More...
#include <bindingSchema.h>
|
| class | Builder |
| | Utility class for setting sparse sets of child data source fields to be filled as arguments into BuildRetained. More...
|
| |
|
|
| USDSKELIMAGING_API HdPathDataSourceHandle | GetAnimationSource () const |
| | Note that in UsdSkel, the animation comes from the animationSource on the Skeleton (which also carries the topology of the skeleton as joints).
|
| |
|
USDSKELIMAGING_API HdPathDataSourceHandle | GetSkeleton () const |
| |
|
USDSKELIMAGING_API HdTokenArrayDataSourceHandle | GetJoints () const |
| |
| USDSKELIMAGING_API HdTokenArrayDataSourceHandle | GetBlendShapes () const |
| | This is not inherited according to the UsdSkel spec.
|
| |
| USDSKELIMAGING_API HdPathArrayDataSourceHandle | GetBlendShapeTargets () const |
| | This is not inherited according to the UsdSkel spec.
|
| |
| USDSKELIMAGING_API HdBoolDataSourceHandle | GetHasSkelRoot () const |
| | Is this prim a descendant of a SkelRoot? Does not correspond to Usd attribute and is actually populated by the SkelRoot and not the SkelBinding.
|
| |
| | 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.
|
| |
Corresponds to UsdSkelBindingAPI.
Definition at line 58 of file bindingSchema.h.
◆ UsdSkelImagingBindingSchema()
◆ BuildRetained()
| static USDSKELIMAGING_API HdContainerDataSourceHandle BuildRetained |
( |
const HdPathDataSourceHandle & |
animationSource, |
|
|
const HdPathDataSourceHandle & |
skeleton, |
|
|
const HdTokenArrayDataSourceHandle & |
joints, |
|
|
const HdTokenArrayDataSourceHandle & |
blendShapes, |
|
|
const HdPathArrayDataSourceHandle & |
blendShapeTargets, |
|
|
const HdBoolDataSourceHandle & |
hasSkelRoot |
|
) |
| |
|
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.
◆ GetAnimationSource()
| USDSKELIMAGING_API HdPathDataSourceHandle GetAnimationSource |
( |
| ) |
const |
Note that in UsdSkel, the animation comes from the animationSource on the Skeleton (which also carries the topology of the skeleton as joints).
This animationSource is either authored on the Skeleton directly (and UsdSkelBindingAPI is applied) or inherited from an ancestor of Skeleton (that has UsdSkelBindingAPI applied).
◆ GetAnimationSourceLocator()
Prim-level relative data source locator to locate animationSource.
◆ GetBlendShapes()
| USDSKELIMAGING_API HdTokenArrayDataSourceHandle GetBlendShapes |
( |
| ) |
const |
This is not inherited according to the UsdSkel spec.
◆ GetBlendShapesLocator()
Prim-level relative data source locator to locate blendShapes.
◆ GetBlendShapeTargets()
| USDSKELIMAGING_API HdPathArrayDataSourceHandle GetBlendShapeTargets |
( |
| ) |
const |
This is not inherited according to the UsdSkel spec.
◆ GetBlendShapeTargetsLocator()
Prim-level relative data source locator to locate blendShapeTargets.
◆ 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 "skelBinding" from the parent container and constructs a UsdSkelImagingBindingSchema instance.
Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
◆ GetHasSkelRoot()
| USDSKELIMAGING_API HdBoolDataSourceHandle GetHasSkelRoot |
( |
| ) |
const |
Is this prim a descendant of a SkelRoot? Does not correspond to Usd attribute and is actually populated by the SkelRoot and not the SkelBinding.
◆ GetHasSkelRootLocator()
Prim-level relative data source locator to locate hasSkelRoot.
◆ GetJointsLocator()
Prim-level relative data source locator to locate joints.
◆ GetSchemaToken()
| static USDSKELIMAGING_API const TfToken & GetSchemaToken |
( |
| ) |
|
|
static |
Returns a token where the container representing this schema is found in a container by default.
◆ GetSkeletonLocator()
Prim-level relative data source locator to locate skeleton.
The documentation for this class was generated from the following file: