Loading...
Searching...
No Matches
UsdSemanticsTokensType Class Reference

UsdSemanticsTokens provides static, efficient TfTokens for use in all public USD API. More...

#include <tokens.h>

Public Attributes

const TfToken semanticsLabels
 "semantics:labels"
 
const TfToken semanticsLabels_MultipleApplyTemplate_
 "semantics:labels:__INSTANCE_NAME__"
 
const TfToken SemanticsLabelsAPI
 "SemanticsLabelsAPI"
 
const std::vector< TfTokenallTokens
 A vector of all of the tokens listed above.
 

Detailed Description

UsdSemanticsTokens provides static, efficient TfTokens for use in all public USD API.

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.

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

gprim.GetMyTokenValuedAttr().Set(UsdSemanticsTokens->semanticsLabels);
USDSEMANTICS_API TfStaticData< UsdSemanticsTokensType > UsdSemanticsTokens
A global variable with static, efficient TfTokens for use in all public USD API.

Definition at line 46 of file tokens.h.

Member Data Documentation

◆ allTokens

const std::vector<TfToken> allTokens

A vector of all of the tokens listed above.

Definition at line 61 of file tokens.h.

◆ semanticsLabels

const TfToken semanticsLabels

"semantics:labels"

Property namespace prefix for the UsdSemanticsLabelsAPI schema.

Definition at line 51 of file tokens.h.

◆ semanticsLabels_MultipleApplyTemplate_

const TfToken semanticsLabels_MultipleApplyTemplate_

"semantics:labels:__INSTANCE_NAME__"

UsdSemanticsLabelsAPI

Definition at line 55 of file tokens.h.

◆ SemanticsLabelsAPI

const TfToken SemanticsLabelsAPI

"SemanticsLabelsAPI"

Schema identifer and family for UsdSemanticsLabelsAPI

Definition at line 59 of file tokens.h.


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