usdrt::DestructionSchemaTokensType

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

Functions

Variables

class DestructionSchemaTokensType

Provides standard set of public tokens for DestructionSchema 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.

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

prim.GetAttribute(RtTokens->worldPosition);

Public Functions

inline DestructionSchemaTokensType()

Public Members

const TfToken destructArea

“destruct:area”

DestructionSchemaDestructibleBondAPI

const TfToken destructAttached

“destruct:attached”

DestructionSchemaDestructibleBondAPI

const TfToken destructBase

“destruct:base”

DestructionSchemaDestructibleInstAPI

const TfToken destructCentroid

“destruct:centroid”

DestructionSchemaDestructibleBondAPI, DestructionSchemaDestructibleChunkAPI

const TfToken destructDefaultBondStrength

“destruct:defaultBondStrength”

DestructionSchemaDestructibleBaseAPI

const TfToken destructDefaultChunkStrength

“destruct:defaultChunkStrength”

DestructionSchemaDestructibleBaseAPI

const TfToken destructNormal

“destruct:normal”

DestructionSchemaDestructibleBondAPI

const TfToken destructParentChunk

“destruct:parentChunk”

DestructionSchemaDestructibleChunkAPI

const TfToken destructStrength

“destruct:strength”

DestructionSchemaDestructibleBondAPI, DestructionSchemaDestructibleChunkAPI

const TfToken destructSupportDepth

“destruct:supportDepth”

DestructionSchemaDestructibleBaseAPI

const TfToken destructUnbreakable

“destruct:unbreakable”

DestructionSchemaDestructibleBondAPI

const TfToken destructVolume

“destruct:volume”

DestructionSchemaDestructibleChunkAPI

const std::vector<TfToken> allTokens

A vector of all of the tokens listed above.