24 #ifndef USDSKEL_GENERATED_ROOT_H 25 #define USDSKEL_GENERATED_ROOT_H 30 #include "pxr/usd/usdSkel/api.h" 35 #include "pxr/base/vt/value.h" 42 #include "pxr/base/tf/type.h" 44 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;
175 PXR_NAMESPACE_CLOSE_SCOPE
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...
UsdSkelRoot(const UsdPrim &prim=UsdPrim())
Construct a UsdSkelRoot on UsdPrim prim .
static USDSKEL_API UsdSkelRoot Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdSkelRoot holding the prim adhering to this schema at path on stage.
static USDSKEL_API UsdSkelRoot Define(const UsdStagePtr &stage, const SdfPath &path)
Attempt to ensure a UsdPrim adhering to this schema at path is defined (according to UsdPrim::IsDefin...
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
static USDSKEL_API UsdSkelRoot Find(const UsdPrim &prim)
Returns the skel root at or above prim, or an invalid schema object.
virtual USDSKEL_API ~UsdSkelRoot()
Destructor.
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 ...
USDSKEL_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
std::vector< TfToken > TfTokenVector
Convenience types.
A path value used to locate objects in layers or scenegraphs.
Contains an asset path and an optional resolved path.
Boundable prim type used to identify a scope beneath which skeletally-posed primitives are defined.
TfType represents a dynamic runtime type.
Singleton registry that provides access to schema type information and the prim definitions for regis...
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
UsdSkelRoot(const UsdSchemaBase &schemaObj)
Construct a UsdSkelRoot on the prim held by schemaObj .
The base class for all schema types in Usd.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...