|
Drag[en]gine Script Module DragonScript 1.32.1
|
Target in a conversation script. More...
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. | |
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.