Compound list Compound Members
Viewer Class Reference
An object which moves the camera according to its movements. More...
List of all members.
Public Members
- Viewer (Camera *Cam, Mesh* O=NULL)
- Construct a 3D Object and associate a camera to it.
- long render (const View& view)
- Overrides the Object3D default behaviour, and renders nothing.
- long advance (float Fraction)
- Moves the camera object to where this object is.
- virtual long visible ()
- Returns NO, because we never see the viewer's mesh.
- virtual long radarDetectable ()
- Returns NO, because we don't detect ourselves.
- virtual int isCollidable ()
- Returns NO, because default viewer doesn't collide.
Detailed Description
An object which moves the camera according to its movements.
Member Function Documentation
Viewer::Viewer(Camera *Cam, Mesh* O=NULL)
Construct a 3D Object and associate a camera to it.
long Viewer::render(const View& view)
Overrides the Object3D default behaviour, and renders nothing.
long Viewer::advance(float Fraction)
Moves the camera object to where this object is.
virtual long Viewer::visible() [virtual]
Returns NO, because we never see the viewer's mesh.
virtual long Viewer::radarDetectable() [virtual]
Returns NO, because we don't detect ourselves.
virtual int Viewer::isCollidable() [virtual]
Returns NO, because default viewer doesn't collide.
The documentation for this class was generated from the following file: