Curvy  7.1.0
CGVSubMesh Class Reference
+ Inheritance diagram for CGVSubMesh:
+ Collaboration diagram for CGVSubMesh:

Detailed Description

SubMesh data (triangles, material)

Public Attributes

Material Material
int[] Triangles
- Public Attributes inherited from CGData
string Name


override int Count [get]
- Properties inherited from CGData
virtual int Count [get]

Public Member Functions

void Add (CGVSubMesh other, int shiftIndexOffset=0)
 CGVSubMesh (Material material=null)
 CGVSubMesh (int[] triangles, Material material=null)
 CGVSubMesh (int triangleCount, Material material=null)
 CGVSubMesh (CGVSubMesh source)
override T Clone< T > ()
void ShiftIndices (int offset, int startIndex=0)

Static Public Member Functions

static CGVSubMesh Get (CGVSubMesh data, int triangleCount, Material material=null)
- Static Public Member Functions inherited from CGData
static implicit operator bool (CGData a)

Additional Inherited Members

- Protected Member Functions inherited from CGData
int getGenericFIndex (ref float[] FMapArray, float fValue, out float frag)
 Searches FMapArray and returns the index that covers the fValue as well as the percentage between index and index+1 More...

Constructor & Destructor Documentation

CGVSubMesh ( Material  material = null)
CGVSubMesh ( int[]  triangles,
Material  material = null 
CGVSubMesh ( int  triangleCount,
Material  material = null 
CGVSubMesh ( CGVSubMesh  source)

Member Function Documentation

void Add ( CGVSubMesh  other,
int  shiftIndexOffset = 0 
override T Clone< T > ( )

Reimplemented from CGData.

static CGVSubMesh Get ( CGVSubMesh  data,
int  triangleCount,
Material  material = null 
void ShiftIndices ( int  offset,
int  startIndex = 0 

Member Data Documentation

Material Material
int [] Triangles

Property Documentation

override int Count

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