Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
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.
String getBone ()
 Bone or null if not used.
ConversationCoordSystem getCoordSystem ()
 Coordinate system the look-at is relative to or null if in world space.
ConversationCustomTarget getCustomTarget ()
 Custom target or null if not used.
DMatrix getLookAtMatrix (ConversationPlayback playback)
 Current look-at world matrix.
DVector getLookAtPosition (ConversationPlayback playback)
 Current look-at world position.
Quaternion getOrientation ()
 Orientation.
DVector getPosition ()
 Position.
bool getUsePlaybackCamera ()
 Use playback camera as target.
ConversationPlaybackLookAt new ()
 Create look-at.
ConversationPlaybackLookAt new (ConversationCustomTarget target)
 Create look-at relative to custom conversation target.
ConversationPlaybackLookAt new (ConversationCustomTarget target, DVector displacement)
 Create look-at relative to custom conversation target.
ConversationPlaybackLookAt new (ConversationCustomTarget target, DVector displacement, Quaternion orientation)
 Create look-at relative to custom conversation target.
ConversationPlaybackLookAt new (ConversationPlayback playback, ConversationTarget target)
 Create look-at with dynamic conversation target.
void playbackRestoreObjectLinks (ConversationPlayback playback)
 Restore linked objects after loading.
void setActor (ConversationActor actor)
 Set actor the look-at is relative to or null if in world space.
void setBone (String bone)
 Set bone or null if not used.
void setCoordSystem (ConversationCoordSystem coordSystem)
 Set coordinate system the look-at is relative to or null if in world space.
void setCustomTarget (ConversationCustomTarget target)
 Set custom target or null if not used.
void setOrientation (Quaternion orientation)
 Set orientation.
void setPosition (DVector position)
 Set position.
void setUsePlaybackCamera (bool usePlaybackCamera)
 Set if playback camera is used as target.
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write object to file writer.

Static Public Member Functions

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

Public Attributes

ConversationActor pActor
String pBone
ConversationCoordSystem pCoordSystem
ConversationCustomTarget pCustomTarget
DMatrix pLocalMatrix
Quaternion pOrientation
DVector pPosition
ConversationTarget pTarget
bool pUsePlaybackCamera

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.

References pOrientation, and pPosition.

Referenced by writeToFile().

◆ getBone()

String Dragengine.ConversationSystem.ConversationPlaybackLookAt.getBone ( )

Bone or null if not used.

Referenced by getLookAtPosition().

◆ getCoordSystem()

ConversationCoordSystem Dragengine.ConversationSystem.ConversationPlaybackLookAt.getCoordSystem ( )

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

References getPosition(), and pPosition.

Referenced by writeToFile().

◆ getCustomTarget()

ConversationCustomTarget Dragengine.ConversationSystem.ConversationPlaybackLookAt.getCustomTarget ( )

Custom target or null if not used.

References pLocalMatrix.

Referenced by writeToFile().

◆ getLookAtMatrix()

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

Current look-at world matrix.

References setOrientation().

Referenced by writeToFile().

◆ getLookAtPosition()

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

Current look-at world position.

References getBone(), pBone, pLocalMatrix, and pOrientation.

Referenced by writeToFile().

◆ getOrientation()

Quaternion Dragengine.ConversationSystem.ConversationPlaybackLookAt.getOrientation ( )

Orientation.

Referenced by setCustomTarget().

◆ getPosition()

DVector Dragengine.ConversationSystem.ConversationPlaybackLookAt.getPosition ( )

Position.

References pActor.

Referenced by getCoordSystem(), and writeToFile().

◆ getUsePlaybackCamera()

bool Dragengine.ConversationSystem.ConversationPlaybackLookAt.getUsePlaybackCamera ( )

Use playback camera as target.

References setPosition().

Referenced by writeToFile().

◆ new() [1/5]

ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new ( )

Create look-at.

References new(), pOrientation, and pPosition.

Referenced by new().

◆ new() [2/5]

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

Create look-at relative to custom conversation target.

References pTarget.

◆ new() [3/5]

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

Create look-at relative to custom conversation target.

References pBone, pOrientation, and pPosition.

◆ new() [4/5]

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

Create look-at relative to custom conversation target.

References pCoordSystem.

◆ 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.

References setBone().

Referenced by writeToFile().

◆ readFromFile()

ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.readFromFile ( PersistencyEnvironment env,
FileReader reader )
static

Read from file.

References pBone.

Referenced by writeToFile().

◆ setActor()

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

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

Referenced by writeToFile().

◆ setBone()

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

Set bone or null if not used.

References pCustomTarget.

Referenced by playbackRestoreObjectLinks().

◆ setCoordSystem()

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

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

Referenced by writeToFile().

◆ setCustomTarget()

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

Set custom target or null if not used.

References getOrientation(), and pOrientation.

Referenced by writeToFile().

◆ setOrientation()

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

Set orientation.

Referenced by getLookAtMatrix().

◆ setPosition()

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

Set position.

References pUsePlaybackCamera.

Referenced by getUsePlaybackCamera().

◆ setUsePlaybackCamera()

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

Set if playback camera is used as target.

References pPosition.

Referenced by writeToFile().

◆ writeToFile()

Member Data Documentation

◆ pActor

ConversationActor Dragengine.ConversationSystem.ConversationPlaybackLookAt.pActor

Referenced by getPosition(), and writeToFile().

◆ pBone

String Dragengine.ConversationSystem.ConversationPlaybackLookAt.pBone

◆ pCoordSystem

ConversationCoordSystem Dragengine.ConversationSystem.ConversationPlaybackLookAt.pCoordSystem

Referenced by new(), and writeToFile().

◆ pCustomTarget

ConversationCustomTarget Dragengine.ConversationSystem.ConversationPlaybackLookAt.pCustomTarget

Referenced by setBone(), and writeToFile().

◆ pLocalMatrix

DMatrix Dragengine.ConversationSystem.ConversationPlaybackLookAt.pLocalMatrix

◆ pOrientation

Quaternion Dragengine.ConversationSystem.ConversationPlaybackLookAt.pOrientation

◆ pPosition

DVector Dragengine.ConversationSystem.ConversationPlaybackLookAt.pPosition

◆ pTarget

ConversationTarget Dragengine.ConversationSystem.ConversationPlaybackLookAt.pTarget

Referenced by new(), and writeToFile().

◆ pUsePlaybackCamera

bool Dragengine.ConversationSystem.ConversationPlaybackLookAt.pUsePlaybackCamera

Referenced by setPosition(), and writeToFile().


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