FSlateStyleSet::GetColor

Windows
MacOS
Linux

Override Hierarchy

ISlateStyle::GetColor()

FSlateStyleSet::GetColor()

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 FLinearColor & GetColor
(
    const FName PropertyName,
    const ANSICHAR * Specifier,
    const FLinearColor & DefaultValue
) 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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss