Beispiel #1
0
 public void SamplerUpdateOscilloscopeRenderer(SinesteticaObject obj)
 {
     //obj.lineRenderer.SetPositions(obj.curent.oscilloScopePositions);
     SetOscilloscopePose(obj);
     OscilloscopeManager.SetOscilloScaler(obj.OscilloscopeTransform, obj.lineRenderer, obj.curent.synthValues);
     // OscilloscopeManager.SetColor(obj.lineRenderer, obj.curent.synthValues.yMedia);
     obj.lineRenderer.SetColors(obj.curent.rightColor, obj.curent.leftColor);
 }
Beispiel #2
0
 public void GetOscilloscopePositions()
 {
     playableObject.curent.oscilloScopePositions = OscilloscopeManager.LineOscillation(playableObject.curent.audioData);
 }