Panda3D
Public Member Functions | List of all members
PhysxConstraintDominance Class Reference

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)
 

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

Member Function Documentation

◆ get_0()

float PhysxConstraintDominance::get_0 ( ) const

Retruns the first dominance factor.

Definition at line 20 of file physxConstraintDominance.cxx.

◆ get_1()

float PhysxConstraintDominance::get_1 ( ) const

Returns the second dominance factor.

Definition at line 29 of file physxConstraintDominance.cxx.

◆ set_0()

void PhysxConstraintDominance::set_0 ( float  d0)

Sets the first dominance factor.

Definition at line 38 of file physxConstraintDominance.cxx.

◆ set_1()

void PhysxConstraintDominance::set_1 ( float  d1)

Sets the second dominance factor.

Definition at line 47 of file physxConstraintDominance.cxx.


The documentation for this class was generated from the following files: