igor::iPhysicsJoint Class Reference

#include <iPhysicsJoint.h>

Public Member Functions

void * getNewtonJoint () const
 
uint64 getID ()
 
uint64 getBody0ID ()
 
uint64 getBody1ID ()
 
void registerSubmitConstraintsDelegate (iSubmitConstraintsDelegate submitConstraintsDelegate)
 
void unregisterSubmitConstraintsDelegate (iSubmitConstraintsDelegate submitConstraintsDelegate)
 

Friends

class iPhysics
 
void SubmitConstraints (const void *const joint, float64 timestep, int threadIndex)
 

Detailed Description

wrapper for the NewtonJoint handle

Member Function Documentation

◆ getBody0ID()

uint64 igor::iPhysicsJoint::getBody0ID ( )

◆ getBody1ID()

uint64 igor::iPhysicsJoint::getBody1ID ( )

◆ getID()

uint64 igor::iPhysicsJoint::getID ( )
Returns
joint ID

◆ getNewtonJoint()

void * igor::iPhysicsJoint::getNewtonJoint ( ) const
Returns
pointer to newton joint

◆ registerSubmitConstraintsDelegate()

void igor::iPhysicsJoint::registerSubmitConstraintsDelegate ( iSubmitConstraintsDelegate  submitConstraintsDelegate)

◆ unregisterSubmitConstraintsDelegate()

void igor::iPhysicsJoint::unregisterSubmitConstraintsDelegate ( iSubmitConstraintsDelegate  submitConstraintsDelegate)

Friends And Related Function Documentation

◆ iPhysics

friend class iPhysics
friend

◆ SubmitConstraints

void SubmitConstraints ( const void *const  joint,
float64  timestep,
int  threadIndex 
)
friend
Parameters
jointthe newton joint to submit the constraints to
timesteptime delta
threadIndexthread index

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