Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.ConversationSystem.ConversationCoordSystem Class Reference

Coordinate system for use in conversation. More...

Inheritance diagram for Dragengine.ConversationSystem.ConversationCoordSystem:
Dragengine.Scenery.ElementConvoCoordSystem

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.

Detailed Description

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.

Member Function Documentation

◆ dispose()

void Dragengine.ConversationSystem.ConversationCoordSystem.dispose ( )

Dispose of the coordinate system breaking cyclic references.

Reimplemented in Dragengine.Scenery.ElementConvoCoordSystem.

Referenced by setAliasID().

◆ getAliasID()

StringID Dragengine.ConversationSystem.ConversationCoordSystem.getAliasID ( )

Optional unique alias identifier of the coordinate system in the conversation.

Referenced by getMatrix().

◆ getID()

StringID Dragengine.ConversationSystem.ConversationCoordSystem.getID ( )

Unique identifier of the actor in the conversation.

Referenced by setLocalMatrix().

◆ getLocalMatrix()

DMatrix Dragengine.ConversationSystem.ConversationCoordSystem.getLocalMatrix ( )

Local matrix to use.

Referenced by readFromFile().

◆ getMatrix()

DMatrix Dragengine.ConversationSystem.ConversationCoordSystem.getMatrix ( )

Coordinate system matrix.

Reimplemented in Dragengine.Scenery.ElementConvoCoordSystem.

References getAliasID(), and setAliasID().

Referenced by writeToFile().

◆ new() [1/3]

ConversationCoordSystem Dragengine.ConversationSystem.ConversationCoordSystem.new ( ConversationCoordSystem coordSystem)

Create copy of conversation coordinate system.

◆ new() [2/3]

ConversationCoordSystem Dragengine.ConversationSystem.ConversationCoordSystem.new ( StringID id)

Create conversation coordinate system.

References new().

Referenced by new(), and new().

◆ new() [3/3]

ConversationCoordSystem Dragengine.ConversationSystem.ConversationCoordSystem.new ( StringID id,
DMatrix localMatrix )

Create conversation coordinate system.

References new().

◆ readFromFile()

void Dragengine.ConversationSystem.ConversationCoordSystem.readFromFile ( PersistencyEnvironment env,
FileReader reader )

Read from file.

Used if ConversationPlayback.createConversationCoordSystem() is used.

References getLocalMatrix().

Referenced by writeToFile().

◆ setAliasID()

void Dragengine.ConversationSystem.ConversationCoordSystem.setAliasID ( StringID id)

Set optional unique alias identifier of the coordinate system in the conversation.

References dispose().

Referenced by getMatrix().

◆ setLocalMatrix()

void Dragengine.ConversationSystem.ConversationCoordSystem.setLocalMatrix ( DMatrix matrix)

Set local matrix to use.

References getID().

Referenced by writeToFile().

◆ writeToFile()

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().


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