Drag[en]gine Script Module DragonScript  1.23
Dragengine.ConversationSystem.ConversationPlaybackLookAt Class Reference

Conversation playback look-at. More...

Inheritance diagram for Dragengine.ConversationSystem.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 (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...
 
ConversationPlaybackLookAt new (ConversationPlayback playback, ConversationTarget target)
 Create look-at with dynamic 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 Dragengine.ConversationSystem.ConversationPlaybackLookAt.getActor ( )

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

◆ getBone()

String Dragengine.ConversationSystem.ConversationPlaybackLookAt.getBone ( )

Bone or null if not used.

◆ getCoordSystem()

ConversationCoordSystem Dragengine.ConversationSystem.ConversationPlaybackLookAt.getCoordSystem ( )

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

◆ getCustomTarget()

ConversationCustomTarget Dragengine.ConversationSystem.ConversationPlaybackLookAt.getCustomTarget ( )

Custom target or null if not used.

◆ getLookAtMatrix()

DMatrix Dragengine.ConversationSystem.ConversationPlaybackLookAt.getLookAtMatrix ( ConversationPlayback  playback)

Current look-at world matrix.

◆ getLookAtPosition()

DVector Dragengine.ConversationSystem.ConversationPlaybackLookAt.getLookAtPosition ( ConversationPlayback  playback)

Current look-at world position.

◆ getOrientation()

Quaternion Dragengine.ConversationSystem.ConversationPlaybackLookAt.getOrientation ( )

Orientation.

◆ getPosition()

DVector Dragengine.ConversationSystem.ConversationPlaybackLookAt.getPosition ( )

Position.

◆ getUsePlaybackCamera()

bool Dragengine.ConversationSystem.ConversationPlaybackLookAt.getUsePlaybackCamera ( )

Use playback camera as target.

◆ new() [1/5]

ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new ( )

Create look-at.

◆ new() [2/5]

ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new ( ConversationCustomTarget  target)

Create look-at relative to custom conversation target.

◆ new() [3/5]

ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new ( ConversationCustomTarget  target,
DVector  displacement 
)

Create look-at relative to custom conversation target.

◆ new() [4/5]

ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new ( ConversationCustomTarget  target,
DVector  displacement,
Quaternion  orientation 
)

Create look-at relative to custom conversation target.

◆ new() [5/5]

ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new ( ConversationPlayback  playback,
ConversationTarget  target 
)

Create look-at with dynamic conversation target.

◆ playbackRestoreObjectLinks()

void Dragengine.ConversationSystem.ConversationPlaybackLookAt.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 Dragengine.ConversationSystem.ConversationPlaybackLookAt.readFromFile ( PersistencyEnvironment  env,
FileReader  reader 
)
static

Read from file.

◆ setActor()

void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setActor ( ConversationActor  actor)

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

◆ setBone()

void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setBone ( String  bone)

Set bone or null if not used.

◆ setCoordSystem()

void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setCoordSystem ( ConversationCoordSystem  coordSystem)

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

◆ setCustomTarget()

void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setCustomTarget ( ConversationCustomTarget  target)

Set custom target or null if not used.

◆ setOrientation()

void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setOrientation ( Quaternion  orientation)

Set orientation.

◆ setPosition()

void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setPosition ( DVector  position)

Set position.

◆ setUsePlaybackCamera()

void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setUsePlaybackCamera ( bool  usePlaybackCamera)

Set if playback camera is used as target.

◆ writeToFile()

void Dragengine.ConversationSystem.ConversationPlaybackLookAt.writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Write object to file writer.


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