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