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 bool | DetectCollisions () const =0 |
Returns whether the camera will use collision detection to avoid moving through walls. | |
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 float | GetCollisionSpringCoefficient () const =0 |
Returns the spring coefficient that is used when a collision is detection. | |
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 & | GetPos () const =0 |
Gets the current position of the camera. | |
virtual const csVector3 & | GetTarget () const =0 |
Gets the current target of the camera. | |
virtual float | GetTransitionCutoffPosDistance () const =0 |
Grabs the camera transition cutoff distance from position to position between the camera and the camera mode. | |
virtual float | GetTransitionCutoffTargetDistance () const =0 |
Grabs the camera transition cutoff distance from target to target between the camera and the camera mode. | |
virtual float | GetTransitionSpringCoefficient () const =0 |
This gets the springyness of the transition to a new camera mode when a new camera mode is selected. | |
virtual const csVector3 & | GetUp () const =0 |
Gets the current up vector of the camera. | |
virtual bool | InCameraTransition () const =0 |
Determines whether the camera is currently in a transition from one camera mode to another. | |
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 void | SetCollisionDetection (bool detectCollisions)=0 |
Sets whether the camera will use collision detection to avoid moving through walls. | |
virtual void | SetCollisionSpringCoefficient (float springCoef)=0 |
Sets the spring coefficient that will be used when a collision is detected. | |
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. | |
virtual void | SetTransitionCutoffDistance (float cutOffPosDist, float cutOffTargetDist)=0 |
If the distance between the current camera position and the new camera mode is within this cutoff distance, then the camera will cease to be in a transition and be in the new camera mode. | |
virtual void | SetTransitionSpringCoefficient (float springCoef)=0 |
This controls the springyness of the transition to a new camera mode when a new camera mode is selected. |
Detailed Description
This is a camera property class.
Definition at line 120 of file newcamera.h.
Member Function Documentation
|
Attaches a built-in camera mode to this camera.
|
|
Attaches a camera mode to this camera.
|
|
Returns whether the camera will use collision detection to avoid moving through walls.
|
|
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.
|
|
Returns the spring coefficient that is used when a collision is detection.
|
|
Gets the current camera mode.
|
|
Gets the index of the current camera mode.
|
|
Gets the current position of the camera.
|
|
Gets the current target of the camera.
|
|
Grabs the camera transition cutoff distance from position to position between the camera and the camera mode.
|
|
Grabs the camera transition cutoff distance from target to target between the camera and the camera mode.
|
|
This gets the springyness of the transition to a new camera mode when a new camera mode is selected.
|
|
Gets the current up vector of the camera.
|
|
Determines whether the camera is currently in a transition from one camera mode to another.
|
|
Sets the current camera mode to the next available mode.
|
|
Sets the current camera mode to the previous available mode.
|
|
Sets whether the camera will use collision detection to avoid moving through walls.
|
|
Sets the spring coefficient that will be used when a collision is detected.
|
|
Sets the current camera mode.
|
|
Sets the offset from the center of the mesh's iMovable to the position of the camera.
|
|
If the distance between the current camera position and the new camera mode is within this cutoff distance, then the camera will cease to be in a transition and be in the new camera mode.
|
|
This controls the springyness of the transition to a new camera mode when a new camera mode is selected.
|
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