UsdPhysicsTokensType Class Reference

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

Public Attributes

const TfToken acceleration
 "acceleration" More...
 
const TfToken angular
 "angular" More...
 
const TfToken boundingCube
 "boundingCube" More...
 
const TfToken boundingSphere
 "boundingSphere" More...
 
const TfToken colliders
 "colliders" More...
 
const TfToken convexDecomposition
 "convexDecomposition" More...
 
const TfToken convexHull
 "convexHull" More...
 
const TfToken distance
 "distance" More...
 
const TfToken drive
 "drive" More...
 
const TfToken force
 "force" More...
 
const TfToken kilogramsPerUnit
 "kilogramsPerUnit" More...
 
const TfToken limit
 "limit" More...
 
const TfToken linear
 "linear" More...
 
const TfToken meshSimplification
 "meshSimplification" More...
 
const TfToken none
 "none" More...
 
const TfToken physicsAngularVelocity
 "physics:angularVelocity" More...
 
const TfToken physicsApproximation
 "physics:approximation" More...
 
const TfToken physicsAxis
 "physics:axis" More...
 
const TfToken physicsBody0
 "physics:body0" More...
 
const TfToken physicsBody1
 "physics:body1" More...
 
const TfToken physicsBreakForce
 "physics:breakForce" More...
 
const TfToken physicsBreakTorque
 "physics:breakTorque" More...
 
const TfToken physicsCenterOfMass
 "physics:centerOfMass" More...
 
const TfToken physicsCollisionEnabled
 "physics:collisionEnabled" More...
 
const TfToken physicsConeAngle0Limit
 "physics:coneAngle0Limit" More...
 
const TfToken physicsConeAngle1Limit
 "physics:coneAngle1Limit" More...
 
const TfToken physicsDamping
 "physics:damping" More...
 
const TfToken physicsDensity
 "physics:density" More...
 
const TfToken physicsDiagonalInertia
 "physics:diagonalInertia" More...
 
const TfToken physicsDynamicFriction
 "physics:dynamicFriction" More...
 
const TfToken physicsExcludeFromArticulation
 "physics:excludeFromArticulation" More...
 
const TfToken physicsFilteredGroups
 "physics:filteredGroups" More...
 
const TfToken physicsFilteredPairs
 "physics:filteredPairs" More...
 
const TfToken physicsGravityDirection
 "physics:gravityDirection" More...
 
const TfToken physicsGravityMagnitude
 "physics:gravityMagnitude" More...
 
const TfToken physicsHigh
 "physics:high" More...
 
const TfToken physicsJointEnabled
 "physics:jointEnabled" More...
 
const TfToken physicsKinematicEnabled
 "physics:kinematicEnabled" More...
 
const TfToken physicsLocalPos0
 "physics:localPos0" More...
 
const TfToken physicsLocalPos1
 "physics:localPos1" More...
 
const TfToken physicsLocalRot0
 "physics:localRot0" More...
 
const TfToken physicsLocalRot1
 "physics:localRot1" More...
 
const TfToken physicsLow
 "physics:low" More...
 
const TfToken physicsLowerLimit
 "physics:lowerLimit" More...
 
const TfToken physicsMass
 "physics:mass" More...
 
const TfToken physicsMaxDistance
 "physics:maxDistance" More...
 
const TfToken physicsMaxForce
 "physics:maxForce" More...
 
const TfToken physicsMinDistance
 "physics:minDistance" More...
 
const TfToken physicsPrincipalAxes
 "physics:principalAxes" More...
 
const TfToken physicsRestitution
 "physics:restitution" More...
 
const TfToken physicsRigidBodyEnabled
 "physics:rigidBodyEnabled" More...
 
const TfToken physicsSimulationOwner
 "physics:simulationOwner" More...
 
const TfToken physicsStartsAsleep
 "physics:startsAsleep" More...
 
const TfToken physicsStaticFriction
 "physics:staticFriction" More...
 
const TfToken physicsStiffness
 "physics:stiffness" More...
 
const TfToken physicsTargetPosition
 "physics:targetPosition" More...
 
const TfToken physicsTargetVelocity
 "physics:targetVelocity" More...
 
const TfToken physicsType
 "physics:type" More...
 
const TfToken physicsUpperLimit
 "physics:upperLimit" More...
 
const TfToken physicsVelocity
 "physics:velocity" More...
 
const TfToken rotX
 "rotX" More...
 
const TfToken rotY
 "rotY" More...
 
const TfToken rotZ
 "rotZ" More...
 
