HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdSemanticsTokensType Class Reference

#include <tokens.h>

Public Member Functions

USDSEMANTICS_API UsdSemanticsTokensType ()
 

Public Attributes

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

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);

Definition at line 46 of file tokens.h.

Constructor & Destructor Documentation

USDSEMANTICS_API UsdSemanticsTokensType::UsdSemanticsTokensType ( )

Member Data Documentation

const std::vector<TfToken> UsdSemanticsTokensType::allTokens

A vector of all of the tokens listed above.

Definition at line 61 of file tokens.h.

const TfToken UsdSemanticsTokensType::semanticsLabels

"semantics:labels"

Property namespace prefix for the UsdSemanticsLabelsAPI schema.

Definition at line 51 of file tokens.h.

const TfToken UsdSemanticsTokensType::semanticsLabels_MultipleApplyTemplate_

"semantics:labels:__INSTANCE_NAME__"

UsdSemanticsLabelsAPI

Definition at line 55 of file tokens.h.

const TfToken UsdSemanticsTokensType::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: