C# Class BulletCSharp.btPolyhedralConvexShape

Inheritance: IDisposable
Datei anzeigen Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
batchedUnitVectorGetSupportingVertexWithoutMargin ( SWIGTYPE_p_btVector3 vectors, SWIGTYPE_p_btVector3 supportVerticesOut, int numVectors ) : void
calculateLocalInertia ( float mass, SWIGTYPE_p_btVector3 inertia ) : void
getConvexPolyhedron ( ) : btConvexPolyhedron
getEdge ( int i, SWIGTYPE_p_btVector3 pa, SWIGTYPE_p_btVector3 pb ) : void
getNumEdges ( ) : int
getNumPlanes ( ) : int
getNumVertices ( ) : int
getPlane ( SWIGTYPE_p_btVector3 planeNormal, SWIGTYPE_p_btVector3 planeSupport, int i ) : void
getVertex ( int i, SWIGTYPE_p_btVector3 vtx ) : void
initializePolyhedralFeatures ( ) : bool
initializePolyhedralFeatures ( int shiftVerticesByMargin ) : bool
isInside ( SWIGTYPE_p_btVector3 pt, float tolerance ) : bool
localGetSupportingVertexWithoutMargin ( SWIGTYPE_p_btVector3 vec ) : SWIGTYPE_p_btVector3

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

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

calculateLocalInertia() public method

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

getConvexPolyhedron() public method

public getConvexPolyhedron ( ) : btConvexPolyhedron
return btConvexPolyhedron

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

getNumEdges() public method

public getNumEdges ( ) : int
return int

getNumPlanes() public method

public getNumPlanes ( ) : 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

getVertex() public method

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

initializePolyhedralFeatures() public method

public initializePolyhedralFeatures ( ) : bool
return bool

initializePolyhedralFeatures() public method

public initializePolyhedralFeatures ( int shiftVerticesByMargin ) : bool
shiftVerticesByMargin int
return bool

isInside() public method

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

localGetSupportingVertexWithoutMargin() public method

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

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool