Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Styling/SlateBrush.h |
Include |
#include "Styling/SlateBrush.h" |
struct FSlateBrush
An brush which contains information about how to draw a Slate element
Name | Description | ||
---|---|---|---|
|
uint8: 1 |
bIsDynamicallyLoaded |
Whether or not the brush path is a path to a UObject |
|
TEnumAsByte< en... |
DrawAs |
How to draw the image |
|
ImageSize |
Size of the resource in Slate Units |
|
|
TEnumAsByte< en... |
ImageType |
The type of image |
|
Margin |
The margin to use in Box and Border modes |
|
|
TEnumAsByte< en... |
Mirroring |
How to mirror the image in Image mode. |
|
ResourceHandle |
Rendering resource for this brush |
|
|
ResourceName |
The name of the rendering resource to use |
|
|
TEnumAsByte< en... |
Tiling |
How to tile the image in Image mode |
|
TintColor |
Tinting applied to the image. |
|
|
UVRegion |
Optional UV region for an image When valid - overrides UV region specified in resource proxy |
Name | Description | |
---|---|---|
|
FSlateBrush() |
Default constructor. |
|
FSlateBrush ( |
This constructor is protected; use one of the deriving classes instead. |
|
FSlateBrush ( |
|
|
FSlateBrush ( |
Name | Description | |
---|---|---|
|
~FSlateBrush() |
Name | Description | ||
---|---|---|---|
|
AddReferencedObjects ( |
Report any references to UObjects to the reference collector. |
|
|
ESlateBrushD... |
GetDrawType() |
|
|
GetImageSize() |
||
|
ESlateBrushI... |
GetImageType() |
|
|
const FMargi... |
GetMargin() |
|
|
ESlateBrushM... |
GetMirroring() |
|
|
const FSlate... |
GetRenderingResource() |
|
|
const FName |
GetResourceName() |
Gets the name of the resource object, if any. |
|
UObject *... |
GetResourceObject() |
Gets the UObject that represents the brush resource, if any. |
|
ESlateBrushT... |
GetTiling() |
|
|
GetTint ( |
Gets the brush's tint color. |
|
|
const FBox2D... |
GetUVRegion() |
Get brush UV region, should check if region is valid before using it |
|
HasUObject() |
Checks whether this brush has a UTexture object |
|
|
InvalidateResourceHandle() |
||
|
IsDynamicallyLoaded() |
Checks whether the brush resource is loaded dynamically. |
|
|
SetImageSize ( |
||
|
SetResourceObject ( |
Sets the UObject that represents the brush resource. |
|
|
SetUVRegion ( |
Set brush UV region |
|
|
UnlinkColors() |
Unlinks all colors in this brush. |
|
|
const FStrin... |
UTextureIdentifier() |
Gets the identifier for UObject based texture paths. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Compares this brush with another for inequality. |
|
|
operator== ( |
Compares this brush with another for equality. |