FSlateBoxBrush::FSlateBoxBrush

Make a 3x3 box that stretches the texture.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Brushes/SlateBoxBrush.h

Include

#include "Brushes/SlateBoxBrush.h"

Syntax

FSlateBoxBrush
(
    const FName & InImageName,
    const FVector2D & ImageSize,
    const FMargin & InMargin,
    const FLinearColor & InColorAndOpacity,
    ESlateBrushImageType::Type InImageType
)

Remarks

Make a 3x3 box that stretches the texture.

of the image type is ImageType_TintMask, this value should be in HSV

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss