FSlot

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SBoxPanel.h

Include

#include "Widgets/SBoxPanel.h"

Syntax

class FSlot : public SBoxPanel::TSlot< FSlot >

Functions

Name Description

Public function

void

 

Construct

(
    const FChildren& SlotOwner,
    FSlotArguments&& InArgs
)

Public function

void

 

SetAutoHeight()

The widget's DesiredSize will be used as the space required.

Public function

void

 

SetFillHeight

(
    TAttribute< float > InStretchCoeffi...
)

The available space will be distributed proportionately.

Public function

void

 

SetMaxHeight

(
    TAttribute< float > InMaxHeight
)

Set the max size in SlateUnit this slot can be.

Classes

Name

Description

Public struct

FSlotArguments

Deprecated Functions

Name Description

Public function

FSlot &

 

AutoHeight()

Chained AutoHeight is deprecated. Use the FSlotArgument or SetAutoHeight

Public function

FSlot &

 

FillHeight

(
    TAttribute< float > InStretchCoeffi...
)

Chained FillWidth is deprecated. Use the FSlotArgument or SetFillWidth

Public function

FSlot &

 

MaxHeight

(
    TAttribute< float > InMaxHeight
)

Chained MaxWidth is deprecated. Use the FSlotArgument or SetMaxHeight