Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Brushes/SlateBoxBrush.h |
Include |
#include "Brushes/SlateBoxBrush.h" |
FSlateBoxBrush
(
UObject * InResourceObject,
const FMargin & InMargin,
const FSlateColor & InColorAndOpacity,
ESlateBrushImageType::Type InImageType
)
Make a 3x3 box that stretches the texture.
Parameter |
Description |
---|---|
InResourceObject |
The image to render for this brush, can be a UTexture, UMaterialInterface, or AtlasedTextureInterface |
InMargin |
The size of corners and sides in normalized texture UV space. |
InColorAndOpacity |
Color and opacity scale. |