|
HDK
|
#include <collisionGroup.h>
Public Member Functions | |
| USDPHYSICS_API const SdfPathVector & | GetCollisionGroups () const |
| USDPHYSICS_API bool | IsCollisionEnabled (const unsigned int idxA, const unsigned int idxB) const |
| Return true if the groups at indices idxA and idxB collide. More... | |
| USDPHYSICS_API bool | IsCollisionEnabled (const SdfPath &primA, const SdfPath &primB) const |
| Return true if the groups primA and primB collide. More... | |
Protected Attributes | |
| SdfPathVector | _groups |
| std::vector< bool > | _enabled |
Friends | |
| class | UsdPhysicsCollisionGroup |
Utility structure generated by ComputeCollisionGroupTable(); contains a table describing which pairs of collision groups have collisions enabled/disabled by the filtering rules.
Definition at line 228 of file collisionGroup.h.
| USDPHYSICS_API const SdfPathVector& UsdPhysicsCollisionGroup::CollisionGroupTable::GetCollisionGroups | ( | ) | const |
Return the set of all UsdPhysicsCollisionGroup which this table contains
| USDPHYSICS_API bool UsdPhysicsCollisionGroup::CollisionGroupTable::IsCollisionEnabled | ( | const unsigned int | idxA, |
| const unsigned int | idxB | ||
| ) | const |
Return true if the groups at indices idxA and idxB collide.
| USDPHYSICS_API bool UsdPhysicsCollisionGroup::CollisionGroupTable::IsCollisionEnabled | ( | const SdfPath & | primA, |
| const SdfPath & | primB | ||
| ) | const |
Return true if the groups primA and primB collide.
|
friend |
Definition at line 246 of file collisionGroup.h.
|
protected |
Definition at line 251 of file collisionGroup.h.
|
protected |
Definition at line 248 of file collisionGroup.h.