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