![]() |
Public API Reference |
#include <campos.h>
Inheritance diagram for iCameraPosition:
Public Methods | |
virtual iObject * | QueryObject ()=0 |
Get the iObject for this camera position. More... | |
virtual iCameraPosition * | Clone () const=0 |
Create a clone this camera position. More... | |
virtual const char * | GetSector ()=0 |
Return the home sector. More... | |
virtual void | SetSector (const char *Name)=0 |
Set the home sector. More... | |
virtual const csVector3 & | GetPosition ()=0 |
Return the position. More... | |
virtual void | SetPosition (const csVector3 &p)=0 |
Set the position. More... | |
virtual const csVector3 & | GetUpwardVector ()=0 |
Return the 'up' vector. More... | |
virtual void | SetUpwardVector (const csVector3 &v)=0 |
Set the 'up' vector. More... | |
virtual const csVector3 & | GetForwardVector ()=0 |
Return the 'front' vector. More... | |
virtual void | SetForwardVector (const csVector3 &v)=0 |
Set the 'front' vector. More... | |
virtual void | Set (const char *sector, const csVector3 &pos, const csVector3 &forward, const csVector3 &upward)=0 |
Set all attributes of the camera position. More... | |
virtual bool | Load (iCamera *, iEngine *)=0 |
Load the camera position into a camera object. More... | |
virtual void | SetFarPlane (csPlane3 *pl)=0 |
Set the 3D far plane used to clip all geometry. More... | |
virtual void | ClearFarPlane ()=0 |
Clear the far plane so no clipping will occur. More... | |
virtual csPlane3 * | GetFarPlane () const=0 |
Get the current far plane (or 0 if none is defined). More... |
This object can be used to initialize a camera object to a certain state. It has the following properties:
Definition at line 51 of file iengine/campos.h.
|
Clear the far plane so no clipping will occur. This is equivalent to SetFarPlane(0). Implemented in csCameraPosition::CameraPosition. |
|
Create a clone this camera position.
Implemented in csCameraPosition::CameraPosition. |
|
Get the current far plane (or 0 if none is defined).
Implemented in csCameraPosition::CameraPosition. |
|
Return the 'front' vector.
Implemented in csCameraPosition::CameraPosition. |
|
Return the position.
Implemented in csCameraPosition::CameraPosition. |
|
Return the home sector.
Implemented in csCameraPosition::CameraPosition. |
|
Return the 'up' vector.
Implemented in csCameraPosition::CameraPosition. |
|
Load the camera position into a camera object.
Implemented in csCameraPosition::CameraPosition. |
|
Get the iObject for this camera position.
Implemented in csCameraPosition::CameraPosition. |
|
Set all attributes of the camera position.
Implemented in csCameraPosition::CameraPosition. |
|
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). Implemented in csCameraPosition::CameraPosition. |
|
Set the 'front' vector.
Implemented in csCameraPosition::CameraPosition. |
|
Set the position.
Implemented in csCameraPosition::CameraPosition. |
|
Set the home sector.
Implemented in csCameraPosition::CameraPosition. |
|
Set the 'up' vector.
Implemented in csCameraPosition::CameraPosition. |