C# Class BulletCSharp.btCollisionDispatcher

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

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GetSwigPtr ( ) : SWIGTYPE_p_btDispatcher
allocateCollisionAlgorithm ( int size ) : SWIGTYPE_p_void
btCollisionDispatcher ( SWIGTYPE_p_btCollisionConfiguration collisionConfiguration ) : System
clearManifold ( SWIGTYPE_p_btPersistentManifold manifold ) : void
defaultNearCallback ( SWIGTYPE_p_btBroadphasePair collisionPair, btCollisionDispatcher dispatcher, SWIGTYPE_p_btDispatcherInfo dispatchInfo ) : void
dispatchAllCollisionPairs ( SWIGTYPE_p_btOverlappingPairCache pairCache, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btDispatcher dispatcher ) : void
findAlgorithm ( SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap ) : SWIGTYPE_p_btCollisionAlgorithm
findAlgorithm ( SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap, SWIGTYPE_p_btPersistentManifold sharedManifold ) : SWIGTYPE_p_btCollisionAlgorithm
freeCollisionAlgorithm ( SWIGTYPE_p_void ptr ) : void
getCollisionConfiguration ( ) : SWIGTYPE_p_btCollisionConfiguration
getDispatcherFlags ( ) : int
getInternalManifoldPointer ( ) : SWIGTYPE_p_p_btPersistentManifold
getInternalManifoldPool ( ) : SWIGTYPE_p_btPoolAllocator
getManifoldByIndexInternal ( int index ) : SWIGTYPE_p_btPersistentManifold
getNearCallback ( ) : SWIGTYPE_p_f_r_btBroadphasePair_r_btCollisionDispatcher_r_q_const__btDispatcherInfo__void
getNewManifold ( btCollisionObject b0, btCollisionObject b1 ) : SWIGTYPE_p_btPersistentManifold
getNumManifolds ( ) : int
needsCollision ( btCollisionObject body0, btCollisionObject body1 ) : bool
needsResponse ( btCollisionObject body0, btCollisionObject body1 ) : bool
registerCollisionCreateFunc ( int proxyType0, int proxyType1, SWIGTYPE_p_btCollisionAlgorithmCreateFunc createFunc ) : void
releaseManifold ( SWIGTYPE_p_btPersistentManifold manifold ) : void
setCollisionConfiguration ( SWIGTYPE_p_btCollisionConfiguration config ) : void
setDispatcherFlags ( int flags ) : void
setNearCallback ( SWIGTYPE_p_f_r_btBroadphasePair_r_btCollisionDispatcher_r_q_const__btDispatcherInfo__void nearCallback ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetSwigPtr() public method

public GetSwigPtr ( ) : SWIGTYPE_p_btDispatcher
return SWIGTYPE_p_btDispatcher

allocateCollisionAlgorithm() public method

public allocateCollisionAlgorithm ( int size ) : SWIGTYPE_p_void
size int
return SWIGTYPE_p_void

btCollisionDispatcher() public method

public btCollisionDispatcher ( SWIGTYPE_p_btCollisionConfiguration collisionConfiguration ) : System
collisionConfiguration SWIGTYPE_p_btCollisionConfiguration
return System

clearManifold() public method

public clearManifold ( SWIGTYPE_p_btPersistentManifold manifold ) : void
manifold SWIGTYPE_p_btPersistentManifold
return void

defaultNearCallback() public static method

public static defaultNearCallback ( SWIGTYPE_p_btBroadphasePair collisionPair, btCollisionDispatcher dispatcher, SWIGTYPE_p_btDispatcherInfo dispatchInfo ) : void
collisionPair SWIGTYPE_p_btBroadphasePair
dispatcher btCollisionDispatcher
dispatchInfo SWIGTYPE_p_btDispatcherInfo
return void

dispatchAllCollisionPairs() public method

public dispatchAllCollisionPairs ( SWIGTYPE_p_btOverlappingPairCache pairCache, SWIGTYPE_p_btDispatcherInfo dispatchInfo, SWIGTYPE_p_btDispatcher dispatcher ) : void
pairCache SWIGTYPE_p_btOverlappingPairCache
dispatchInfo SWIGTYPE_p_btDispatcherInfo
dispatcher SWIGTYPE_p_btDispatcher
return void

findAlgorithm() public method

public findAlgorithm ( SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap ) : SWIGTYPE_p_btCollisionAlgorithm
body0Wrap SWIGTYPE_p_btCollisionObjectWrapper
body1Wrap SWIGTYPE_p_btCollisionObjectWrapper
return SWIGTYPE_p_btCollisionAlgorithm

findAlgorithm() public method

public findAlgorithm ( SWIGTYPE_p_btCollisionObjectWrapper body0Wrap, SWIGTYPE_p_btCollisionObjectWrapper body1Wrap, SWIGTYPE_p_btPersistentManifold sharedManifold ) : SWIGTYPE_p_btCollisionAlgorithm
body0Wrap SWIGTYPE_p_btCollisionObjectWrapper
body1Wrap SWIGTYPE_p_btCollisionObjectWrapper
sharedManifold SWIGTYPE_p_btPersistentManifold
return SWIGTYPE_p_btCollisionAlgorithm

freeCollisionAlgorithm() public method

public freeCollisionAlgorithm ( SWIGTYPE_p_void ptr ) : void
ptr SWIGTYPE_p_void
return void

getCollisionConfiguration() public method

public getCollisionConfiguration ( ) : SWIGTYPE_p_btCollisionConfiguration
return SWIGTYPE_p_btCollisionConfiguration

getDispatcherFlags() public method

public getDispatcherFlags ( ) : int
return int

getInternalManifoldPointer() public method

public getInternalManifoldPointer ( ) : SWIGTYPE_p_p_btPersistentManifold
return SWIGTYPE_p_p_btPersistentManifold

getInternalManifoldPool() public method

public getInternalManifoldPool ( ) : SWIGTYPE_p_btPoolAllocator
return SWIGTYPE_p_btPoolAllocator

getManifoldByIndexInternal() public method

public getManifoldByIndexInternal ( int index ) : SWIGTYPE_p_btPersistentManifold
index int
return SWIGTYPE_p_btPersistentManifold

getNearCallback() public method

public getNearCallback ( ) : SWIGTYPE_p_f_r_btBroadphasePair_r_btCollisionDispatcher_r_q_const__btDispatcherInfo__void
return SWIGTYPE_p_f_r_btBroadphasePair_r_btCollisionDispatcher_r_q_const__btDispatcherInfo__void

getNewManifold() public method

public getNewManifold ( btCollisionObject b0, btCollisionObject b1 ) : SWIGTYPE_p_btPersistentManifold
b0 btCollisionObject
b1 btCollisionObject
return SWIGTYPE_p_btPersistentManifold

getNumManifolds() public method

public getNumManifolds ( ) : int
return int

needsCollision() public method

public needsCollision ( btCollisionObject body0, btCollisionObject body1 ) : bool
body0 btCollisionObject
body1 btCollisionObject
return bool

needsResponse() public method

public needsResponse ( btCollisionObject body0, btCollisionObject body1 ) : bool
body0 btCollisionObject
body1 btCollisionObject
return bool

registerCollisionCreateFunc() public method

public registerCollisionCreateFunc ( int proxyType0, int proxyType1, SWIGTYPE_p_btCollisionAlgorithmCreateFunc createFunc ) : void
proxyType0 int
proxyType1 int
createFunc SWIGTYPE_p_btCollisionAlgorithmCreateFunc
return void

releaseManifold() public method

public releaseManifold ( SWIGTYPE_p_btPersistentManifold manifold ) : void
manifold SWIGTYPE_p_btPersistentManifold
return void

setCollisionConfiguration() public method

public setCollisionConfiguration ( SWIGTYPE_p_btCollisionConfiguration config ) : void
config SWIGTYPE_p_btCollisionConfiguration
return void

setDispatcherFlags() public method

public setDispatcherFlags ( int flags ) : void
flags int
return void

setNearCallback() public method

public setNearCallback ( SWIGTYPE_p_f_r_btBroadphasePair_r_btCollisionDispatcher_r_q_const__btDispatcherInfo__void nearCallback ) : void
nearCallback SWIGTYPE_p_f_r_btBroadphasePair_r_btCollisionDispatcher_r_q_const__btDispatcherInfo__void
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool