C# Class BulletCSharp.btBoxShape

Inheritance: IDisposable
Exibir arquivo 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
btBoxShape ( SWIGTYPE_p_btVector3 boxHalfExtents ) : System
calculateLocalInertia ( float mass, SWIGTYPE_p_btVector3 inertia ) : void
getAabb ( SWIGTYPE_p_btTransform t, SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax ) : void
getEdge ( int i, SWIGTYPE_p_btVector3 pa, SWIGTYPE_p_btVector3 pb ) : void
getHalfExtentsWithMargin ( ) : SWIGTYPE_p_btVector3
getHalfExtentsWithoutMargin ( ) : SWIGTYPE_p_btVector3
getName ( ) : string
getNumEdges ( ) : int
getNumPlanes ( ) : int
getNumPreferredPenetrationDirections ( ) : int
getNumVertices ( ) : int
getPlane ( SWIGTYPE_p_btVector3 planeNormal, SWIGTYPE_p_btVector3 planeSupport, int i ) : void
getPlaneEquation ( SWIGTYPE_p_btVector4 plane, int i ) : void
getPreferredPenetrationDirection ( int index, SWIGTYPE_p_btVector3 penetrationVector ) : void
getVertex ( int i, SWIGTYPE_p_btVector3 vtx ) : void
isInside ( SWIGTYPE_p_btVector3 pt, float tolerance ) : bool
localGetSupportingVertex ( SWIGTYPE_p_btVector3 vec ) : SWIGTYPE_p_btVector3
localGetSupportingVertexWithoutMargin ( SWIGTYPE_p_btVector3 vec ) : SWIGTYPE_p_btVector3
setLocalScaling ( SWIGTYPE_p_btVector3 scaling ) : void
setMargin ( float collisionMargin ) : void

Private Methods

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

btBoxShape() public method

public btBoxShape ( SWIGTYPE_p_btVector3 boxHalfExtents ) : System
boxHalfExtents SWIGTYPE_p_btVector3
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

getEdge() public method

public getEdge ( int i, SWIGTYPE_p_btVector3 pa, SWIGTYPE_p_btVector3 pb ) : void
i int
pa SWIGTYPE_p_btVector3
pb SWIGTYPE_p_btVector3
return void

getHalfExtentsWithMargin() public method

public getHalfExtentsWithMargin ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getHalfExtentsWithoutMargin() public method

public getHalfExtentsWithoutMargin ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getName() public method

public getName ( ) : string
return string

getNumEdges() public method

public getNumEdges ( ) : int
return int

getNumPlanes() public method

public getNumPlanes ( ) : int
return int

getNumPreferredPenetrationDirections() public method

public getNumPreferredPenetrationDirections ( ) : int
return int

getNumVertices() public method

public getNumVertices ( ) : int
return int

getPlane() public method

public getPlane ( SWIGTYPE_p_btVector3 planeNormal, SWIGTYPE_p_btVector3 planeSupport, int i ) : void
planeNormal SWIGTYPE_p_btVector3
planeSupport SWIGTYPE_p_btVector3
i int
return void

getPlaneEquation() public method

public getPlaneEquation ( SWIGTYPE_p_btVector4 plane, int i ) : void
plane SWIGTYPE_p_btVector4
i int
return void

getPreferredPenetrationDirection() public method

public getPreferredPenetrationDirection ( int index, SWIGTYPE_p_btVector3 penetrationVector ) : void
index int
penetrationVector SWIGTYPE_p_btVector3
return void

getVertex() public method

public getVertex ( int i, SWIGTYPE_p_btVector3 vtx ) : void
i int
vtx SWIGTYPE_p_btVector3
return void

isInside() public method

public isInside ( SWIGTYPE_p_btVector3 pt, float tolerance ) : bool
pt SWIGTYPE_p_btVector3
tolerance float
return bool

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

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