Panda3D
Public Member Functions

PhysxConstraintDominance Class Reference

Expresses the dominance relationship of a constraint. More...

#include "physxConstraintDominance.h"

List of all members.

Public Member Functions

 PhysxConstraintDominance (float d0, float d1)
float get_0 () const
 Retruns the first dominance factor.
float get_1 () const
 Returns the second dominance factor.
NxConstraintDominance get_dominance () const
void set_0 (float d0)
 Sets the first dominance factor.
void set_1 (float d1)
 Sets the second dominance factor.
void set_dominance (NxConstraintDominance value)

Detailed Description

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 35 of file physxConstraintDominance.h.


Member Function Documentation

float PhysxConstraintDominance::get_0 ( ) const

Retruns the first dominance factor.

Definition at line 23 of file physxConstraintDominance.cxx.

float PhysxConstraintDominance::get_1 ( ) const

Returns the second dominance factor.

Definition at line 34 of file physxConstraintDominance.cxx.

void PhysxConstraintDominance::set_0 ( float  d0)

Sets the first dominance factor.

Definition at line 45 of file physxConstraintDominance.cxx.

void PhysxConstraintDominance::set_1 ( float  d1)

Sets the second dominance factor.

Definition at line 56 of file physxConstraintDominance.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations