HDK
|
#include <dataSourceStageGlobals.h>
Public Member Functions | |
virtual | ~UsdImagingDataSourceStageGlobals () |
virtual UsdTimeCode | GetTime () const =0 |
Returns the current time represented in this instance. More... | |
virtual void | FlagAsTimeVarying (const SdfPath &hydraPath, const HdDataSourceLocator &locator) const =0 |
Flags the given hydraPath as time varying at the given locator. More... | |
virtual void | FlagAsAssetPathDependent (const SdfPath &usdPath) const =0 |
This class is used as a context object with global stage information, that gets passed down to datasources to help them answer scene queries.
It's a pure virtual interface to allow for different use cases to override certain behaviors (like getting the time coordinate, or whether we support time-varying tracking).
Definition at line 45 of file dataSourceStageGlobals.h.
|
virtual |
|
pure virtual |
Flags the object at usdPath
as dependent on an asset path. usdPath
may point to a prim (e.g., if the prim has asset path metadata) or an attribute (e.g., if the attribute has an asset path value).
|
pure virtual |
Flags the given hydraPath
as time varying at the given locator.
|
pure virtual |
Returns the current time represented in this instance.