![]() |
Public API Reference |
#include <campos.h>
Inheritance diagram for csCameraPosition::CameraPosition:
Public Methods | |
virtual iObject * | QueryObject () |
Get the iObject for this camera position. More... | |
virtual iCameraPosition * | Clone () const |
Create a clone this camera position. More... | |
virtual const char * | GetSector () |
Return the home sector. More... | |
virtual void | SetSector (const char *Name) |
Set the home sector. More... | |
virtual const csVector3 & | GetPosition () |
Return the position. More... | |
virtual void | SetPosition (const csVector3 &v) |
Set the position. More... | |
virtual const csVector3 & | GetUpwardVector () |
Return the 'up' vector. More... | |
virtual void | SetUpwardVector (const csVector3 &v) |
Set the 'up' vector. More... | |
virtual const csVector3 & | GetForwardVector () |
Return the 'front' vector. More... | |
virtual void | SetForwardVector (const csVector3 &v) |
Set the 'front' vector. More... | |
virtual void | Set (const char *sector, const csVector3 &pos, const csVector3 &forward, const csVector3 &upward) |
Set all attributes of the camera position. More... | |
virtual bool | Load (iCamera *c, iEngine *e) |
Load the camera position into a camera object. More... | |
virtual void | SetFarPlane (csPlane3 *pl) |
Set the 3D far plane used to clip all geometry. More... | |
virtual void | ClearFarPlane () |
Clear the far plane so no clipping will occur. More... | |
virtual csPlane3 * | GetFarPlane () const |
Get the current far plane (or 0 if none is defined). More... |
Definition at line 78 of file csengine/campos.h.
|
Clear the far plane so no clipping will occur. This is equivalent to SetFarPlane(0). Implements iCameraPosition. Definition at line 99 of file csengine/campos.h. |
|
Create a clone this camera position.
Implements iCameraPosition. |
|
Get the current far plane (or 0 if none is defined).
Implements iCameraPosition. Definition at line 103 of file csengine/campos.h. |
|
Return the 'front' vector.
Implements iCameraPosition. |
|
Return the position.
Implements iCameraPosition. |
|
Return the home sector.
Implements iCameraPosition. |
|
Return the 'up' vector.
Implements iCameraPosition. |
|
Load the camera position into a camera object.
Implements iCameraPosition. |
|
Get the iObject for this camera position.
Implements iCameraPosition. |
|
Set all attributes of the camera position.
Implements iCameraPosition. |
|
Set the 3D far plane used to clip all geometry. If the pointer is 0 then far plane clipping will be disabled. Otherwise it will be enabled and the plane will be copied (so you can free or reuse the pointer you give here). Note that the far-plane will cull away geometry which is on the negative side of the plane (with csPlane3::Classify() function). Implements iCameraPosition. Definition at line 95 of file csengine/campos.h. |
|
Set the 'front' vector.
Implements iCameraPosition. |
|
Set the position.
Implements iCameraPosition. |
|
Set the home sector.
Implements iCameraPosition. |
|
Set the 'up' vector.
Implements iCameraPosition. |