Ejemplo n.º 1
0
            internal static unsafe void Invoke(IntPtr obj, SlateBrush InBrush)
            {
                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 };
                byte *b = (byte *)p;

                *((SlateBrush *)(b + 0)) = InBrush;
                Main.GetProcessEvent(obj, SetLowQualityFallbackBrush_ptr, new IntPtr(p));;
            }
        }
Ejemplo n.º 2
0
            internal static unsafe MaterialInstanceDynamic Invoke(SlateBrush Brush)
            {
                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;

                *((SlateBrush *)(b + 0)) = Brush;
                Main.GetProcessEvent(WidgetBlueprintLibrary.DefaultObject, GetDynamicMaterial_ptr, new IntPtr(p));;
                return(*((IntPtr *)(b + 160)));
            }
        }
Ejemplo n.º 3
0
            internal static unsafe void Invoke(SlateBrush Brush, Texture2D Texture)
            {
                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;

                *((SlateBrush *)(b + 0)) = Brush;
                *((IntPtr *)(b + 160))   = Texture;
                Main.GetProcessEvent(WidgetBlueprintLibrary.DefaultObject, SetBrushResourceToTexture_ptr, new IntPtr(p));;
            }
        }
Ejemplo n.º 4
0
            internal static unsafe Texture2D Invoke(SlateBrush Brush)
            {
                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;

                *((SlateBrush *)(b + 0)) = Brush;
                Main.GetProcessEvent(WidgetBlueprintLibrary.DefaultObject, GetBrushResourceAsTexture2D_ptr, new IntPtr(p));;
                return(*((IntPtr *)(b + 160)));
            }
        }
Ejemplo n.º 5
0
            internal static unsafe bool Invoke(SlateBrush A, SlateBrush B)
            {
                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, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((SlateBrush *)(b + 0))   = A;
                *((SlateBrush *)(b + 160)) = B;
                Main.GetProcessEvent(SlateBlueprintLibrary.DefaultObject, EqualEqual_SlateBrush_ptr, new IntPtr(p));;
                return(*((bool *)(b + 320)));
            }
        }
Ejemplo n.º 6
0
 ///<summary>Set Brush</summary>
 public void SetBrush(SlateBrush InBrush) =>
 Border_methods.SetBrush_method.Invoke(ObjPointer, InBrush);
Ejemplo n.º 7
0
 ///<summary>Set Low Quality Fallback Brush</summary>
 public void SetLowQualityFallbackBrush(SlateBrush InBrush) =>
 BackgroundBlur_methods.SetLowQualityFallbackBrush_method.Invoke(ObjPointer, InBrush);
Ejemplo n.º 8
0
 ///<summary>@return Whether brushes A and B are identical.</summary>
 public static bool EqualEqual_SlateBrush(SlateBrush A, SlateBrush B) =>
 SlateBlueprintLibrary_methods.EqualEqual_SlateBrush_method.Invoke(A, B);
Ejemplo n.º 9
0
 ///<summary>Gets the material that allows changes to parameters at runtime.</summary>
 ///<remarks>
 ///The brush must already have a material assigned to it,
 ///if it does it will automatically be converted to a MID.
 ///
 ///@return A material that supports dynamic input from the game.
 ///</remarks>
 public static MaterialInstanceDynamic GetDynamicMaterial(SlateBrush Brush) =>
 WidgetBlueprintLibrary_methods.GetDynamicMaterial_method.Invoke(Brush);
Ejemplo n.º 10
0
 ///<summary>Gets the brush resource as a texture 2D.</summary>
 public static Texture2D GetBrushResourceAsTexture2D(SlateBrush Brush) =>
 WidgetBlueprintLibrary_methods.GetBrushResourceAsTexture2D_method.Invoke(Brush);
Ejemplo n.º 11
0
 ///<summary>Gets the brush resource as a material.</summary>
 public static MaterialInterface GetBrushResourceAsMaterial(SlateBrush Brush) =>
 WidgetBlueprintLibrary_methods.GetBrushResourceAsMaterial_method.Invoke(Brush);
Ejemplo n.º 12
0
 ///<summary>Gets the resource object on a brush.  This could be a UTexture2D or a UMaterialInterface.</summary>
 public static UObject GetBrushResource(SlateBrush Brush) =>
 WidgetBlueprintLibrary_methods.GetBrushResource_method.Invoke(Brush);