AntTweakBar.DoubleVariable.GetCallback C# (CSharp) Method

GetCallback() private method

Called by AntTweakBar when AntTweakBar needs the variable's value.
private GetCallback ( IntPtr pointer, IntPtr clientData ) : void
pointer System.IntPtr
clientData System.IntPtr
return void
        private void GetCallback(IntPtr pointer, IntPtr clientData)
        {
            double[] data = new double[] { Value };
            Marshal.Copy(data, 0, pointer, data.Length);
        }