iPcCamera Struct Reference
The representation of a camera. More...
#include <propclass/camera.h>
Inheritance diagram for iPcCamera:

Public Member Functions | |
| virtual void | DisableDistanceClipping ()=0 |
| Disable distance clipping. | |
| virtual void | Draw ()=0 |
| Render. | |
| virtual void | EnableAdaptiveDistanceClipping (float min_fps, float max_fps, float min_dist)=0 |
| Enable adaptive distance clipping. | |
| virtual void | EnableFixedDistanceClipping (float dist)=0 |
| Enable fixed distance clipping. | |
| virtual float | GetAdaptiveMaxFPS () const =0 |
| Get the maximum fps used for adaptive distance clipping. | |
| virtual float | GetAdaptiveMinDistance () const =0 |
| Get the minimum distance used for adaptive distance clipping. | |
| virtual float | GetAdaptiveMinFPS () const =0 |
| Get the minimum fps used for adaptive distance clipping. | |
| virtual iCamera * | GetCamera () const =0 |
| Get the camera. | |
| virtual bool | GetClearScreen () const =0 |
| Get the clear screen flag. | |
| virtual bool | GetClearZBuffer () const =0 |
| Get the clear zbuffer flag. | |
| virtual float | GetFixedDistance () const =0 |
| Get the fixed distance (returns < 0 if adaptive is used). | |
| virtual iView * | GetView () const =0 |
| Get the view. | |
| virtual void | SetAutoDraw (bool auto_draw)=0 |
| Set the auto-draw option. | |
| virtual void | SetClearScreen (bool flag)=0 |
| Set flag indicating if the camera should clear screen every frame. | |
| virtual void | SetClearZBuffer (bool flag)=0 |
| Set flag indicating if the camera should clear z-buffer every frame. | |
| virtual void | SetRectangle (int x, int y, int w, int h)=0 |
| Set the view rectangle to use on screen. | |
| virtual bool | SetRegion (iPcRegion *region, bool point=true, const char *name=0)=0 |
| Set Camera to a Region. | |
| virtual bool | SetZoneManager (const char *entityname, bool point, const char *regionname, const char *name=0)=0 |
| Set Camera to a zone manager. | |
| virtual bool | SetZoneManager (iPcZoneManager *zonemgr, bool point, const char *regionname, const char *name=0)=0 |
| Set Camera to a zone manager. | |
| virtual bool | UseDistanceClipping () const =0 |
| Returns true if we use distance clipping (either fixed or adaptive). | |
| virtual bool | UseFixedDistanceClipping () const =0 |
| Returns true if we use fixed distance clipping (as opposed to adaptive). | |
Detailed Description
The representation of a camera.
Definition at line 36 of file camera.h.
Member Function Documentation
|
|
Disable distance clipping.
|
|
|
Render. This will clear the screen then draw on top of it. Implemented in iPcNewCamera, and iPcSimpleCamera. |
|
||||||||||||||||
|
Enable adaptive distance clipping. In this mode the clipping plane will vary depending on the desired minimum and maximum fps.
|
|
|
Enable fixed distance clipping. In this mode there is a fixed plane at the specified distance. All geometry that is fully behind that plane will not be rendered. This can speed up rendering.
|
|
|
Get the maximum fps used for adaptive distance clipping.
|
|
|
Get the minimum distance used for adaptive distance clipping.
|
|
|
Get the minimum fps used for adaptive distance clipping.
|
|
|
Get the camera.
|
|
|
Get the clear screen flag.
|
|
|
Get the clear zbuffer flag.
|
|
|
Get the fixed distance (returns < 0 if adaptive is used).
|
|
|
Get the view.
|
|
|
Set the auto-draw option. If this option is enabled, the camera will automatically render.
|
|
|
Set flag indicating if the camera should clear screen every frame. Off by default unless the loaded map specifies this.
|
|
|
Set flag indicating if the camera should clear z-buffer every frame. Off by default unless the loaded map specifies this.
|
|
||||||||||||||||||||
|
Set the view rectangle to use on screen.
|
|
||||||||||||||||
|
Set Camera to a Region.
|
|
||||||||||||||||||||
|
Set Camera to a zone manager.
|
|
||||||||||||||||||||
|
Set Camera to a zone manager.
|
|
|
Returns true if we use distance clipping (either fixed or adaptive).
|
|
|
Returns true if we use fixed distance clipping (as opposed to adaptive).
|
The documentation for this struct was generated from the following file:
- propclass/camera.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.6
