Expresses the dominance relationship of a constraint. More...
#include "physxConstraintDominance.h"
Public Member Functions | |
PhysxConstraintDominance (float d0, float d1) | |
float | get_0 () const |
Retruns the first dominance factor. More... | |
float | get_1 () const |
Returns the second dominance factor. More... | |
NxConstraintDominance | get_dominance () const |
void | set_0 (float d0) |
Sets the first dominance factor. More... | |
void | set_1 (float d1) |
Sets the second dominance factor. More... | |
void | set_dominance (NxConstraintDominance value) |
Expresses the dominance relationship of a constraint.
For the time being only three settings are permitted:. (1.0f, 1.0f), (0.0f, 1.0f), and (1.0f, 0.0f).
See PhysxScene::set_dominance_group_pair for a detailed explanation of dominance behaviour.
Definition at line 32 of file physxConstraintDominance.h.
float PhysxConstraintDominance::get_0 | ( | ) | const |
Retruns the first dominance factor.
Definition at line 20 of file physxConstraintDominance.cxx.
float PhysxConstraintDominance::get_1 | ( | ) | const |
Returns the second dominance factor.
Definition at line 29 of file physxConstraintDominance.cxx.
void PhysxConstraintDominance::set_0 | ( | float | d0 | ) |
Sets the first dominance factor.
Definition at line 38 of file physxConstraintDominance.cxx.
void PhysxConstraintDominance::set_1 | ( | float | d1 | ) |
Sets the second dominance factor.
Definition at line 47 of file physxConstraintDominance.cxx.