C# Class BulletCSharp.btCompoundShape

Inheritance: IDisposable
Afficher le fichier Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Свойство Type Description
swigCMemOwn bool

Méthodes publiques

Méthode 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

Méthode Description
btCompoundShape ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btCompoundShape obj ) : HandleRef

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetSwigPtr() public méthode

public GetSwigPtr ( ) : SWIGTYPE_p_btCollisionShape
Résultat SWIGTYPE_p_btCollisionShape

addChildShape() public méthode

public addChildShape ( SWIGTYPE_p_btTransform localTransform, SWIGTYPE_p_btCollisionShape shape ) : void
localTransform SWIGTYPE_p_btTransform
shape SWIGTYPE_p_btCollisionShape
Résultat void

btCompoundShape() public méthode

public btCompoundShape ( ) : System
Résultat System

btCompoundShape() public méthode

public btCompoundShape ( bool enableDynamicAabbTree ) : System
enableDynamicAabbTree bool
Résultat System

calculateLocalInertia() public méthode

public calculateLocalInertia ( float mass, SWIGTYPE_p_btVector3 inertia ) : void
mass float
inertia SWIGTYPE_p_btVector3
Résultat void

calculatePrincipalAxisTransform() public méthode

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
Résultat void

calculateSerializeBufferSize() public méthode

public calculateSerializeBufferSize ( ) : int
Résultat int

createAabbTreeFromChildren() public méthode

public createAabbTreeFromChildren ( ) : void
Résultat void

getAabb() public méthode

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
Résultat void

getChildList() public méthode

public getChildList ( ) : btCompoundShapeChild
Résultat btCompoundShapeChild

getChildShape() public méthode

public getChildShape ( int index ) : SWIGTYPE_p_btCollisionShape
index int
Résultat SWIGTYPE_p_btCollisionShape

getChildTransform() public méthode

public getChildTransform ( int index ) : SWIGTYPE_p_btTransform
index int
Résultat SWIGTYPE_p_btTransform

getDynamicAabbTree() public méthode

public getDynamicAabbTree ( ) : SWIGTYPE_p_btDbvt
Résultat SWIGTYPE_p_btDbvt

getLocalScaling() public méthode

public getLocalScaling ( ) : SWIGTYPE_p_btVector3
Résultat SWIGTYPE_p_btVector3

getMargin() public méthode

public getMargin ( ) : float
Résultat float

getName() public méthode

public getName ( ) : string
Résultat string

getNumChildShapes() public méthode

public getNumChildShapes ( ) : int
Résultat int

getUpdateRevision() public méthode

public getUpdateRevision ( ) : int
Résultat int

recalculateLocalAabb() public méthode

public recalculateLocalAabb ( ) : void
Résultat void

removeChildShape() public méthode

public removeChildShape ( SWIGTYPE_p_btCollisionShape shape ) : void
shape SWIGTYPE_p_btCollisionShape
Résultat void

removeChildShapeByIndex() public méthode

public removeChildShapeByIndex ( int childShapeindex ) : void
childShapeindex int
Résultat void

serialize() public méthode

public serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
dataBuffer SWIGTYPE_p_void
serializer SWIGTYPE_p_btSerializer
Résultat string

setLocalScaling() public méthode

public setLocalScaling ( SWIGTYPE_p_btVector3 scaling ) : void
scaling SWIGTYPE_p_btVector3
Résultat void

setMargin() public méthode

public setMargin ( float margin ) : void
margin float
Résultat void

updateChildTransform() public méthode

public updateChildTransform ( int childIndex, SWIGTYPE_p_btTransform newChildTransform ) : void
childIndex int
newChildTransform SWIGTYPE_p_btTransform
Résultat void

updateChildTransform() public méthode

public updateChildTransform ( int childIndex, SWIGTYPE_p_btTransform newChildTransform, bool shouldRecalculateLocalAabb ) : void
childIndex int
newChildTransform SWIGTYPE_p_btTransform
shouldRecalculateLocalAabb bool
Résultat void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
Résultat bool