#include <campos.h>
Inheritance diagram for csCameraPosition:
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 |
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.