Drag[en]gine Script Module DragonScript
1.23
|
Coordinate system for use in conversation. More...
Public Member Functions | |
void | dispose () |
Dispose of the coordinate system breaking cyclic references. More... | |
StringID | getAliasID () |
Optional unique alias identifier of the coordinate system in the conversation. More... | |
StringID | getID () |
Unique identifier of the actor in the conversation. More... | |
DMatrix | getLocalMatrix () |
Local matrix to use. More... | |
DMatrix | getMatrix () |
Coordinate system matrix. More... | |
ConversationCoordSystem | new (ConversationCoordSystem coordSystem) |
Create copy of conversation coordinate system. More... | |
ConversationCoordSystem | new (StringID id) |
Create conversation coordinate system. More... | |
ConversationCoordSystem | new (StringID id, DMatrix localMatrix) |
Create conversation coordinate system. More... | |
void | readFromFile (PersistencyEnvironment env, FileReader reader) |
Read from file. More... | |
void | setAliasID (StringID id) |
Set optional unique alias identifier of the coordinate system in the conversation. More... | |
void | setLocalMatrix (DMatrix matrix) |
Set local matrix to use. More... | |
void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
Write to file. More... | |
Coordinate system for use in conversation.
Returns a coordinate system matrix for conversation targets. In contrary to conversation actors coordinate system objects can be added to multiple conversation playback objects at the same time. Conversation coordinate systems can be static or dynamic. The game scripts are responsible to update the coordinate system if it changes position or orientation dynamically.
void Dragengine.ConversationSystem.ConversationCoordSystem.dispose | ( | ) |
Dispose of the coordinate system breaking cyclic references.
Reimplemented in Dragengine.Scenery.ElementConvoCoordSystem.
StringID Dragengine.ConversationSystem.ConversationCoordSystem.getAliasID | ( | ) |
Optional unique alias identifier of the coordinate system in the conversation.
StringID Dragengine.ConversationSystem.ConversationCoordSystem.getID | ( | ) |
Unique identifier of the actor in the conversation.
DMatrix Dragengine.ConversationSystem.ConversationCoordSystem.getLocalMatrix | ( | ) |
Local matrix to use.
DMatrix Dragengine.ConversationSystem.ConversationCoordSystem.getMatrix | ( | ) |
Coordinate system matrix.
Reimplemented in Dragengine.Scenery.ElementConvoCoordSystem.
ConversationCoordSystem Dragengine.ConversationSystem.ConversationCoordSystem.new | ( | ConversationCoordSystem | coordSystem | ) |
Create copy of conversation coordinate system.
ConversationCoordSystem Dragengine.ConversationSystem.ConversationCoordSystem.new | ( | StringID | id | ) |
Create conversation coordinate system.
ConversationCoordSystem Dragengine.ConversationSystem.ConversationCoordSystem.new | ( | StringID | id, |
DMatrix | localMatrix | ||
) |
Create conversation coordinate system.
void Dragengine.ConversationSystem.ConversationCoordSystem.readFromFile | ( | PersistencyEnvironment | env, |
FileReader | reader | ||
) |
Read from file.
Used if ConversationPlayback.createConversationCoordSystem() is used.
void Dragengine.ConversationSystem.ConversationCoordSystem.setAliasID | ( | StringID | id | ) |
Set optional unique alias identifier of the coordinate system in the conversation.
void Dragengine.ConversationSystem.ConversationCoordSystem.setLocalMatrix | ( | DMatrix | matrix | ) |
Set local matrix to use.
void Dragengine.ConversationSystem.ConversationCoordSystem.writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write to file.
Used if ConversationPlayback.createConversationCoordSystem() is used.