iPcSimpleCamera Struct Reference
A class representing a simple camera, with capabilities for both first-person and third-person modes. More...
#include <propclass/simpcam.h>
Inheritance diagram for iPcSimpleCamera:

Public Member Functions | |
virtual void | Draw ()=0 |
Render. | |
virtual void | SetCameraOffset (const csVector3 &offset)=0 |
Sets the offset from the center of the mesh's iMovable to the position of the camera. | |
virtual void | SetDrawMesh (bool draw)=0 |
Set a flag to determine whether or not the attached mesh and its children will be drawn in this camera view. | |
virtual void | SetLookAtOffset (const csVector3 &lookat)=0 |
Sets the offset from the center of the mesh's iMovable to the point the camera should look at. | |
virtual void | SetMesh (iPcMesh *mesh)=0 |
Set the mesh to follow. |
Detailed Description
A class representing a simple camera, with capabilities for both first-person and third-person modes.This property class supports the following actions (add prefix 'cel.action.' to get the ID of the action and add prefix 'cel.parameter.' to get the ID of the parameter):
- InitCamera: parameters 'campos' (vector3), 'lookat' (vector3), 'drawmesh' (bool).
- SetPosition: parameters 'campos' (vector3), 'lookat' (vector3).
- SetMesh: parameters 'meshpctag' (string).
Definition at line 42 of file simpcam.h.
Member Function Documentation
|
Render. This will clear the screen then draw on top of it. Implements iPcCamera. |
|
Sets the offset from the center of the mesh's iMovable to the position of the camera.
|
|
Set a flag to determine whether or not the attached mesh and its children will be drawn in this camera view.
|
|
Sets the offset from the center of the mesh's iMovable to the point the camera should look at.
|
|
Set the mesh to follow.
|
The documentation for this struct was generated from the following file:
- propclass/simpcam.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.6