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));; } }
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))); } }
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));; } }
///<summary>Set Brush from Asset</summary> public void SetBrushFromAsset(SlateBrushAsset Asset) => Border_methods.SetBrushFromAsset_method.Invoke(ObjPointer, Asset);
///<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);