HDK
|
#include <bindingSchema.h>
Classes | |
class | Builder |
Public Member Functions | |
Member accessor | |
USDSKELIMAGING_API HdPathDataSourceHandle | GetAnimationSource () const |
USDSKELIMAGING_API HdPathDataSourceHandle | GetSkeleton () const |
USDSKELIMAGING_API HdTokenArrayDataSourceHandle | GetJoints () const |
USDSKELIMAGING_API HdTokenArrayDataSourceHandle | GetBlendShapes () const |
This is not inherited according to the UsdSkel spec. More... | |
USDSKELIMAGING_API HdPathArrayDataSourceHandle | GetBlendShapeTargets () const |
This is not inherited according to the UsdSkel spec. More... | |
USDSKELIMAGING_API HdBoolDataSourceHandle | GetHasSkelRoot () const |
![]() | |
HdSchema (HdContainerDataSourceHandle container) | |
HD_API HdContainerDataSourceHandle | GetContainer () const |
Returns the container data source that this schema is interpreting. More... | |
HD_API bool | IsDefined () const |
operator bool () const | |
Static Public Member Functions | |
Schema location | |
static USDSKELIMAGING_API const TfToken & | GetSchemaToken () |
static USDSKELIMAGING_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 USDSKELIMAGING_API const HdDataSourceLocator & | GetAnimationSourceLocator () |
Prim-level relative data source locator to locate animationSource. More... | |
static USDSKELIMAGING_API const HdDataSourceLocator & | GetSkeletonLocator () |
Prim-level relative data source locator to locate skeleton. More... | |
static USDSKELIMAGING_API const HdDataSourceLocator & | GetJointsLocator () |
Prim-level relative data source locator to locate joints. More... | |
static USDSKELIMAGING_API const HdDataSourceLocator & | GetBlendShapesLocator () |
Prim-level relative data source locator to locate blendShapes. More... | |
static USDSKELIMAGING_API const HdDataSourceLocator & | GetBlendShapeTargetsLocator () |
Prim-level relative data source locator to locate blendShapeTargets. More... | |
static USDSKELIMAGING_API const HdDataSourceLocator & | GetHasSkelRootLocator () |
Prim-level relative data source locator to locate hasSkelRoot. More... | |
Schema construction | |
static USDSKELIMAGING_API HdContainerDataSourceHandle | BuildRetained (const HdPathDataSourceHandle &animationSource, const HdPathDataSourceHandle &skeleton, const HdTokenArrayDataSourceHandle &joints, const HdTokenArrayDataSourceHandle &blendShapes, const HdPathArrayDataSourceHandle &blendShapeTargets, const HdBoolDataSourceHandle &hasSkelRoot) |
Schema retrieval | |
UsdSkelImagingBindingSchema (HdContainerDataSourceHandle container) | |
static USDSKELIMAGING_API UsdSkelImagingBindingSchema | GetFromParent (const HdContainerDataSourceHandle &fromParentContainer) |
Additional Inherited Members | |
![]() | |
using | UnderlyingDataSource = HdContainerDataSource |
![]() | |
template<typename T > | |
T::Handle | _GetTypedDataSource (TfToken name) const |
![]() | |
HdContainerDataSourceHandle | _container |
Definition at line 56 of file bindingSchema.h.
|
inline |
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.
Definition at line 62 of file bindingSchema.h.
|
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.
USDSKELIMAGING_API HdPathDataSourceHandle UsdSkelImagingBindingSchema::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).
|
static |
Prim-level relative data source locator to locate animationSource.
USDSKELIMAGING_API HdTokenArrayDataSourceHandle UsdSkelImagingBindingSchema::GetBlendShapes | ( | ) | const |
This is not inherited according to the UsdSkel spec.
|
static |
Prim-level relative data source locator to locate blendShapes.
USDSKELIMAGING_API HdPathArrayDataSourceHandle UsdSkelImagingBindingSchema::GetBlendShapeTargets | ( | ) | const |
This is not inherited according to the UsdSkel spec.
|
static |
Prim-level relative data source locator to locate blendShapeTargets.
|
static |
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
|
static |
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.
USDSKELIMAGING_API HdBoolDataSourceHandle UsdSkelImagingBindingSchema::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.
|
static |
Prim-level relative data source locator to locate hasSkelRoot.
USDSKELIMAGING_API HdTokenArrayDataSourceHandle UsdSkelImagingBindingSchema::GetJoints | ( | ) | 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).
|
static |
Prim-level relative data source locator to locate joints.
|
static |
Returns a token where the container representing this schema is found in a container by default.
USDSKELIMAGING_API HdPathDataSourceHandle UsdSkelImagingBindingSchema::GetSkeleton | ( | ) | 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).
|
static |
Prim-level relative data source locator to locate skeleton.