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

Simple conversation actor definition. More...

Inheritance diagram for Dragengine.ConversationSystem.SimpleConversationActor:

Public Member Functions

void addGesture (StringID gesture)
 Add gesture.
void forEachGesture (Block ablock)
 Visit gestures with block.
StringID getActorId ()
 Conversation actor identifier or alias.
StringID getCamera ()
 Identifier of camera to switch to.
float getDelay ()
 Delay in seconds before activating action.
StringID getFacePose ()
 Face pose or null.
StringID getGestureAt (int index)
 Gesture at index.
int getGestureCount ()
 Count of gestures.
StringID getId ()
 Identifier.
StringID getLookAt ()
 Look-at or null.
float getProlongLastGesture ()
 Amount of seconds to prolong last gesture beyond end of speech.
StringID getStyle ()
 Text box text style or null.
bool getUseSpeechAnimation ()
 Speech animation is used for this action.
SimpleConversationActor new (SimpleConversationActor actor)
 Create copy of simple conversation camera definition.
SimpleConversationActor new (StringID id)
 Create simple conversation camera definition.
void setActorId (StringID identifier)
 Set conversation actor identifier or alias.
void setCamera (StringID camera)
 Set identifier of camera to switch to.
void setDelay (float seconds)
 Set delay in seconds before activating action.
void setFacePose (StringID facePose)
 Set face pose or null.
void setLookAt (StringID lookAt)
 Set look-at or null.
void setProlongLastGesture (float seconds)
 Set amount of seconds to prolong last gesture beyond end of speech.
void setStyle (StringID style)
 Set text box text style or null.
void setUseSpeechAnimation (bool useSpeechAnimation)
 Set if speech animation is used for this action.

Public Attributes

StringID pActorId
StringID pCamera
float pDelay
StringID pFacePose
Array pGestures
StringID pId
StringID pStyle
bool pUseSpeechAnimation

Detailed Description

Simple conversation actor definition.

Version
1.25

Defines initial parameters to use when switching to an actor speaking.

Member Function Documentation

◆ addGesture()

void Dragengine.ConversationSystem.SimpleConversationActor.addGesture ( StringID gesture)

Add gesture.

Referenced by setLookAt().

◆ forEachGesture()

void Dragengine.ConversationSystem.SimpleConversationActor.forEachGesture ( Block ablock)

Visit gestures with block.

Block is required to have signature void(StringID gesture) or void(int index, StringID gesture).

Referenced by setLookAt().

◆ getActorId()

StringID Dragengine.ConversationSystem.SimpleConversationActor.getActorId ( )

Conversation actor identifier or alias.

Referenced by getDelay().

◆ getCamera()

StringID Dragengine.ConversationSystem.SimpleConversationActor.getCamera ( )

Identifier of camera to switch to.

References pCamera, pDelay, and pStyle.

Referenced by setProlongLastGesture().

◆ getDelay()

float Dragengine.ConversationSystem.SimpleConversationActor.getDelay ( )

Delay in seconds before activating action.

Default value is 0.25.

References getActorId(), and pActorId.

Referenced by getFacePose().

◆ getFacePose()

StringID Dragengine.ConversationSystem.SimpleConversationActor.getFacePose ( )

Face pose or null.

References getDelay(), and pDelay.

Referenced by setLookAt().

◆ getGestureAt()

StringID Dragengine.ConversationSystem.SimpleConversationActor.getGestureAt ( int index)

Gesture at index.

References getStyle(), pStyle, and setStyle().

Referenced by setLookAt().

◆ getGestureCount()

int Dragengine.ConversationSystem.SimpleConversationActor.getGestureCount ( )

Count of gestures.

References pCamera.

Referenced by setLookAt().

◆ getId()

StringID Dragengine.ConversationSystem.SimpleConversationActor.getId ( )

Identifier.

References pGestures, and pUseSpeechAnimation.

Referenced by setStyle().

◆ getLookAt()

StringID Dragengine.ConversationSystem.SimpleConversationActor.getLookAt ( )

