FSlot

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SGridPanel.h

Include

#include "Widgets/Layout/SGridPanel.h"

Syntax

class FSlot : public TBasicLayoutWidgetSlot< FSlot >

Constructors

Name Description

Public function

FSlot

(
    int32 Column,
    int32 Row,
    int32 InLayer
)

Default values for a slot.

Functions

Name Description

Public function

void

 

Construct

(
    const FChildren& SlotOwner,
    FSlotArguments&& InArgs
)

Public function Const

int32

 

GetColumn()

Which column in the grid this cell belongs to

Public function Const

int32

 

GetColumnSpan()

How many columns this slot spans over

Public function Const

int32

 

GetLayer()

Positive values offset this cell to be hit-tested and drawn on top of others.

Public function Const

FVector2D

 

GetNudge()

Offset this slot's content by some amount; positive values offset to lower right

Public function Const

int32

 

GetRow()

Which row in the grid this cell belongs to

Public function Const

int32

 

GetRowSpan()

How many rows this this slot spans over

Public function

void

 

SetColumn

(
    int32 Column
)

Public function

void

 

SetColumnSpan

(
    int32 ColumnSpan
)

Public function

void

 

SetLayer

(
    int32 Layer
)

Public function

void

 

SetNudge

(
    const FVector2D& Nudge
)

Public function

void

 

SetRow

(
    int32 Row
)

Public function

void

 

SetRowSpan

(
    int32 RowSpan
)

Classes

Name

Description

Public struct

FSlotArguments