Panda3D
Loading...
Searching...
No Matches
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.
 
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 32 of file physxConstraintDominance.h.

Constructor & Destructor Documentation

◆ PhysxConstraintDominance()

PhysxConstraintDominance::PhysxConstraintDominance ( float d0,
float d1 )
inline

Definition at line 17 of file physxConstraintDominance.I.

◆ ~PhysxConstraintDominance()

PhysxConstraintDominance::~PhysxConstraintDominance ( )
inline

Definition at line 25 of file physxConstraintDominance.I.

Member Function Documentation

◆ get_0()

float PhysxConstraintDominance::get_0 ( ) const

Retruns the first dominance factor.

Definition at line 19 of file physxConstraintDominance.cxx.

◆ get_1()

float PhysxConstraintDominance::get_1 ( ) const

Returns the second dominance factor.

Definition at line 28 of file physxConstraintDominance.cxx.

◆ get_dominance()

NxConstraintDominance PhysxConstraintDominance::get_dominance ( ) const
inline

Definition at line 33 of file physxConstraintDominance.I.

◆ set_0()

void PhysxConstraintDominance::set_0 ( float d0)

Sets the first dominance factor.

Definition at line 37 of file physxConstraintDominance.cxx.

◆ set_1()

void PhysxConstraintDominance::set_1 ( float d1)

Sets the second dominance factor.

Definition at line 46 of file physxConstraintDominance.cxx.

◆ set_dominance()

void PhysxConstraintDominance::set_dominance ( NxConstraintDominance value)
inline

Definition at line 42 of file physxConstraintDominance.I.


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