C# Класс BulletCSharp.btCollisionWorld

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
swigCMemOwn bool

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
btCollisionWorld ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btCollisionWorld obj ) : HandleRef

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetObjectFromSwigPtr() публичный статический Метод

public static GetObjectFromSwigPtr ( SWIGTYPE_p_btCollisionWorld ptr ) : btCollisionWorld
ptr SWIGTYPE_p_btCollisionWorld
Результат btCollisionWorld

addCollisionObject() публичный Метод

public addCollisionObject ( btCollisionObject collisionObject ) : void
collisionObject btCollisionObject
Результат void

addCollisionObject() публичный Метод

public addCollisionObject ( btCollisionObject collisionObject, short collisionFilterGroup ) : void
collisionObject btCollisionObject
collisionFilterGroup short
Результат void

addCollisionObject() публичный Метод

public addCollisionObject ( btCollisionObject collisionObject, short collisionFilterGroup, short collisionFilterMask ) : void
collisionObject btCollisionObject
collisionFilterGroup short
collisionFilterMask short
Результат void

btCollisionWorld() публичный Метод

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
Результат System

computeOverlappingPairs() публичный Метод

public computeOverlappingPairs ( ) : void
Результат void

contactPairTest() публичный Метод

public contactPairTest ( btCollisionObject colObjA, btCollisionObject colObjB, SWIGTYPE_p_btCollisionWorld__ContactResultCallback resultCallback ) : void
colObjA btCollisionObject
colObjB btCollisionObject
resultCallback SWIGTYPE_p_btCollisionWorld__ContactResultCallback
Результат void

contactTest() публичный Метод

public contactTest ( btCollisionObject colObj, SWIGTYPE_p_btCollisionWorld__ContactResultCallback resultCallback ) : void
colObj btCollisionObject
resultCallback SWIGTYPE_p_btCollisionWorld__ContactResultCallback
Результат void

convexSweepTest() публичный Метод

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
Результат void

convexSweepTest() публичный Метод

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
Результат void

debugDrawObject() публичный Метод

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
Результат void

debugDrawWorld() публичный Метод

public debugDrawWorld ( ) : void
Результат void

getBroadphase() публичный Метод

public getBroadphase ( ) : SWIGTYPE_p_btBroadphaseInterface
Результат SWIGTYPE_p_btBroadphaseInterface

getCollisionObjectArray() публичный Метод

public getCollisionObjectArray ( ) : SWIGTYPE_p_btAlignedObjectArrayT_btCollisionObject_p_t
Результат SWIGTYPE_p_btAlignedObjectArrayT_btCollisionObject_p_t

getDebugDrawer() публичный Метод

public getDebugDrawer ( ) : SWIGTYPE_p_btIDebugDraw
Результат SWIGTYPE_p_btIDebugDraw

getDispatchInfo() публичный Метод

public getDispatchInfo ( ) : SWIGTYPE_p_btDispatcherInfo
Результат SWIGTYPE_p_btDispatcherInfo

getDispatcher() публичный Метод

public getDispatcher ( ) : SWIGTYPE_p_btDispatcher
Результат SWIGTYPE_p_btDispatcher

getForceUpdateAllAabbs() публичный Метод

public getForceUpdateAllAabbs ( ) : bool
Результат bool

getNumCollisionObjects() публичный Метод

public getNumCollisionObjects ( ) : int
Результат int

getPairCache() публичный Метод

public getPairCache ( ) : SWIGTYPE_p_btOverlappingPairCache
Результат SWIGTYPE_p_btOverlappingPairCache

objectQuerySingle() публичный статический Метод

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
Результат void

objectQuerySingleInternal() публичный статический Метод

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
Результат void

performDiscreteCollisionDetection() публичный Метод

public performDiscreteCollisionDetection ( ) : void
Результат void

rayTest() публичный Метод

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
Результат void

rayTestSingle() публичный статический Метод

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
Результат void

rayTestSingleInternal() публичный статический Метод

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
Результат void

removeCollisionObject() публичный Метод

public removeCollisionObject ( btCollisionObject collisionObject ) : void
collisionObject btCollisionObject
Результат void

serialize() публичный Метод

public serialize ( SWIGTYPE_p_btSerializer serializer ) : void
serializer SWIGTYPE_p_btSerializer
Результат void

setBroadphase() публичный Метод

public setBroadphase ( SWIGTYPE_p_btBroadphaseInterface pairCache ) : void
pairCache SWIGTYPE_p_btBroadphaseInterface
Результат void

setDebugDrawer() публичный Метод

public setDebugDrawer ( SWIGTYPE_p_btIDebugDraw debugDrawer ) : void
debugDrawer SWIGTYPE_p_btIDebugDraw
Результат void

setForceUpdateAllAabbs() публичный Метод

public setForceUpdateAllAabbs ( bool forceUpdateAllAabbs ) : void
forceUpdateAllAabbs bool
Результат void

updateAabbs() публичный Метод

public updateAabbs ( ) : void
Результат void

updateSingleAabb() публичный Метод

public updateSingleAabb ( btCollisionObject colObj ) : void
colObj btCollisionObject
Результат void

Описание свойств

swigCMemOwn защищенное свойство

protected bool swigCMemOwn
Результат bool