예제 #1
0
            internal static unsafe void Invoke(IntPtr obj, CurveLinearColor NewLinearColorCurve, Name LinearColorTrackName)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((IntPtr *)(b + 0)) = NewLinearColorCurve;
                *((Name *)(b + 8))   = LinearColorTrackName;
                Main.GetProcessEvent(obj, SetLinearColorCurve_ptr, new IntPtr(p));;
            }
        }
예제 #2
0
            internal static unsafe (float, bool) Invoke(IntPtr obj, CurveLinearColor InCurve)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((IntPtr *)(b + 0)) = InCurve;
                Main.GetProcessEvent(obj, GetCurvePosition_ptr, new IntPtr(p));;
                return(*((float *)(b + 8)), *((bool *)(b + 12)));
            }
        }