Drag[en]gine Script Module DragonScript Script API  1.0
ConversationCameraDirector Class Reference
Inheritance diagram for ConversationCameraDirector:
CameraDirector

Public Member Functions

void advanceCameraTime (float elapsed)
 
ConversationActor getCameraActor ()
 
ConversationCoordSystem getCameraCoordSystem ()
 
ConversationCameraShot getCameraShot ()
 
ConversationTarget getCameraTarget ()
 
DMatrix getCoordSys ()
 
float getDuration ()
 
float getElapsed ()
 
DMatrix getLockedCameraMatrix ()
 
DMatrix getLockedLookAtMatrix ()
 
ConversationActor getLookAtActor ()
 
ConversationCoordSystem getLookAtCoordSystem ()
 
ConversationTarget getLookAtTarget ()
 
bool getLooping ()
 
void initCameraParameters ()
 
ConversationCameraDirector new (Camera camera, Microphone microphone)
 
void setCameraActor (ConversationActor actor)
 
void setCameraCoordSystem (ConversationCoordSystem coordSystem)
 
void setCameraShot (ConversationCameraShot cameraShot)
 
void setCameraTarget (ConversationTarget target)
 
void setCoordSys (DMatrix matrix)
 
void setDuration (float duration)
 
void setElapsed (float elapsed)
 
void setLockedCameraMatrix (DMatrix matrix)
 
void setLockedLookAtMatrix (DMatrix matrix)
 
void setLookAtActor (ConversationActor actor)
 
void setLookAtCoordSystem (ConversationCoordSystem coordSystem)
 
void setLookAtTarget (ConversationTarget target)
 
void setLooping (bool looping)
 
void updateCamera (float elapsed)
 
void updateConstant ()
 
void updateLinear ()
 
void updateUsing (DVector offsetCamera, DVector offsetLookAt, DVector cameraOrbit, DVector position, DVector rotation, float cameraDistance, float fov)
 
- Public Member Functions inherited from CameraDirector
void activate ()
 Director has been made the current one. More...
 
float getAdaptionTime ()
 Adaption time. More...
 
Camera getCamera ()
 Camera to modify. More...
 
float getExposure ()
 Exposure. More...
 
float getFOV ()
 Field of view. More...
 
float getHighestIntensity ()
 Highest intensity. More...
 
float getLowestIntensity ()
 Lowest intensity. More...
 
Microphone getMicrophone ()
 Microphone to modify. More...
 
float getViewDistance ()
 Camera view distance. More...
 
void initCameraParameters ()
 Init camera parameters. More...
 
CameraDirector new (Camera camera, Microphone microphone)
 Create camera director. More...
 
void setAdaptionTime (float adaptionTime)
 Set adaption time. More...
 
void setCamera (Camera camera)
 Set camera to modify. More...
 
void setExposure (float exposure)
 Set exposure. More...
 
void setFOV (float fov)
 Set field of view. More...
 
void setHighestIntensity (float highestIntensity)
 Set highest intensity. More...
 
void setLowestIntensity (float lowestIntensity)
 Set lowest intensity. More...
 
void setMicrophone (Microphone microphone)
 Set microphone to modify. More...
 
void setViewDistance (float distance)
 Set camera view distance. More...
 
void update (float elapsed)
 Update director. More...
 
void updateCamera (float elapsed)
 Update camera. More...
 
void updateMicrophone (float elapsed)
 Update microphone. More...
 

Additional Inherited Members

- Public Attributes inherited from CameraDirector
final float FOV_FIRSTPERSON = 90.00
 Typical First Person FOV. More...
 
final float FOV_LONGTELE = 6.87
 Long Tele Camera FOV. More...
 
final float FOV_MEDIUMTELE = 10.29
 Medium Tele Camera FOV. More...
 
final float FOV_NORMAL = 39.60
 Normal Camera FOV. More...
 
final float FOV_SHORTTELE = 22.62
 Short Tele Camera FOV. More...
 
final float FOV_ULTRAWIDE = 83.97
 Ultra Wide Camera FOV. More...
 
final float FOV_WIDE = 65.47
 Wide Camera FOV. More...
 

Detailed Description

Animates the camera using the camera definition of a conversation playback. The conversation playback is responsible to set camera definition to use as well as updating the camera director.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ advanceCameraTime()

void advanceCameraTime ( float  elapsed)

Advance the camera time. This call is different from update(float) as this one is used by the conversation playback to set the proper camera time. The update(float) call is called by the game state thus the timing would be disturbed.

§ getCameraActor()

ConversationActor getCameraActor ( )

Retrieves the actor to attach the camera to or null if not set.

§ getCameraCoordSystem()

ConversationCoordSystem getCameraCoordSystem ( )

Retrieves the coordinate system to attach the camera to or null if not set.

§ getCameraShot()

ConversationCameraShot getCameraShot ( )

Retrieves the camera shot to use or null if not set.

§ getCameraTarget()

ConversationTarget getCameraTarget ( )

Retrieves the camera target or null if not set.

§ getCoordSys()

DMatrix getCoordSys ( )

Retrieves the coordinate system matrix.

§ getDuration()

float getDuration ( )

Retrieves the duration of the camera shot.

§ getElapsed()

float getElapsed ( )

Retrieves the elapsed time.

§ getLockedCameraMatrix()

DMatrix getLockedCameraMatrix ( )

Retrieves the locked camera target matrix or null if not yet set.

§ getLockedLookAtMatrix()

DMatrix getLockedLookAtMatrix ( )

Retrieves the locked look-at target matrix or null if not yet set.

§ getLookAtActor()

ConversationActor getLookAtActor ( )

Retrieves the actor to look at or null if not set.

§ getLookAtCoordSystem()

ConversationCoordSystem getLookAtCoordSystem ( )

Retrieves the coordinate system to look at or null if not set.

§ getLookAtTarget()

ConversationTarget getLookAtTarget ( )

Retrieves the look-at target or null if not set.

§ getLooping()

bool getLooping ( )

Determines if the camera shot is looping.

§ initCameraParameters()

void initCameraParameters ( )

Init camera parameters.

§ new()

ConversationCameraDirector new ( Camera  camera,
Microphone  microphone 
)

Creates a new conversation camera director.

§ setCameraActor()

void setCameraActor ( ConversationActor  actor)

Sets the actor to attach the camera to or null if not set.

§ setCameraCoordSystem()

void setCameraCoordSystem ( ConversationCoordSystem  coordSystem)

Sets the coordinate system to attach the camera to or null if not set.

§ setCameraShot()

void setCameraShot ( ConversationCameraShot  cameraShot)

Sets the camera shot to use or null if not set.

§ setCameraTarget()

void setCameraTarget ( ConversationTarget  target)

Sets the camera target or null if not set.

§ setCoordSys()

void setCoordSys ( DMatrix  matrix)

Sets the coordinate system matrix.

§ setDuration()

void setDuration ( float  duration)

Sets the duration of the camera shot.

§ setElapsed()

void setElapsed ( float  elapsed)

Sets the elapsed time.

§ setLockedCameraMatrix()

void setLockedCameraMatrix ( DMatrix  matrix)

Sets the locked camera target matrix or null if not yet set.

§ setLockedLookAtMatrix()

void setLockedLookAtMatrix ( DMatrix  matrix)

Sets the locked look-at target matrix or null if not yet set.

§ setLookAtActor()

void setLookAtActor ( ConversationActor  actor)

Sets the actor to look at or null if not set.

§ setLookAtCoordSystem()

void setLookAtCoordSystem ( ConversationCoordSystem  coordSystem)

Sets the coordinate system to look at or null if not set.

§ setLookAtTarget()

void setLookAtTarget ( ConversationTarget  target)

Sets the look-at target or null if not set.

§ setLooping()

void setLooping ( bool  looping)

Sets if the camera shot is looping.

§ updateCamera()

void updateCamera ( float  elapsed)

Update camera.

§ updateConstant()

void updateConstant ( )

Update camera using the constant method.

§ updateLinear()

void updateLinear ( )

Update camera using the linear method.

§ updateUsing()

void updateUsing ( DVector  offsetCamera,
DVector  offsetLookAt,
DVector  cameraOrbit,
DVector  position,
DVector  rotation,
float  cameraDistance,
float  fov 
)

Update camera using calculated parameters.


The documentation for this class was generated from the following file: