HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdPhysicsShapeDesc Struct Reference

#include <parseDesc.h>

+ Inheritance diagram for UsdPhysicsShapeDesc:

Public Member Functions

 UsdPhysicsShapeDesc (UsdPhysicsObjectType inType)
 
const SdfPathVectorGetMaterials () const
 
const SdfPathVectorGetSimulationOwners () const
 
const SdfPathVectorGetFilteredCollisions () const
 
const SdfPathVectorGetCollisionGroups () const
 
- Public Member Functions inherited from UsdPhysicsObjectDesc
 UsdPhysicsObjectDesc (UsdPhysicsObjectType inType)
 
virtual ~UsdPhysicsObjectDesc ()=default
 

Public Attributes

SdfPath rigidBody
 
GfVec3f localPos
 Local position of the shape relative to the body world pose. More...
 
GfQuatf localRot
 Local orientation of the shape relative to the body world pose. More...
 
GfVec3f localScale
 Local scale of the shape relative to the body world pose. More...
 
SdfPathVector materials
 
SdfPathVector simulationOwners
 Simulation owners list. More...
 
SdfPathVector filteredCollisions
 Filtered collisions list. More...
 
SdfPathVector collisionGroups
 
bool collisionEnabled
 Collision enabled/disabled bool. More...
 
- Public Attributes inherited from UsdPhysicsObjectDesc
UsdPhysicsObjectType type
 Descriptor type. More...
 
SdfPath primPath
 SdfPath for the prim from which the descriptor was parsed. More...
 
bool isValid
 

Detailed Description

Shape descriptor, base class should not be reported

Note as scale is not supported in most physics engines, the collision shape sizes already contain the scale. The exception are mesh collisions which do have geometry scale reported.

Definition at line 214 of file parseDesc.h.

Constructor & Destructor Documentation

UsdPhysicsShapeDesc::UsdPhysicsShapeDesc ( UsdPhysicsObjectType  inType)
inline

Definition at line 216 of file parseDesc.h.

Member Function Documentation

const SdfPathVector& UsdPhysicsShapeDesc::GetCollisionGroups ( ) const
inline

Definition at line 238 of file parseDesc.h.

const SdfPathVector& UsdPhysicsShapeDesc::GetFilteredCollisions ( ) const
inline

Definition at line 233 of file parseDesc.h.

const SdfPathVector& UsdPhysicsShapeDesc::GetMaterials ( ) const
inline

Definition at line 223 of file parseDesc.h.

const SdfPathVector& UsdPhysicsShapeDesc::GetSimulationOwners ( ) const
inline

Definition at line 228 of file parseDesc.h.

Member Data Documentation

bool UsdPhysicsShapeDesc::collisionEnabled

Collision enabled/disabled bool.

Definition at line 264 of file parseDesc.h.

SdfPathVector UsdPhysicsShapeDesc::collisionGroups

List of collision groups this collision belongs to, note that only collision groups that are part of the current range are checked.

Definition at line 262 of file parseDesc.h.

SdfPathVector UsdPhysicsShapeDesc::filteredCollisions

Filtered collisions list.

Definition at line 259 of file parseDesc.h.

GfVec3f UsdPhysicsShapeDesc::localPos

Local position of the shape relative to the body world pose.

Definition at line 248 of file parseDesc.h.

GfQuatf UsdPhysicsShapeDesc::localRot

Local orientation of the shape relative to the body world pose.

Definition at line 250 of file parseDesc.h.

GfVec3f UsdPhysicsShapeDesc::localScale

Local scale of the shape relative to the body world pose.

Definition at line 252 of file parseDesc.h.

SdfPathVector UsdPhysicsShapeDesc::materials

Materials assigned to the collision geometry, can be multiple materials used on UsdGeomSubset

Definition at line 255 of file parseDesc.h.

SdfPath UsdPhysicsShapeDesc::rigidBody

Rigid body the collision shape belongs to, if not set it's a static collider

Definition at line 246 of file parseDesc.h.

SdfPathVector UsdPhysicsShapeDesc::simulationOwners

Simulation owners list.

Definition at line 257 of file parseDesc.h.


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