|
bool | TrackHasNotes (TrackInfo track) |
|
bool | IgnoreTrack (TrackInfo trackInfo) |
|
void | Start () |
|
override void | Update () |
|
virtual void | SetNoteState (TrackInfo trackInfo, int noteIndex, NoteState state) |
| Updates the visuals for a note at a given noteIndex of a specific trackInfo .
|
|
virtual void | UpdateNowPlayingVisuals () |
|
override void | CreateVisuals () |
|
override void | ClearVisuals () |
|
void | ResetTracks () |
|
void | ResetNotes (bool justColors=false) |
|
override void | MovePlay (decimal ticks, decimal microseconds) |
|
override void | Restart () |
| Override this. Called when the visualization restarts (R is pressed).
|
|
override void | DrawGUI () |
| Override this. Use ImGui to draw most UI elements here.
|
|
override void | WriteConfig () |
| Override this. Write to Config here.
Don't forget to include ConfigTag in your config keys.
|
|
override void | ReadConfig () |
| Override this. Read from Config here.
Don't forget to include ConfigTag in your config keys.
|
|
void | CreateVisuals () |
| Create your visualization here. Happens every time visuals reload after a call to ClearVisuals.
|
|
void | ClearVisuals () |
| Clear all created visuals here.
|
|
void | MovePlay (decimal ticks, decimal microseconds) |
| Move your visualization forward or backward (in case midi delay is adjusted).
|
|
override void | OnEnable () |
|
override void | OnDisable () |
|
override void | OnDestroy () |
|
override void | ReadConfig () |
|
override void | WriteConfig () |
|
override void | LoadVisuals () |
| Clears and creates the visuals.
|
|
override void | DrawGUI () |
|
override void | Restart () |
| Override this. Called when the visualization restarts (R is pressed).
|
|
virtual void | Awake () |
|
virtual void | OnPlayStart () |
| Override this. Called when the visualization starts playing. May be starting from the beginning or resuming.
|
|
virtual void | OnPlayStop () |
| Override this. Called when the visualization stops playing.
|
|
virtual void | Reset_ () |
| Override this. Called when SceneController.OnReset is fired. LoadAudio and LoadMidi will also be called afterwards, so don't do any of that here, but do reload any other resources your component needs.
|
|
virtual void | LoadMidi () |
| Override this. Called when the midi information needs to be loaded from the file. LoadVisuals will also be called afterwards, so don't do any of that here.
|
|
virtual void | LoadAudio () |
| Override this. Called when the audio needs to be loaded from the file.
|
|
|
string | ConfigTag = "def" |
| Use this to give different instances in difference scenes different saved config.
|
|
static readonly SortedList< int, Color > | TrackColors = new SortedList<int, Color>() |
|
bool | AutoApplyChanges = true [get, set] |
| Whether changes that require recreating the visualization should apply automatically (true) or manually with F6 (false).
|
|
static bool | IsPlaying [get] |
| Is the visualization currently playing.
|
|
static double | FrameDeltaTime [get] |
| Time.deltaTime when not recording, 1/recording framerate when recording. In most cases, use this instead of Time.deltaTime so that recordings work properly.
|
|