C# Class BulletCSharp.btSphereShape

Inheritance: IDisposable
Datei anzeigen 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
btSphereShape ( float radius ) : System
calculateLocalInertia ( float mass, SWIGTYPE_p_btVector3 inertia ) : void
getAabb ( SWIGTYPE_p_btTransform t, SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax ) : void
getMargin ( ) : float
getName ( ) : string
getRadius ( ) : float
localGetSupportingVertex ( SWIGTYPE_p_btVector3 vec ) : SWIGTYPE_p_btVector3
localGetSupportingVertexWithoutMargin ( SWIGTYPE_p_btVector3 vec ) : SWIGTYPE_p_btVector3
setMargin ( float margin ) : void
setUnscaledRadius ( float radius ) : void

Private Methods

Method Description
btSphereShape ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btSphereShape 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

btSphereShape() public method

public btSphereShape ( float radius ) : System
radius float
return System

calculateLocalInertia() public method

public calculateLocalInertia ( float mass, SWIGTYPE_p_btVector3 inertia ) : void
mass float
inertia SWIGTYPE_p_btVector3
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

getMargin() public method

public getMargin ( ) : float
return float

getName() public method

public getName ( ) : string
return string

getRadius() public method

public getRadius ( ) : float
return float

localGetSupportingVertex() public method

public localGetSupportingVertex ( SWIGTYPE_p_btVector3 vec ) : SWIGTYPE_p_btVector3
vec SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

localGetSupportingVertexWithoutMargin() public method

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

setMargin() public method

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

setUnscaledRadius() public method

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

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool