Drag[en]gine Script Module DragonScript Script API  1.0
ConversationGesturePlayback Class Reference

Conversation gesture playback. More...

Inheritance diagram for ConversationGesturePlayback:


class  Gesture
 Gesture. More...

Public Member Functions

void addGesture (StringID animatorID, bool hold, ConversationStrip strip)
 Add gesture. More...
AnimatorInstance getAnimatorInstance ()
 Animator instance. More...
float getElapsed ()
 Elapsed time. More...
Gesture getGestureAt (int position)
 Gesture by position. More...
int getGestureCount ()
 Number of gestures. More...
int getPosition ()
 Playback position. More...
bool getRunning ()
 Playback is running. More...
void initNextGesture (ConversationActor actor)
 Init next gesture to play. More...
ConversationGesturePlayback new ()
 Create gesture playback. More...
void onFinished ()
void readFromFile (PersistencyEnvironment env, FileReader reader)
 Read from file. More...
void removeAllGestures ()
 Remove all gestures. More...
void update (ConversationActor actor, AnimatorInstance poseAnimatorInstance, float elapsed)
 Update playback. More...
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write to file. More...

Detailed Description

Conversation gesture playback.

Member Function Documentation

◆ addGesture()

void addGesture ( StringID  animatorID,
bool  hold,
ConversationStrip  strip 

Add gesture.

◆ getAnimatorInstance()

AnimatorInstance getAnimatorInstance ( )

Animator instance.

◆ getElapsed()

float getElapsed ( )

Elapsed time.

◆ getGestureAt()

Gesture getGestureAt ( int  position)

Gesture by position.

◆ getGestureCount()

int getGestureCount ( )

Number of gestures.

◆ getPosition()

int getPosition ( )

Playback position.

◆ getRunning()

bool getRunning ( )

Playback is running.

◆ initNextGesture()

void initNextGesture ( ConversationActor  actor)

Init next gesture to play.

◆ new()

Create gesture playback.

◆ onFinished()

void onFinished ( )

Finished playing back the gestures. Hook for subclasses.

◆ readFromFile()

void readFromFile ( PersistencyEnvironment  env,
FileReader  reader 

Read from file.

◆ removeAllGestures()

void removeAllGestures ( )

Remove all gestures.

◆ update()

void update ( ConversationActor  actor,
AnimatorInstance  poseAnimatorInstance,
float  elapsed 

Update playback.

◆ writeToFile()

void writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 

Write to file.

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