24 #ifndef USDSHADE_GENERATED_COORDSYSAPI_H
25 #define USDSHADE_GENERATED_COORDSYSAPI_H
30 #include "pxr/usd/usdShade/api.h"
38 #include "pxr/base/vt/value.h"
45 #include "pxr/base/tf/type.h"
47 PXR_NAMESPACE_OPEN_SCOPE
126 Get(
const UsdStagePtr &stage,
const SdfPath &path);
140 static const TfType &_GetStaticTfType();
142 static bool _IsTypedSchema();
146 const TfType &_GetTfType()
const override;
229 PXR_NAMESPACE_CLOSE_SCOPE
USDSHADE_API bool BlockBinding(const TfToken &name) const
Block the indicated coordinate system binding on this prim by blocking targets on the underlying rela...
UsdShadeCoordSysAPI provides a way to designate, name, and discover coordinate systems.
USDSHADE_API UsdSchemaKind _GetSchemaKind() const override
Returns the kind of schema this class belongs to.
The base class for all API schemas.
A coordinate system binding.
UsdSchemaKind
An enum representing which kind of schema a given schema class belongs to.
Token for efficient comparison, assignment, and hashing of known strings.
static const UsdSchemaKind schemaKind
Compile time constant representing what kind of schema this class is.
UsdShadeCoordSysAPI(const UsdSchemaBase &schemaObj)
Construct a UsdShadeCoordSysAPI on the prim held by schemaObj .
virtual USDSHADE_API ~UsdShadeCoordSysAPI()
Destructor.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
std::vector< TfToken > TfTokenVector
Convenience types.
A path value used to locate objects in layers or scenegraphs.
USDSHADE_API bool Bind(const TfToken &name, const SdfPath &path) const
Bind the name to the given path.
UsdShadeCoordSysAPI(const UsdPrim &prim=UsdPrim())
Construct a UsdShadeCoordSysAPI on UsdPrim prim .
Contains an asset path and an optional resolved path.
USDSHADE_API std::vector< Binding > FindBindingsWithInheritance() const
Find the list of coordinate system bindings that apply to this prim, including inherited bindings...
USDSHADE_API bool HasLocalBindings() const
Returns true if the prim has local coordinate system binding opinions.
USDSHADE_API std::vector< Binding > GetLocalBindings() const
Get the list of coordinate system bindings local to this prim.
static USDSHADE_API UsdShadeCoordSysAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdShadeCoordSysAPI holding the prim adhering to this schema at path on stage.
TfType represents a dynamic runtime type.
static USDSHADE_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...
Singleton registry that provides access to schema type information and the prim definitions for regis...
USDSHADE_API bool ClearBinding(const TfToken &name, bool removeSpec) const
Clear the indicated coordinate system binding on this prim from the current edit target.
static USDSHADE_API bool CanContainPropertyName(const TfToken &name)
Test whether a given name contains the "coordSys:" prefix.
The base class for all schema types in Usd.
static USDSHADE_API TfToken GetCoordSysRelationshipName(const std::string &coordSysName)
Returns the fully namespaced coordinate system relationship name, given the coordinate system name...
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...