C# Class BulletCSharp.btCapsuleShape

Inheritance: IDisposable
ファイルを表示 Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
GetSwigPtr ( ) : SWIGTYPE_p_btCollisionShape
batchedUnitVectorGetSupportingVertexWithoutMargin ( SWIGTYPE_p_btVector3 vectors, SWIGTYPE_p_btVector3 supportVerticesOut, int numVectors ) : void
btCapsuleShape ( float radius, float height ) : System
calculateLocalInertia ( float mass, SWIGTYPE_p_btVector3 inertia ) : void
calculateSerializeBufferSize ( ) : int
getAabb ( SWIGTYPE_p_btTransform t, SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax ) : void
getAnisotropicRollingFrictionDirection ( ) : SWIGTYPE_p_btVector3
getHalfHeight ( ) : float
getName ( ) : string
getRadius ( ) : float
getUpAxis ( ) : int
localGetSupportingVertexWithoutMargin ( SWIGTYPE_p_btVector3 vec ) : SWIGTYPE_p_btVector3
serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
setLocalScaling ( SWIGTYPE_p_btVector3 scaling ) : void
setMargin ( float collisionMargin ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetSwigPtr() public method

public GetSwigPtr ( ) : SWIGTYPE_p_btCollisionShape
return SWIGTYPE_p_btCollisionShape

batchedUnitVectorGetSupportingVertexWithoutMargin() public method

public batchedUnitVectorGetSupportingVertexWithoutMargin ( SWIGTYPE_p_btVector3 vectors, SWIGTYPE_p_btVector3 supportVerticesOut, int numVectors ) : void
vectors SWIGTYPE_p_btVector3
supportVerticesOut SWIGTYPE_p_btVector3
numVectors int
return void

btCapsuleShape() public method

public btCapsuleShape ( float radius, float height ) : System
radius float
height float
return System

calculateLocalInertia() public method

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

calculateSerializeBufferSize() public method

public calculateSerializeBufferSize ( ) : int
return int

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

getAnisotropicRollingFrictionDirection() public method

public getAnisotropicRollingFrictionDirection ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getHalfHeight() public method

public getHalfHeight ( ) : float
return float

getName() public method

public getName ( ) : string
return string

getRadius() public method

public getRadius ( ) : float
return float

getUpAxis() public method

public getUpAxis ( ) : int
return int

localGetSupportingVertexWithoutMargin() public method

public localGetSupportingVertexWithoutMargin ( SWIGTYPE_p_btVector3 vec ) : SWIGTYPE_p_btVector3
vec SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

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 collisionMargin ) : void
collisionMargin float
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool