C# Class BulletCSharp.btSimpleDynamicsWorld

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

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
addAction ( SWIGTYPE_p_btActionInterface action ) : void
addRigidBody ( btRigidBody body ) : void
addRigidBody ( btRigidBody body, short group, short mask ) : void
btSimpleDynamicsWorld ( SWIGTYPE_p_btDispatcher dispatcher, SWIGTYPE_p_btBroadphaseInterface pairCache, SWIGTYPE_p_btConstraintSolver constraintSolver, SWIGTYPE_p_btCollisionConfiguration collisionConfiguration ) : System
clearForces ( ) : void
debugDrawWorld ( ) : void
getConstraintSolver ( ) : SWIGTYPE_p_btConstraintSolver
getGravity ( ) : SWIGTYPE_p_btVector3
getWorldType ( ) : SWIGTYPE_p_btDynamicsWorldType
removeAction ( SWIGTYPE_p_btActionInterface action ) : void
removeCollisionObject ( SWIGTYPE_p_btCollisionObject collisionObject ) : void
removeRigidBody ( btRigidBody body ) : void
setConstraintSolver ( SWIGTYPE_p_btConstraintSolver solver ) : void
setGravity ( SWIGTYPE_p_btVector3 gravity ) : void
stepSimulation ( float timeStep ) : int
stepSimulation ( float timeStep, int maxSubSteps ) : int
stepSimulation ( float timeStep, int maxSubSteps, float fixedTimeStep ) : int
synchronizeMotionStates ( ) : void
updateAabbs ( ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

addAction() public method

public addAction ( SWIGTYPE_p_btActionInterface action ) : void
action SWIGTYPE_p_btActionInterface
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

btSimpleDynamicsWorld() public method

public btSimpleDynamicsWorld ( 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

debugDrawWorld() public method

public debugDrawWorld ( ) : void
return void

getConstraintSolver() public method

public getConstraintSolver ( ) : SWIGTYPE_p_btConstraintSolver
return SWIGTYPE_p_btConstraintSolver

getGravity() public method

public getGravity ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getWorldType() public method

public getWorldType ( ) : SWIGTYPE_p_btDynamicsWorldType
return SWIGTYPE_p_btDynamicsWorldType

removeAction() public method

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

removeCollisionObject() public method

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

removeRigidBody() public method

public removeRigidBody ( btRigidBody body ) : void
body btRigidBody
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

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

updateAabbs() public method

public updateAabbs ( ) : void
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool