UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSlateRoundedBoxBrush Struct Reference

#include <SlateRoundedBoxBrush.h>

+ Inheritance diagram for FSlateRoundedBoxBrush:

Public Member Functions

template<typename FillColorType >
FORCENOINLINE FSlateRoundedBoxBrush (const FillColorType &InColor, const UE::Slate::FDeprecateVector2DParameter &InImageSize=FVector2f::ZeroVector)
 
template<typename FillColorType >
FORCENOINLINE FSlateRoundedBoxBrush (const FillColorType &InColor, const UE::Slate::FDeprecateVector2DResult &InImageSize)
 
template<typename FillColorType >
FORCENOINLINE FSlateRoundedBoxBrush (const FillColorType &InColor, const FVector2f &InImageSize)
 
template<typename FillColorType >
FORCENOINLINE FSlateRoundedBoxBrush (const FName InFillResourceName, const FillColorType &FillColorTint, const UE::Slate::FDeprecateVector2DParameter &InImageSize=FVector2f::ZeroVector, ESlateBrushTileType::Type InTileType=ESlateBrushTileType::NoTile)
 
template<typename FillColorType , typename RadiusType >
FORCENOINLINE FSlateRoundedBoxBrush (const FillColorType &InColor, RadiusType InRadius, const UE::Slate::FDeprecateVector2DParameter &InImageSize=FVector2f::ZeroVector)
 
template<typename FillColorType , typename RadiusType >
FORCENOINLINE FSlateRoundedBoxBrush (const FName InFillResourceName, const FillColorType &FillColorTint, RadiusType InRadius, const UE::Slate::FDeprecateVector2DParameter &InImageSize=FVector2f::ZeroVector, ESlateBrushTileType::Type InTileType=ESlateBrushTileType::NoTile)
 
template<typename FillColorType , typename OutlineColorType >
FORCENOINLINE FSlateRoundedBoxBrush (const FillColorType &InColor, const OutlineColorType &InOutlineColor, float InOutlineWidth, const UE::Slate::FDeprecateVector2DParameter &InImageSize=FVector2f::ZeroVector)
 
template<typename FillColorType , typename OutlineColorType >
FORCENOINLINE FSlateRoundedBoxBrush (const FName InFillResourceName, const FillColorType &FillColorTint, const OutlineColorType &InOutlineColor, float InOutlineWidth, const UE::Slate::FDeprecateVector2DParameter &InImageSize=FVector2f::ZeroVector, ESlateBrushTileType::Type InTileType=ESlateBrushTileType::NoTile)
 
template<typename FillColorType , typename OutlineColorType , typename RadiusType >
FORCENOINLINE FSlateRoundedBoxBrush (const FillColorType &InColor, RadiusType InRadius, const OutlineColorType &InOutlineColor, float InOutlineWidth, const UE::Slate::FDeprecateVector2DParameter &InImageSize=FVector2f::ZeroVector)
 
template<typename FillColorType , typename OutlineColorType , typename RadiusType >
FORCENOINLINE FSlateRoundedBoxBrush (const FName InFillResourceName, const FillColorType &FillColorTint, RadiusType InRadius, const OutlineColorType &InOutlineColor, float InOutlineWidth, const UE::Slate::FDeprecateVector2DParameter &InImageSize=FVector2f::ZeroVector, ESlateBrushTileType::Type InTileType=ESlateBrushTileType::NoTile)
 
- Public Member Functions inherited from FSlateBrush
SLATECORE_API FSlateBrush ()
 
virtual ~FSlateBrush ()
 
UE::Slate::FDeprecateVector2DResult GetImageSize () const
 
void SetImageSize (UE::Slate::FDeprecateVector2DParameter InImageSize)
 
const FMarginGetMargin () const
 
ESlateBrushTileType::Type GetTiling () const
 
ESlateBrushMirrorType::Type GetMirroring () const
 
ESlateBrushImageType::Type GetImageType () const
 
ESlateBrushDrawType::Type GetDrawType () const
 
const FName GetResourceName () const
 
class UObjectGetResourceObject () const
 
SLATECORE_API void SetResourceObject (class UObject *InResourceObject)
 
FLinearColor GetTint (const FWidgetStyle &InWidgetStyle) const
 
void UnlinkColors ()
 
bool HasUObject () const
 
bool IsDynamicallyLoaded () const
 
UE::Slate::FDeprecateBox2D GetUVRegion () const
 
void SetUVRegion (const FBox2d &InUVRegion)
 
void SetUVRegion (const FBox2f &InUVRegion)
 
bool operator== (const FSlateBrush &Other) const
 
bool operator!= (const FSlateBrush &Other) const
 
void AddReferencedObjects (FReferenceCollector &Collector, UObject *ReferencingObject=nullptr)
 
const FSlateResourceHandleGetRenderingResource (UE::Slate::FDeprecateVector2DParameter LocalSize, float DrawScale) const
 
SLATECORE_API const FSlateResourceHandleGetRenderingResource () const
 
bool IsSet () const
 

Additional Inherited Members

- Static Public Member Functions inherited from FSlateBrush
static SLATECORE_API const FString UTextureIdentifier ()
 
- Public Attributes inherited from FSlateBrush
FSlateColor TintColor
 
TEnumAsByte< enum ESlateBrushDrawType::TypeDrawAs
 
TEnumAsByte< enum ESlateBrushTileType::TypeTiling
 
TEnumAsByte< enum ESlateBrushMirrorType::TypeMirroring
 
TEnumAsByte< enum ESlateBrushImageType::TypeImageType
 
FDeprecateSlateVector2D ImageSize
 
FMargin Margin
 
FSlateBrushOutlineSettings OutlineSettings
 
FSlateResourceHandle ResourceHandle
 
- Protected Member Functions inherited from FSlateBrush
SLATECORE_API FORCENOINLINE FSlateBrush (ESlateBrushDrawType::Type InDrawType, const FName InResourceName, const FMargin &InMargin, ESlateBrushTileType::Type InTiling, ESlateBrushImageType::Type InImageType, const UE::Slate::FDeprecateVector2DParameter &InImageSize, const FLinearColor &InTint=FLinearColor::White, UObject *InObjectResource=nullptr, bool bInDynamicallyLoaded=false)
 
SLATECORE_API FORCENOINLINE FSlateBrush (ESlateBrushDrawType::Type InDrawType, const FName InResourceName, const FMargin &InMargin, ESlateBrushTileType::Type InTiling, ESlateBrushImageType::Type InImageType, const UE::Slate::FDeprecateVector2DParameter &InImageSize, const TSharedRef< FLinearColor > &InTint, UObject *InObjectResource=nullptr, bool bInDynamicallyLoaded=false)
 
SLATECORE_API FORCENOINLINE FSlateBrush (ESlateBrushDrawType::Type InDrawType, const FName InResourceName, const FMargin &InMargin, ESlateBrushTileType::Type InTiling, ESlateBrushImageType::Type InImageType, const UE::Slate::FDeprecateVector2DParameter &InImageSize, const FSlateColor &InTint, UObject *InObjectResource=nullptr, bool bInDynamicallyLoaded=false)
 
- Protected Attributes inherited from FSlateBrush
FBox2f UVRegion
 
uint8 bIsDynamicallyLoaded:1
 
uint8 bHasUObject_DEPRECATED:1
 
uint8 bIsSet: 1
 
FName ResourceName
 

Constructor & Destructor Documentation

◆ FSlateRoundedBoxBrush() [1/10]

template<typename FillColorType >
FORCENOINLINE FSlateRoundedBoxBrush::FSlateRoundedBoxBrush ( const FillColorType InColor,
const UE::Slate::FDeprecateVector2DParameter InImageSize = FVector2f::ZeroVector 
)
inline

Creates and initializes a new instance with the specified color and rounds based on height

Parameters
InColorLinear Fill Color

◆ FSlateRoundedBoxBrush() [2/10]

template<typename FillColorType >
FORCENOINLINE FSlateRoundedBoxBrush::FSlateRoundedBoxBrush ( const FillColorType InColor,
const UE::Slate::FDeprecateVector2DResult InImageSize 
)
inline

◆ FSlateRoundedBoxBrush() [3/10]

template<typename FillColorType >
FORCENOINLINE FSlateRoundedBoxBrush::FSlateRoundedBoxBrush ( const FillColorType InColor,
const FVector2f InImageSize 
)
inline

◆ FSlateRoundedBoxBrush() [4/10]

template<typename FillColorType >
FORCENOINLINE FSlateRoundedBoxBrush::FSlateRoundedBoxBrush ( const FName  InFillResourceName,
const FillColorType FillColorTint,
const UE::Slate::FDeprecateVector2DParameter InImageSize = FVector2f::ZeroVector,
ESlateBrushTileType::Type  InTileType = ESlateBrushTileType::NoTile 
)
inline

◆ FSlateRoundedBoxBrush() [5/10]

FORCENOINLINE FSlateRoundedBoxBrush::FSlateRoundedBoxBrush ( const FillColorType InColor,
RadiusType  InRadius,
const UE::Slate::FDeprecateVector2DParameter InImageSize = FVector2f::ZeroVector 
)
inline

Creates and initializes a new instance with the specified color and corner radius

Parameters
InColorLinear Fill Color
InRadiusCorner Radius in Slate Units applied to the outline at each corner. X = Top Left, Y = Top Right, Z = Bottom Right, W = Bottom Left

◆ FSlateRoundedBoxBrush() [6/10]

FORCENOINLINE FSlateRoundedBoxBrush::FSlateRoundedBoxBrush ( const FName  InFillResourceName,
const FillColorType FillColorTint,
RadiusType  InRadius,
const UE::Slate::FDeprecateVector2DParameter InImageSize = FVector2f::ZeroVector,
ESlateBrushTileType::Type  InTileType = ESlateBrushTileType::NoTile 
)
inline

◆ FSlateRoundedBoxBrush() [7/10]

FORCENOINLINE FSlateRoundedBoxBrush::FSlateRoundedBoxBrush ( const FillColorType InColor,
const OutlineColorType InOutlineColor,
float  InOutlineWidth,
const UE::Slate::FDeprecateVector2DParameter InImageSize = FVector2f::ZeroVector 
)
inline

Creates and initializes a new instance with the specified color and rounds based on height

Parameters
InColorLinear Fill Color
InOutlineColorOutline Color
InOutlineWidthOutline Width or Thickness

◆ FSlateRoundedBoxBrush() [8/10]

FORCENOINLINE FSlateRoundedBoxBrush::FSlateRoundedBoxBrush ( const FName  InFillResourceName,
const FillColorType FillColorTint,
const OutlineColorType InOutlineColor,
float  InOutlineWidth,
const UE::Slate::FDeprecateVector2DParameter InImageSize = FVector2f::ZeroVector,
ESlateBrushTileType::Type  InTileType = ESlateBrushTileType::NoTile 
)
inline

Creates and initializes a new instance with the specified color and rounds based on height

Parameters
InColorLinear Fill Color
InOutlineColorOutline Color
InOutlineWidthOutline Width or Thickness

◆ FSlateRoundedBoxBrush() [9/10]

FORCENOINLINE FSlateRoundedBoxBrush::FSlateRoundedBoxBrush ( const FillColorType InColor,
RadiusType  InRadius,
const OutlineColorType InOutlineColor,
float  InOutlineWidth,
const UE::Slate::FDeprecateVector2DParameter InImageSize = FVector2f::ZeroVector 
)
inline

Creates and initializes a new instance with the specified color and corner radius

Parameters
InColorLinear Fill Color
InRadiusCorner Radius in Slate Units applied to the outline at each corner. X = Top Left, Y = Top Right, Z = Bottom Right, W = Bottom Left
InOutlineColorOutline Color
InOutlineWidthOutline Width or Thickness

◆ FSlateRoundedBoxBrush() [10/10]

FORCENOINLINE FSlateRoundedBoxBrush::FSlateRoundedBoxBrush ( const FName  InFillResourceName,
const FillColorType FillColorTint,
RadiusType  InRadius,
const OutlineColorType InOutlineColor,
float  InOutlineWidth,
const UE::Slate::FDeprecateVector2DParameter InImageSize = FVector2f::ZeroVector,
ESlateBrushTileType::Type  InTileType = ESlateBrushTileType::NoTile 
)
inline

Creates and initializes a new instance with the specified color and corner radius

Parameters
InColorLinear Fill Color
InRadiusCorner Radius in Slate Units applied to the outline at each corner. X = Top Left, Y = Top Right, Z = Bottom Right, W = Bottom Left
InOutlineColorOutline Color
InOutlineWidthOutline Width or Thickness

The documentation for this struct was generated from the following file: