|
Drag[en]gine Script Module DragonScript 1.35
|
Coordinate system for use in conversation. More...
Public Member Functions | |
| void | dispose () |
| Dispose of the coordinate system breaking cyclic references. | |
| StringID | getAliasID () |
| Optional unique alias identifier of the coordinate system in the conversation. | |
| StringID | getID () |
| Unique identifier of the actor in the conversation. | |
| DMatrix | getLocalMatrix () |
| Local matrix to use. | |
| DMatrix | getMatrix () |
| Coordinate system matrix. | |
| ConversationCoordSystem | new (ConversationCoordSystem coordSystem) |
| Create copy of conversation coordinate system. | |
| ConversationCoordSystem | new (StringID id) |
| Create conversation coordinate system. | |
| ConversationCoordSystem | new (StringID id, DMatrix localMatrix) |
| Create conversation coordinate system. | |
| void | readFromFile (PersistencyEnvironment env, FileReader reader) |
| Read from file. | |
| void | setAliasID (StringID id) |
| Set optional unique alias identifier of the coordinate system in the conversation. | |
| void | setLocalMatrix (DMatrix matrix) |
| Set local matrix to use. | |
| void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
| Write to file. | |
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.
Referenced by setAliasID().
| StringID Dragengine.ConversationSystem.ConversationCoordSystem.getAliasID | ( | ) |
Optional unique alias identifier of the coordinate system in the conversation.
Referenced by getMatrix().
| StringID Dragengine.ConversationSystem.ConversationCoordSystem.getID | ( | ) |
Unique identifier of the actor in the conversation.
Referenced by setLocalMatrix().
| DMatrix Dragengine.ConversationSystem.ConversationCoordSystem.getLocalMatrix | ( | ) |
Local matrix to use.
Referenced by readFromFile().
| DMatrix Dragengine.ConversationSystem.ConversationCoordSystem.getMatrix | ( | ) |
Coordinate system matrix.
Reimplemented in Dragengine.Scenery.ElementConvoCoordSystem.
References getAliasID(), and setAliasID().
Referenced by writeToFile().
| ConversationCoordSystem Dragengine.ConversationSystem.ConversationCoordSystem.new | ( | ConversationCoordSystem | coordSystem | ) |
Create copy of conversation coordinate system.
| ConversationCoordSystem Dragengine.ConversationSystem.ConversationCoordSystem.new | ( | StringID | id | ) |
| ConversationCoordSystem Dragengine.ConversationSystem.ConversationCoordSystem.new | ( | StringID | id, |
| DMatrix | localMatrix ) |
Create conversation coordinate system.
References new().
| void Dragengine.ConversationSystem.ConversationCoordSystem.readFromFile | ( | PersistencyEnvironment | env, |
| FileReader | reader ) |
Read from file.
Used if ConversationPlayback.createConversationCoordSystem() is used.
References getLocalMatrix().
Referenced by writeToFile().
| void Dragengine.ConversationSystem.ConversationCoordSystem.setAliasID | ( | StringID | id | ) |
Set optional unique alias identifier of the coordinate system in the conversation.
References dispose().
Referenced by getMatrix().
| void Dragengine.ConversationSystem.ConversationCoordSystem.setLocalMatrix | ( | DMatrix | matrix | ) |
| void Dragengine.ConversationSystem.ConversationCoordSystem.writeToFile | ( | PersistencyEnvironment | env, |
| FileWriter | writer ) |
Write to file.
Used if ConversationPlayback.createConversationCoordSystem() is used.
References getMatrix(), readFromFile(), setLocalMatrix(), and writeToFile().
Referenced by writeToFile().