
See sample: GeometryInstancing.py.
Public Member Functions |
|
| FBMesh (str pName) | |
| Constructor. |
|
| ComputeVertexNormals (bool pCW=False) | |
| Compute Mesh Vertex Normal. |
|
| InverseNormal () | |
| Inverse Normal. |
|
| int | PolygonBegin () |
| Begin Polygon definition. |
|
| int | PolygonCount () |
| Get number of polygons in mesh. |
|
| int | PolygonEnd () |
| End Polygon definition. |
|
| int | PolygonMaterialIdGet (int pIndex=-1) |
| Get a Material ID. |
|
| bool | PolygonVertexAdd (int pVertex) |
| Add a vertex. |
|
| int | PolygonVertexCount (int pPolygonIndex) |
| Get Polygon vertex count. |
|
| int | PolygonVertexIndex (int pPolygonIndex, int pVertexPolygonIndex) |
| Get global (for the mesh) index of a vertex
from a polygon. |
|
| ComputeVertexNormals | ( | bool | pCW = False |
) |
Compute Mesh Vertex Normal.
| pCW | True for clock wise normal, otherwise for counter-clock wise |
| InverseNormal | ( | ) |
Inverse Normal.
| int PolygonBegin | ( | ) |
Begin Polygon definition.
| int PolygonCount | ( | ) |
Get number of polygons in mesh.
| int PolygonEnd | ( | ) |
End Polygon definition.
Clean up and associate vertices internally.
Get a Material ID.
| pIndex | Vertex to get material ID at(default=-1). |
Add a vertex.
| pVertex | Index in mesh of vertex to add to polygon |
Get Polygon vertex count.
| pPolygonIndex | Index of polygon to get vertex count from. |
Get global (for the mesh) index of a vertex from a polygon.
| pPolygonIndex | Index of polygon in question. | |
| pVertexPolygonIndex | Polygon vertex index. |
1.5.3