CEL

Public API Reference

celPcCameraCommon Struct Reference

The representation of a camera. More...

#include <celtool/camera.h>

Inheritance diagram for celPcCameraCommon:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Protected Attributes

bool center_set
float center_x
float center_y
bool clear_screen
bool clear_zbuf
csRef< iEngineengine
csRef< iGraphics3Dg3d
int rect_h
bool rect_set
int rect_w
int rect_x
int rect_y
csWeakRef< iPcRegionregion
csRef< iVirtualClockvc
csRef< iViewview
csWeakRef< iPcZoneManagerzonemgr
csTicks accumulated_elapsed
float current_distance
float fixed_distance
bool fps_valid
float max_fps
float min_dist
float min_fps
float smooth_fps
bool use_farplane

Detailed Description

The representation of a camera.

Definition at line 46 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 1.2 by doxygen 1.4.7