Drag[en]gine Script Module DragonScript  1.23
Dragengine.ConversationSystem.ConversationCameraShot Class Reference

Camera shot. More...

Inheritance diagram for Dragengine.ConversationSystem.ConversationCameraShot:

Classes

enum  Parameter
 Camera shot parameters. More...
 

Public Member Functions

int getActorCount ()
 Number of actors required for this camera shot. More...
 
bool getAlignTargets ()
 Targets are aligned along the conversation coordinate system. More...
 
float getCameraDistanceFrom ()
 Start camera orbit distance. More...
 
float getCameraDistanceTo ()
 End camera orbit distance. More...
 
Vector getCameraOrbitFrom ()
 Start camera orbit rotation in degrees. More...
 
Vector getCameraOrbitTo ()
 End camera orbit rotation. More...
 
float getFovFrom ()
 Start camera fov in degrees. More...
 
float getFovTo ()
 End camera fov in degrees. More...
 
bool getLockCameraTarget ()
 Camera target position is locked during the camera shot. More...
 
bool getLockLookAtTarget ()
 Look-at target position is locked during the camera shot. More...
 
bool getLockUpAxis ()
 Up axis of targets is locked during aligning. More...
 
StringID getName ()
 Name. More...
 
Vector getOffsetCameraFrom ()
 Start camera offset. More...
 
Vector getOffsetCameraTo ()
 End camera position. More...
 
Vector getOffsetLookAtFrom ()
 Start look-at position. More...
 
Vector getOffsetLookAtTo ()
 End look-at position. More...
 
CurveBezier getParameterCurve (Parameter parameter)
 Curve. More...
 
Vector getPositionFrom ()
 Start position. More...
 
Vector getPositionTo ()
 End position. More...
 
bool getRelativeToLookAt ()
 Camera is relative to the camera target or the look-at target. More...
 
Vector getRotationFrom ()
 Start orbit rotation in degrees. More...
 
Vector getRotationTo ()
 End camera rotation. More...
 
float getTiltFrom ()
 Start camera tilt in degrees. More...
 
float getTiltTo ()
 End camera tilt in degrees. More...
 
ConversationCameraShot new (StringID name)
 Create conversation camera shot. More...
 
void setActorCount (int count)
 Set number of actors required for this camera shot. More...
 
void setAlignTargets (bool alignTargets)
 Set if targets are aligned along the conversation coordinate system. More...
 
void setCameraDistanceFrom (float distance)
 Set start camera orbit distance. More...
 
void setCameraDistanceTo (float distance)
 Set end camera orbit distance. More...
 
void setCameraOrbitFrom (Vector rotation)
 Set start camera orbit rotation in degrees. More...
 
void setCameraOrbitTo (Vector rotation)
 Set end camera orbit rotation. More...
 
void setFovFrom (float fov)
 Set start camera fov in degrees. More...
 
void setFovTo (float fov)
 Set end camera fov in degrees. More...
 
void setLockCameraTarget (bool lock)
 Set if camera target position is locked during the camera shot. More...
 
void setLockLookAtTarget (bool lock)
 Set if look-at target position is locked during the camera shot. More...
 
void setLockUpAxis (bool lockUpAxis)
 Set if up axis of targets is locked during aligning. More...
 
void setOffsetCameraFrom (Vector position)
 Set start camera offset. More...
 
void setOffsetCameraTo (Vector position)
 Set end camera position. More...
 
void setOffsetLookAtFrom (Vector position)
 Set start look-at position. More...
 
void setOffsetLookAtTo (Vector position)
 Set end look-at position. More...
 
void setPositionFrom (Vector position)
 Set start position. More...
 
void setPositionTo (Vector position)
 Set end position. More...
 
void setRelativeToLookAt (bool relativeToLookAt)
 Set if camera is relative to the camera target or the look-at target. More...
 
void setRotationFrom (Vector rotation)
 Set start orbit rotation in degrees. More...
 
void setRotationTo (Vector rotation)
 Set end camera rotation. More...
 
void setTiltFrom (float tilt)
 Set start camera tilt in degrees. More...
 
void setTiltTo (float tilt)
 Set end camera tilt in degrees. More...
 
