| FSlateBrush
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/SlateMaterialBrush.h |
Include |
#include "SlateMaterialBrush.h" |
struct FSlateMaterialBrush : public FSlateBrush
Dynamic brush for referencing a UMaterial.
Note: This brush nor the slate renderer holds a strong reference to the material. You are responsible for maintaining the lifetime of the brush and material object.
Name | Description | |
---|---|---|
|
FSlateMaterialBrush ( |
Creates and initializes a new instance. |
|
FSlateMaterialBrush ( |
Creates and initializes a new instance. |
Name | Description | ||
---|---|---|---|
|
void |
SetMaterial ( |
Sets the material to use. |