Loading...
Searching...
No Matches
UsdPhysicsCapsule1ShapeDesc Struct Reference

Capsule1 shape collision descriptor. More...

#include <parseDesc.h>

+ Inheritance diagram for UsdPhysicsCapsule1ShapeDesc:

Public Member Functions

 UsdPhysicsCapsule1ShapeDesc (float inTopRadius=0.0f, float inBottomRadius=0.0f, float half_height=0.0f, UsdPhysicsAxis cap_axis=UsdPhysicsAxis::X)
 
bool operator== (const UsdPhysicsCapsule1ShapeDesc &) const
 
- Public Member Functions inherited from UsdPhysicsShapeDesc
 UsdPhysicsShapeDesc (UsdPhysicsObjectType inType)
 
const SdfPathVector & GetMaterials () const
 
const SdfPathVector & GetSimulationOwners () const
 
const SdfPathVector & GetFilteredCollisions () const
 
const SdfPathVector & GetCollisionGroups () const
 
- Public Member Functions inherited from UsdPhysicsObjectDesc
 UsdPhysicsObjectDesc (UsdPhysicsObjectType inType)
 

Public Attributes

float topRadius
 Capsule top radius.
 
float bottomRadius
 Capsule bottom radius.
 
float halfHeight
 Capsule half height.
 
UsdPhysicsAxis axis
 Capsule axis.
 
- Public Attributes inherited from UsdPhysicsShapeDesc
SdfPath rigidBody
 Rigid body the collision shape belongs to, if not set it's a static collider.
 
GfVec3f localPos
 Local position of the shape relative to the body world pose.
 
GfQuatf localRot
 Local orientation of the shape relative to the body world pose.
 
GfVec3f localScale
 Local scale of the shape relative to the body world pose.
 
SdfPathVector materials
 Materials assigned to the collision geometry, can be multiple materials used on UsdGeomSubset.
 
SdfPathVector simulationOwners
 Simulation owners list.
 
SdfPathVector filteredCollisions
 Filtered collisions list.
 
SdfPathVector collisionGroups
 List of collision groups this collision belongs to, note that only collision groups that are part of the current range are checked.
 
bool collisionEnabled
 Collision enabled/disabled bool.
 
- Public Attributes inherited from UsdPhysicsObjectDesc
UsdPhysicsObjectType type
 Descriptor type.
 
SdfPath primPath
 SdfPath for the prim from which the descriptor was parsed.
 
bool isValid
 Validity of a descriptor, the parsing may succeed, but the descriptor might be not valid.
 

Detailed Description

Capsule1 shape collision descriptor.

Definition at line 317 of file parseDesc.h.

Constructor & Destructor Documentation

◆ UsdPhysicsCapsule1ShapeDesc()

UsdPhysicsCapsule1ShapeDesc ( float  inTopRadius = 0.0f,
float  inBottomRadius = 0.0f,
float  half_height = 0.0f,
UsdPhysicsAxis  cap_axis = UsdPhysicsAxis::X 
)
inline

Definition at line 319 of file parseDesc.h.

Member Function Documentation

◆ operator==()

bool operator== ( const UsdPhysicsCapsule1ShapeDesc ) const
inline

Definition at line 328 of file parseDesc.h.

Member Data Documentation

◆ axis

Capsule axis.

Definition at line 340 of file parseDesc.h.

◆ bottomRadius

float bottomRadius

Capsule bottom radius.

Definition at line 336 of file parseDesc.h.

◆ halfHeight

float halfHeight

Capsule half height.

Definition at line 338 of file parseDesc.h.

◆ topRadius

float topRadius

Capsule top radius.

Definition at line 334 of file parseDesc.h.


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