C# Class BulletCSharp.btSoftRigidDynamicsWorld

Inheritance: IDisposable
Exibir arquivo Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
addSoftBody ( btSoftBody body ) : void
addSoftBody ( btSoftBody body, short collisionFilterGroup ) : void
addSoftBody ( btSoftBody body, short collisionFilterGroup, short collisionFilterMask ) : void
btSoftRigidDynamicsWorld ( SWIGTYPE_p_btDispatcher dispatcher, SWIGTYPE_p_btBroadphaseInterface pairCache, SWIGTYPE_p_btConstraintSolver constraintSolver, SWIGTYPE_p_btCollisionConfiguration collisionConfiguration ) : System
btSoftRigidDynamicsWorld ( SWIGTYPE_p_btDispatcher dispatcher, SWIGTYPE_p_btBroadphaseInterface pairCache, SWIGTYPE_p_btConstraintSolver constraintSolver, SWIGTYPE_p_btCollisionConfiguration collisionConfiguration, btSoftBodySolver softBodySolver ) : System
debugDrawWorld ( ) : void
getCollisionWorld ( ) : SWIGTYPE_p_btCollisionWorld
getDiscreteDynamicsWorld ( ) : SWIGTYPE_p_btDiscreteDynamicsWorld
getDrawFlags ( ) : int
getSoftBodyArray ( ) : SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t
getWorldInfo ( ) : btSoftBodyWorldInfo
getWorldType ( ) : SWIGTYPE_p_btDynamicsWorldType
rayTest ( SWIGTYPE_p_btVector3 rayFromWorld, SWIGTYPE_p_btVector3 rayToWorld, RayResultCallback resultCallback ) : void
rayTestSingle ( SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, SWIGTYPE_p_btCollisionObject collisionObject, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btTransform colObjWorldTransform, RayResultCallback resultCallback ) : void
removeCollisionObject ( SWIGTYPE_p_btCollisionObject collisionObject ) : void
removeSoftBody ( btSoftBody body ) : void
serialize ( SWIGTYPE_p_btSerializer serializer ) : void
setDrawFlags ( int f ) : void
stepSimulation ( float timeStep ) : int
stepSimulation ( float timeStep, int maxSubSteps ) : int
stepSimulation ( float timeStep, int maxSubSteps, float fixedTimeStep ) : int

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

addSoftBody() public method

public addSoftBody ( btSoftBody body ) : void
body btSoftBody
return void

addSoftBody() public method

public addSoftBody ( btSoftBody body, short collisionFilterGroup ) : void
body btSoftBody
collisionFilterGroup short
return void

addSoftBody() public method

public addSoftBody ( btSoftBody body, short collisionFilterGroup, short collisionFilterMask ) : void
body btSoftBody
collisionFilterGroup short
collisionFilterMask short
return void

btSoftRigidDynamicsWorld() public method

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

btSoftRigidDynamicsWorld() public method

public btSoftRigidDynamicsWorld ( SWIGTYPE_p_btDispatcher dispatcher, SWIGTYPE_p_btBroadphaseInterface pairCache, SWIGTYPE_p_btConstraintSolver constraintSolver, SWIGTYPE_p_btCollisionConfiguration collisionConfiguration, btSoftBodySolver softBodySolver ) : System
dispatcher SWIGTYPE_p_btDispatcher
pairCache SWIGTYPE_p_btBroadphaseInterface
constraintSolver SWIGTYPE_p_btConstraintSolver
collisionConfiguration SWIGTYPE_p_btCollisionConfiguration
softBodySolver btSoftBodySolver
return System

debugDrawWorld() public method

public debugDrawWorld ( ) : void
return void

getCollisionWorld() public method

public getCollisionWorld ( ) : SWIGTYPE_p_btCollisionWorld
return SWIGTYPE_p_btCollisionWorld

getDiscreteDynamicsWorld() public method

public getDiscreteDynamicsWorld ( ) : SWIGTYPE_p_btDiscreteDynamicsWorld
return SWIGTYPE_p_btDiscreteDynamicsWorld

getDrawFlags() public method

public getDrawFlags ( ) : int
return int

getSoftBodyArray() public method

public getSoftBodyArray ( ) : SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t
return SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t

getWorldInfo() public method

public getWorldInfo ( ) : btSoftBodyWorldInfo
return btSoftBodyWorldInfo

getWorldType() public method

public getWorldType ( ) : SWIGTYPE_p_btDynamicsWorldType
return SWIGTYPE_p_btDynamicsWorldType

rayTest() public method

public rayTest ( SWIGTYPE_p_btVector3 rayFromWorld, SWIGTYPE_p_btVector3 rayToWorld, RayResultCallback resultCallback ) : void
rayFromWorld SWIGTYPE_p_btVector3
rayToWorld SWIGTYPE_p_btVector3
resultCallback RayResultCallback
return void

rayTestSingle() public static method

public static rayTestSingle ( SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, SWIGTYPE_p_btCollisionObject collisionObject, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btTransform colObjWorldTransform, RayResultCallback resultCallback ) : void
rayFromTrans SWIGTYPE_p_btTransform
rayToTrans SWIGTYPE_p_btTransform
collisionObject SWIGTYPE_p_btCollisionObject
collisionShape SWIGTYPE_p_btCollisionShape
colObjWorldTransform SWIGTYPE_p_btTransform
resultCallback RayResultCallback
return void

removeCollisionObject() public method

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

removeSoftBody() public method

public removeSoftBody ( btSoftBody body ) : void
body btSoftBody
return void

serialize() public method

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

setDrawFlags() public method

public setDrawFlags ( int f ) : void
f int
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

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool