Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.ConversationSystem.ConversationTarget Class Reference

Target in a conversation script. More...

Inheritance diagram for Dragengine.ConversationSystem.ConversationTarget:

Public Member Functions

StringID getActorID ()
 Actor ID or null if not set.
String getBone ()
 Bone name or null to not use a bone.
StringID getCoordSystemID ()
 Coordinate system ID or null if not set.
StringID getName ()
 Unique name of target.
Quaternion getOrientation ()
 Orientation relative to target.
Vector getPosition ()
 Position relative to target.
ConversationTarget new (StringID name)
 Create conversation target.
void setActorID (StringID id)
 Set actor ID or null if not set.
void setBone (String bone)
 Set bone name or null to not use a bone.
void setCoordSystemID (StringID id)
 Set coordinate system ID or null if not set.
void setOrientation (Quaternion orientation)
 Set orientation relative to target.
void setPosition (Vector position)
 Set position relative to target.
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write to file.

Static Public Member Functions

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

Detailed Description

Target in a conversation script.

Member Function Documentation

◆ getActorID()

StringID Dragengine.ConversationSystem.ConversationTarget.getActorID ( )

Actor ID or null if not set.

Referenced by getCoordSystemID().

◆ getBone()

String Dragengine.ConversationSystem.ConversationTarget.getBone ( )

Bone name or null to not use a bone.

References setActorID().

Referenced by setOrientation().

◆ getCoordSystemID()

StringID Dragengine.ConversationSystem.ConversationTarget.getCoordSystemID ( )

Coordinate system ID or null if not set.

References getActorID().

Referenced by getPosition().

◆ getName()

StringID Dragengine.ConversationSystem.ConversationTarget.getName ( )

Unique name of target.

Referenced by setActorID().

◆ getOrientation()

Quaternion Dragengine.ConversationSystem.ConversationTarget.getOrientation ( )

Orientation relative to target.

Referenced by writeToFile().

◆ getPosition()

Vector Dragengine.ConversationSystem.ConversationTarget.getPosition ( )

Position relative to target.

References getCoordSystemID().

Referenced by writeToFile().

◆ new()

ConversationTarget Dragengine.ConversationSystem.ConversationTarget.new ( StringID name)

Create conversation target.

References new().

Referenced by new().

◆ readFromFile()

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

Read from file.

References setBone().

Referenced by writeToFile().

◆ setActorID()

void Dragengine.ConversationSystem.ConversationTarget.setActorID ( StringID id)

Set actor ID or null if not set.

References getName().

Referenced by getBone().

◆ setBone()

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

Set bone name or null to not use a bone.

Referenced by readFromFile().

◆ setCoordSystemID()

void Dragengine.ConversationSystem.ConversationTarget.setCoordSystemID ( StringID id)

Set coordinate system ID or null if not set.

Referenced by setPosition().

◆ setOrientation()

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

Set orientation relative to target.

References getBone().

Referenced by writeToFile().

◆ setPosition()

void Dragengine.ConversationSystem.ConversationTarget.setPosition ( Vector position)

Set position relative to target.

References setCoordSystemID().

Referenced by writeToFile().

◆ writeToFile()

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

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