24 #ifndef USD_GENERATED_MODELAPI_H
25 #define USD_GENERATED_MODELAPI_H
133 static const TfType &_GetStaticTfType();
135 static bool _IsTypedSchema();
139 const TfType &_GetTfType()
const override;
338 #define USDMODEL_ASSET_INFO_KEYS \
342 (payloadAssetDependencies)
USD_API bool SetKind(const TfToken &kind) const
USD_API bool GetAssetInfo(VtDictionary *info) const
USD_API void SetAssetName(const std::string &assetName) const
T const & UncheckedGet() const &
static const UsdSchemaKind schemaKind
static USD_API UsdModelAPI Get(const UsdStagePtr &stage, const SdfPath &path)
USD_API UsdSchemaKind _GetSchemaKind() const override
GLsizei const GLchar *const * string
#define USDMODEL_ASSET_INFO_KEYS
GLsizei const GLchar *const * path
USD_API bool GetKind(TfToken *kind) const
USD_API bool GetAssetVersion(std::string *version) const
USD_API void SetAssetIdentifier(const SdfAssetPath &identifier) const
bool IsEmpty() const
Returns true iff this value is empty.
USD_API bool IsGroup() const
USD_API void SetAssetVersion(const std::string &version) const
USD_API void SetAssetInfo(const VtDictionary &info) const
USD_API bool IsKind(const TfToken &baseKind, KindValidation validation=KindValidationModelHierarchy) const
UsdModelAPI(const UsdPrim &prim=UsdPrim())
bool _GetAssetInfoByKey(const TfToken &key, T *val) const
USD_API VtValue GetAssetInfoByKey(const TfToken &keyPath) const
USD_API bool GetAssetIdentifier(SdfAssetPath *identifier) const
std::vector< TfToken > TfTokenVector
Convenience types.
USD_API bool IsModel() const
GT_API const UT_StringHolder version
USD_API bool GetAssetName(std::string *assetName) const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static USD_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
#define PXR_NAMESPACE_CLOSE_SCOPE
USD_API void SetPayloadAssetDependencies(const VtArray< SdfAssetPath > &assetDeps) const
TF_DECLARE_PUBLIC_TOKENS(UsdModelAPIAssetInfoKeys, USD_API, USDMODEL_ASSET_INFO_KEYS)
USD_API bool GetPayloadAssetDependencies(VtArray< SdfAssetPath > *assetDeps) const
virtual USD_API ~UsdModelAPI()
Destructor.
UsdPrim GetPrim() const
Return this schema object's held prim.
UsdModelAPI(const UsdSchemaBase &schemaObj)