DrawMaterial

From Onset Developer Wiki
Revision as of 20:24, 30 August 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
DrawMaterial

Type: Function
Context: Client
Introduced: v1.0

Description

Draws a material on screen. https://docs.unrealengine.com/en-US/API/Runtime/Engine/GameFramework/AHUD/DrawMaterialSimple/index.html

Syntax

DrawMaterial(UMaterialInterface MaterialReference, ScreenX, ScreenY, ScreenW, ScreenH, Scale, bScalePosition)

Parameters

  • MaterialReference
    The material interface.
  • ScreenX
    Screen space X position.
  • ScreenY
    Screen space Y position.
  • ScreenW
    Screen width.
  • ScreenH
    Screen height.
  • Scale
    X and Y scale.
  • bScalePosition
    Should the "Scale" parameter also scale the position.

Return Value

  • Returns nothing.

Example

__EDIT_ME__

See also