Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csCameraPosition Class Reference

Camera position structure. More...

#include <campos.h>

Inheritance diagram for csCameraPosition:

csObject iObject iBase List of all members.

Public Methods

 csCameraPosition (const char *iName, const char *iSector, const csVector3 &iPosition, const csVector3 &iForward, const csVector3 &iUpward)
 Initialize the camera position object.

void Set (const char *iSector, const csVector3 &iPosition, const csVector3 &iForward, const csVector3 &iUpward)
 Change camera position object.

bool Load (iCamera *, iEngine *)
 Load the camera position into a camera object.

 SCF_DECLARE_IBASE_EXT (csObject)

Public Attributes

char* Sector
 The sector this camera points to.

csVector3 Position
 The camera position.

csVector3 Forward
 Camera orientation: forward vector.

csVector3 Upward
 Camera orientation: upward vector.

csCameraPosition::CameraPosition  scfiCameraPosition

Friends

class  CameraPosition

Detailed Description

Camera position structure.

This structure is used internally by the engine to store named camera positions than can be retrieved by client programs to store starting map points, teleporter positions and so on. In the map file you can use CAMERA (...) keyword to define such points.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000