PolygonInfo is an object holding the required data to display Sprites. More...
Public Member Functions | |
| PolygonInfo & | operator= (const PolygonInfo &other) |
| Copy the member of the other PolygonInfo. More... | |
| local | operator= ( local other) |
| Copy the member of the other PolygonInfo. More... | |
| void | setQuad (V3F_C4B_T2F_Quad *quad) |
| set the data to be a pointer to a quad the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More... | |
| var | setQuad ( var quad) |
| set the data to be a pointer to a quad the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More... | |
| local | setQuad ( local quad) |
| set the data to be a pointer to a quad the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More... | |
| void | setQuads (V3F_C4B_T2F_Quad *quads, int numberOfQuads) |
| set the data to be a pointer to a number of Quads the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More... | |
| var | setQuads ( var quads, var numberOfQuads) |
| set the data to be a pointer to a number of Quads the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More... | |
| local | setQuads ( local quads, local numberOfQuads) |
| set the data to be a pointer to a number of Quads the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More... | |
| void | setTriangles (const TrianglesCommand::Triangles &triangles) |
| set the data to be a pointer to a triangles the member verts will not be released when this PolygonInfo destructs as the verts memory are managed by other objects More... | |
| unsigned int | getVertCount () const |
| get vertex count More... | |
| unsigned int | getTrianglesCount () const |
| get triangles count More... | |
| local | getTrianglesCount () |
| get triangles count More... | |
| unsigned int | getTriaglesCount () const |
| local | getTriaglesCount () |
| float | getArea () const |
| get sum of all triangle area size More... | |
| var | getArea () |
| get sum of all triangle area size More... | |
| local | getArea () |
| get sum of all triangle area size More... | |
Creators | |
| PolygonInfo () | |
| Creates an empty Polygon info. More... | |
| PolygonInfo () | |
| Creates an empty Polygon info. More... | |
| PolygonInfo () | |
| Creates an empty Polygon info. More... | |
| PolygonInfo (const PolygonInfo &other) | |
| Create an polygoninfo from the data of another Polygoninfo. More... | |
PolygonInfo is an object holding the required data to display Sprites.
It can be a simple as a triangle, or as complex as a whole 3D mesh