usdrt::UsdSkelBlendShape
Defined in usdrt/scenegraph/usd/usdSkel/blendShape.h
Functions
usdrt::UsdSkelBlendShape::CreateNormalOffsetsAttr: See GetNormalOffsetsAttr() , 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::UsdSkelBlendShape::CreateOffsetsAttr: See GetOffsetsAttr() , 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::UsdSkelBlendShape::CreatePointIndicesAttr: See GetPointIndicesAttr() , 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::UsdSkelBlendShape::GetNormalOffsetsAttr: Required property . Normal offsets which, when added to the base pose, provides the normals of the target shape.
usdrt::UsdSkelBlendShape::GetOffsetsAttr: Required property . Position offsets which, when added to the base pose, provides the target shape.
usdrt::DestructionSchemaDestructibleBaseAPI::GetPath: Return the SdfPath to this schema object's held prim.
usdrt::UsdSkelBlendShape::GetPointIndicesAttr: Optional property . Indices into the original mesh that correspond to the values in offsets and of any inbetween shapes. If authored, the number of elements must be equal to the number of elements in the offsets array.
usdrt::DestructionSchemaDestructibleBaseAPI::GetPrim: Return this schema object's held prim.
usdrt::UsdSkelBlendShape::UsdSkelBlendShape: Construct a UsdSkelBlendShape on UsdPrim
prim
. Equivalent to UsdSkelBlendShape::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.usdrt::UsdSkelBlendShape::UsdSkelBlendShape: Construct a UsdSkelBlendShape on the prim held by
schemaObj
. Should be preferred over UsdSkelBlendShape (schemaObj.GetPrim()), as it preserves SchemaBase state.usdrt::UsdSkelBlendShape::~UsdSkelBlendShape: Destructor.
Variables
usdrt::UsdSkelBlendShape::schemaType: Compile time constant representing what kind of schema this class is.
-
class UsdSkelBlendShape : public usdrt::UsdTyped
Describes a target blend shape, possibly containing inbetween shapes.
See the extended Blend Shape Schemadocumentation for information.
Public Functions
-
inline explicit UsdSkelBlendShape(const UsdPrim &prim = UsdPrim())
Construct a UsdSkelBlendShape on UsdPrim
prim
. Equivalent to UsdSkelBlendShape::Get(prim.GetStage(), prim.GetPath()) for a validprim
, but will not immediately throw an error for an invalidprim
.
-
inline explicit UsdSkelBlendShape(const UsdSchemaBase &schemaObj)
Construct a UsdSkelBlendShape on the prim held by
schemaObj
. Should be preferred over UsdSkelBlendShape(schemaObj.GetPrim()), as it preserves SchemaBase state.
-
inline virtual ~UsdSkelBlendShape()
Destructor.
-
inline operator bool() const
-
inline UsdAttribute GetOffsetsAttr() const
Required property. Position offsets which, when added to the base pose, provides the target shape.
Declaration
uniform vector3f[] offsets
C++ Type
VtArray<GfVec3f>
Usd Type
SdfValueTypeNames->Vector3fArray
Variability
SdfVariabilityUniform
-
inline UsdAttribute CreateOffsetsAttr() const
See GetOffsetsAttr(), 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 GetNormalOffsetsAttr() const
Required property. Normal offsets which, when added to the base pose, provides the normals of the target shape.
Declaration
uniform vector3f[] normalOffsets
C++ Type
VtArray<GfVec3f>
Usd Type
SdfValueTypeNames->Vector3fArray
Variability
SdfVariabilityUniform
-
inline UsdAttribute CreateNormalOffsetsAttr() const
See GetNormalOffsetsAttr(), 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 GetPointIndicesAttr() const
Optional property. Indices into the original mesh that correspond to the values in offsets and of any inbetween shapes. If authored, the number of elements must be equal to the number of elements in the offsets array.
Declaration
uniform int[] pointIndices
C++ Type
VtArray<int>
Usd Type
SdfValueTypeNames->IntArray
Variability
SdfVariabilityUniform
-
inline UsdAttribute CreatePointIndicesAttr() const
See GetPointIndicesAttr(), 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 UsdSkelBlendShape 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 UsdSkelBlendShape(const UsdPrim &prim = UsdPrim())