static extern void DrawBox(IntPtr _this, out FPaintContext Context, ref FVector2D Position, ref FVector2D Size, IntPtr Brush, ref FLinearColor Tint);
 /// <summary>Draws a box</summary>
 public static void DrawBox(out FPaintContext Context, FVector2D Position, FVector2D Size, USlateBrushAsset Brush, FLinearColor Tint = default(FLinearColor))
 {
     DrawBox(IntPtr.Zero, out Context, ref Position, ref Size, Brush, ref Tint);
 }
 static extern void DrawLine(IntPtr _this, out FPaintContext Context, ref FVector2D PositionA, ref FVector2D PositionB, ref FLinearColor Tint, int bAntiAlias);
 /// <summary>
 /// Draws a line.
 /// @param PositionA             Starting position of the line in local space.
 /// @param PositionB             Ending position of the line in local space.
 /// @param Thickness             How many pixels thick this line should be.
 /// @param Tint                  Color to render the line.
 /// </summary>
 public static void DrawLine(out FPaintContext Context, FVector2D PositionA, FVector2D PositionB, FLinearColor Tint = default(FLinearColor), bool bAntiAlias = true)
 {
     DrawLine(IntPtr.Zero, out Context, ref PositionA, ref PositionB, ref Tint, bAntiAlias?1:0);
 }
 static extern void DrawLines(IntPtr _this, out FPaintContext Context, FVector2D[] Points, ref FLinearColor Tint, int bAntiAlias);
 /// <summary>
 /// Draws several line segments.
 /// @param Points                Line pairs, each line needs to be 2 separate points in the array.
 /// @param Thickness             How many pixels thick this line should be.
 /// @param Tint                  Color to render the line.
 /// </summary>
 public static void DrawLines(out FPaintContext Context, FVector2D[] Points, FLinearColor Tint = default(FLinearColor), bool bAntiAlias = true)
 {
     DrawLines(IntPtr.Zero, out Context, Points, ref Tint, bAntiAlias?1:0);
 }
 /// <summary>
 /// Draws text.
 /// @param Text                  The string to draw.
 /// @param Position              The starting position where the text is drawn in local space.
 /// @param Tint                  Color to render the line.
 /// </summary>
 public static void DrawTextFormatted(out FPaintContext Context, string Text, FVector2D Position, UFont Font, int FontSize = 16, string FontTypeFace = "Regular", FLinearColor Tint = default(FLinearColor))
 {
     DrawTextFormatted(IntPtr.Zero, out Context, Text, ref Position, Font, FontSize, FontTypeFace, ref Tint);
 }
 static extern void DrawTextFormatted(IntPtr _this, out FPaintContext Context, string Text, ref FVector2D Position, IntPtr Font, int FontSize, string FontTypeFace, ref FLinearColor Tint);
Exemplo n.º 9
0
 /// <summary>Draws a box</summary>
 public extern static void DrawBox(out FPaintContext Context, FVector2D Position, FVector2D Size, USlateBrushAsset Brush, FLinearColor Tint = default(FLinearColor));
Exemplo n.º 10
0
 /// <summary>
 /// Draws a line.
 /// @param PositionA             Starting position of the line in local space.
 /// @param PositionB             Ending position of the line in local space.
 /// @param Thickness             How many pixels thick this line should be.
 /// @param Tint                  Color to render the line.
 /// </summary>
 public extern static void DrawLine(out FPaintContext Context, FVector2D PositionA, FVector2D PositionB, FLinearColor Tint = default(FLinearColor), bool bAntiAlias = true);
Exemplo n.º 11
0
 /// <summary>
 /// Draws text.
 /// @param Text                  The string to draw.
 /// @param Position              The starting position where the text is drawn in local space.
 /// @param Tint                  Color to render the line.
 /// </summary>
 public extern static void DrawTextFormatted(out FPaintContext Context, FText Text, FVector2D Position, UFont Font, int FontSize = 16, FName FontTypeFace = default(FName), FLinearColor Tint = default(FLinearColor));