usdrt::UsdSkelPackedJointAnimation

Defined in usdrt/scenegraph/usd/usdSkel/packedJointAnimation.h

Functions

Variables

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 valid prim, but will not immediately throw an error for an invalid prim.

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) if writeSparsely is true - the default for writeSparsely is false.

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) if writeSparsely is true - the default for writeSparsely is false.

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) if writeSparsely is true - the default for writeSparsely is false.

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) if writeSparsely is true - the default for writeSparsely is false.

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) if writeSparsely is true - the default for writeSparsely is false.

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) if writeSparsely is true - the default for writeSparsely is false.

UsdPrim GetPrim() const

Return this schema object’s held prim.

SdfPath GetPath() const

Return the SdfPath to this schema object’s held prim.

Public Static Functions

static inline UsdSkelPackedJointAnimation Define(const UsdStageRefPtr &stage, const SdfPath &path)
static inline const TfToken _GetStaticTfType()

Public Static Attributes

static const UsdSchemaType schemaType = UsdSchemaType::ConcreteTyped

Compile time constant representing what kind of schema this class is.

See also

UsdSchemaType