Drag[en]gine Script Module DragonScript  1.23
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. More...
 
String getBone ()
 Bone name or null to not use a bone. More...
 
StringID getCoordSystemID ()
 Coordinate system ID or null if not set. More...
 
StringID getName ()
 Unique name of target. More...
 
Quaternion getOrientation ()
 Orientation relative to target. More...
 
Vector getPosition ()
 Position relative to target. More...
 
ConversationTarget new (StringID name)
 Create conversation target. More...
 
void setActorID (StringID id)
 Set actor ID or null if not set. More...
 
void setBone (String bone)
 Set bone name or null to not use a bone. More...
 
void setCoordSystemID (StringID id)
 Set coordinate system ID or null if not set. More...
 
void setOrientation (Quaternion orientation)
 Set orientation relative to target. More...
 
void setPosition (Vector position)
 Set position relative to target. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write to file. More...
 

Static Public Member Functions

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

Detailed Description

Target in a conversation script.

Member Function Documentation

◆ getActorID()

StringID Dragengine.ConversationSystem.ConversationTarget.getActorID ( )

Actor ID or null if not set.

◆ getBone()

String Dragengine.ConversationSystem.ConversationTarget.getBone ( )

Bone name or null to not use a bone.

◆ getCoordSystemID()

StringID Dragengine.ConversationSystem.ConversationTarget.getCoordSystemID ( )

Coordinate system ID or null if not set.

◆ getName()

StringID Dragengine.ConversationSystem.ConversationTarget.getName ( )

Unique name of target.

◆ getOrientation()

Quaternion Dragengine.ConversationSystem.ConversationTarget.getOrientation ( )

Orientation relative to target.

◆ getPosition()

Vector Dragengine.ConversationSystem.ConversationTarget.getPosition ( )

Position relative to target.

◆ new()

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

Create conversation target.

◆ readFromFile()

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

Read from file.

◆ setActorID()

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

Set actor ID or null if not set.

◆ setBone()

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

Set bone name or null to not use a bone.

◆ setCoordSystemID()

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

Set coordinate system ID or null if not set.

◆ setOrientation()

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

Set orientation relative to target.

◆ setPosition()

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

Set position relative to target.

◆ writeToFile()

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

Write to file.


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