Navigation
API > API/Runtime > API/Runtime/SlateCore
Specialization for FSlotProxy (and derived).
| Name | TSlotAccessor< SlotType, std::enable_if_t< std::is_base_of_v< FSlotProxy, std::decay_t< SlotType > > > > |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/LayoutUtils.h |
| Include Path | #include "Layout/LayoutUtils.h" |
Syntax
namespace TSlotAccessor< SlotType, std
{
namespace enable_if_t< std
{
namespace is_base_of_v< FSlotProxy, std
{
template<typename SlotType>
struct TSlotAccessor< SlotType, std::enable_if_t< std::is_base_of_v< FSlotProxy, std::decay_t< SlotType > > > >
}
}
}
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2f GetArrangedSize
(
const FSlotProxy& InSlot, |
Get the slot's arranged size as it was last calculated. | Layout/LayoutUtils.h | |
FVector2f GetDesiredSize
(
const FSlotProxy& InSlot, |
Get the slot's desired size as it was last calculated. | Layout/LayoutUtils.h | |
int32 GetIndex
(
const FSlotProxy& InSlot, |
Get the index of the slot within it's parent container. | Layout/LayoutUtils.h | |
FVector2f::FReal GetMaxSize
(
const FSlotProxy& InSlot, |
Get the slot's maximum size, if set. A value of 0.0f indicates this is not set. | Layout/LayoutUtils.h | |
FVector2f::FReal GetMinSize
(
const FSlotProxy& InSlot, |
Get the slot's minimum size, if set. A value of 0.0f indicates this is not set. | Layout/LayoutUtils.h | |
FMargin GetPadding
(
const FSlotProxy& InSlot, |
Get the slot padding. | Layout/LayoutUtils.h | |
float GetShrinkSizeValue
(
const FSlotProxy& InSlot, |
Get the slot's shrink size value, applicable if the size rule is FillContent. | Layout/LayoutUtils.h | |
FSizeParam::ESizeRule GetSizeRule
(
const FSlotProxy& InSlot, |
Get the slot's applied size rule, ie. Auto, Fill. | Layout/LayoutUtils.h | |
float GetSizeValue
(
const FSlotProxy& InSlot, |
Get the slot's size value, applicable if the size rule is Fill or FillContent. | Layout/LayoutUtils.h | |
EVisibility GetVisibility
(
const FSlotProxy& InSlot, |
Get the current visibility state of the slot. | Layout/LayoutUtils.h | |
TSharedRef< SWidget > GetWidget
(
const FSlotProxy& InSlot |
Get the contained widget. | Layout/LayoutUtils.h | |
FArrangedWidget MakeArrangedWidget
(
const FSlotProxy& InSlot, |
Makes an arranged widget for the given Slot. This usually wraps FGeometry::MakeChild(). | Layout/LayoutUtils.h |