const TfToken transX
 "transX" More...
 
const TfToken transY
 "transY" More...
 
const TfToken transZ
 "transZ" More...
 
const TfToken x
 "X" More...
 
const TfToken y
 "Y" More...
 
const TfToken z
 "Z" More...
 
const std::vector< TfTokenallTokens
 A vector of all of the tokens listed above. More...
 

Detailed Description

UsdPhysicsTokens 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.

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

gprim.GetMyTokenValuedAttr().Set(UsdPhysicsTokens->acceleration);

Definition at line 63 of file tokens.h.

Member Data Documentation

◆ acceleration

const TfToken acceleration

"acceleration"

Possible value for UsdPhysicsDriveAPI::GetTypeAttr()

Definition at line 68 of file tokens.h.

◆ allTokens

const std::vector<TfToken> allTokens

A vector of all of the tokens listed above.

Definition at line 342 of file tokens.h.

◆ angular

const TfToken angular

"angular"

This token represents the angular degree of freedom used in Revolute Joint Drive.

Definition at line 72 of file tokens.h.

◆ boundingCube

const TfToken boundingCube

"boundingCube"

Possible value for UsdPhysicsMeshCollisionAPI::GetApproximationAttr()

Definition at line 76 of file tokens.h.

◆ boundingSphere

const TfToken boundingSphere

"boundingSphere"

Possible value for UsdPhysicsMeshCollisionAPI::GetApproximationAttr()

Definition at line 80 of file tokens.h.

◆ colliders

const TfToken colliders

"colliders"

This token represents the collection name to use with UsdCollectionAPI to represent colliders of a CollisionGroup prim.

Definition at line 84 of file tokens.h.

◆ convexDecomposition

const TfToken convexDecomposition

"convexDecomposition"

Possible value for UsdPhysicsMeshCollisionAPI::GetApproximationAttr()

Definition at line 88 of file tokens.h.

◆ convexHull

const TfToken convexHull

"convexHull"

Possible value for UsdPhysicsMeshCollisionAPI::GetApproximationAttr()

Definition at line 92 of file tokens.h.

◆ distance

const TfToken distance

"distance"

This token represents the distance limit used for generic D6 joint.

Definition at line 96 of file tokens.h.

◆ drive

const TfToken drive

"drive"

Property namespace prefix for the UsdPhysicsDriveAPI schema.

Definition at line 100 of file tokens.h.

◆ force

const TfToken force

"force"

Possible value for UsdPhysicsDriveAPI::GetTypeAttr(), Default value for UsdPhysicsDriveAPI::GetTypeAttr()

Definition at line 104 of file tokens.h.

◆ kilogramsPerUnit

const TfToken kilogramsPerUnit

"kilogramsPerUnit"

Stage-level metadata that encodes a scene's linear unit of measure as kilograms per encoded unit.

Definition at line 108 of file tokens.h.

◆ limit

const TfToken limit

"limit"

Property namespace prefix for the UsdPhysicsLimitAPI schema.

Definition at line 112 of file tokens.h.

◆ linear

const TfToken linear

"linear"

This token represents the linear degree of freedom used in Prismatic Joint Drive.

Definition at line 116 of file tokens.h.

◆ meshSimplification

const TfToken meshSimplification

"meshSimplification"

Possible value for UsdPhysicsMeshCollisionAPI::GetApproximationAttr()

Definition at line 120 of file tokens.h.

◆ none

const TfToken none

"none"

Possible value for UsdPhysicsMeshCollisionAPI::GetApproximationAttr(), Default value for UsdPhysicsMeshCollisionAPI::GetApproximationAttr()

Definition at line 124 of file tokens.h.

◆ physicsAngularVelocity

const TfToken physicsAngularVelocity

"physics:angularVelocity"

UsdPhysicsRigidBodyAPI

Definition at line 128 of file tokens.h.

◆ physicsApproximation

const TfToken physicsApproximation

"physics:approximation"

UsdPhysicsMeshCollisionAPI

Definition at line 132 of file tokens.h.

◆ physicsAxis

const TfToken physicsAxis

◆ physicsBody0

const TfToken physicsBody0

"physics:body0"

UsdPhysicsJoint

Definition at line 140 of file tokens.h.

◆ physicsBody1

const TfToken physicsBody1

"physics:body1"

UsdPhysicsJoint

Definition at line 144 of file tokens.h.

◆ physicsBreakForce

const TfToken physicsBreakForce

"physics:breakForce"

