![]() |
Public API Reference |
#include <bezier.h>
Inheritance diagram for iBezierFactoryState:
Public Methods | |
virtual void * | GetPrivateObject ()=0 |
@ UGLY. More... | |
virtual const csVector3 & | GetCurvesCenter () const=0 |
Get the center of the curves. More... | |
virtual void | SetCurvesCenter (const csVector3 &cen)=0 |
Set the center of the curves. More... | |
virtual float | GetCurvesScale () const=0 |
Get the scale of the curves. More... | |
virtual void | SetCurvesScale (float scale)=0 |
Set the scale of the curves. More... | |
virtual void | AddCurveVertex (const csVector3 &v, const csVector2 &uv)=0 |
Add a curve vertex. More... | |
virtual int | GetCurveCount () const=0 |
Get the number of curves. More... | |
virtual iCurve * | GetCurve (int idx) const=0 |
Get the curve. More... | |
virtual int | GetCurveVertexCount () const=0 |
Get the number of curve vertices. More... | |
virtual csVector3 & | GetCurveVertex (int i) const=0 |
Get the specified curve vertex. More... | |
virtual csVector3 * | GetCurveVertices () const=0 |
Get the curve vertices. More... | |
virtual csVector2 & | GetCurveTexel (int i) const=0 |
Get the specified curve texture coordinate (texel). More... | |
virtual void | SetCurveVertex (int idx, const csVector3 &vt)=0 |
Set a curve vertex. More... | |
virtual void | SetCurveTexel (int idx, const csVector2 &vt)=0 |
Set a curve texel. More... | |
virtual void | ClearCurveVertices ()=0 |
Clear all curve vertices (and texels too). More... | |
virtual iCurve * | CreateCurve ()=0 |
Create a new curve for this thing. More... | |
virtual int | FindCurveIndex (iCurve *curve) const=0 |
Find the index for a curve. Returns -1 if curve cannot be found. More... | |
virtual void | RemoveCurve (int idx)=0 |
Delete a curve given an index. More... | |
virtual void | RemoveCurves ()=0 |
Delete all curves. More... | |
virtual float | GetCosinusFactor () const=0 |
Get cosinus factor. More... | |
virtual void | SetCosinusFactor (float cosfact)=0 |
Set cosinus factor. More... | |
virtual void | MergeTemplate (iBezierFactoryState *tpl, iMaterialWrapper *default_material=0, csVector3 *shift=0, csMatrix3 *transform=0)=0 |
Add polygons and vertices from the specified thing (seen as template). More... |
Definition at line 64 of file bezier.h.
|
Add a curve vertex.
|
|
Clear all curve vertices (and texels too).
|
|
Create a new curve for this thing.
|
|
Find the index for a curve. Returns -1 if curve cannot be found.
|
|
Get cosinus factor.
|
|
Get the curve.
|
|
Get the number of curves.
|
|
Get the center of the curves.
|
|
Get the scale of the curves.
|
|
Get the specified curve texture coordinate (texel).
|
|
Get the specified curve vertex.
|
|
Get the number of curve vertices.
|
|
Get the curve vertices.
|
|
@ UGLY. @ |
|
Add polygons and vertices from the specified thing (seen as template).
|
|
Delete a curve given an index.
|
|
Delete all curves.
|
|
Set cosinus factor. This cosinus factor controls how lighting affects the polygons relative to the angle. If no value is set here then the default is used. |
|
Set the center of the curves.
|
|
Set the scale of the curves.
|
|
Set a curve texel.
|
|
Set a curve vertex.
|