FSlateStyleSet::GetFloat

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ISlateStyle::GetFloat()

FSlateStyleSet::GetFloat()

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 float GetFloat
(
    const FName PropertyName,
    const ANSICHAR * Specifier,
    float DefaultValue,
    const ISlateStyle * RequestingStyle
) const

Returns

a float 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