void writeToFile (FileWriter writer)
 Write to file. More...
 

Static Public Member Functions

static ConversationCameraShot readFromFile (FileReader reader)
 Read from file. More...
 

Detailed Description

Camera shot.

Member Function Documentation

◆ getActorCount()

int Dragengine.ConversationSystem.ConversationCameraShot.getActorCount ( )

Number of actors required for this camera shot.

◆ getAlignTargets()

bool Dragengine.ConversationSystem.ConversationCameraShot.getAlignTargets ( )

Targets are aligned along the conversation coordinate system.

◆ getCameraDistanceFrom()

float Dragengine.ConversationSystem.ConversationCameraShot.getCameraDistanceFrom ( )

Start camera orbit distance.

◆ getCameraDistanceTo()

float Dragengine.ConversationSystem.ConversationCameraShot.getCameraDistanceTo ( )

End camera orbit distance.

◆ getCameraOrbitFrom()

Vector Dragengine.ConversationSystem.ConversationCameraShot.getCameraOrbitFrom ( )

Start camera orbit rotation in degrees.

◆ getCameraOrbitTo()

Vector Dragengine.ConversationSystem.ConversationCameraShot.getCameraOrbitTo ( )

End camera orbit rotation.

◆ getFovFrom()

float Dragengine.ConversationSystem.ConversationCameraShot.getFovFrom ( )

Start camera fov in degrees.

◆ getFovTo()

float Dragengine.ConversationSystem.ConversationCameraShot.getFovTo ( )

End camera fov in degrees.

◆ getLockCameraTarget()

bool Dragengine.ConversationSystem.ConversationCameraShot.getLockCameraTarget ( )

Camera target position is locked during the camera shot.

◆ getLockLookAtTarget()

bool Dragengine.ConversationSystem.ConversationCameraShot.getLockLookAtTarget ( )

Look-at target position is locked during the camera shot.

◆ getLockUpAxis()

bool Dragengine.ConversationSystem.ConversationCameraShot.getLockUpAxis ( )

Up axis of targets is locked during aligning.

◆ getName()

StringID Dragengine.ConversationSystem.ConversationCameraShot.getName ( )

Name.

◆ getOffsetCameraFrom()

Vector Dragengine.ConversationSystem.ConversationCameraShot.getOffsetCameraFrom ( )

Start camera offset.

◆ getOffsetCameraTo()

Vector Dragengine.ConversationSystem.ConversationCameraShot.getOffsetCameraTo ( )

End camera position.

◆ getOffsetLookAtFrom()

Vector Dragengine.ConversationSystem.ConversationCameraShot.getOffsetLookAtFrom ( )

Start look-at position.

◆ getOffsetLookAtTo()

Vector Dragengine.ConversationSystem.ConversationCameraShot.getOffsetLookAtTo ( )

End look-at position.

◆ getParameterCurve()

CurveBezier Dragengine.ConversationSystem.ConversationCameraShot.getParameterCurve ( Parameter  parameter)

Curve.

◆ getPositionFrom()

Vector Dragengine.ConversationSystem.ConversationCameraShot.getPositionFrom ( )

Start position.

◆ getPositionTo()

Vector Dragengine.ConversationSystem.ConversationCameraShot.getPositionTo ( )

End position.

◆ getRelativeToLookAt()

bool Dragengine.ConversationSystem.ConversationCameraShot.getRelativeToLookAt ( )

Camera is relative to the camera target or the look-at target.

◆ getRotationFrom()

Vector Dragengine.ConversationSystem.ConversationCameraShot.getRotationFrom ( )

Start orbit rotation in degrees.

◆ getRotationTo()

Vector Dragengine.ConversationSystem.ConversationCameraShot.getRotationTo ( )

End camera rotation.

◆ getTiltFrom()

float Dragengine.ConversationSystem.ConversationCameraShot.getTiltFrom ( )

Start camera tilt in degrees.

◆ getTiltTo()

float Dragengine.ConversationSystem.ConversationCameraShot.getTiltTo ( )

End camera tilt in degrees.

◆ new()

ConversationCameraShot Dragengine.ConversationSystem.ConversationCameraShot.new ( StringID  name)

Create conversation camera shot.

