C# Class BulletCSharp.btDiscreteDynamicsWorld

Inheritance: IDisposable
Mostra file Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GetObjectFromSwigPtr ( SWIGTYPE_p_btDiscreteDynamicsWorld ptr ) : btDiscreteDynamicsWorld
addAction ( SWIGTYPE_p_btActionInterface arg0 ) : void
addCharacter ( SWIGTYPE_p_btActionInterface character ) : void
addCollisionObject ( SWIGTYPE_p_btCollisionObject collisionObject ) : void
addCollisionObject ( SWIGTYPE_p_btCollisionObject collisionObject, short collisionFilterGroup ) : void
addCollisionObject ( SWIGTYPE_p_btCollisionObject collisionObject, short collisionFilterGroup, short collisionFilterMask ) : void
addConstraint ( SWIGTYPE_p_btTypedConstraint constraint ) : void
addConstraint ( SWIGTYPE_p_btTypedConstraint constraint, bool disableCollisionsBetweenLinkedBodies ) : void
addRigidBody ( btRigidBody body ) : void
addRigidBody ( btRigidBody body, short group, short mask ) : void
addVehicle ( SWIGTYPE_p_btActionInterface vehicle ) : void
applyGravity ( ) : void
btDiscreteDynamicsWorld ( SWIGTYPE_p_btDispatcher dispatcher, SWIGTYPE_p_btBroadphaseInterface pairCache, SWIGTYPE_p_btConstraintSolver constraintSolver, SWIGTYPE_p_btCollisionConfiguration collisionConfiguration ) : System
clearForces ( ) : void
debugDrawConstraint ( SWIGTYPE_p_btTypedConstraint constraint ) : void
debugDrawWorld ( ) : void
getApplySpeculativeContactRestitution ( ) : bool
getCollisionWorld ( ) : SWIGTYPE_p_btCollisionWorld
getConstraint ( int index ) : SWIGTYPE_p_btTypedConstraint
getConstraintSolver ( ) : SWIGTYPE_p_btConstraintSolver
getGravity ( ) : SWIGTYPE_p_btVector3
getNumConstraints ( ) : int
getSimulationIslandManager ( ) : SWIGTYPE_p_btSimulationIslandManager
getSynchronizeAllMotionStates ( ) : bool
getWorldType ( ) : SWIGTYPE_p_btDynamicsWorldType
removeAction ( SWIGTYPE_p_btActionInterface arg0 ) : void
removeCharacter ( SWIGTYPE_p_btActionInterface character ) : void
removeCollisionObject ( SWIGTYPE_p_btCollisionObject collisionObject ) : void
removeConstraint ( SWIGTYPE_p_btTypedConstraint constraint ) : void
removeRigidBody ( btRigidBody body ) : void
removeVehicle ( SWIGTYPE_p_btActionInterface vehicle ) : void
serialize ( SWIGTYPE_p_btSerializer serializer ) : void
setApplySpeculativeContactRestitution ( bool enable ) : void
setConstraintSolver ( SWIGTYPE_p_btConstraintSolver solver ) : void
setGravity ( SWIGTYPE_p_btVector3 gravity ) : void
setNumTasks ( int numTasks ) : void
setSynchronizeAllMotionStates ( bool synchronizeAll ) : void
stepSimulation ( float timeStep ) : int
stepSimulation ( float timeStep, int maxSubSteps ) : int
stepSimulation ( float timeStep, int maxSubSteps, float fixedTimeStep ) : int
synchronizeMotionStates ( ) : void
synchronizeSingleMotionState ( btRigidBody body ) : void
updateVehicles ( float timeStep ) : void

Private Methods

Method Description
btDiscreteDynamicsWorld ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btDiscreteDynamicsWorld obj ) : HandleRef

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetObjectFromSwigPtr() public static method

public static GetObjectFromSwigPtr ( SWIGTYPE_p_btDiscreteDynamicsWorld ptr ) : btDiscreteDynamicsWorld
ptr SWIGTYPE_p_btDiscreteDynamicsWorld
return btDiscreteDynamicsWorld

addAction() public method

public addAction ( SWIGTYPE_p_btActionInterface arg0 ) : void
arg0 SWIGTYPE_p_btActionInterface
return void

addCharacter() public method

public addCharacter ( SWIGTYPE_p_btActionInterface character ) : void
character SWIGTYPE_p_btActionInterface
return void

addCollisionObject() public method

public addCollisionObject ( SWIGTYPE_p_btCollisionObject collisionObject ) : void
collisionObject SWIGTYPE_p_btCollisionObject
return void

addCollisionObject() public method

public addCollisionObject ( SWIGTYPE_p_btCollisionObject collisionObject, short collisionFilterGroup ) : void
collisionObject SWIGTYPE_p_btCollisionObject
collisionFilterGroup short
return void

addCollisionObject() public method

public addCollisionObject ( SWIGTYPE_p_btCollisionObject collisionObject, short collisionFilterGroup, short collisionFilterMask ) : void
collisionObject SWIGTYPE_p_btCollisionObject
collisionFilterGroup short
collisionFilterMask short
return void

addConstraint() public method

public addConstraint ( SWIGTYPE_p_btTypedConstraint constraint ) : void
constraint SWIGTYPE_p_btTypedConstraint
return void

addConstraint() public method

