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 readFromFile (ConversationPlayback playback, 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 (FileWriter writer)
 

Detailed Description

Play back conversation look-ats.

Author
Roland Pl├╝ss
Version
1.0

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.

§ readFromFile()

void readFromFile ( ConversationPlayback  playback,
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 ( FileWriter  writer)

Writes the element to a file.


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