engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 属性 | 所有成员列表
FSlateStyleSet类 参考

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::FSlateStyleSet ( const FName &  InStyleSetName)

Construct a style chunk.

参数
InStyleSetNameThe name used to identity this style set

成员函数说明

◆ Set() [1/8]

FORCENOINLINE void FSlateStyleSet::Set ( const FName  PropertyName,
const FLinearColor &  InColor 
)
inline

Set FLinearColor property.

参数
PropertyName- Name of the property to set.
InColor- The value to set.

◆ Set() [2/8]

FORCENOINLINE void FSlateStyleSet::Set ( const FName  PropertyName,
const float  InFloat 
)
inline

Set float properties

参数
PropertyName- Name of the property to set.
InFloat- The value to set.

◆ Set() [3/8]

FORCENOINLINE void FSlateStyleSet::Set ( const FName  PropertyName,
const FMargin &  InMargin 
)
inline

Add a FMargin property to this style's collection.

参数
PropertyName- Name of the property to add.
InMargin- The value to add.

◆ Set() [4/8]

FORCENOINLINE void FSlateStyleSet::Set ( const FName  PropertyName,
const FSlateColor &  InColor 
)
inline

Add a FSlateLinearColor property to this style's collection.

参数
PropertyName- Name of the property to add.
InColor- The value to add.

◆ Set() [5/8]

FORCENOINLINE void FSlateStyleSet::Set ( const FName  PropertyName,
const FVector2D  InVector 
)
inline

Add a FVector2D property to this style's collection.

参数
PropertyName- Name of the property to set.
InVector- The value to set.

◆ Set() [6/8]

FORCENOINLINE void FSlateStyleSet::Set ( const FName  PropertyName,
FSlateBrush *  InBrush 
)
inline

Add a FSlateBrush property to this style's collection

参数
PropertyName- Name of the property to set.
InBrush- The brush to set.

◆ Set() [7/8]

FORCENOINLINE void FSlateStyleSet::Set ( FName  PropertyName,
const FSlateFontInfo &  InFontInfo 
)
inline

Set FSlateFontInfo properties

参数
PropertyNameName of the property to set
InFontStyleThe value to set

◆ Set() [8/8]

FORCENOINLINE void FSlateStyleSet::Set ( FName  PropertyName,
const FSlateSound &  InSound 
)
inline

Set FSlateSound properties

参数
PropertyNameName of the property to set
InSoundSound to set

该类的文档由以下文件生成: