Loading...
Searching...
No Matches
UsdImagingDataSourceStageGlobals Class Referenceabstract

This class is used as a context object with global stage information, that gets passed down to datasources to help them answer scene queries. More...

#include <dataSourceStageGlobals.h>

Public Member Functions

virtual UsdTimeCode GetTime () const =0
 Returns the current time represented in this instance.
 
virtual void FlagAsTimeVarying (const SdfPath &hydraPath, const HdDataSourceLocator &locator) const =0
 Flags the given hydraPath as time varying at the given locator.
 
virtual void FlagAsAssetPathDependent (const SdfPath &usdPath) const =0
 Flags the object at usdPath as dependent on an asset path.
 

Detailed Description

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 47 of file dataSourceStageGlobals.h.

Member Function Documentation

◆ FlagAsAssetPathDependent()

virtual void FlagAsAssetPathDependent ( const SdfPath usdPath) const
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).

◆ FlagAsTimeVarying()

virtual void FlagAsTimeVarying ( const SdfPath hydraPath,
const HdDataSourceLocator locator 
) const
pure virtual

Flags the given hydraPath as time varying at the given locator.

◆ GetTime()

virtual UsdTimeCode GetTime ( ) const
pure virtual

Returns the current time represented in this instance.


The documentation for this class was generated from the following file: