C# Class BulletCSharp.btTriangleMesh

Inheritance: IDisposable
Exibir arquivo Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
addIndex ( int index ) : void
addTriangle ( SWIGTYPE_p_btVector3 vertex0, SWIGTYPE_p_btVector3 vertex1, SWIGTYPE_p_btVector3 vertex2 ) : void
addTriangle ( SWIGTYPE_p_btVector3 vertex0, SWIGTYPE_p_btVector3 vertex1, SWIGTYPE_p_btVector3 vertex2, bool removeDuplicateVertices ) : void
btTriangleMesh ( ) : System
btTriangleMesh ( bool use32bitIndices ) : System
btTriangleMesh ( bool use32bitIndices, bool use4componentVertices ) : System
findOrAddVertex ( SWIGTYPE_p_btVector3 vertex, bool removeDuplicateVertices ) : int
getNumTriangles ( ) : int
getUse32bitIndices ( ) : bool
getUse4componentVertices ( ) : bool
preallocateIndices ( int numindices ) : void
preallocateVertices ( int numverts ) : void

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

addIndex() public method

public addIndex ( int index ) : void
index int
return void

addTriangle() public method

public addTriangle ( SWIGTYPE_p_btVector3 vertex0, SWIGTYPE_p_btVector3 vertex1, SWIGTYPE_p_btVector3 vertex2 ) : void
vertex0 SWIGTYPE_p_btVector3
vertex1 SWIGTYPE_p_btVector3
vertex2 SWIGTYPE_p_btVector3
return void

addTriangle() public method

public addTriangle ( SWIGTYPE_p_btVector3 vertex0, SWIGTYPE_p_btVector3 vertex1, SWIGTYPE_p_btVector3 vertex2, bool removeDuplicateVertices ) : void
vertex0 SWIGTYPE_p_btVector3
vertex1 SWIGTYPE_p_btVector3
vertex2 SWIGTYPE_p_btVector3
removeDuplicateVertices bool
return void

btTriangleMesh() public method

public btTriangleMesh ( ) : System
return System

btTriangleMesh() public method

public btTriangleMesh ( bool use32bitIndices ) : System
use32bitIndices bool
return System

btTriangleMesh() public method

public btTriangleMesh ( bool use32bitIndices, bool use4componentVertices ) : System
use32bitIndices bool
use4componentVertices bool
return System

findOrAddVertex() public method

public findOrAddVertex ( SWIGTYPE_p_btVector3 vertex, bool removeDuplicateVertices ) : int
vertex SWIGTYPE_p_btVector3
removeDuplicateVertices bool
return int

getNumTriangles() public method

public getNumTriangles ( ) : int
return int

getUse32bitIndices() public method

public getUse32bitIndices ( ) : bool
return bool

getUse4componentVertices() public method

public getUse4componentVertices ( ) : bool
return bool

preallocateIndices() public method

public preallocateIndices ( int numindices ) : void
numindices int
return void

preallocateVertices() public method

public preallocateVertices ( int numverts ) : void
numverts int
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool