Drag[en]gine Script Module DragonScript
1.23
|
Conversation playback look-at. More...
Public Member Functions | |
ConversationActor | getActor () |
Actor the look-at is relative to or null if in world space. More... | |
String | getBone () |
Bone or null if not used. More... | |
ConversationCoordSystem | getCoordSystem () |
Coordinate system the look-at is relative to or null if in world space. More... | |
ConversationCustomTarget | getCustomTarget () |
Custom target or null if not used. More... | |
DMatrix | getLookAtMatrix (ConversationPlayback playback) |
Current look-at world matrix. More... | |
DVector | getLookAtPosition (ConversationPlayback playback) |
Current look-at world position. More... | |
Quaternion | getOrientation () |
Orientation. More... | |
DVector | getPosition () |
Position. More... | |
bool | getUsePlaybackCamera () |
Use playback camera as target. More... | |
ConversationPlaybackLookAt | new () |
Create look-at. More... | |
ConversationPlaybackLookAt | new (ConversationCustomTarget target) |
Create look-at relative to custom conversation target. More... | |
ConversationPlaybackLookAt | new (ConversationCustomTarget target, DVector displacement) |
Create look-at relative to custom conversation target. More... | |
ConversationPlaybackLookAt | new (ConversationCustomTarget target, DVector displacement, Quaternion orientation) |
Create look-at relative to custom conversation target. More... | |
ConversationPlaybackLookAt | new (ConversationPlayback playback, ConversationTarget target) |
Create look-at with dynamic conversation target. More... | |
void | playbackRestoreObjectLinks (ConversationPlayback playback) |
Restore linked objects after loading. More... | |
void | setActor (ConversationActor actor) |
Set actor the look-at is relative to or null if in world space. More... | |
void | setBone (String bone) |
Set bone or null if not used. More... | |
void | setCoordSystem (ConversationCoordSystem coordSystem) |
Set coordinate system the look-at is relative to or null if in world space. More... | |
void | setCustomTarget (ConversationCustomTarget target) |
Set custom target or null if not used. More... | |
void | setOrientation (Quaternion orientation) |
Set orientation. More... | |
void | setPosition (DVector position) |
Set position. More... | |
void | setUsePlaybackCamera (bool usePlaybackCamera) |
Set if playback camera is used as target. More... | |
void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
Write object to file writer. More... | |
Static Public Member Functions | |
static ConversationPlaybackLookAt | readFromFile (PersistencyEnvironment env, FileReader reader) |
Read from file. More... | |
Conversation playback look-at.
ConversationActor Dragengine.ConversationSystem.ConversationPlaybackLookAt.getActor | ( | ) |
Actor the look-at is relative to or null if in world space.
String Dragengine.ConversationSystem.ConversationPlaybackLookAt.getBone | ( | ) |
Bone or null if not used.
ConversationCoordSystem Dragengine.ConversationSystem.ConversationPlaybackLookAt.getCoordSystem | ( | ) |
Coordinate system the look-at is relative to or null if in world space.
ConversationCustomTarget Dragengine.ConversationSystem.ConversationPlaybackLookAt.getCustomTarget | ( | ) |
Custom target or null if not used.
DMatrix Dragengine.ConversationSystem.ConversationPlaybackLookAt.getLookAtMatrix | ( | ConversationPlayback | playback | ) |
Current look-at world matrix.
DVector Dragengine.ConversationSystem.ConversationPlaybackLookAt.getLookAtPosition | ( | ConversationPlayback | playback | ) |
Current look-at world position.
Quaternion Dragengine.ConversationSystem.ConversationPlaybackLookAt.getOrientation | ( | ) |
Orientation.
DVector Dragengine.ConversationSystem.ConversationPlaybackLookAt.getPosition | ( | ) |
Position.
bool Dragengine.ConversationSystem.ConversationPlaybackLookAt.getUsePlaybackCamera | ( | ) |
Use playback camera as target.
ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new | ( | ) |
Create look-at.
ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new | ( | ConversationCustomTarget | target | ) |
Create look-at relative to custom conversation target.
ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new | ( | ConversationCustomTarget | target, |
DVector | displacement | ||
) |
Create look-at relative to custom conversation target.
ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new | ( | ConversationCustomTarget | target, |
DVector | displacement, | ||
Quaternion | orientation | ||
) |
Create look-at relative to custom conversation target.
ConversationPlaybackLookAt Dragengine.ConversationSystem.ConversationPlaybackLookAt.new | ( | ConversationPlayback | playback, |
ConversationTarget | target | ||
) |
Create look-at with dynamic conversation target.
void Dragengine.ConversationSystem.ConversationPlaybackLookAt.playbackRestoreObjectLinks | ( | ConversationPlayback | playback | ) |
Restore linked objects after loading.
While loading playback object is not available yet. Linked objects can not be restored during readFromFile(). Once all loading is done and the playback is present objects this call is used to restore the object links.
|
static |
Read from file.
void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setActor | ( | ConversationActor | actor | ) |
Set actor the look-at is relative to or null if in world space.
void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setBone | ( | String | bone | ) |
Set bone or null if not used.
void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setCoordSystem | ( | ConversationCoordSystem | coordSystem | ) |
Set coordinate system the look-at is relative to or null if in world space.
void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setCustomTarget | ( | ConversationCustomTarget | target | ) |
Set custom target or null if not used.
void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setOrientation | ( | Quaternion | orientation | ) |
Set orientation.
void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setPosition | ( | DVector | position | ) |
Set position.
void Dragengine.ConversationSystem.ConversationPlaybackLookAt.setUsePlaybackCamera | ( | bool | usePlaybackCamera | ) |
Set if playback camera is used as target.
void Dragengine.ConversationSystem.ConversationPlaybackLookAt.writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write object to file writer.