Example #1
0
            internal static unsafe void Invoke(IntPtr obj, SlateBrushAsset Asset)
            {
                long *p = stackalloc long[] { 0L, 0L };
                byte *b = (byte *)p;

                *((IntPtr *)(b + 0)) = Asset;
                Main.GetProcessEvent(obj, SetBrushFromAsset_ptr, new IntPtr(p));;
            }
        }
Example #2
0
            internal static unsafe SlateBrush Invoke(SlateBrushAsset BrushAsset)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((IntPtr *)(b + 0)) = BrushAsset;
                Main.GetProcessEvent(WidgetBlueprintLibrary.DefaultObject, MakeBrushFromAsset_ptr, new IntPtr(p));;
                return(*((SlateBrush *)(b + 8)));
            }
        }
Example #3
0
            internal static unsafe void Invoke(PaintContext Context, Vector2D Position, Vector2D Size, SlateBrushAsset Brush, LinearColor Tint)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((PaintContext *)(b + 0)) = Context;
                *((Vector2D *)(b + 48))    = Position;
                *((Vector2D *)(b + 56))    = Size;
                *((IntPtr *)(b + 64))      = Brush;
                *((LinearColor *)(b + 72)) = Tint;
                Main.GetProcessEvent(WidgetBlueprintLibrary.DefaultObject, DrawBox_ptr, new IntPtr(p));;
            }
        }
Example #4
0
 ///<summary>Set Brush from Asset</summary>
 public void SetBrushFromAsset(SlateBrushAsset Asset) =>
 Border_methods.SetBrushFromAsset_method.Invoke(ObjPointer, Asset);
Example #5
0
 ///<summary>Draws a box</summary>
 public static void DrawBox(PaintContext Context, Vector2D Position, Vector2D Size, SlateBrushAsset Brush, LinearColor Tint) =>
 WidgetBlueprintLibrary_methods.DrawBox_method.Invoke(Context, Position, Size, Brush, Tint);