UsdPhysicsJoint

Definition at line 148 of file tokens.h.

◆ physicsBreakTorque

const TfToken physicsBreakTorque

"physics:breakTorque"

UsdPhysicsJoint

Definition at line 152 of file tokens.h.

◆ physicsCenterOfMass

const TfToken physicsCenterOfMass

"physics:centerOfMass"

UsdPhysicsMassAPI

Definition at line 156 of file tokens.h.

◆ physicsCollisionEnabled

const TfToken physicsCollisionEnabled

"physics:collisionEnabled"

UsdPhysicsJoint, UsdPhysicsCollisionAPI

Definition at line 160 of file tokens.h.

◆ physicsConeAngle0Limit

const TfToken physicsConeAngle0Limit

"physics:coneAngle0Limit"

UsdPhysicsSphericalJoint

Definition at line 164 of file tokens.h.

◆ physicsConeAngle1Limit

const TfToken physicsConeAngle1Limit

"physics:coneAngle1Limit"

UsdPhysicsSphericalJoint

Definition at line 168 of file tokens.h.

◆ physicsDamping

const TfToken physicsDamping

"physics:damping"

UsdPhysicsDriveAPI

Definition at line 172 of file tokens.h.

◆ physicsDensity

const TfToken physicsDensity

"physics:density"

UsdPhysicsMaterialAPI, UsdPhysicsMassAPI

Definition at line 176 of file tokens.h.

◆ physicsDiagonalInertia

const TfToken physicsDiagonalInertia

"physics:diagonalInertia"

UsdPhysicsMassAPI

Definition at line 180 of file tokens.h.

◆ physicsDynamicFriction

const TfToken physicsDynamicFriction

"physics:dynamicFriction"

UsdPhysicsMaterialAPI

Definition at line 184 of file tokens.h.

◆ physicsExcludeFromArticulation

const TfToken physicsExcludeFromArticulation

"physics:excludeFromArticulation"

UsdPhysicsJoint

Definition at line 188 of file tokens.h.

◆ physicsFilteredGroups

const TfToken physicsFilteredGroups

"physics:filteredGroups"

UsdPhysicsCollisionGroup

Definition at line 192 of file tokens.h.

◆ physicsFilteredPairs

const TfToken physicsFilteredPairs

"physics:filteredPairs"

UsdPhysicsFilteredPairsAPI

Definition at line 196 of file tokens.h.

◆ physicsGravityDirection

const TfToken physicsGravityDirection

"physics:gravityDirection"

UsdPhysicsScene

Definition at line 200 of file tokens.h.

◆ physicsGravityMagnitude

const TfToken physicsGravityMagnitude

"physics:gravityMagnitude"

UsdPhysicsScene

Definition at line 204 of file tokens.h.

◆ physicsHigh

const TfToken physicsHigh

"physics:high"

UsdPhysicsLimitAPI

Definition at line 208 of file tokens.h.

◆ physicsJointEnabled

const TfToken physicsJointEnabled

"physics:jointEnabled"

UsdPhysicsJoint

Definition at line 212 of file tokens.h.

◆ physicsKinematicEnabled

const TfToken physicsKinematicEnabled

"physics:kinematicEnabled"

UsdPhysicsRigidBodyAPI

Definition at line 216 of file tokens.h.

◆ physicsLocalPos0

const TfToken physicsLocalPos0

"physics:localPos0"

UsdPhysicsJoint

Definition at line 220 of file tokens.h.

◆ physicsLocalPos1

const TfToken physicsLocalPos1

"physics:localPos1"

UsdPhysicsJoint

Definition at line 224 of file tokens.h.

◆ physicsLocalRot0

const TfToken physicsLocalRot0

"physics:localRot0"

UsdPhysicsJoint

Definition at line 228 of file tokens.h.

◆ physicsLocalRot1

const TfToken physicsLocalRot1

"physics:localRot1"

UsdPhysicsJoint

Definition at line 232 of file tokens.h.

◆ physicsLow

const TfToken physicsLow

"physics:low"

UsdPhysicsLimitAPI

Definition at line 236 of file tokens.h.

◆ physicsLowerLimit

const TfToken physicsLowerLimit

"physics:lowerLimit"

UsdPhysicsPrismaticJoint, UsdPhysicsRevoluteJoint

Definition at line 240 of file tokens.h.

◆ physicsMass

const TfToken physicsMass

"physics:mass"

UsdPhysicsMassAPI

Definition at line 244 of file tokens.h.

◆ physicsMaxDistance

