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