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...

Public Member Functions

virtual UsdTimeCode GetTime () const =0
 Returns the current time represented in this instance. More...
 
virtual void FlagAsTimeVarying (const SdfPath &primPath, const HdDataSourceLocator &locator) const =0
 Flags the given primPath as time varying at the given locator. More...
 

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

Member Function Documentation

◆ FlagAsTimeVarying()

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

Flags the given primPath 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: