public class Track
extends Object
Modifier and Type | Method and Description |
---|---|
void |
trackAddWaypoint()
Adds the camera's current position and orientation to the current camera track.
|
void |
trackAdvance()
Advances the camera track to a specific location.
|
void |
trackClear()
Clears all tracks.
|
void |
trackEditWaypoint()
Edits the currently selected camera track.
|
void |
trackGotoSelectedEvent(int index)
Moves the camera to the current event.
|
void |
trackGotoSelectedWaypoint(int index)
Moves the camera to the current waypoint.
|
void |
trackInsert()
Adds a new camera track.
|
void |
trackLoad(string filename)
Loads a camera track and makes it current.
|
void |
trackPause()
Pauses the current camera track.
|
void |
trackPlay(int duration,
int eventID)
Plays the current track, with no arguments uses current duration, otherwise sets duration.
|
void |
trackRemove()
Removes selected track.
|
void |
trackRemoveWaypoint()
Removes the most recently added track waypoint from the current camera track.
|
void |
trackSave(string filename)
Saves the current camera track.
|
void |
trackSetSelectedWaypoint(int index)
Sets the current waypoint to the button with the same index.
|
void |
trackStepBackward()
Steps the current camera track 1 step backward.
|
void |
trackStepForward()
Steps the current camera track 1 step forward.
|
void |
trackStop()
Stops the current camera track.
|
void |
trackToggleShow()
Toggles rendering of the camera track on and off.
|
void |
uiOpenCameraTrackBrowser()
Open a camera track from the data directory.
|
void |
uiSaveCameraTrackBrowser()
Save a camera track to the data directory.
|
public void uiOpenCameraTrackBrowser()
public void uiSaveCameraTrackBrowser()
public void trackLoad(string filename)
public void trackSave(string filename)
public void trackClear()
public void trackStepForward()
public void trackStepBackward()
public void trackToggleShow()
public void trackAddWaypoint()
public void trackEditWaypoint()
public void trackSetSelectedWaypoint(int index)
public void trackGotoSelectedWaypoint(int index)
public void trackRemoveWaypoint()
public void trackInsert()
public void trackRemove()
public void trackPlay(int duration, int eventID)
trEventFire(int)
,
uiTransformSelectedUnit(string)
,
trRenderSnow(float)
public void trackPause()
public void trackStop()
public void trackAdvance()
public void trackGotoSelectedEvent(int index)