usdrt::UsdMediaTokensType

Defined in usdrt/scenegraph/usd/usdMedia/tokens.h

Functions

Variables

class UsdMediaTokensType

Provides standard set of public tokens for UsdMedia schema. Access via the RtTokens helper accessor.

These tokens are auto-generated from the module’s schema, representing property names, for when you need to fetch an attribute or relationship directly by name, e.g. UsdPrim::GetAttribute(), in the most efficient manner, and allow the compiler to verify that you spelled the name correctly.

UsdMediaTokens also contains all of the allowedTokens values declared for schema builtin attributes of ‘token’ scene description type. Use UsdMediaTokens like so:

prim.GetAttribute(RtTokens->worldPosition);

Public Functions

inline UsdMediaTokensType()

Public Members

const TfToken auralMode

“auralMode”

UsdMediaSpatialAudio

const TfToken endTime

“endTime”

UsdMediaSpatialAudio

const TfToken filePath

“filePath”

UsdMediaSpatialAudio

const TfToken gain

“gain”

UsdMediaSpatialAudio

const TfToken loopFromStage

“loopFromStage”

Possible value for UsdMediaSpatialAudio::GetPlaybackModeAttr()

const TfToken loopFromStart

“loopFromStart”

Possible value for UsdMediaSpatialAudio::GetPlaybackModeAttr()

const TfToken loopFromStartToEnd

“loopFromStartToEnd”

Possible value for UsdMediaSpatialAudio::GetPlaybackModeAttr()

const TfToken mediaOffset

“mediaOffset”

UsdMediaSpatialAudio

const TfToken nonSpatial

“nonSpatial”

Possible value for UsdMediaSpatialAudio::GetAuralModeAttr()

const TfToken onceFromStart

“onceFromStart”

Possible value for UsdMediaSpatialAudio::GetPlaybackModeAttr(), Default value for UsdMediaSpatialAudio::GetPlaybackModeAttr()

const TfToken onceFromStartToEnd

“onceFromStartToEnd”

Possible value for UsdMediaSpatialAudio::GetPlaybackModeAttr()

const TfToken playbackMode

“playbackMode”

UsdMediaSpatialAudio

const TfToken spatial

“spatial”

Possible value for UsdMediaSpatialAudio::GetAuralModeAttr(), Default value for UsdMediaSpatialAudio::GetAuralModeAttr()

const TfToken startTime

“startTime”

UsdMediaSpatialAudio

const std::vector<TfToken> allTokens

A vector of all of the tokens listed above.