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 K2_DrawTexture
(
UTexture * RenderTexture,
FVector2D ScreenPosition,
FVector2D ScreenSize,
FVector2D CoordinatePosition,
FVector2D CoordinateSize,
FLinearColor RenderColor,
EBlendMode BlendMode,
float Rotation,
FVector2D PivotPoint
)
Draws a texture on the Canvas.
Parameter |
Description |
---|---|
RenderTexture |
Texture to use when rendering. If no texture is set then this will use the default white texture. |
ScreenPosition |
Screen space position to render the texture. |
ScreenSize |
Screen space size to render the texture. |
CoordinatePosition |
Normalized UV starting coordinate to use when rendering the texture. |
CoordinateSize |
Normalized UV size coordinate to use when rendering the texture. |
RenderColor |
Color to use when rendering the texture. |
BlendMode |
Blending mode to use when rendering the texture. |
Rotation |
Rotation, in degrees, to render the texture. |
PivotPoint |
Normalized pivot point to use when rotating the texture. |