A slate style chunk that contains a collection of named properties that guide the appearance of Slate. 更多...
#include <SlateStyle.h>
继承自 ISlateStyle .
被 FSlateGameResources 继承.
Public 成员函数 | |
| FSlateStyleSet (const FName &InStyleSetName) | |
| Construct a style chunk. 更多... | |
| FORCENOINLINE void | Set (const FName PropertyName, const FLinearColor &InColor) |
| Set FLinearColor property. 更多... | |
| FORCENOINLINE void | Set (const FName PropertyName, const float InFloat) |
| Set float properties 更多... | |
| FORCENOINLINE void | Set (const FName PropertyName, const FMargin &InMargin) |
| Add a FMargin property to this style's collection. 更多... | |
| FORCENOINLINE void | Set (const FName PropertyName, const FSlateColor &InColor) |
| Add a FSlateLinearColor property to this style's collection. 更多... | |
| FORCENOINLINE void | Set (const FName PropertyName, const FVector2D InVector) |
| Add a FVector2D property to this style's collection. 更多... | |
| FORCENOINLINE void | Set (const FName PropertyName, FSlateBrush *InBrush) |
| Add a FSlateBrush property to this style's collection 更多... | |
| FORCENOINLINE void | Set (FName PropertyName, const FSlateFontInfo &InFontInfo) |
| Set FSlateFontInfo properties 更多... | |
| FORCENOINLINE void | Set (FName PropertyName, const FSlateSound &InSound) |
| Set FSlateSound properties 更多... | |
| virtual | ~FSlateStyleSet () |
| Destructor. | |
Protected 属性 | |
| TMap< FName, FLinearColor > | ColorValues |
| Color property storage. | |
| FString | ContentRootDir |
| This dir is Engine/Editor/Slate folder | |
| FString | CoreContentRootDir |
| This dir is Engine/Slate folder to share the items | |
| TMap< FName, TWeakPtr< FSlateDynamicImageBrush > > | DynamicBrushes |
| A list of dynamic brushes | |
| TMap< FName, float > | FloatValues |
| float property storage. | |
| TMap< FName, FSlateFontInfo > | FontInfoResources |
| FSlateFontInfo property storage. | |
| TMap< FName, FMargin > | MarginValues |
| FMargin property storage. | |
| TSet< FName > | MissingResources |
| A set of resources that were requested, but not found. | |
| TMap< FName, FSlateColor > | SlateColorValues |
| FSlateColor property storage. | |
| TMap< FName, FSlateSound > | Sounds |
| SlateSound property storage | |
| FName | StyleSetName |
| The name used to identity this style set | |
| TMap< FName, FVector2D > | Vector2DValues |
| FVector2D property storage. | |
A slate style chunk that contains a collection of named properties that guide the appearance of Slate.
At the moment, basically FEditorStyle.
| FSlateStyleSet::FSlateStyleSet | ( | const FName & | InStyleSetName | ) |
Construct a style chunk.
| InStyleSetName | The name used to identity this style set |
|
inline |
Set FLinearColor property.
| PropertyName | - Name of the property to set. |
| InColor | - The value to set. |
|
inline |
Set float properties
| PropertyName | - Name of the property to set. |
| InFloat | - The value to set. |
|
inline |
Add a FMargin property to this style's collection.
| PropertyName | - Name of the property to add. |
| InMargin | - The value to add. |
|
inline |
Add a FSlateLinearColor property to this style's collection.
| PropertyName | - Name of the property to add. |
| InColor | - The value to add. |
|
inline |
Add a FVector2D property to this style's collection.
| PropertyName | - Name of the property to set. |
| InVector | - The value to set. |
|
inline |
Add a FSlateBrush property to this style's collection
| PropertyName | - Name of the property to set. |
| InBrush | - The brush to set. |
|
inline |
Set FSlateFontInfo properties
| PropertyName | Name of the property to set |
| InFontStyle | The value to set |
|
inline |
Set FSlateSound properties
| PropertyName | Name of the property to set |
| InSound | Sound to set |