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

Play back conversation look-ats. More...

Inheritance diagram for ConversationLookAtPlayback:

Classes

class  LookAt
 Look-at. More...
 

Public Member Functions

void addFadeOutLookAt (float transitionTime)
 Add fade out look-at. More...
 
void addLookAt (ConversationPlaybackLookAt lookAt, ConversationStrip strip)
 Add strip. More...
 
void clearLookAtState ()
 Clear current look-at state allowing the actor to take over control. More...
 
ConversationPlaybackLookAt getCurrentLookAt ()
 Current look-at to blend with or null if not set. More...
 
DVector getCurrentLookAtPosition ()
 Current look-at position to blend with or null if not set. More...
 
float getElapsed ()
 Elapsed time. More...
 
DMatrix getInverseMatrix (ConversationActor actor)
 Calculate the inverse matrix. More...
 
ConversationPlaybackLookAt getLastLookAt ()
 Last look-at to blend from or null if not set. More...
 
DVector getLastLookAtPosition ()
 Last look-at position to blend from or null if not set. More...
 
Array getLookAts ()
 Look-ats to play back. More...
 
bool getRunning ()
 A strip is running. More...
 
ConversationLookAtPlayback new ()
 Create look-at playback. More...
 
void playbackRestoreObjectLinks (ConversationPlayback playback)
 Restore linked objects after loading. More...
 
void readFromFile (PersistencyEnvironment env, FileReader reader)
 Read element from a file. More...
 
void removeAllLookAts ()
 Remove all look-ats. More...
 
void setCurrentLookAt (ConversationPlaybackLookAt lookAt)
 Set current look-at to blend with or null if not set. More...
 
void setCurrentLookAtPosition (DVector position)
 Set current look-at position to blend with or null if not set. More...
 
void setLastLookAt (ConversationPlaybackLookAt lookAt)
 Set last look-at to blend from or null if not set. More...
 
void setLastLookAtPosition (DVector position)
 Set last look-at position to blend from or null if not set. More...
 
void update (ConversationActor actor, float elapsed)
 Update playback. More...
 
void updateActorLookAt (ConversationActor actor, float blendFactor)
 Update actor look-at. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Writes to file. More...
 

Detailed Description

Play back conversation look-ats.

Member Function Documentation

◆ addFadeOutLookAt()

void addFadeOutLookAt ( float  transitionTime)

Add fade out look-at.

◆ addLookAt()

void addLookAt ( ConversationPlaybackLookAt  lookAt,
ConversationStrip  strip 
)

Add strip.

◆ clearLookAtState()

void clearLookAtState ( )

Clear current look-at state allowing the actor to take over control.

◆ getCurrentLookAt()

ConversationPlaybackLookAt getCurrentLookAt ( )

Current look-at to blend with or null if not set.

◆ getCurrentLookAtPosition()

DVector getCurrentLookAtPosition ( )

Current look-at position to blend with or null if not set.

◆ getElapsed()

float getElapsed ( )

Elapsed time.

◆ getInverseMatrix()

DMatrix getInverseMatrix ( ConversationActor  actor)

Calculate the inverse matrix.

◆ getLastLookAt()

ConversationPlaybackLookAt getLastLookAt ( )

Last look-at to blend from or null if not set.

◆ getLastLookAtPosition()

DVector getLastLookAtPosition ( )

Last look-at position to blend from or null if not set.

◆ getLookAts()

Array getLookAts ( )

Look-ats to play back.

◆ getRunning()

bool getRunning ( )

A strip is running.

◆ new()

Create look-at playback.

◆ playbackRestoreObjectLinks()

void playbackRestoreObjectLinks ( ConversationPlayback  playback)

Restore linked objects after loading.

While loading playback object is not available yet. Linked objects can not be restored during readFromFile(). Once all loading is done and the playback is present objects this call is used to restore the object links.

◆ readFromFile()

void readFromFile ( PersistencyEnvironment  env,
FileReader  reader 
)

Read element from a file.

◆ removeAllLookAts()

void removeAllLookAts ( )

Remove all look-ats.

◆ setCurrentLookAt()

void setCurrentLookAt ( ConversationPlaybackLookAt  lookAt)

Set current look-at to blend with or null if not set.

◆ setCurrentLookAtPosition()

void setCurrentLookAtPosition ( DVector  position)

Set current look-at position to blend with or null if not set.

◆ setLastLookAt()

void setLastLookAt ( ConversationPlaybackLookAt  lookAt)

Set last look-at to blend from or null if not set.

◆ setLastLookAtPosition()

void setLastLookAtPosition ( DVector  position)

Set last look-at position to blend from or null if not set.

◆ update()

void update ( ConversationActor  actor,
float  elapsed 
)

Update playback.

◆ updateActorLookAt()

void updateActorLookAt ( ConversationActor  actor,
float  blendFactor 
)

Update actor look-at.

Default implementation does nothing.

◆ writeToFile()

void writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Writes to file.


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