Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling > API/Runtime/SlateCore/Styling/FSlateStyleSet
- ISlateStyle::GetMargin()
- FSlateStyleSet::GetMargin()
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 |
virtual const FMargin & GetMargin
(
const FName PropertyName,
const ANSICHAR * Specifier,
const FMargin & DefaultValue,
const ISlateStyle * RequestingStyle
) const
a FMargin property.
Parameters
| Name | 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 |