24 #ifndef USD_GENERATED_CLIPSAPI_H
25 #define USD_GENERATED_CLIPSAPI_H
166 static const TfType &_GetStaticTfType();
168 static bool _IsTypedSchema();
172 const TfType &_GetTfType()
const override;
408 bool writeBlocksForClipsWithMissingValues =
false)
const;
415 bool writeBlocksForClipsWithMissingValues =
false)
const;
605 #define USDCLIPS_INFO_KEYS \
608 (interpolateMissingClipValues) \
609 (manifestAssetPath) \
611 (templateAssetPath) \
613 (templateStartTime) \
615 (templateActiveOffset) \
641 #define USDCLIPS_SET_NAMES \
642 ((default_, "default")) \
static USD_API UsdClipsAPI Get(const UsdStagePtr &stage, const SdfPath &path)
USD_API bool SetClipTimes(const VtVec2dArray &clipTimes, const std::string &clipSet)
USD_API bool SetClipTemplateAssetPath(const std::string &clipTemplateAssetPath, const std::string &clipSet)
USD_API bool SetClipTemplateStartTime(const double clipTemplateStartTime, const std::string &clipSet)
static USD_API SdfLayerRefPtr GenerateClipManifestFromLayers(const SdfLayerHandleVector &clipLayers, const SdfPath &clipPrimPath)
static const UsdSchemaKind schemaKind
GLsizei const GLchar *const * string
USD_API bool SetClipTemplateActiveOffset(const double clipTemplateActiveOffset, const std::string &clipSet)
GLsizei const GLchar *const * path
USD_API bool SetClipActive(const VtVec2dArray &activeClips, const std::string &clipSet)
UsdClipsAPI(const UsdPrim &prim=UsdPrim())
virtual USD_API ~UsdClipsAPI()
Destructor.
USD_API bool GetClipPrimPath(std::string *primPath, const std::string &clipSet) const
USD_API bool GetClipTemplateEndTime(double *clipTemplateEndTime, const std::string &clipSet) const
USD_API bool GetClipTemplateStride(double *clipTemplateStride, const std::string &clipSet) const
USD_API bool GetClipManifestAssetPath(SdfAssetPath *manifestAssetPath, const std::string &clipSet) const
USD_API bool SetClipManifestAssetPath(const SdfAssetPath &manifestAssetPath, const std::string &clipSet)
USD_API bool SetClips(const VtDictionary &clips)
#define USDCLIPS_SET_NAMES
TF_DECLARE_PUBLIC_TOKENS(UsdClipsAPIInfoKeys, USD_API, USDCLIPS_INFO_KEYS)
class SdfListOp< std::string > SdfStringListOp
USD_API bool GetClipTemplateStartTime(double *clipTemplateStartTime, const std::string &clipSet) const
std::vector< TfToken > TfTokenVector
Convenience types.
USD_API bool GetClipAssetPaths(VtArray< SdfAssetPath > *assetPaths, const std::string &clipSet) const
USD_API bool SetClipPrimPath(const std::string &primPath, const std::string &clipSet)
USD_API VtArray< SdfAssetPath > ComputeClipAssetPaths() const
USD_API bool GetClipTimes(VtVec2dArray *clipTimes, const std::string &clipSet) const
USD_API bool SetClipSets(const SdfStringListOp &clipSets)
USD_API bool SetClipTemplateEndTime(const double clipTemplateEndTime, const std::string &clipSet)
UsdClipsAPI(const UsdSchemaBase &schemaObj)
USD_API bool GetClipTemplateAssetPath(std::string *clipTemplateAssetPath, const std::string &clipSet) const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
USD_API bool SetClipAssetPaths(const VtArray< SdfAssetPath > &assetPaths, const std::string &clipSet)
USD_API bool GetClipActive(VtVec2dArray *activeClips, const std::string &clipSet) const
USD_API UsdSchemaKind _GetSchemaKind() const override
#define PXR_NAMESPACE_CLOSE_SCOPE
USD_API bool GetClips(VtDictionary *clips) const
USD_API bool SetInterpolateMissingClipValues(bool interpolate, const std::string &clipSet)
static USD_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
#define USDCLIPS_INFO_KEYS
USD_API SdfLayerRefPtr GenerateClipManifest(const std::string &clipSet, bool writeBlocksForClipsWithMissingValues=false) const
USD_API bool GetClipTemplateActiveOffset(double *clipTemplateActiveOffset, const std::string &clipSet) const
USD_API bool GetInterpolateMissingClipValues(bool *interpolate, const std::string &clipSet) const
USD_API bool SetClipTemplateStride(const double clipTemplateStride, const std::string &clipSet)
USD_API bool GetClipSets(SdfStringListOp *clipSets) const