Curvy  4.0.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
 

Properties

override int Count [get]
 
- Properties inherited from CGData
virtual int Count [get]
 
DateTime Timestamp [get]
 Time of last change More...
 

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)
 
- Public Member Functions inherited from CGData
 CGData ()
 
void Touch ()
 

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 > ( )
virtual

Reimplemented from CGData.

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

Member Data Documentation

Material Material
int [] Triangles

Property Documentation

override int Count
get

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