Tesseract Engine Documentation

HeadsUpDisplay.AddImageDisplay Method 

Add an Image display to our ImageDisplay list.

public int AddImageDisplay(
   Texture2D image,
   Vector2 position,
   Int32 width,
   Int32 height,
   Color color,
   Boolean draw
);

Parameters

image
Image to display.
position
Position to display value.
width
Width of value display.
height
Height of value display.
color
Color of value and text.
draw
Toggle to turn drawing on/off.

Return Value

Count of image displays

See Also

HeadsUpDisplay Class | DarkWynter.Engine.UserInterface Namespace