Assets.LSL4Unity.Scripts.Examples.ExampleFloatInlet.Process C# (CSharp) Method

Process() protected method

protected Process ( Array newSample, double timeStamp ) : void
newSample Array
timeStamp double
return void
        protected override void Process(float[] newSample, double timeStamp)
        {
            // just as an example, make a string out of all channel values of this sample
            lastSample = string.Join(" ", newSample.Select(c => c.ToString()).ToArray());

            Debug.Log(
                string.Format("Got {0} samples at {1}", newSample.Length, timeStamp)
                );
        }
    }
ExampleFloatInlet