Public Member Functions | |
PtCoreMesh () | |
void | Clear () |
void | GenerateNormals (bool enableNormalSmoothing) |
void | ScaleData (float scaleFactor) |
Public Attributes | |
PtMeshVertex[] | VertexList = null |
PtMeshFace[] | FaceList = null |
PtMeshUVVertex[] | UvList = null |
PtMeshUVFace[] | UvFaceList = null |
Vertex3f[] | FaceNormals = null |
Vertex3f[] | Normals = null |
Vertex3f | MinVertex |
Vertex3f | MaxVertex |
String | Name = "" |
int | MatId = 0 |
Powertek.OpenGl.PtCoreMesh.PtCoreMesh | ( | ) |
void Powertek.OpenGl.PtCoreMesh.Clear | ( | ) |
Clear Mesh.
void Powertek.OpenGl.PtCoreMesh.GenerateNormals | ( | bool | enableNormalSmoothing | ) |
GenerateNormals.
enableNormalSmoothing |
void Powertek.OpenGl.PtCoreMesh.ScaleData | ( | float | scaleFactor | ) |
Scale the mesh, this works on the vertex/face index Array (uses Min/MaxVertex !) so do this before calling genDrawData.
scaleFactor |
FaceList.
FaceNormals.
int Powertek.OpenGl.PtCoreMesh.MatId = 0 |
Mat ID.
MaxVertex.
MinVertex.
String Powertek.OpenGl.PtCoreMesh.Name = "" |
Mesh Name.
Vertex3f [] Powertek.OpenGl.PtCoreMesh.Normals = null |
Normals.
UvFaceList.
UvList.
VertexList.