C# Class BulletCSharp.btCollisionWorld

Inheritance: IDisposable
ファイルを表示 Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GetObjectFromSwigPtr ( SWIGTYPE_p_btCollisionWorld ptr ) : btCollisionWorld
addCollisionObject ( btCollisionObject collisionObject ) : void
addCollisionObject ( btCollisionObject collisionObject, short collisionFilterGroup ) : void
addCollisionObject ( btCollisionObject collisionObject, short collisionFilterGroup, short collisionFilterMask ) : void
btCollisionWorld ( SWIGTYPE_p_btDispatcher dispatcher, SWIGTYPE_p_btBroadphaseInterface broadphasePairCache, SWIGTYPE_p_btCollisionConfiguration collisionConfiguration ) : System
computeOverlappingPairs ( ) : void
contactPairTest ( btCollisionObject colObjA, btCollisionObject colObjB, SWIGTYPE_p_btCollisionWorld__ContactResultCallback resultCallback ) : void
contactTest ( btCollisionObject colObj, SWIGTYPE_p_btCollisionWorld__ContactResultCallback resultCallback ) : void
convexSweepTest ( SWIGTYPE_p_btConvexShape castShape, SWIGTYPE_p_btTransform from, SWIGTYPE_p_btTransform to, SWIGTYPE_p_btCollisionWorld__ConvexResultCallback resultCallback ) : void
convexSweepTest ( SWIGTYPE_p_btConvexShape castShape, SWIGTYPE_p_btTransform from, SWIGTYPE_p_btTransform to, SWIGTYPE_p_btCollisionWorld__ConvexResultCallback resultCallback, float allowedCcdPenetration ) : void
debugDrawObject ( SWIGTYPE_p_btTransform worldTransform, SWIGTYPE_p_btCollisionShape shape, SWIGTYPE_p_btVector3 color ) : void
debugDrawWorld ( ) : void
getBroadphase ( ) : SWIGTYPE_p_btBroadphaseInterface
getCollisionObjectArray ( ) : SWIGTYPE_p_btAlignedObjectArrayT_btCollisionObject_p_t
getDebugDrawer ( ) : SWIGTYPE_p_btIDebugDraw
getDispatchInfo ( ) : SWIGTYPE_p_btDispatcherInfo
getDispatcher ( ) : SWIGTYPE_p_btDispatcher
getForceUpdateAllAabbs ( ) : bool
getNumCollisionObjects ( ) : int
getPairCache ( ) : SWIGTYPE_p_btOverlappingPairCache
objectQuerySingle ( SWIGTYPE_p_btConvexShape castShape, SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, btCollisionObject collisionObject, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btTransform colObjWorldTransform, SWIGTYPE_p_btCollisionWorld__ConvexResultCallback resultCallback, float allowedPenetration ) : void
objectQuerySingleInternal ( SWIGTYPE_p_btConvexShape castShape, SWIGTYPE_p_btTransform convexFromTrans, SWIGTYPE_p_btTransform convexToTrans, SWIGTYPE_p_btCollisionObjectWrapper colObjWrap, SWIGTYPE_p_btCollisionWorld__ConvexResultCallback resultCallback, float allowedPenetration ) : void
performDiscreteCollisionDetection ( ) : void
rayTest ( SWIGTYPE_p_btVector3 rayFromWorld, SWIGTYPE_p_btVector3 rayToWorld, SWIGTYPE_p_btCollisionWorld__RayResultCallback resultCallback ) : void
rayTestSingle ( SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, btCollisionObject collisionObject, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btTransform colObjWorldTransform, SWIGTYPE_p_btCollisionWorld__RayResultCallback resultCallback ) : void
rayTestSingleInternal ( SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, SWIGTYPE_p_btCollisionObjectWrapper collisionObjectWrap, SWIGTYPE_p_btCollisionWorld__RayResultCallback resultCallback ) : void
removeCollisionObject ( btCollisionObject collisionObject ) : void
serialize ( SWIGTYPE_p_btSerializer serializer ) : void
setBroadphase ( SWIGTYPE_p_btBroadphaseInterface pairCache ) : void
setDebugDrawer ( SWIGTYPE_p_btIDebugDraw debugDrawer ) : void
setForceUpdateAllAabbs ( bool forceUpdateAllAabbs ) : void
updateAabbs ( ) : void
updateSingleAabb ( btCollisionObject colObj ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetObjectFromSwigPtr() public static method

public static GetObjectFromSwigPtr ( SWIGTYPE_p_btCollisionWorld ptr ) : btCollisionWorld
ptr SWIGTYPE_p_btCollisionWorld
return btCollisionWorld

addCollisionObject() public method

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

addCollisionObject() public method

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

addCollisionObject() public method

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

btCollisionWorld() public method

public btCollisionWorld ( SWIGTYPE_p_btDispatcher dispatcher, SWIGTYPE_p_btBroadphaseInterface broadphasePairCache, SWIGTYPE_p_btCollisionConfiguration collisionConfiguration ) : System
dispatcher SWIGTYPE_p_btDispatcher
broadphasePairCache SWIGTYPE_p_btBroadphaseInterface
collisionConfiguration SWIGTYPE_p_btCollisionConfiguration
return System

computeOverlappingPairs() public method

public computeOverlappingPairs ( ) : void
return void

contactPairTest() public method

public contactPairTest ( btCollisionObject colObjA, btCollisionObject colObjB, SWIGTYPE_p_btCollisionWorld__ContactResultCallback resultCallback ) : void
colObjA btCollisionObject
colObjB btCollisionObject
resultCallback SWIGTYPE_p_btCollisionWorld__ContactResultCallback
return void

contactTest() public method

public contactTest ( btCollisionObject colObj, SWIGTYPE_p_btCollisionWorld__ContactResultCallback resultCallback ) : void
colObj btCollisionObject
resultCallback SWIGTYPE_p_btCollisionWorld__ContactResultCallback
return void

convexSweepTest() public method

public convexSweepTest ( SWIGTYPE_p_btConvexShape castShape, SWIGTYPE_p_btTransform from, SWIGTYPE_p_btTransform to, SWIGTYPE_p_btCollisionWorld__ConvexResultCallback resultCallback ) : void
castShape SWIGTYPE_p_btConvexShape
from SWIGTYPE_p_btTransform
to SWIGTYPE_p_btTransform
resultCallback SWIGTYPE_p_btCollisionWorld__ConvexResultCallback
return void

convexSweepTest() public method

public convexSweepTest ( SWIGTYPE_p_btConvexShape castShape, SWIGTYPE_p_btTransform from, SWIGTYPE_p_btTransform to, SWIGTYPE_p_btCollisionWorld__ConvexResultCallback resultCallback, float allowedCcdPenetration ) : void
castShape SWIGTYPE_p_btConvexShape
from SWIGTYPE_p_btTransform
to SWIGTYPE_p_btTransform
resultCallback SWIGTYPE_p_btCollisionWorld__ConvexResultCallback
allowedCcdPenetration float
return void

debugDrawObject() public method

public debugDrawObject ( SWIGTYPE_p_btTransform worldTransform, SWIGTYPE_p_btCollisionShape shape, SWIGTYPE_p_btVector3 color ) : void
worldTransform SWIGTYPE_p_btTransform
shape SWIGTYPE_p_btCollisionShape
color SWIGTYPE_p_btVector3
return void

debugDrawWorld() public method

public debugDrawWorld ( ) : void
return void

getBroadphase() public method

public getBroadphase ( ) : SWIGTYPE_p_btBroadphaseInterface
return SWIGTYPE_p_btBroadphaseInterface

getCollisionObjectArray() public method

public getCollisionObjectArray ( ) : SWIGTYPE_p_btAlignedObjectArrayT_btCollisionObject_p_t
return SWIGTYPE_p_btAlignedObjectArrayT_btCollisionObject_p_t

getDebugDrawer() public method

public getDebugDrawer ( ) : SWIGTYPE_p_btIDebugDraw
return SWIGTYPE_p_btIDebugDraw

getDispatchInfo() public method

public getDispatchInfo ( ) : SWIGTYPE_p_btDispatcherInfo
return SWIGTYPE_p_btDispatcherInfo

getDispatcher() public method

public getDispatcher ( ) : SWIGTYPE_p_btDispatcher
return SWIGTYPE_p_btDispatcher

getForceUpdateAllAabbs() public method

public getForceUpdateAllAabbs ( ) : bool
return bool

getNumCollisionObjects() public method

public getNumCollisionObjects ( ) : int
return int

getPairCache() public method

public getPairCache ( ) : SWIGTYPE_p_btOverlappingPairCache
return SWIGTYPE_p_btOverlappingPairCache

objectQuerySingle() public static method

public static objectQuerySingle ( SWIGTYPE_p_btConvexShape castShape, SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, btCollisionObject collisionObject, SWIGTYPE_p_btCollisionShape collisionShape, SWIGTYPE_p_btTransform colObjWorldTransform, SWIGTYPE_p_btCollisionWorld__ConvexResultCallback resultCallback, float allowedPenetration ) : void
castShape SWIGTYPE_p_btConvexShape
rayFromTrans SWIGTYPE_p_btTransform
rayToTrans SWIGTYPE_p_btTransform
collisionObject btCollisionObject
collisionShape SWIGTYPE_p_btCollisionShape
colObjWorldTransform SWIGTYPE_p_btTransform
resultCallback SWIGTYPE_p_btCollisionWorld__ConvexResultCallback
allowedPenetration float
return void

objectQuerySingleInternal() public static method

public static objectQuerySingleInternal ( SWIGTYPE_p_btConvexShape castShape, SWIGTYPE_p_btTransform convexFromTrans, SWIGTYPE_p_btTransform convexToTrans, SWIGTYPE_p_btCollisionObjectWrapper colObjWrap, SWIGTYPE_p_btCollisionWorld__ConvexResultCallback resultCallback, float allowedPenetration ) : void
castShape SWIGTYPE_p_btConvexShape
convexFromTrans SWIGTYPE_p_btTransform
convexToTrans SWIGTYPE_p_btTransform
colObjWrap SWIGTYPE_p_btCollisionObjectWrapper
resultCallback SWIGTYPE_p_btCollisionWorld__ConvexResultCallback
allowedPenetration float
return void

performDiscreteCollisionDetection() public method

public performDiscreteCollisionDetection ( ) : void
return void

rayTest() public method

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

rayTestSingle() public static method

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

rayTestSingleInternal() public static method

public static rayTestSingleInternal ( SWIGTYPE_p_btTransform rayFromTrans, SWIGTYPE_p_btTransform rayToTrans, SWIGTYPE_p_btCollisionObjectWrapper collisionObjectWrap, SWIGTYPE_p_btCollisionWorld__RayResultCallback resultCallback ) : void
rayFromTrans SWIGTYPE_p_btTransform
rayToTrans SWIGTYPE_p_btTransform
collisionObjectWrap SWIGTYPE_p_btCollisionObjectWrapper
resultCallback SWIGTYPE_p_btCollisionWorld__RayResultCallback
return void

removeCollisionObject() public method

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

serialize() public method

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

setBroadphase() public method

public setBroadphase ( SWIGTYPE_p_btBroadphaseInterface pairCache ) : void
pairCache SWIGTYPE_p_btBroadphaseInterface
return void

setDebugDrawer() public method

public setDebugDrawer ( SWIGTYPE_p_btIDebugDraw debugDrawer ) : void
debugDrawer SWIGTYPE_p_btIDebugDraw
return void

setForceUpdateAllAabbs() public method

public setForceUpdateAllAabbs ( bool forceUpdateAllAabbs ) : void
forceUpdateAllAabbs bool
return void

updateAabbs() public method

public updateAabbs ( ) : void
return void

updateSingleAabb() public method

public updateSingleAabb ( btCollisionObject colObj ) : void
colObj btCollisionObject
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool