[FEATURE REQUEST] `material_block`

Here’s the known API surface:

# A widget to display a material.
material_block<native><epic_internal> := class(widget):
  # The size this widget desired to be displayed in. Used only during initialization of the widget and not modified by SetDesiredSize.
  DefaultDesiredSize<native><public>:vector2 = external {}

  # The image to render. Used only during initialization of the widget and not modified by SetImage.
  efaultImage<native><public>:material

  # Tinting applied to the image. Used only during initialization of the widget and not modified by SetTint.
  DefaultTint<native><public>:color = external {}

  # Gets the size this widget desired to be displayed in.
  GetDesiredSize<native><public>():vector2

  # Gets the image to render.
  GetImage<native><public>():material

  # Gets the tint applied to the image.
  GetTint<native><public>():color

  # Sets the size this widget desired to be displayed in.
  SetDesiredSize<native><public>(InDesiredSize:vector2):void

  # Sets the image to render.
  SetImage<native><public>(InImage:material):void

  # Sets the tint applied to the image.
  SetTint<native><public>(InColor:color):void

Here are the mentions when the widget has been removed:

1 Like