Exemple #1
0
 public int GetKnobRaw(Form1.Knobs _i)
 {
     return((int)Math.Round((Decimal)this.m_KnobsValues[(int)_i], 0));
 }
Exemple #2
0
 public void SetKnobRaw(Form1.Knobs _i, int _val)
 {
     this.m_KnobsValues[(int)_i] = (float)_val;
 }
Exemple #3
0
 public Ref <float> GetRef(Form1.Knobs _index)
 {
     return(new Ref <float>((Func <float>)(() => this.m_KnobsValues[(int)_index]), (Action <float>)(v => this.m_KnobsValues[(int)_index] = v)));
 }