class csThingTemplate : public csObject This class represents a template for a Thing
| | curves_center Center of thing to determine distance from |
| | curves_scale the curves are tesselated) |
| | AddCurveVertex (csVector3& v, csVector2& t) |
| | AddPolygon (csPolygonTemplate* p) Add a polygon template to this thing template. |
| | AddVertex (const csVector3& v) Add a vertex to this template. |
| | AddVertex (float x, float y, float z) Add a vertex to this template. |
| | csThingTemplate () |
| | CurveTexel (int i) |
| | CurveVertex (int i) |
| | GetFog () Return fog structure. |
| | GetNumCurveVertices () |
| | GetNumPolygon () |
| | GetNumVertices () |
| | GetPolygon (int i) |
| | HasFog () Return true if this has fog. |
| | Vtex (int i) |
| | ~csThingTemplate () |
| | scale param (the larger this param it, the more |
| | Global thing parameters used for determining tesselation resolution |
| | curve_texels Texture coords of curve vertices |
| | curve_vertices Vertices to be used by curves |
| | curves List of curve templates |
| | fog Fog structure. |
| | max_curve_vertices Maximum number of vertices. |
| | max_curves Maximum number of polygons. |
| | max_polygon Maximum number of polygons. |
| | max_vertices Maximum number of vertices. |
| | num_curve_vertices Number of vertices. |
| | num_curves Number of curves. |
| | num_polygon Number of polygons. |
| | num_vertices Number of vertices. |
| | polygon List of polygontemplates |
| | vertices Vertices of this template. |
This class represents a template for a Thing. Using this template one can construct a Thing later.
int num_vertices
int max_vertices
csPolygonTemplate** polygon
int num_polygon
int max_polygon
csCurveTemplate** curves
int num_curves
int max_curves
csVector3* curve_vertices
csVector2* curve_texels
int num_curve_vertices
int max_curve_vertices
csFog fog
csVector3 curves_center
float curves_scale
void AddVertex(float x, float y, float z)
void AddVertex(const csVector3& v)
void AddPolygon(csPolygonTemplate* p)
int GetNumCurveVertices()
csVector3& CurveVertex(int i)
csVector2& CurveTexel(int i)
void AddCurveVertex(csVector3& v, csVector2& t)
csThingTemplate()
virtual ~csThingTemplate()
int GetNumVertices()
csVector3& Vtex(int i)
int GetNumPolygon()
csPolygonTemplate* GetPolygon(int i)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de