public addConstraint ( SWIGTYPE_p_btTypedConstraint constraint, bool disableCollisionsBetweenLinkedBodies ) : void
constraint SWIGTYPE_p_btTypedConstraint
disableCollisionsBetweenLinkedBodies bool
return void

addRigidBody() public method

public addRigidBody ( btRigidBody body ) : void
body btRigidBody
return void

addRigidBody() public method

public addRigidBody ( btRigidBody body, short group, short mask ) : void
body btRigidBody
group short
mask short
return void

addVehicle() public method

public addVehicle ( SWIGTYPE_p_btActionInterface vehicle ) : void
vehicle SWIGTYPE_p_btActionInterface
return void

applyGravity() public method

public applyGravity ( ) : void
return void

btDiscreteDynamicsWorld() public method

public btDiscreteDynamicsWorld ( SWIGTYPE_p_btDispatcher dispatcher, SWIGTYPE_p_btBroadphaseInterface pairCache, SWIGTYPE_p_btConstraintSolver constraintSolver, SWIGTYPE_p_btCollisionConfiguration collisionConfiguration ) : System
dispatcher SWIGTYPE_p_btDispatcher
pairCache SWIGTYPE_p_btBroadphaseInterface
constraintSolver SWIGTYPE_p_btConstraintSolver
collisionConfiguration SWIGTYPE_p_btCollisionConfiguration
return System

clearForces() public method

public clearForces ( ) : void
return void

debugDrawConstraint() public method

public debugDrawConstraint ( SWIGTYPE_p_btTypedConstraint constraint ) : void
constraint SWIGTYPE_p_btTypedConstraint
return void

debugDrawWorld() public method

public debugDrawWorld ( ) : void
return void

getApplySpeculativeContactRestitution() public method

public getApplySpeculativeContactRestitution ( ) : bool
return bool

getCollisionWorld() public method

public getCollisionWorld ( ) : SWIGTYPE_p_btCollisionWorld
return SWIGTYPE_p_btCollisionWorld

getConstraint() public method

public getConstraint ( int index ) : SWIGTYPE_p_btTypedConstraint
index int
return SWIGTYPE_p_btTypedConstraint

getConstraintSolver() public method

public getConstraintSolver ( ) : SWIGTYPE_p_btConstraintSolver
return SWIGTYPE_p_btConstraintSolver

getGravity() public method

public getGravity ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getNumConstraints() public method

public getNumConstraints ( ) : int
return int

getSimulationIslandManager() public method

public getSimulationIslandManager ( ) : SWIGTYPE_p_btSimulationIslandManager
return SWIGTYPE_p_btSimulationIslandManager

getSynchronizeAllMotionStates() public method

public getSynchronizeAllMotionStates ( ) : bool
return bool

getWorldType() public method

public getWorldType ( ) : SWIGTYPE_p_btDynamicsWorldType
return SWIGTYPE_p_btDynamicsWorldType

removeAction() public method

public removeAction ( SWIGTYPE_p_btActionInterface arg0 ) : void
arg0 SWIGTYPE_p_btActionInterface
return void

removeCharacter() public method

public removeCharacter ( SWIGTYPE_p_btActionInterface character ) : void
character SWIGTYPE_p_btActionInterface
return void

removeCollisionObject() public method

public removeCollisionObject ( SWIGTYPE_p_btCollisionObject collisionObject ) : void
collisionObject SWIGTYPE_p_btCollisionObject
return void

removeConstraint() public method

public removeConstraint ( SWIGTYPE_p_btTypedConstraint constraint ) : void
constraint SWIGTYPE_p_btTypedConstraint
return void

removeRigidBody() public method

public removeRigidBody ( btRigidBody body ) : void
body btRigidBody
return void

removeVehicle() public method

public removeVehicle ( SWIGTYPE_p_btActionInterface vehicle ) : void
vehicle SWIGTYPE_p_btActionInterface
return void

serialize() public method

public serialize ( SWIGTYPE_p_btSerializer serializer ) : void
serializer SWIGTYPE_p_btSerializer
return void

setApplySpeculativeContactRestitution() public method

public setApplySpeculativeContactRestitution ( bool enable ) : void
enable bool
return void

setConstraintSolver() public method

public setConstraintSolver ( SWIGTYPE_p_btConstraintSolver solver ) : void
solver SWIGTYPE_p_btConstraintSolver
return void

setGravity() public method

public setGravity ( SWIGTYPE_p_btVector3 gravity ) : void
gravity SWIGTYPE_p_btVector3
return void

setNumTasks() public method

public setNumTasks ( int numTasks ) : void
numTasks int
return void

setSynchronizeAllMotionStates() public method

public setSynchronizeAllMotionStates ( bool synchronizeAll ) : void
synchronizeAll bool
return void

stepSimulation() public method

public stepSimulation ( float timeStep ) : int
timeStep float
return int

stepSimulation() public method

public stepSimulation ( float timeStep, int maxSubSteps ) : int
timeStep float
maxSubSteps int
return int

stepSimulation() public method

public stepSimulation ( float timeStep, int maxSubSteps, float fixedTimeStep ) : int
timeStep float
maxSubSteps int
fixedTimeStep float
return int

synchronizeMotionStates() public method

public synchronizeMotionStates ( ) : void
return void

synchronizeSingleMotionState() public method

public synchronizeSingleMotionState ( btRigidBody body ) : void
body btRigidBody
return void

updateVehicles() public method

public updateVehicles ( float timeStep ) : void
timeStep float
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool