DrawTextureEx

From Onset Developer Wiki
DrawTextureEx

Type: Function
Context: Client
Introduced: v1.0

Description

Draws an UTexture on screen. https://docs.unrealengine.com/en-US/API/Runtime/Engine/GameFramework/AHUD/DrawTexture/index.html

Syntax

DrawTextureEx(UTexture TextureReference, ScreenX, ScreenY, ScreenW, ScreenH, TextureU, TextureV, TextureUWidth, TextureVHeight, TintColor, BlendMode, Scale, bScalePosition, Rotation, RotPivot)

Parameters

  • TextureReference
    Texture reference from LoadFromAsset or LoadFromFile.
  • ScreenX
    Screen X location.
  • ScreenY
    Screen Y location.
  • ScreenW
    Screen width.
  • ScreenH
    Screen height.
  • TextureU
    U coordinate.
  • TextureV
    V coordinate.
  • TextureUWidth
    Width of the quad (in normalized UV distance).
  • TextureVHeight
    Height of the quad (in normalized UV distance).
  • TintColor
    Tint color as FLinearColor.
  • BlendMode
    EBlendMode, use EBlendMode.BLEND_Translucent has default.
  • Scale
    Draw scale. (Use 1.0 for default)
  • bScalePosition
    Boolean whether to scale or not.
  • Rotation
    Rotation of the drawing texture.
  • RotPivot
    The rotation pivot as a FVector2D.

Return Value

  • Returns nothing.

Example

__EDIT_ME__

See also