internal static unsafe void Invoke(IntPtr obj, CurveFloat NewFloatCurve, Name FloatTrackName) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *((IntPtr *)(b + 0)) = NewFloatCurve; *((Name *)(b + 8)) = FloatTrackName; Main.GetProcessEvent(obj, SetFloatCurve_ptr, new IntPtr(p));; } }
internal static unsafe void Invoke(IntPtr obj, MaterialInterface Material, CurveFloat DistanceToOpacityCurve, bool bSizeIsInScreenSpace, float BaseSizeX, float BaseSizeY, CurveFloat DistanceToSizeCurve) { long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L }; byte *b = (byte *)p; *((IntPtr *)(b + 0)) = Material; *((IntPtr *)(b + 8)) = DistanceToOpacityCurve; *((bool *)(b + 16)) = bSizeIsInScreenSpace; *((float *)(b + 20)) = BaseSizeX; *((float *)(b + 24)) = BaseSizeY; *((IntPtr *)(b + 32)) = DistanceToSizeCurve; Main.GetProcessEvent(obj, AddElement_ptr, new IntPtr(p));; } }