usdrt::UsdSkelPackedJointAnimation
Defined in usdrt/scenegraph/usd/usdSkel/packedJointAnimation.h
Functions
usdrt::UsdSkelAnimation::CreateBlendShapeWeightsAttr: See GetBlendShapeWeightsAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::UsdSkelAnimation::CreateBlendShapesAttr: See GetBlendShapesAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::UsdSkelAnimation::CreateJointsAttr: See GetJointsAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::UsdSkelAnimation::CreateRotationsAttr: See GetRotationsAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::UsdSkelAnimation::CreateScalesAttr: See GetScalesAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::UsdSkelAnimation::CreateTranslationsAttr: See GetTranslationsAttr() , and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute's default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.usdrt::UsdSkelAnimation::GetBlendShapeWeightsAttr: Array of weight values for each blend shape. Each weight value is associated with the corresponding blend shape identified within the blendShapes token array, and therefore must have the same length as *blendShapes.
usdrt::UsdSkelAnimation::GetBlendShapesAttr: Array of tokens identifying which blend shapes this animation's data applies to. The tokens for blendShapes correspond to the tokens set in the skel:blendShapes binding property of the UsdSkelBindingAPI .
usdrt::UsdSkelAnimation::GetJointsAttr: Array of tokens identifying which joints this animation's data applies to. The tokens for joints correspond to the tokens of Skeleton primitives. The order of the joints as listed here may vary from the order of joints on the Skeleton itself.
usdrt::DestructionSchemaDestructibleBaseAPI::GetPath: Return the SdfPath to this schema object's held prim.
usdrt::DestructionSchemaDestructibleBaseAPI::GetPrim: Return this schema object's held prim.
usdrt::UsdSkelAnimation::GetRotationsAttr: Joint-local unit quaternion rotations of all affected joints, in 32-bit precision. Array length should match the size of the joints attribute.
usdrt::UsdSkelAnimation::GetScalesAttr: Joint-local scales of all affected joints, in 16 bit precision. Array length should match the size of the joints attribute.
usdrt::UsdSkelAnimation::GetTranslationsAttr: Joint-local translations of all affected joints. Array length should match the size of the joints attribute.
usdrt::UsdSkelPackedJointAnimation::UsdSkelPackedJointAnimation: Construct a UsdSkelPackedJointAnimation on UsdPrim
prim
. Equivalent to UsdSkelPackedJointAnimation::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.usdrt::UsdSkelPackedJointAnimation::UsdSkelPackedJointAnimation: Construct a UsdSkelPackedJointAnimation on the prim held by
schemaObj
. Should be preferred over UsdSkelPackedJointAnimation (schemaObj.GetPrim()), as it preserves SchemaBase state.usdrt::UsdSkelPackedJointAnimation::~UsdSkelPackedJointAnimation: Destructor.
Variables
usdrt::UsdSkelPackedJointAnimation::schemaType: Compile time constant representing what kind of schema this class is.
-
class UsdSkelPackedJointAnimation : public usdrt::UsdSkelAnimation
Deprecated. Please use SkelAnimation instead.
Public Functions
-
inline explicit UsdSkelPackedJointAnimation(const UsdPrim &prim = UsdPrim())
Construct a UsdSkelPackedJointAnimation on UsdPrim
prim
. Equivalent to UsdSkelPackedJointAnimation::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.
-
inline explicit UsdSkelPackedJointAnimation(const UsdSchemaBase &schemaObj)
Construct a UsdSkelPackedJointAnimation on the prim held by
schemaObj
. Should be preferred over UsdSkelPackedJointAnimation(schemaObj.GetPrim()), as it preserves SchemaBase state.
-
inline virtual ~UsdSkelPackedJointAnimation()
Destructor.
-
inline operator bool() const
-
inline UsdAttribute GetJointsAttr() const
Array of tokens identifying which joints this animation’s data applies to. The tokens for joints correspond to the tokens of Skeleton primitives. The order of the joints as listed here may vary from the order of joints on the Skeleton itself.
Declaration
uniform token[] joints
C++ Type
VtArray<TfToken>
Usd Type
SdfValueTypeNames->TokenArray
Variability
SdfVariabilityUniform
-
inline UsdAttribute CreateJointsAttr() const
See GetJointsAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
-
inline UsdAttribute GetTranslationsAttr() const
Joint-local translations of all affected joints. Array length should match the size of the joints attribute.
Declaration
float3[] translations
C++ Type
VtArray<GfVec3f>
Usd Type
SdfValueTypeNames->Float3Array
-
inline UsdAttribute CreateTranslationsAttr() const
See GetTranslationsAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
-
inline UsdAttribute GetRotationsAttr() const
Joint-local unit quaternion rotations of all affected joints, in 32-bit precision. Array length should match the size of the joints attribute.
Declaration
quatf[] rotations
C++ Type
VtArray<GfQuatf>
Usd Type
SdfValueTypeNames->QuatfArray
-
inline UsdAttribute CreateRotationsAttr() const
See GetRotationsAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
-
inline UsdAttribute GetScalesAttr() const
Joint-local scales of all affected joints, in 16 bit precision. Array length should match the size of the joints attribute.
Declaration
half3[] scales
C++ Type
VtArray<GfVec3h>
Usd Type
SdfValueTypeNames->Half3Array
-
inline UsdAttribute CreateScalesAttr() const
See GetScalesAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
-
inline UsdAttribute GetBlendShapesAttr() const
Array of tokens identifying which blend shapes this animation’s data applies to. The tokens for blendShapes correspond to the tokens set in the skel:blendShapes binding property of the UsdSkelBindingAPI.
Declaration
uniform token[] blendShapes
C++ Type
VtArray<TfToken>
Usd Type
SdfValueTypeNames->TokenArray
Variability
SdfVariabilityUniform
-
inline UsdAttribute CreateBlendShapesAttr() const
See GetBlendShapesAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
-
inline UsdAttribute GetBlendShapeWeightsAttr() const
Array of weight values for each blend shape. Each weight value is associated with the corresponding blend shape identified within the blendShapes token array, and therefore must have the same length as *blendShapes.
Declaration
float[] blendShapeWeights
C++ Type
VtArray<float>
Usd Type
SdfValueTypeNames->FloatArray
-
inline UsdAttribute CreateBlendShapeWeightsAttr() const
See GetBlendShapeWeightsAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author
defaultValue
as the attribute’s default, sparsely (when it makes sense to do so) ifwriteSparsely
istrue
- the default forwriteSparsely
isfalse
.
Public Static Functions
-
static inline UsdSkelPackedJointAnimation Define(const UsdStageRefPtr &stage, const SdfPath &path)
Public Static Attributes
-
static const UsdSchemaType schemaType = UsdSchemaType::ConcreteTyped
Compile time constant representing what kind of schema this class is.
See also
UsdSchemaType
-
inline explicit UsdSkelPackedJointAnimation(const UsdPrim &prim = UsdPrim())