Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h |
Include |
#include "Engine/Canvas.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp |
void DrawTile
(
UTexture * Tex,
float X,
float Y,
float XL,
float YL,
float U,
float V,
float UL,
float VL,
EBlendMode BlendMode
)
Draw arbitrary aligned rectangle.
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. |