iPcNewCamera Struct Reference
This is a camera property class. More...
#include <propclass/newcamera.h>
Inheritance diagram for iPcNewCamera:

Public Types | |
enum | _CEL_CAMERA_MODE |
Public Member Functions | |
virtual size_t | AttachCameraMode (CEL_CAMERA_MODE mode)=0 |
Attaches a built-in camera mode to this camera. | |
virtual size_t | AttachCameraMode (iCelCameraMode *mode)=0 |
Attaches a camera mode to this camera. | |
virtual void | Draw ()=0 |
Render. | |
virtual const csVector3 & | GetBaseDir () const =0 |
Gets the base direction of the camera. | |
virtual const csVector3 & | GetBasePos () const =0 |
Gets the base position of the camera in world coordinates. | |
virtual const csReversibleTransform & | GetBaseTrans () const =0 |
Gets the base transform of the camera. | |
virtual const csVector3 & | GetBaseUp () const =0 |
Gets the base up vector of the camera. | |
virtual iCelCameraMode * | GetCurrentCameraMode ()=0 |
Gets the current camera mode. | |
virtual size_t | GetCurrentCameraModeIndex () const =0 |
Gets the index of the current camera mode. | |
virtual const csVector3 & | GetDir () const =0 |
Gets the current direction of the camera. | |
virtual const csVector3 & | GetPos () const =0 |
Gets the current position of the camera. | |
virtual const csVector3 & | GetUp () const =0 |
Gets the current up vector of the camera. | |
virtual void | NextCameraMode ()=0 |
Sets the current camera mode to the next available mode. | |
virtual void | PrevCameraMode ()=0 |
Sets the current camera mode to the previous available mode. | |
virtual bool | SetCurrentCameraMode (size_t modeIndex)=0 |
Sets the current camera mode. | |
virtual void | SetPositionOffset (const csVector3 &offset)=0 |
Sets the offset from the center of the mesh's iMovable to the position of the camera. |
Detailed Description
This is a camera property class.
Definition at line 115 of file newcamera.h.
Member Function Documentation
|
Attaches a built-in camera mode to this camera.
|
|
Attaches a camera mode to this camera.
|
|
Render. This will clear the screen then draw on top of it. Implements iPcCamera. |
|
Gets the base direction of the camera.
|
|
Gets the base position of the camera in world coordinates.
|
|
Gets the base transform of the camera.
|
|
Gets the base up vector of the camera.
|
|
Gets the current camera mode.
|
|
Gets the index of the current camera mode.
|
|
Gets the current direction of the camera.
|
|
Gets the current position of the camera.
|
|
Gets the current up vector of the camera.
|
|
Sets the current camera mode to the next available mode.
|
|
Sets the current camera mode to the previous available mode.
|
|
Sets the current camera mode.
|
|
Sets the offset from the center of the mesh's iMovable to the position of the camera.
|
The documentation for this struct was generated from the following file:
- propclass/newcamera.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.6