C# Класс BulletCSharp.btCompoundShape

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

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

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

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

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

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

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

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

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

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

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

public GetSwigPtr ( ) : SWIGTYPE_p_btCollisionShape
Результат SWIGTYPE_p_btCollisionShape

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

public addChildShape ( SWIGTYPE_p_btTransform localTransform, SWIGTYPE_p_btCollisionShape shape ) : void
localTransform SWIGTYPE_p_btTransform
shape SWIGTYPE_p_btCollisionShape
Результат void

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

public btCompoundShape ( ) : System
Результат System

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

public btCompoundShape ( bool enableDynamicAabbTree ) : System
enableDynamicAabbTree bool
Результат System

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

public calculateLocalInertia ( float mass, SWIGTYPE_p_btVector3 inertia ) : void
mass float
inertia SWIGTYPE_p_btVector3
Результат void

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

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

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

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

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

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

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

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

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

public getChildList ( ) : btCompoundShapeChild
Результат btCompoundShapeChild

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

public getChildShape ( int index ) : SWIGTYPE_p_btCollisionShape
index int
Результат SWIGTYPE_p_btCollisionShape

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

public getChildTransform ( int index ) : SWIGTYPE_p_btTransform
index int
Результат SWIGTYPE_p_btTransform

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

public getDynamicAabbTree ( ) : SWIGTYPE_p_btDbvt
Результат SWIGTYPE_p_btDbvt

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

public getLocalScaling ( ) : SWIGTYPE_p_btVector3
Результат SWIGTYPE_p_btVector3

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

public getMargin ( ) : float
Результат float

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

public getName ( ) : string
Результат string

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

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

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

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

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

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

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

public removeChildShape ( SWIGTYPE_p_btCollisionShape shape ) : void
shape SWIGTYPE_p_btCollisionShape
Результат void

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

public removeChildShapeByIndex ( int childShapeindex ) : void
childShapeindex int
Результат void

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

public serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
dataBuffer SWIGTYPE_p_void
serializer SWIGTYPE_p_btSerializer
Результат string

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

public setLocalScaling ( SWIGTYPE_p_btVector3 scaling ) : void
scaling SWIGTYPE_p_btVector3
Результат void

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

public setMargin ( float margin ) : void
margin float
Результат void

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

public updateChildTransform ( int childIndex, SWIGTYPE_p_btTransform newChildTransform ) : void
childIndex int
newChildTransform SWIGTYPE_p_btTransform
Результат void

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

public updateChildTransform ( int childIndex, SWIGTYPE_p_btTransform newChildTransform, bool shouldRecalculateLocalAabb ) : void
childIndex int
newChildTransform SWIGTYPE_p_btTransform
shouldRecalculateLocalAabb bool
Результат void

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

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

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