Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.ElementConvoCoordSystem Class Reference

Coordinate system for use in conversation relative to an element. More...

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

Public Member Functions

void dispose ()
 Dispose of the coordinate system breaking cyclic references. More...
 
Element getElement ()
 Element to use. More...
 
DMatrix getMatrix ()
 Coordinate system matrix. More...
 
ElementConvoCoordSystem new (ElementConvoCoordSystem coordSystem)
 Create copy of conversation coordinate system. More...
 
ElementConvoCoordSystem new (StringID id, DMatrix localMatrix, Element element)
 Create conversation coordinate system. More...
 
ElementConvoCoordSystem new (StringID id, Element element)
 Create conversation coordinate system. More...
 
- Public Member Functions inherited from Dragengine.ConversationSystem.ConversationCoordSystem
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...
 
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...
 

Detailed Description

Coordinate system for use in conversation relative to an element.

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. This class places the coordinate system relative to the coordinate system of an element.

Note
The element is not persisted since it is set only during construction time.

Member Function Documentation

◆ dispose()

void Dragengine.Scenery.ElementConvoCoordSystem.dispose ( )

Dispose of the coordinate system breaking cyclic references.

Reimplemented from Dragengine.ConversationSystem.ConversationCoordSystem.

◆ getElement()

Element Dragengine.Scenery.ElementConvoCoordSystem.getElement ( )

Element to use.

◆ getMatrix()

DMatrix Dragengine.Scenery.ElementConvoCoordSystem.getMatrix ( )

Coordinate system matrix.

Reimplemented from Dragengine.ConversationSystem.ConversationCoordSystem.

◆ new() [1/3]

ElementConvoCoordSystem Dragengine.Scenery.ElementConvoCoordSystem.new ( ElementConvoCoordSystem  coordSystem)

Create copy of conversation coordinate system.

◆ new() [2/3]

ElementConvoCoordSystem Dragengine.Scenery.ElementConvoCoordSystem.new ( StringID  id,
DMatrix  localMatrix,
Element  element 
)

Create conversation coordinate system.

◆ new() [3/3]

ElementConvoCoordSystem Dragengine.Scenery.ElementConvoCoordSystem.new ( StringID  id,
Element  element 
)

Create conversation coordinate system.


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