Simple wrapper for spline knots.
An IGame wrapper for Knot information
#include <IGameObject.h>
Public Types |
|
enum | KnotType { KNOT_AUTO, KNOT_CORNER, KNOT_BEZIER, KNOT_BEZIER_CORNER } |
Knot types. More... |
|
enum | KnotData { KNOT_INVEC, KNOT_OUTVEC, KNOT_POINT } |
Knot data. More... |
|
Public Member Functions |
|
virtual | ~IGameKnot () |
Destructor. |
|
virtual Point3 | GetInVec ()=0 |
Get the in vector. |
|
virtual Point3 | GetOutVec ()=0 |
Get the out vector. |
|
virtual Point3 | GetKnotPoint ()=0 |
Get actual knot position. |
|
virtual KnotType | GetKnotType ()=0 |
Get the type of knot. |
|
virtual IGameControl * | GetKnotControl (KnotData kd)=0 |
Get the knot controller. |
enum KnotType |
Knot types.
enum KnotData |
Knot data.
KNOT_INVEC |
The in vector. |
KNOT_OUTVEC |
The out vector. |
KNOT_POINT |
The actual knot position. |
{ KNOT_INVEC, KNOT_OUTVEC, KNOT_POINT, };
virtual ~IGameKnot | ( | ) | [inline, virtual] |
Destructor.
{;}
virtual Point3 GetInVec | ( | ) | [pure virtual] |
virtual Point3 GetOutVec | ( | ) | [pure virtual] |
virtual Point3 GetKnotPoint | ( | ) | [pure virtual] |
virtual KnotType GetKnotType | ( | ) | [pure virtual] |
virtual IGameControl* GetKnotControl | ( | KnotData | kd | ) | [pure virtual] |
Get the knot controller.
Get the actual IGameController for the knot - this provides access to any animated data
kd | The knot to access |