Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Brushes/SlateBoxBrush.h |
Include |
#include "Brushes/SlateBoxBrush.h" |
FSlateBoxBrush
(
const FName & InImageName,
const FVector2D & ImageSize,
const FMargin & InMargin,
const FLinearColor & InColorAndOpacity,
ESlateBrushImageType::Type InImageType
)
Make a 3x3 box that stretches the texture.
of the image type is ImageType_TintMask, this value should be in HSV
Parameter |
Description |
---|---|
InImageName |
The name of image to make into a box |
ImageSize |
The size of the resource as we want it to appear in slate units. |
InMargin |
The size of corners and sides in texture space. |
InColorAndOpacity |
Color and opacity scale. |