FSlateStyleSet::GetSlateColor

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ISlateStyle::GetSlateColor()

FSlateStyleSet::GetSlateColor()

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateStyle.h

Include

#include "Styling/SlateStyle.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Styling/SlateStyleSet.cpp

Syntax

virtual const FSlateColor GetSlateColor
(
    const FName PropertyName,
    const ANSICHAR * Specifier,
    const FSlateColor & DefaultValue,
    const ISlateStyle * RequestingStyle
) const

Returns

a FLinearColor property.

Parameters

Parameter

Description

PropertyName

Name of the property to get

Specifier

An optional string to append to the property name

DefaultValue

The default value to return if the property cannot be found