Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiTriangleMeshContainer Class Reference

Public Member Functions

ObiTriangleMeshHandle GetOrCreateTriangleMesh (Mesh source)
 
void DestroyTriangleMesh (ObiTriangleMeshHandle handle)
 
void Dispose ()
 

Public Attributes

Dictionary< Mesh,
ObiTriangleMeshHandle
handles
 
ObiNativeTriangleMeshHeaderList headers
 
ObiNativeBIHNodeList bihNodes
 
ObiNativeTriangleList triangles
 
ObiNativeVector3List vertices
 

Member Data Documentation

Dictionary<Mesh,ObiTriangleMeshHandle> Obi.ObiTriangleMeshContainer.handles

dictionary indexed by mesh, so that we don't generate data for the same mesh multiple times.

ObiNativeTriangleMeshHeaderList Obi.ObiTriangleMeshContainer.headers

One header per mesh.


The documentation for this class was generated from the following file: