usdrt::UsdPhysicsTokensType

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

Functions

Variables

class UsdPhysicsTokensType

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

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

prim.GetAttribute(RtTokens->worldPosition);

Public Functions

inline UsdPhysicsTokensType()

Public Members

const TfToken acceleration

“acceleration”

Possible value for UsdPhysicsDriveAPI::GetPhysicsTypeAttr()

const TfToken angular

“angular”

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

const TfToken boundingCube

“boundingCube”

Possible value for UsdPhysicsMeshCollisionAPI::GetPhysicsApproximationAttr()

const TfToken boundingSphere

“boundingSphere”

Possible value for UsdPhysicsMeshCollisionAPI::GetPhysicsApproximationAttr()

const TfToken colliders

“colliders”

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

const TfToken convexDecomposition

“convexDecomposition”

Possible value for UsdPhysicsMeshCollisionAPI::GetPhysicsApproximationAttr()

const TfToken convexHull

“convexHull”

Possible value for UsdPhysicsMeshCollisionAPI::GetPhysicsApproximationAttr()

const TfToken distance

“distance”

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

const TfToken drive

“drive”

Property namespace prefix for the UsdPhysicsDriveAPI schema.

const TfToken force

“force”

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

const TfToken kilogramsPerUnit

“kilogramsPerUnit”

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

const TfToken limit

“limit”

Property namespace prefix for the UsdPhysicsLimitAPI schema.

const TfToken linear

“linear”

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

const TfToken meshSimplification

“meshSimplification”

Possible value for UsdPhysicsMeshCollisionAPI::GetPhysicsApproximationAttr()

const TfToken none

“none”

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

const TfToken physicsAngularVelocity

“physics:angularVelocity”

UsdPhysicsRigidBodyAPI

const TfToken physicsApproximation

“physics:approximation”

UsdPhysicsMeshCollisionAPI

const TfToken physicsAxis

“physics:axis”

UsdPhysicsSphericalJoint, UsdPhysicsPrismaticJoint, UsdPhysicsRevoluteJoint

const TfToken physicsBody0

“physics:body0”

UsdPhysicsJoint

const TfToken physicsBody1

“physics:body1”

UsdPhysicsJoint

const TfToken physicsBreakForce

“physics:breakForce”

UsdPhysicsJoint

const TfToken physicsBreakTorque

“physics:breakTorque”

UsdPhysicsJoint

const TfToken physicsCenterOfMass

“physics:centerOfMass”

UsdPhysicsMassAPI

const TfToken physicsCollisionEnabled

“physics:collisionEnabled”

UsdPhysicsJoint, UsdPhysicsCollisionAPI

const TfToken physicsConeAngle0Limit

“physics:coneAngle0Limit”

UsdPhysicsSphericalJoint

const TfToken physicsConeAngle1Limit

“physics:coneAngle1Limit”

UsdPhysicsSphericalJoint

const TfToken physicsDamping

“physics:damping”

UsdPhysicsDriveAPI

const TfToken physicsDensity

“physics:density”

UsdPhysicsMaterialAPI, UsdPhysicsMassAPI

const TfToken physicsDiagonalInertia

“physics:diagonalInertia”

UsdPhysicsMassAPI

const TfToken physicsDynamicFriction

“physics:dynamicFriction”

UsdPhysicsMaterialAPI

const TfToken physicsExcludeFromArticulation

“physics:excludeFromArticulation”

UsdPhysicsJoint

const TfToken physicsFilteredGroups

“physics:filteredGroups”

UsdPhysicsCollisionGroup

const TfToken physicsFilteredPairs

“physics:filteredPairs”

UsdPhysicsFilteredPairsAPI

const TfToken physicsGravityDirection

“physics:gravityDirection”

UsdPhysicsScene

const TfToken physicsGravityMagnitude

“physics:gravityMagnitude”

UsdPhysicsScene

const TfToken physicsHigh

“physics:high”

UsdPhysicsLimitAPI

const TfToken physicsInvertFilteredGroups

“physics:invertFilteredGroups”

UsdPhysicsCollisionGroup

const TfToken physicsJointEnabled

“physics:jointEnabled”

UsdPhysicsJoint

const TfToken physicsKinematicEnabled

“physics:kinematicEnabled”

UsdPhysicsRigidBodyAPI

const TfToken physicsLocalPos0

“physics:localPos0”

UsdPhysicsJoint

const TfToken physicsLocalPos1

“physics:localPos1”

UsdPhysicsJoint

const TfToken physicsLocalRot0

“physics:localRot0”

UsdPhysicsJoint

const TfToken physicsLocalRot1

“physics:localRot1”

UsdPhysicsJoint

const TfToken physicsLow

“physics:low”

UsdPhysicsLimitAPI

const TfToken physicsLowerLimit

“physics:lowerLimit”

UsdPhysicsPrismaticJoint, UsdPhysicsRevoluteJoint

const TfToken physicsMass

“physics:mass”

UsdPhysicsMassAPI

const TfToken physicsMaxDistance

“physics:maxDistance”

UsdPhysicsDistanceJoint

const TfToken physicsMaxForce

“physics:maxForce”

UsdPhysicsDriveAPI

const TfToken physicsMergeGroup

“physics:mergeGroup”

UsdPhysicsCollisionGroup

const TfToken physicsMinDistance

“physics:minDistance”

UsdPhysicsDistanceJoint

const TfToken physicsPrincipalAxes

“physics:principalAxes”

UsdPhysicsMassAPI

const TfToken physicsRestitution

“physics:restitution”

UsdPhysicsMaterialAPI

const TfToken physicsRigidBodyEnabled

“physics:rigidBodyEnabled”

UsdPhysicsRigidBodyAPI

const TfToken physicsSimulationOwner

“physics:simulationOwner”

UsdPhysicsCollisionAPI, UsdPhysicsRigidBodyAPI

const TfToken physicsStartsAsleep

“physics:startsAsleep”

UsdPhysicsRigidBodyAPI

const TfToken physicsStaticFriction

“physics:staticFriction”

UsdPhysicsMaterialAPI

const TfToken physicsStiffness

“physics:stiffness”

UsdPhysicsDriveAPI

const TfToken physicsTargetPosition

“physics:targetPosition”

UsdPhysicsDriveAPI

const TfToken physicsTargetVelocity

“physics:targetVelocity”

UsdPhysicsDriveAPI

const TfToken physicsType

“physics:type”

UsdPhysicsDriveAPI

const TfToken physicsUpperLimit

“physics:upperLimit”

UsdPhysicsPrismaticJoint, UsdPhysicsRevoluteJoint

const TfToken physicsVelocity

“physics:velocity”

UsdPhysicsRigidBodyAPI

const TfToken rotX

“rotX”

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

const TfToken rotY

“rotY”

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

const TfToken rotZ

“rotZ”

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

const TfToken transX

“transX”

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

const TfToken transY

“transY”

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

const TfToken transZ

“transZ”

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

const TfToken x

“X”

Possible value for UsdPhysicsSphericalJoint::GetPhysicsAxisAttr(), Default value for UsdPhysicsSphericalJoint::GetPhysicsAxisAttr(), Possible value for UsdPhysicsPrismaticJoint::GetPhysicsAxisAttr(), Default value for UsdPhysicsPrismaticJoint::GetPhysicsAxisAttr(), Possible value for UsdPhysicsRevoluteJoint::GetPhysicsAxisAttr(), Default value for UsdPhysicsRevoluteJoint::GetPhysicsAxisAttr()

const TfToken y

“Y”

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

const TfToken z

“Z”

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

const std::vector<TfToken> allTokens

A vector of all of the tokens listed above.