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

Classes

struct  MeshData
 

Public Member Functions

void InitializeTempData ()
 
void InitializeDynamicData ()
 
void InitializeStaticData ()
 
void Dispose ()
 
void DisposeOfTempData ()
 
void DisposeOfDynamicData ()
 
void DisposeOfStaticData ()
 
void Clear ()
 
int AddMesh (IMeshDataProvider meshProvider)
 
void PrepareForCompute ()
 
int GetVertexCount (int meshIndex)
 
int GetTriangleCount (int meshIndex)
 
NativeSlice< Vector3 > GetVertices (int meshIndex)
 
NativeSlice< Vector3 > GetNormals (int meshIndex)
 
NativeSlice< Vector4 > GetTangents (int meshIndex)
 
NativeSlice< Color > GetColors (int meshIndex)
 
NativeSlice< Vector2 > GetUV (int meshIndex)
 
NativeSlice< Vector2 > GetUV2 (int meshIndex)
 
NativeSlice< Vector2 > GetUV3 (int meshIndex)
 
NativeSlice< Vector2 > GetUV4 (int meshIndex)
 
NativeSlice< int > GetTriangles (int meshIndex)
 

Public Attributes

ObiNativeList< MeshDatameshData
 
ObiNativeList< Vector3 > restPositions
 
ObiNativeList< Vector3 > restNormals
 
ObiNativeList< Vector4 > restTangents
 
ObiNativeList< Color > restColors
 
ObiNativeList< Vector2 > uv
 
ObiNativeList< Vector2 > uv2
 
ObiNativeList< Vector2 > uv3
 
ObiNativeList< Vector2 > uv4
 
ObiNativeList< int > triangles
 

Properties

int Count [get]
 

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