CEL

Public API Reference

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

celPcCameraCommon Struct Reference

The representation of a camera. More...

#include <celtool/camera.h>

Inheritance diagram for celPcCameraCommon:

celPcCommon List of all members.

Public Member Functions

iView * GetView () const
void SetClearZBuffer (bool flag)
bool GetClearZBuffer () const
void SetClearScreen (bool flag)
bool GetClearScreen () const
bool UseDistanceClipping () const
bool UseFixedDistanceClipping () const
float GetFixedDistance () const
float GetAdaptiveMinFPS () const
float GetAdaptiveMaxFPS () const
float GetAdaptiveMinDistance () const
void SaveCommon (iCelDataBuffer *databuf)
 In the Save() implementation of the subclass you can call this function to save the common data members.
bool LoadCommon (iCelDataBuffer *databuf)
 In the Load() implementation of the subclass you can call this function to load the common data members.
virtual const char * GetName () const

Protected Attributes

csRef< iGraphics3D > g3d
csRef< iEngine > engine
csRef< iVirtualClock > vc
csRef< iView > view
bool rect_set
int rect_x
int rect_y
int rect_w
int rect_h
csWeakRef< iPcRegionregion
csWeakRef< iPcZoneManagerzonemgr
bool clear_zbuf
bool clear_screen
bool use_farplane
float fixed_distance
float min_fps
float max_fps
float min_dist
bool fps_valid
float smooth_fps
float current_distance
csTicks accumulated_elapsed

Detailed Description

The representation of a camera.

Definition at line 69 of file camera.h.


Member Function Documentation

bool celPcCameraCommon::LoadCommon iCelDataBuffer databuf  ) 
 

In the Load() implementation of the subclass you can call this function to load the common data members.

Returns false on failure.

void celPcCameraCommon::SaveCommon iCelDataBuffer databuf  ) 
 

In the Save() implementation of the subclass you can call this function to save the common data members.


The documentation for this struct was generated from the following file:
Generated for CEL: Crystal Entity Layer by doxygen 1.4.4