FSlotArguments

Struct to construct a slot.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/SlotBase.h

Include

#include "SlotBase.h"

Syntax

struct FSlotArguments : public FSlotBase::FSlotArguments

Remarks

Struct to construct a slot.

Constructors

Name Description

Public function

FSlotArguments

Public function

FSlotArguments

(
    TUniquePtr< SlotType > InSlot
)

Public function

FSlotArguments

(
    const FSlotArguments&
)

Public function

FSlotArguments

(
    FSlotArguments&&
)

Functions

Name Description

Public function

void

 

AttachWidget

(
    const TSharedRef< SWidget >& InChi...
)

Attach the child widget the slot will own.

Public function

SlotType::FS...

 

Expose

(
    SlotType*& OutVarToInit
)

Initialize OutVarToInit with the slot that is being constructed.

Public function Const

const TShare...

 

GetAttachedWidget()

Public function Const

SlotType ...

 

GetSlot()

Public function

SlotType::FS...

 

Me()

Used by the named argument pattern as a safe way to 'return *this' for call-chaining purposes.

Public function

TUniquePtr< ...

 

StealSlot()

Steal the slot that is being constructed from the FSlotArguments.

Operators

Name Description

Public function

SlotType::FS...

 

operator[]

(
    const TSharedRef< SWidget >& InChi...
)

Attach the child widget the slot will own.

Public function

FSlotArgumen...

 

operator=

(
    const FSlotArguments&
)

Public function

FSlotArgumen...

 

operator=

(
    FSlotArguments&&
)