Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/CanvasTypes.h |
Include |
#include "CanvasTypes.h" |
FORCEINLINEint32 AddTile
(
float X,
float Y,
float SizeX,
float SizeY,
float U,
float V,
float SizeU,
float SizeV,
FHitProxyId HitProxyId,
FColor InColor
)
Add a new tile to the render data. These tiles all use the same transform and material proxy
Parameter |
Description |
---|---|
X |
tile X offset |
Y |
tile Y offset |
SizeX |
tile X size |
SizeY |
tile Y size |
U |
tile U offset |
V |
tile V offset |
SizeU |
tile U size |
SizeV |
tile V size |
return |
number of tiles added |