OMIDIV
Standard3DPerformant Class Reference

A version of Standard3D that has certain features disabled to increase playback performance.
Mainly useful for visualizing really large midis. More...

Inheritance diagram for Standard3DPerformant:
Standard3D Base3D< Standard3D.TrackInfo >

Protected Member Functions

override void ResetTracks ()
 
override void MovePlay (decimal ticks, decimal microseconds)
 
- Protected Member Functions inherited from Standard3D
override void ResetTracks ()
 
override void ResetNotes (bool justColors)
 
override void DrawGeneralMidiControls (ref bool updateTracks, ref bool updateNotes)
 Draw the general controls in the MIDI Controls window for this visualization.
 
override void DrawIndividualTrackControls (ref TrackInfo trackInfo, ref bool updateTracks, ref bool updateNotes)
 
override void DrawNoteControls (ref bool updateTracks, ref bool updateNotes)
 Draw the controls for the "Note Controls" tree.
 
override void TrackListChanged (ref bool updateTracks, ref bool updateNotes)
 
override void WriteConfig ()
 
override void ReadConfig ()
 
- Protected Member Functions inherited from Base3D< Standard3D.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 ()
 
bool TrackHasNotes (TrackInfo track)
 
bool IgnoreTrack (TrackInfo trackInfo)
 
void ResetTracks ()
 Updates the GameObjects for track objects, and other things that don't need to be changed per-note.
 
void ResetNotes (bool justColors=false)
 Updates GameObjects for note objects.
 
override void ClearVisuals ()
 
override void Restart ()
 Override this. Called when the visualization restarts (R is pressed).
 
override void MovePlay (decimal ticks, decimal microseconds)
 
virtual void DrawIndividualTrackControls (ref TrackInfo trackInfo, ref bool updateTracks, ref bool updateNotes)
 Draw the individual controls within the tree for a track. Will be called for each track.
 
void TrackListChanged (ref bool updateTracks, ref bool updateNotes)
 Called when the track order has been changed or tracks have been enabled/disabled.
 
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.
 

Additional Inherited Members

- Protected Attributes inherited from Standard3D
float ZSpacing = 16f
 
float NoteVSpacing = 2f
 
- Protected Attributes inherited from Base3D< Standard3D.TrackInfo >
GameObject NotePrefab
 
TrackInfo[] Tracks
 
float VelocityFactor
 
int SideCount
 
uint SideCountPrev
 
float NoteRotation
 
float NoteHeight
 
float NoteHSpacing
 
float PlayedAlpha
 
float LastTrackUpdate
 
float LastNoteUpdate
 
float LastReloadVisuals
 
- Static Protected Attributes inherited from Base3D< Standard3D.TrackInfo >
static readonly float GlobalScale
 

Detailed Description

A version of Standard3D that has certain features disabled to increase playback performance.
Mainly useful for visualizing really large midis.

Currently the only disabled feature is individual length scales for tracks.
This visualization improves performance by moving the camera instead of the tracks, which requires every track to have the same length scale.


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