const TfToken physicsMaxDistance

"physics:maxDistance"

UsdPhysicsDistanceJoint

Definition at line 248 of file tokens.h.

◆ physicsMaxForce

const TfToken physicsMaxForce

"physics:maxForce"

UsdPhysicsDriveAPI

Definition at line 252 of file tokens.h.

◆ physicsMinDistance

const TfToken physicsMinDistance

"physics:minDistance"

UsdPhysicsDistanceJoint

Definition at line 256 of file tokens.h.

◆ physicsPrincipalAxes

const TfToken physicsPrincipalAxes

"physics:principalAxes"

UsdPhysicsMassAPI

Definition at line 260 of file tokens.h.

◆ physicsRestitution

const TfToken physicsRestitution

"physics:restitution"

UsdPhysicsMaterialAPI

Definition at line 264 of file tokens.h.

◆ physicsRigidBodyEnabled

const TfToken physicsRigidBodyEnabled

"physics:rigidBodyEnabled"

UsdPhysicsRigidBodyAPI

Definition at line 268 of file tokens.h.

◆ physicsSimulationOwner

const TfToken physicsSimulationOwner

"physics:simulationOwner"

UsdPhysicsCollisionAPI, UsdPhysicsRigidBodyAPI

Definition at line 272 of file tokens.h.

◆ physicsStartsAsleep

const TfToken physicsStartsAsleep

"physics:startsAsleep"

UsdPhysicsRigidBodyAPI

Definition at line 276 of file tokens.h.

◆ physicsStaticFriction

const TfToken physicsStaticFriction

"physics:staticFriction"

UsdPhysicsMaterialAPI

Definition at line 280 of file tokens.h.

◆ physicsStiffness

const TfToken physicsStiffness

"physics:stiffness"

UsdPhysicsDriveAPI

Definition at line 284 of file tokens.h.

◆ physicsTargetPosition

const TfToken physicsTargetPosition

"physics:targetPosition"

UsdPhysicsDriveAPI

Definition at line 288 of file tokens.h.

◆ physicsTargetVelocity

const TfToken physicsTargetVelocity

"physics:targetVelocity"

UsdPhysicsDriveAPI

Definition at line 292 of file tokens.h.

◆ physicsType

const TfToken physicsType

"physics:type"

UsdPhysicsDriveAPI

Definition at line 296 of file tokens.h.

◆ physicsUpperLimit

const TfToken physicsUpperLimit

"physics:upperLimit"

UsdPhysicsPrismaticJoint, UsdPhysicsRevoluteJoint

Definition at line 300 of file tokens.h.

◆ physicsVelocity

const TfToken physicsVelocity

"physics:velocity"

UsdPhysicsRigidBodyAPI

Definition at line 304 of file tokens.h.

◆ rotX

const TfToken rotX

"rotX"

This token represents the rotate around X axis degree of freedom used in Joint Limits and Drives.

Definition at line 308 of file tokens.h.

◆ rotY

const TfToken rotY

"rotY"

This token represents the rotate around Y axis degree of freedom used in Joint Limits and Drives.

Definition at line 312 of file tokens.h.

◆ rotZ

const TfToken rotZ

"rotZ"

This token represents the rotate around Z axis degree of freedom used in Joint Limits and Drives.

Definition at line 316 of file tokens.h.

◆ transX

const TfToken transX

"transX"

This token represents the translate around X axis degree of freedom used in Joint Limits and Drives.

Definition at line 320 of file tokens.h.

◆ transY

const TfToken transY

"transY"

This token represents the translate around Y axis degree of freedom used in Joint Limits and Drives.

Definition at line 324 of file tokens.h.

◆ transZ

const TfToken transZ

"transZ"

This token represents the translate around Z axis degree of freedom used in Joint Limits and Drives.

Definition at line 328 of file tokens.h.

◆ x

◆ y

const TfToken y

"Y"

Possible value for UsdPhysicsSphericalJoint::GetAxisAttr(), Possible value for UsdPhysicsPrismaticJoint::GetAxisAttr(), Possible value for UsdPhysicsRevoluteJoint::GetAxisAttr()

Definition at line 336 of file tokens.h.

◆ z

const TfToken z

"Z"

Possible value for UsdPhysicsSphericalJoint::GetAxisAttr(), Possible value for UsdPhysicsPrismaticJoint::GetAxisAttr(), Possible value for UsdPhysicsRevoluteJoint::GetAxisAttr()

Definition at line 340 of file tokens.h.


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