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

Conversation playback look-at. More...

Inheritance diagram for ConversationPlaybackLookAt:

Public Member Functions

ConversationActor getActor ()
 Actor the look-at is relative to or null if in world space. More...
 
String getBone ()
 Bone or null if not used. More...
 
ConversationCoordSystem getCoordSystem ()
 Coordinate system the look-at is relative to or null if in world space. More...
 
ConversationCustomTarget getCustomTarget ()
 Custom target or null if not used. More...
 
DMatrix getLookAtMatrix (ConversationPlayback playback)
 Current look-at world matrix. More...
 
DVector getLookAtPosition (ConversationPlayback playback)
 Current look-at world position. More...
 
Quaternion getOrientation ()
 Orientation. More...
 
DVector getPosition ()
 Position. More...
 
bool getUsePlaybackCamera ()
 Use playback camera as target. More...
 
ConversationPlaybackLookAt new ()
 Create look-at. More...
 
ConversationPlaybackLookAt new (ConversationPlayback playback, ConversationTarget target)
 Create look-at with dynamic conversation target. More...
 
ConversationPlaybackLookAt new (ConversationCustomTarget target)
 Create look-at relative to custom conversation target. More...
 
ConversationPlaybackLookAt new (ConversationCustomTarget target, DVector displacement)
 Create look-at relative to custom conversation target. More...
 
ConversationPlaybackLookAt new (ConversationCustomTarget target, DVector displacement, Quaternion orientation)
 Create look-at relative to custom conversation target. More...
 
void playbackRestoreObjectLinks (ConversationPlayback playback)
 Restore linked objects after loading. More...
 
void setActor (ConversationActor actor)
 Set actor the look-at is relative to or null if in world space. More...
 
void setBone (String bone)
 Set bone or null if not used. More...
 
void setCoordSystem (ConversationCoordSystem coordSystem)
 Set coordinate system the look-at is relative to or null if in world space. More...
 
void setCustomTarget (ConversationCustomTarget target)
 Set custom target or null if not used. More...
 
void setOrientation (Quaternion orientation)
 Set orientation. More...
 
void setPosition (DVector position)
 Set position. More...
 
void setUsePlaybackCamera (bool usePlaybackCamera)
 Set if playback camera is used as target. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write object to file writer. More...
 

Static Public Member Functions

static ConversationPlaybackLookAt readFromFile (PersistencyEnvironment env, FileReader reader)
 Read from file. More...
 

Detailed Description

Conversation playback look-at.

Member Function Documentation

◆ getActor()

ConversationActor getActor ( )

Actor the look-at is relative to or null if in world space.

◆ getBone()

String getBone ( )

Bone or null if not used.

◆ getCoordSystem()

ConversationCoordSystem getCoordSystem ( )

Coordinate system the look-at is relative to or null if in world space.

◆ getCustomTarget()

ConversationCustomTarget getCustomTarget ( )

Custom target or null if not used.

◆ getLookAtMatrix()

DMatrix getLookAtMatrix ( ConversationPlayback  playback)

Current look-at world matrix.

◆ getLookAtPosition()

DVector getLookAtPosition ( ConversationPlayback  playback)

Current look-at world position.

◆ getOrientation()

Quaternion getOrientation ( )

Orientation.

◆ getPosition()

DVector getPosition ( )

Position.

◆ getUsePlaybackCamera()

bool getUsePlaybackCamera ( )

Use playback camera as target.

◆ new() [1/5]

Create look-at.

◆ new() [2/5]

Create look-at with dynamic conversation target.

◆ new() [3/5]

Create look-at relative to custom conversation target.

◆ new() [4/5]

ConversationPlaybackLookAt new ( ConversationCustomTarget  target,
DVector  displacement 
)

Create look-at relative to custom conversation target.

◆ new() [5/5]

ConversationPlaybackLookAt new ( ConversationCustomTarget  target,
DVector  displacement,
Quaternion  orientation 
)

Create look-at relative to custom conversation target.

◆ 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()

static ConversationPlaybackLookAt readFromFile ( PersistencyEnvironment  env,
FileReader  reader 
)
static

Read from file.

◆ setActor()

void setActor ( ConversationActor  actor)

Set actor the look-at is relative to or null if in world space.

◆ setBone()

void setBone ( String  bone)

Set bone or null if not used.

◆ setCoordSystem()

void setCoordSystem ( ConversationCoordSystem  coordSystem)

Set coordinate system the look-at is relative to or null if in world space.

◆ setCustomTarget()

void setCustomTarget ( ConversationCustomTarget  target)

Set custom target or null if not used.

◆ setOrientation()

void setOrientation ( Quaternion  orientation)

Set orientation.

◆ setPosition()

void setPosition ( DVector  position)

Set position.

◆ setUsePlaybackCamera()

void setUsePlaybackCamera ( bool  usePlaybackCamera)

Set if playback camera is used as target.

◆ writeToFile()

void writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Write object to file writer.


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