C# Class BulletCSharp.btCollisionObject

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

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GetObjectFromSwigPtr ( SWIGTYPE_p_btCollisionObject ptr ) : btCollisionObject
activate ( ) : void
activate ( bool forceActivation ) : void
btCollisionObject ( ) : System
calculateSerializeBufferSize ( ) : int
checkCollideWith ( btCollisionObject co ) : bool
forceActivationState ( int newState ) : void
getActivationState ( ) : int
getAnisotropicFriction ( ) : SWIGTYPE_p_btVector3
getBroadphaseHandle ( ) : SWIGTYPE_p_btBroadphaseProxy
getCcdMotionThreshold ( ) : float
getCcdSquareMotionThreshold ( ) : float
getCcdSweptSphereRadius ( ) : float
getCollisionFlags ( ) : int
getCollisionShape ( ) : SWIGTYPE_p_btCollisionShape
getCompanionId ( ) : int
getContactProcessingThreshold ( ) : float
getDeactivationTime ( ) : float
getFriction ( ) : float
getHitFraction ( ) : float
getInternalType ( ) : int
getInterpolationAngularVelocity ( ) : SWIGTYPE_p_btVector3
getInterpolationLinearVelocity ( ) : SWIGTYPE_p_btVector3
getInterpolationWorldTransform ( ) : SWIGTYPE_p_btTransform
getIslandTag ( ) : int
getRestitution ( ) : float
getRollingFriction ( ) : float
getUserPointer ( ) : SWIGTYPE_p_void
getWorldTransform ( ) : SWIGTYPE_p_btTransform
hasAnisotropicFriction ( ) : bool
hasAnisotropicFriction ( int frictionMode ) : bool
hasContactResponse ( ) : bool
internalGetExtensionPointer ( ) : SWIGTYPE_p_void
internalSetExtensionPointer ( SWIGTYPE_p_void pointer ) : void
isActive ( ) : bool
isKinematicObject ( ) : bool
isStaticObject ( ) : bool
isStaticOrKinematicObject ( ) : bool
mergesSimulationIslands ( ) : bool
serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
serializeSingleObject ( SWIGTYPE_p_btSerializer serializer ) : void
setActivationState ( int newState ) : void
setAnisotropicFriction ( SWIGTYPE_p_btVector3 anisotropicFriction ) : void
setAnisotropicFriction ( SWIGTYPE_p_btVector3 anisotropicFriction, int frictionMode ) : void
setBroadphaseHandle ( SWIGTYPE_p_btBroadphaseProxy handle ) : void
setCcdMotionThreshold ( float ccdMotionThreshold ) : void
setCcdSweptSphereRadius ( float radius ) : void
setCollisionFlags ( int flags ) : void
setCollisionShape ( SWIGTYPE_p_btCollisionShape collisionShape ) : void
setCompanionId ( int id ) : void
setContactProcessingThreshold ( float contactProcessingThreshold ) : void
setDeactivationTime ( float time ) : void
setFriction ( float frict ) : void
setHitFraction ( float hitFraction ) : void
setInterpolationAngularVelocity ( SWIGTYPE_p_btVector3 angvel ) : void
setInterpolationLinearVelocity ( SWIGTYPE_p_btVector3 linvel ) : void
setInterpolationWorldTransform ( SWIGTYPE_p_btTransform trans ) : void
setIslandTag ( int tag ) : void
setRestitution ( float rest ) : void
setRollingFriction ( float frict ) : void
setUserPointer ( SWIGTYPE_p_void userPointer ) : void
setWorldTransform ( SWIGTYPE_p_btTransform worldTrans ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetObjectFromSwigPtr() public static method

public static GetObjectFromSwigPtr ( SWIGTYPE_p_btCollisionObject ptr ) : btCollisionObject
ptr SWIGTYPE_p_btCollisionObject
return btCollisionObject

activate() public method

public activate ( ) : void
return void

activate() public method

public activate ( bool forceActivation ) : void
forceActivation bool
return void

btCollisionObject() public method

public btCollisionObject ( ) : System
return System

calculateSerializeBufferSize() public method

public calculateSerializeBufferSize ( ) : int
return int

checkCollideWith() public method

public checkCollideWith ( btCollisionObject co ) : bool
co btCollisionObject
return bool

forceActivationState() public method

public forceActivationState ( int newState ) : void
newState int
return void

getActivationState() public method

public getActivationState ( ) : int
return int

getAnisotropicFriction() public method

public getAnisotropicFriction ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getBroadphaseHandle() public method

public getBroadphaseHandle ( ) : SWIGTYPE_p_btBroadphaseProxy
return SWIGTYPE_p_btBroadphaseProxy

getCcdMotionThreshold() public method

public getCcdMotionThreshold ( ) : float
return float

getCcdSquareMotionThreshold() public method

public getCcdSquareMotionThreshold ( ) : float
return float

getCcdSweptSphereRadius() public method

public getCcdSweptSphereRadius ( ) : float
return float

getCollisionFlags() public method

public getCollisionFlags ( ) : int
return int

getCollisionShape() public method

public getCollisionShape ( ) : SWIGTYPE_p_btCollisionShape
return SWIGTYPE_p_btCollisionShape

getCompanionId() public method

public getCompanionId ( ) : int
return int

getContactProcessingThreshold() public method

public getContactProcessingThreshold ( ) : float
return float

getDeactivationTime() public method

public getDeactivationTime ( ) : float
return float

getFriction() public method

public getFriction ( ) : float
return float

getHitFraction() public method

public getHitFraction ( ) : float
return float

getInternalType() public method

public getInternalType ( ) : int
return int

getInterpolationAngularVelocity() public method

public getInterpolationAngularVelocity ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getInterpolationLinearVelocity() public method

public getInterpolationLinearVelocity ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getInterpolationWorldTransform() public method

public getInterpolationWorldTransform ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

getIslandTag() public method

public getIslandTag ( ) : int
return int

getRestitution() public method

public getRestitution ( ) : float
return float

getRollingFriction() public method

public getRollingFriction ( ) : float
return float

getUserPointer() public method

public getUserPointer ( ) : SWIGTYPE_p_void
return SWIGTYPE_p_void

getWorldTransform() public method

public getWorldTransform ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

hasAnisotropicFriction() public method

public hasAnisotropicFriction ( ) : bool
return bool

hasAnisotropicFriction() public method

public hasAnisotropicFriction ( int frictionMode ) : bool
frictionMode int
return bool

hasContactResponse() public method

public hasContactResponse ( ) : bool
return bool

internalGetExtensionPointer() public method

public internalGetExtensionPointer ( ) : SWIGTYPE_p_void
return SWIGTYPE_p_void

internalSetExtensionPointer() public method

public internalSetExtensionPointer ( SWIGTYPE_p_void pointer ) : void
pointer SWIGTYPE_p_void
return void

isActive() public method

public isActive ( ) : bool
return bool

isKinematicObject() public method

public isKinematicObject ( ) : bool
return bool

isStaticObject() public method

public isStaticObject ( ) : bool
return bool

isStaticOrKinematicObject() public method

public isStaticOrKinematicObject ( ) : bool
return bool

mergesSimulationIslands() public method

public mergesSimulationIslands ( ) : bool
return bool

serialize() public method

public serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
dataBuffer SWIGTYPE_p_void
serializer SWIGTYPE_p_btSerializer
return string

serializeSingleObject() public method

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

setActivationState() public method

public setActivationState ( int newState ) : void
newState int
return void

setAnisotropicFriction() public method

public setAnisotropicFriction ( SWIGTYPE_p_btVector3 anisotropicFriction ) : void
anisotropicFriction SWIGTYPE_p_btVector3
return void

setAnisotropicFriction() public method

public setAnisotropicFriction ( SWIGTYPE_p_btVector3 anisotropicFriction, int frictionMode ) : void
anisotropicFriction SWIGTYPE_p_btVector3
frictionMode int
return void

setBroadphaseHandle() public method

public setBroadphaseHandle ( SWIGTYPE_p_btBroadphaseProxy handle ) : void
handle SWIGTYPE_p_btBroadphaseProxy
return void

setCcdMotionThreshold() public method

public setCcdMotionThreshold ( float ccdMotionThreshold ) : void
ccdMotionThreshold float
return void

setCcdSweptSphereRadius() public method

public setCcdSweptSphereRadius ( float radius ) : void
radius float
return void

setCollisionFlags() public method

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

setCollisionShape() public method

public setCollisionShape ( SWIGTYPE_p_btCollisionShape collisionShape ) : void
collisionShape SWIGTYPE_p_btCollisionShape
return void

setCompanionId() public method

public setCompanionId ( int id ) : void
id int
return void

setContactProcessingThreshold() public method

public setContactProcessingThreshold ( float contactProcessingThreshold ) : void
contactProcessingThreshold float
return void

setDeactivationTime() public method

public setDeactivationTime ( float time ) : void
time float
return void

setFriction() public method

public setFriction ( float frict ) : void
frict float
return void

setHitFraction() public method

public setHitFraction ( float hitFraction ) : void
hitFraction float
return void

setInterpolationAngularVelocity() public method

public setInterpolationAngularVelocity ( SWIGTYPE_p_btVector3 angvel ) : void
angvel SWIGTYPE_p_btVector3
return void

setInterpolationLinearVelocity() public method

public setInterpolationLinearVelocity ( SWIGTYPE_p_btVector3 linvel ) : void
linvel SWIGTYPE_p_btVector3
return void

setInterpolationWorldTransform() public method

public setInterpolationWorldTransform ( SWIGTYPE_p_btTransform trans ) : void
trans SWIGTYPE_p_btTransform
return void

setIslandTag() public method

public setIslandTag ( int tag ) : void
tag int
return void

setRestitution() public method

public setRestitution ( float rest ) : void
rest float
return void

setRollingFriction() public method

public setRollingFriction ( float frict ) : void
frict float
return void

setUserPointer() public method

public setUserPointer ( SWIGTYPE_p_void userPointer ) : void
userPointer SWIGTYPE_p_void
return void

setWorldTransform() public method

public setWorldTransform ( SWIGTYPE_p_btTransform worldTrans ) : void
worldTrans SWIGTYPE_p_btTransform
return void

Property Details

swigCMemOwn protected property

protected bool swigCMemOwn
return bool