Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/ImageUtils.h |
Include |
#include "ImageUtils.h" |
Source |
/Engine/Source/Runtime/Engine/Private/ImageUtils.cpp |
static UTexture2D * CreateCheckerboardTexture
(
FColor ColorOne,
FColor ColorTwo,
int32 CheckerSize
)
Creates a new UTexture2D with a checkerboard pattern.
Parameter |
Description |
---|---|
ColorOne |
The color of half of the squares. |
ColorTwo |
The color of the other half of the squares. |
CheckerSize |
The size in pixels of each checker square. |