Loading...
Searching...
No Matches
UsdPhysicsRigidBodyDesc Struct Reference

Rigid body descriptor. More...

#include <parseDesc.h>

+ Inheritance diagram for UsdPhysicsRigidBodyDesc:

Public Member Functions

bool operator== (const UsdPhysicsRigidBodyDesc &) const
 
const SdfPathVector & GetCollisions () const
 
const SdfPathVector & GetFilteredCollisions () const
 
const SdfPathVector & GetSimulationOwners () const
 
- Public Member Functions inherited from UsdPhysicsObjectDesc
 UsdPhysicsObjectDesc (UsdPhysicsObjectType inType)
 

Public Attributes

SdfPathVector collisions
 List of collision shapes that belong to this rigid body.
 
SdfPathVector filteredCollisions
 Filtered collisions.
 
SdfPathVector simulationOwners
 Simulation owners list.
 
GfVec3f position
 Rigid body position in world space.
 
GfQuatf rotation
 Rigid body orientation in world space.
 
GfVec3f scale
 Rigid body scale.
 
bool rigidBodyEnabled
 Defines whether body is enabled or not, if not enabled it's a static body.
 
bool kinematicBody
 Defines if the body is kinematic or not.
 
bool startsAsleep
 Defines if body starts asleep or awake.
 
GfVec3f linearVelocity
 Rigid body initial linear velocity.
 
GfVec3f angularVelocity
 Rigid body initial angular velocity.
 
- 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

Rigid body descriptor.

Definition at line 564 of file parseDesc.h.

Constructor & Destructor Documentation

◆ UsdPhysicsRigidBodyDesc()

Definition at line 566 of file parseDesc.h.

Member Function Documentation

◆ GetCollisions()

const SdfPathVector & GetCollisions ( ) const
inline

Definition at line 581 of file parseDesc.h.

◆ GetFilteredCollisions()

const SdfPathVector & GetFilteredCollisions ( ) const
inline

Definition at line 586 of file parseDesc.h.

◆ GetSimulationOwners()

const SdfPathVector & GetSimulationOwners ( ) const
inline

Definition at line 591 of file parseDesc.h.

◆ operator==()

bool operator== ( const UsdPhysicsRigidBodyDesc ) const
inline

Definition at line 576 of file parseDesc.h.

Member Data Documentation

◆ angularVelocity

GfVec3f angularVelocity

Rigid body initial angular velocity.

Definition at line 618 of file parseDesc.h.

◆ collisions

SdfPathVector collisions

List of collision shapes that belong to this rigid body.

Definition at line 597 of file parseDesc.h.

◆ filteredCollisions

SdfPathVector filteredCollisions

Filtered collisions.

Definition at line 599 of file parseDesc.h.

◆ kinematicBody

bool kinematicBody

Defines if the body is kinematic or not.

Definition at line 612 of file parseDesc.h.

◆ linearVelocity

GfVec3f linearVelocity

Rigid body initial linear velocity.

Definition at line 616 of file parseDesc.h.

◆ position

GfVec3f position

Rigid body position in world space.

Definition at line 603 of file parseDesc.h.

◆ rigidBodyEnabled

bool rigidBodyEnabled

Defines whether body is enabled or not, if not enabled it's a static body.

Definition at line 610 of file parseDesc.h.

◆ rotation

GfQuatf rotation

Rigid body orientation in world space.

Definition at line 605 of file parseDesc.h.

◆ scale

GfVec3f scale

Rigid body scale.

Definition at line 607 of file parseDesc.h.

◆ simulationOwners

SdfPathVector simulationOwners

Simulation owners list.

Definition at line 601 of file parseDesc.h.

◆ startsAsleep

bool startsAsleep

Defines if body starts asleep or awake.

Definition at line 614 of file parseDesc.h.


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