public EightNightsMIDIEventArgs(int midiNote, float beat, float durationBeats, float velocity, EightNightsMgr.GroupID g) { Group = g; MidiNote = midiNote; NoteBeat = beat; DurationBeats = durationBeats; Velocity = velocity; }
public ButtonCrescendoEventArgs(EightNightsMgr.GroupID g, float ct) { Group = g; CrescendoTime = ct; }
public BlendHueData(EightNightsMgr.GroupID gID, EightNightsMgr.LightID lID, LightData fromData, LightData toData, float transitionTime) { _gID = gID; _lID = lID; _fromData = fromData; _toData = toData; _transitionTime = transitionTime; _timeStamp = Time.time; }
public LightTriggeredEventArgs(EightNightsMgr.GroupID g, EightNightsMgr.LightID l, float w) { Group = g; Light = l; Weight = w; }
public LightEventArgs(EightNightsMgr.GroupID g, EightNightsMgr.LightID l, LightTypes lt, LightData d) { Group = g; Light = l; LightType = lt; Data = d; }
public void MakeSoloist(EightNightsMgr.GroupID newSoloist) { foreach(EightNightsMgr.GroupID g in GroupsInGroup) { if (g == newSoloist) { _lastSoloist = g; _lastSoloistStart = Time.time; break; } } }