◆ readFromFile()

static ConversationCameraShot Dragengine.ConversationSystem.ConversationCameraShot.readFromFile ( FileReader  reader)
static

Read from file.

◆ setActorCount()

void Dragengine.ConversationSystem.ConversationCameraShot.setActorCount ( int  count)

Set number of actors required for this camera shot.

◆ setAlignTargets()

void Dragengine.ConversationSystem.ConversationCameraShot.setAlignTargets ( bool  alignTargets)

Set if targets are aligned along the conversation coordinate system.

◆ setCameraDistanceFrom()

void Dragengine.ConversationSystem.ConversationCameraShot.setCameraDistanceFrom ( float  distance)

Set start camera orbit distance.

◆ setCameraDistanceTo()

void Dragengine.ConversationSystem.ConversationCameraShot.setCameraDistanceTo ( float  distance)

Set end camera orbit distance.

◆ setCameraOrbitFrom()

void Dragengine.ConversationSystem.ConversationCameraShot.setCameraOrbitFrom ( Vector  rotation)

Set start camera orbit rotation in degrees.

◆ setCameraOrbitTo()

void Dragengine.ConversationSystem.ConversationCameraShot.setCameraOrbitTo ( Vector  rotation)

Set end camera orbit rotation.

◆ setFovFrom()

void Dragengine.ConversationSystem.ConversationCameraShot.setFovFrom ( float  fov)

Set start camera fov in degrees.

◆ setFovTo()

void Dragengine.ConversationSystem.ConversationCameraShot.setFovTo ( float  fov)

Set end camera fov in degrees.

◆ setLockCameraTarget()

void Dragengine.ConversationSystem.ConversationCameraShot.setLockCameraTarget ( bool  lock)

Set if camera target position is locked during the camera shot.

◆ setLockLookAtTarget()

void Dragengine.ConversationSystem.ConversationCameraShot.setLockLookAtTarget ( bool  lock)

Set if look-at target position is locked during the camera shot.

◆ setLockUpAxis()

void Dragengine.ConversationSystem.ConversationCameraShot.setLockUpAxis ( bool  lockUpAxis)

Set if up axis of targets is locked during aligning.

◆ setOffsetCameraFrom()

void Dragengine.ConversationSystem.ConversationCameraShot.setOffsetCameraFrom ( Vector  position)

Set start camera offset.

◆ setOffsetCameraTo()

void Dragengine.ConversationSystem.ConversationCameraShot.setOffsetCameraTo ( Vector  position)

Set end camera position.

◆ setOffsetLookAtFrom()

void Dragengine.ConversationSystem.ConversationCameraShot.setOffsetLookAtFrom ( Vector  position)

Set start look-at position.

◆ setOffsetLookAtTo()

void Dragengine.ConversationSystem.ConversationCameraShot.setOffsetLookAtTo ( Vector  position)

Set end look-at position.

◆ setPositionFrom()

void Dragengine.ConversationSystem.ConversationCameraShot.setPositionFrom ( Vector  position)

Set start position.

◆ setPositionTo()

void Dragengine.ConversationSystem.ConversationCameraShot.setPositionTo ( Vector  position)

Set end position.

◆ setRelativeToLookAt()

void Dragengine.ConversationSystem.ConversationCameraShot.setRelativeToLookAt ( bool  relativeToLookAt)

Set if camera is relative to the camera target or the look-at target.

◆ setRotationFrom()

void Dragengine.ConversationSystem.ConversationCameraShot.setRotationFrom ( Vector  rotation)

Set start orbit rotation in degrees.

◆ setRotationTo()

void Dragengine.ConversationSystem.ConversationCameraShot.setRotationTo ( Vector  rotation)

Set end camera rotation.

◆ setTiltFrom()

void Dragengine.ConversationSystem.ConversationCameraShot.setTiltFrom ( float  tilt)

Set start camera tilt in degrees.

◆ setTiltTo()

void Dragengine.ConversationSystem.ConversationCameraShot.setTiltTo ( float  tilt)

Set end camera tilt in degrees.

◆ writeToFile()

void Dragengine.ConversationSystem.ConversationCameraShot.writeToFile ( FileWriter  writer)

Write to file.


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