C# Class BulletCSharp.btCompoundShape

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

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GetSwigPtr ( ) : SWIGTYPE_p_btCollisionShape
addChildShape ( SWIGTYPE_p_btTransform localTransform, SWIGTYPE_p_btCollisionShape shape ) : void
btCompoundShape ( ) : System
btCompoundShape ( bool enableDynamicAabbTree ) : System
calculateLocalInertia ( float mass, SWIGTYPE_p_btVector3 inertia ) : void
calculatePrincipalAxisTransform ( SWIGTYPE_p_float masses, SWIGTYPE_p_btTransform principal, SWIGTYPE_p_btVector3 inertia ) : void
calculateSerializeBufferSize ( ) : int
createAabbTreeFromChildren ( ) : void
getAabb ( SWIGTYPE_p_btTransform t, SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax ) : void
getChildList ( ) : btCompoundShapeChild
getChildShape ( int index ) : SWIGTYPE_p_btCollisionShape
getChildTransform ( int index ) : SWIGTYPE_p_btTransform
getDynamicAabbTree ( ) : SWIGTYPE_p_btDbvt
getLocalScaling ( ) : SWIGTYPE_p_btVector3
getMargin ( ) : float
getName ( ) : string
getNumChildShapes ( ) : int
getUpdateRevision ( ) : int
recalculateLocalAabb ( ) : void
removeChildShape ( SWIGTYPE_p_btCollisionShape shape ) : void
removeChildShapeByIndex ( int childShapeindex ) : void
serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
setLocalScaling ( SWIGTYPE_p_btVector3 scaling ) : void
setMargin ( float margin ) : void
updateChildTransform ( int childIndex, SWIGTYPE_p_btTransform newChildTransform ) : void
updateChildTransform ( int childIndex, SWIGTYPE_p_btTransform newChildTransform, bool shouldRecalculateLocalAabb ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetSwigPtr() public method

public GetSwigPtr ( ) : SWIGTYPE_p_btCollisionShape
return SWIGTYPE_p_btCollisionShape

addChildShape() public method

public addChildShape ( SWIGTYPE_p_btTransform localTransform, SWIGTYPE_p_btCollisionShape shape ) : void
localTransform SWIGTYPE_p_btTransform
shape SWIGTYPE_p_btCollisionShape
return void

btCompoundShape() public method

public btCompoundShape ( ) : System
return System

btCompoundShape() public method

public btCompoundShape ( bool enableDynamicAabbTree ) : System
enableDynamicAabbTree bool
return System

calculateLocalInertia() public method

public calculateLocalInertia ( float mass, SWIGTYPE_p_btVector3 inertia ) : void
mass float
inertia SWIGTYPE_p_btVector3
return void

calculatePrincipalAxisTransform() public method

public calculatePrincipalAxisTransform ( SWIGTYPE_p_float masses, SWIGTYPE_p_btTransform principal, SWIGTYPE_p_btVector3 inertia ) : void
masses SWIGTYPE_p_float
principal SWIGTYPE_p_btTransform
inertia SWIGTYPE_p_btVector3
return void

calculateSerializeBufferSize() public method

public calculateSerializeBufferSize ( ) : int
return int

createAabbTreeFromChildren() public method

public createAabbTreeFromChildren ( ) : void
return void

getAabb() public method

public getAabb ( SWIGTYPE_p_btTransform t, SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax ) : void
t SWIGTYPE_p_btTransform
aabbMin SWIGTYPE_p_btVector3
aabbMax SWIGTYPE_p_btVector3
return void

getChildList() public method

public getChildList ( ) : btCompoundShapeChild
return btCompoundShapeChild

getChildShape() public method

public getChildShape ( int index ) : SWIGTYPE_p_btCollisionShape
index int
return SWIGTYPE_p_btCollisionShape

getChildTransform() public method

public getChildTransform ( int index ) : SWIGTYPE_p_btTransform
index int
return SWIGTYPE_p_btTransform

getDynamicAabbTree() public method

public getDynamicAabbTree ( ) : SWIGTYPE_p_btDbvt
return SWIGTYPE_p_btDbvt

getLocalScaling() public method

public getLocalScaling ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getMargin() public method

public getMargin ( ) : float
return float

getName() public method

public getName ( ) : string
return string

getNumChildShapes() public method

public getNumChildShapes ( ) : int
return int

getUpdateRevision() public method

public getUpdateRevision ( ) : int
return int

recalculateLocalAabb() public method

public recalculateLocalAabb ( ) : void
return void

removeChildShape() public method

public removeChildShape ( SWIGTYPE_p_btCollisionShape shape ) : void
shape SWIGTYPE_p_btCollisionShape
return void

removeChildShapeByIndex() public method

public removeChildShapeByIndex ( int childShapeindex ) : void
childShapeindex int
return void

serialize() public method

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

setLocalScaling() public method

public setLocalScaling ( SWIGTYPE_p_btVector3 scaling ) : void
scaling SWIGTYPE_p_btVector3
return void

setMargin() public method

public setMargin ( float margin ) : void
margin float
return void

updateChildTransform() public method

public updateChildTransform ( int childIndex, SWIGTYPE_p_btTransform newChildTransform ) : void
childIndex int
newChildTransform SWIGTYPE_p_btTransform
return void

updateChildTransform() public method

public updateChildTransform ( int childIndex, SWIGTYPE_p_btTransform newChildTransform, bool shouldRecalculateLocalAabb ) : void
childIndex int
newChildTransform SWIGTYPE_p_btTransform
shouldRecalculateLocalAabb bool
return void

Property Details

swigCMemOwn protected property

protected bool swigCMemOwn
return bool