24 #ifndef USDSKEL_GENERATED_SKELETON_H 25 #define USDSKEL_GENERATED_SKELETON_H 30 #include "pxr/usd/usdSkel/api.h" 38 #include "pxr/base/vt/value.h" 45 #include "pxr/base/tf/type.h" 47 PXR_NAMESPACE_OPEN_SCOPE
110 Get(
const UsdStagePtr &stage,
const SdfPath &path);
149 static const TfType &_GetStaticTfType();
151 static bool _IsTypedSchema();
155 const TfType &_GetTfType()
const override;
274 PXR_NAMESPACE_CLOSE_SCOPE
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
USDSKEL_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
UsdSkelSkeleton(const UsdPrim &prim=UsdPrim())
Construct a UsdSkelSkeleton on UsdPrim prim .
USDSKEL_API UsdAttribute CreateBindTransformsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetBindTransformsAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
Scenegraph object for authoring and retrieving numeric, string, and array valued data,...
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
USDSKEL_API UsdAttribute GetJointNamesAttr() const
If authored, provides a unique name per joint.
Boundable introduces the ability for a prim to persistently cache a rectilinear, local-space,...
Represents a concrete typed schema.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
std::vector< TfToken > TfTokenVector
Convenience types.
USDSKEL_API UsdAttribute GetRestTransformsAttr() const
Specifies the rest-pose transforms of each joint in local space, in the ordering imposed by joints.
A path value used to locate objects in layers or scenegraphs.
static USDSKEL_API UsdSkelSkeleton Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdSkelSkeleton holding the prim adhering to this schema at path on stage.
USDSKEL_API UsdAttribute CreateJointNamesAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetJointNamesAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
Contains an asset path and an optional resolved path.
USDSKEL_API UsdAttribute CreateJointsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetJointsAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
USDSKEL_API UsdAttribute CreateRestTransformsAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetRestTransformsAttr(), and also Create vs Get Property Methods for when to use Get vs Create.
TfType represents a dynamic runtime type.
Singleton registry that provides access to schema type information and the prim definitions for regis...
USDSKEL_API UsdAttribute GetJointsAttr() const
An array of path tokens identifying the set of joints that make up the skeleton, and their order.
The base class for all schema types in Usd.
UsdSkelSkeleton(const UsdSchemaBase &schemaObj)
Construct a UsdSkelSkeleton on the prim held by schemaObj .
static USDSKEL_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
Return a vector of names of all pre-declared attributes for this schema class and all its ancestor cl...
USDSKEL_API UsdAttribute GetBindTransformsAttr() const
Specifies the bind-pose transforms of each joint in world space, in the ordering imposed by joints.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
virtual USDSKEL_API ~UsdSkelSkeleton()
Destructor.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
static USDSKEL_API UsdSkelSkeleton Define(const UsdStagePtr &stage, const SdfPath &path)
Attempt to ensure a UsdPrim adhering to this schema at path is defined (according to UsdPrim::IsDefin...