Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.ConversationSystem.SimpleConversationCameraShot Class Reference

Simple conversation camera shot. More...

Inheritance diagram for Dragengine.ConversationSystem.SimpleConversationCameraShot:

Classes

enum  Type
 Camera shot type. More...

Public Member Functions

StringID getCameraTarget ()
 Target the camera is attached to or null if not set.
String getCommand ()
 Command or null.
float getDuration ()
 Shot duration in seconds.
StringID getLookAtTarget ()
 Target the camera is looking at or null if not set.
StringID getSubTarget ()
 Sub target identifier.
StringID getTarget ()
 Target identifier.
Type getType ()
 Type.
SimpleConversationCameraShot new (SimpleConversationCameraShot shot)
 Create copy of simple conversation camera definition.
SimpleConversationCameraShot new (Type type)
 Create simple conversation camera definition.
void setCameraTarget (StringID target)
 Set target the camera is attached to or null if not set.
void setCommand (String command)
 Set command or null.
void setDuration (float duration)
 Set shot duration in seconds.
void setLookAtTarget (StringID target)
 Set target the camera is looking at or null if not set.
void setSubTarget (StringID subTarget)
 Set sub target identifier.
void setTarget (StringID target)
 Set target identifier.

Public Attributes

String pCommand
float pDuration
StringID pTarget
Type pType

Detailed Description

Simple conversation camera shot.

Version
1.25

Camera shots can be either static conversation camera shots or dynamic shots. Dynamic shots are selected using either a conversation snippet, a conversation game command or a conversation actor command.

Member Function Documentation

◆ getCameraTarget()

StringID Dragengine.ConversationSystem.SimpleConversationCameraShot.getCameraTarget ( )

Target the camera is attached to or null if not set.

Used only for Type.cameraShot.

References pTarget.

Referenced by getCommand().

◆ getCommand()

String Dragengine.ConversationSystem.SimpleConversationCameraShot.getCommand ( )

Command or null.

Used for Type.command only otherwise null.

References getCameraTarget().

Referenced by setDuration().

◆ getDuration()

float Dragengine.ConversationSystem.SimpleConversationCameraShot.getDuration ( )

Shot duration in seconds.

Used for Type.cameraShot only otherwise null.

Referenced by setDuration().

◆ getLookAtTarget()

StringID Dragengine.ConversationSystem.SimpleConversationCameraShot.getLookAtTarget ( )

Target the camera is looking at or null if not set.

Used only for Type.cameraShot.

References setSubTarget().

Referenced by setDuration().

◆ getSubTarget()

StringID Dragengine.ConversationSystem.SimpleConversationCameraShot.getSubTarget ( )

Sub target identifier.

  • Type#snippet: Name of conversation topic group.
  • all others: Not used and is null.

References getTarget(), and pTarget.

Referenced by setCameraTarget().

◆ getTarget()

StringID Dragengine.ConversationSystem.SimpleConversationCameraShot.getTarget ( )

Target identifier.

  • Type#cameraShot: Name of conversation camera.
  • Type#snippet: Name of conversation topic from group with name #getGroup().
  • Type#command: Id or alias of conversation actor or null for game command.

References pCommand, and pDuration.

Referenced by getSubTarget().

◆ getType()

Type Dragengine.ConversationSystem.SimpleConversationCameraShot.getType ( )

Type.

References pTarget, and pType.

Referenced by setTarget().

◆ new() [1/2]

SimpleConversationCameraShot Dragengine.ConversationSystem.SimpleConversationCameraShot.new ( SimpleConversationCameraShot shot)

Create copy of simple conversation camera definition.

References pDuration, and pType.

◆ new() [2/2]

SimpleConversationCameraShot Dragengine.ConversationSystem.SimpleConversationCameraShot.new ( Type type)

Create simple conversation camera definition.

References new().

Referenced by new().

◆ setCameraTarget()

void Dragengine.ConversationSystem.SimpleConversationCameraShot.setCameraTarget ( StringID target)

Set target the camera is attached to or null if not set.

Used only for Type.cameraShot.

References getSubTarget().

Referenced by setCommand().

◆ setCommand()

void Dragengine.ConversationSystem.SimpleConversationCameraShot.setCommand ( String command)

Set command or null.

Used for Type.command only otherwise null.

References setCameraTarget().

Referenced by setDuration().

◆ setDuration()

void Dragengine.ConversationSystem.SimpleConversationCameraShot.setDuration ( float duration)

Set shot duration in seconds.

Used for Type.cameraShot only otherwise null.

References getCommand(), getDuration(), getLookAtTarget(), pCommand, pDuration, setCommand(), setDuration(), and setLookAtTarget().

Referenced by setDuration().

◆ setLookAtTarget()

void Dragengine.ConversationSystem.SimpleConversationCameraShot.setLookAtTarget ( StringID target)

Set target the camera is looking at or null if not set.

Used only for Type.cameraShot.

Referenced by setDuration().

◆ setSubTarget()

void Dragengine.ConversationSystem.SimpleConversationCameraShot.setSubTarget ( StringID subTarget)

Set sub target identifier.

See also
getSubTarget()

References setTarget().

Referenced by getLookAtTarget().

◆ setTarget()

void Dragengine.ConversationSystem.SimpleConversationCameraShot.setTarget ( StringID target)

Set target identifier.

See also
getTarget()

References getType(), and pType.

Referenced by setSubTarget().

Member Data Documentation

◆ pCommand

String Dragengine.ConversationSystem.SimpleConversationCameraShot.pCommand

Referenced by getTarget(), and setDuration().

◆ pDuration

float Dragengine.ConversationSystem.SimpleConversationCameraShot.pDuration

Referenced by getTarget(), new(), and setDuration().

◆ pTarget

StringID Dragengine.ConversationSystem.SimpleConversationCameraShot.pTarget

◆ pType

Type Dragengine.ConversationSystem.SimpleConversationCameraShot.pType

Referenced by getType(), new(), and setTarget().


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