HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdImagingDataSourceStageGlobals Class Referenceabstract

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

Constructor & Destructor Documentation

virtual UsdImagingDataSourceStageGlobals::~UsdImagingDataSourceStageGlobals ( )
virtual

Member Function Documentation

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

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

virtual UsdTimeCode UsdImagingDataSourceStageGlobals::GetTime ( ) const
pure virtual

Returns the current time represented in this instance.


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