Look-at or null.

References pDelay.

Referenced by setLookAt().

◆ getProlongLastGesture()

float Dragengine.ConversationSystem.SimpleConversationActor.getProlongLastGesture ( )

Amount of seconds to prolong last gesture beyond end of speech.

Default value is 0.25.

References pActorId.

Referenced by setLookAt().

◆ getStyle()

StringID Dragengine.ConversationSystem.SimpleConversationActor.getStyle ( )

Text box text style or null.

References pFacePose.

Referenced by getGestureAt().

◆ getUseSpeechAnimation()

bool Dragengine.ConversationSystem.SimpleConversationActor.getUseSpeechAnimation ( )

Speech animation is used for this action.

Referenced by setLookAt().

◆ new() [1/2]

SimpleConversationActor Dragengine.ConversationSystem.SimpleConversationActor.new ( SimpleConversationActor actor)

Create copy of simple conversation camera definition.

References pDelay, and pId.

◆ new() [2/2]

SimpleConversationActor Dragengine.ConversationSystem.SimpleConversationActor.new ( StringID id)

Create simple conversation camera definition.

References new().

Referenced by new().

◆ setActorId()

void Dragengine.ConversationSystem.SimpleConversationActor.setActorId ( StringID identifier)

Set conversation actor identifier or alias.

References pActorId, and pId.

Referenced by setDelay().

◆ setCamera()

void Dragengine.ConversationSystem.SimpleConversationActor.setCamera ( StringID camera)

Set identifier of camera to switch to.

References pGestures, and pUseSpeechAnimation.

Referenced by setUseSpeechAnimation().

◆ setDelay()

void Dragengine.ConversationSystem.SimpleConversationActor.setDelay ( float seconds)

Set delay in seconds before activating action.

References setActorId().

Referenced by setFacePose().

◆ setFacePose()

void Dragengine.ConversationSystem.SimpleConversationActor.setFacePose ( StringID facePose)

Set face pose or null.

References setDelay().

Referenced by setLookAt().

◆ setLookAt()

◆ setProlongLastGesture()

void Dragengine.ConversationSystem.SimpleConversationActor.setProlongLastGesture ( float seconds)

Set amount of seconds to prolong last gesture beyond end of speech.

References getCamera(), and pCamera.

Referenced by setLookAt().

◆ setStyle()

void Dragengine.ConversationSystem.SimpleConversationActor.setStyle ( StringID style)

Set text box text style or null.

References getId(), and pId.

Referenced by getGestureAt().

◆ setUseSpeechAnimation()

void Dragengine.ConversationSystem.SimpleConversationActor.setUseSpeechAnimation ( bool useSpeechAnimation)

Set if speech animation is used for this action.

References setCamera().

Referenced by setLookAt().

Member Data Documentation

◆ pActorId

StringID Dragengine.ConversationSystem.SimpleConversationActor.pActorId

◆ pCamera

StringID Dragengine.ConversationSystem.SimpleConversationActor.pCamera

◆ pDelay

float Dragengine.ConversationSystem.SimpleConversationActor.pDelay

Referenced by getCamera(), getFacePose(), getLookAt(), and new().

◆ pFacePose

StringID Dragengine.ConversationSystem.SimpleConversationActor.pFacePose

Referenced by getStyle(), and setLookAt().

◆ pGestures

Array Dragengine.ConversationSystem.SimpleConversationActor.pGestures

Referenced by getId(), setCamera(), and setLookAt().

◆ pId

StringID Dragengine.ConversationSystem.SimpleConversationActor.pId

Referenced by new(), setActorId(), and setStyle().

◆ pStyle

StringID Dragengine.ConversationSystem.SimpleConversationActor.pStyle

Referenced by getCamera(), and getGestureAt().

◆ pUseSpeechAnimation

bool Dragengine.ConversationSystem.SimpleConversationActor.pUseSpeechAnimation

Referenced by getId(), setCamera(), and setLookAt().


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