Choose your operating system:
Windows
macOS
Linux
| FSlateControlledConstruction | ||||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Widgets/Images/SLayeredImage.h |
Include |
#include "Widgets/Images/SLayeredImage.h" |
class SLayeredImage : public SImage
A slate widget to draw an arbitrary number of images over top of each other
Name | Description | ||
---|---|---|---|
|
AddLayer ( |
Adds a new layer to the top of the Image given a brush and color. Use White as the default color. |
|
|
AddLayer ( |
Adds a new layer to the top of the Image given a brush and color |
|
|
Construct ( |
Constructor that adds InLayers on top of the base image |
|
|
Construct ( |
Constructor that adds InLayers on top of the base image |
|
|
Construct ( |
Constructor that adds NumLayers blank layers on top of the image for later use |
|
|
Construct ( |
Constructor that sets the base image and any overlay layers defined in the Slate icon |
|
|
Construct ( |
Constructor that adds a single layer on top of the base image |
|
|
GetNumLayers() |
Returns the total number of layers, including the base image. |
|
|
IsValidIndex ( |
Determines whether a Layer exists at the given index |
|
|
RemoveAllLayers() |
Removes all layers |
|
|
SetFromSlateIcon ( |
Sets the base image and any overlay layers defined in the Slate icon. removes all layers |
|
|
SetLayerBrush ( |
Sets the brush for a given layer, if it exists |
|
|
SetLayerColor ( |
Sets the color for a given layer, if it exists. |
Name | Description | ||
---|---|---|---|
|
OnPaint ( |
Overwritten from SWidget. |
Name |
Description |
---|---|
BrushAttributeType |
|
ColorAttributeType |
|
ImageLayer |
|
InnerImageLayerType |
Name | Description | ||
---|---|---|---|
|
const FSlate... |
GetLayerBrush ( |
GetLayerBrush is not accessible anymore since it's attribute value may not have been updated yet. |
|
GetLayerColor ( |
GetLayerColor is not accessible anymore since it's attribute value may not have been updated yet. |