UCanvas::DrawTile

Draw arbitrary aligned rectangle.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h

Include

#include "Engine/Canvas.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp

Syntax

void DrawTile
(
    UTexture * Tex,
    float X,
    float Y,
    float XL,
    float YL,
    float U,
    float V,
    float UL,
    float VL,
    EBlendMode BlendMode
)

Remarks

Draw arbitrary aligned rectangle.

Parameters

Parameter

Description

Tex

Texture to draw.

X

Position to draw X.

Y

Position to draw Y.

XL

Width of tile.

YL

Height of tile.

U

Horizontal position of the upper left corner of the portion of the texture to be shown(texels).

V

Vertical position of the upper left corner of the portion of the texture to be shown(texels).

UL

The width of the portion of the texture to be drawn(texels).

VL

The height of the portion of the texture to be drawn(texels).

ClipTile

true to clip tile.

BlendMode

Blending mode of texture.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss