UWidgetLayoutLibrary::SlotAsCanvasSlot

Gets the slot object on the child widget as a Canvas Slot, allowing you to manipulate layout information.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetLayoutLibrary.h

Include

#include "Blueprint/WidgetLayoutLibrary.h"

Source

/Engine/Source/Runtime/UMG/Private/WidgetLayoutLibrary.cpp

Syntax

static UCanvasPanelSlot * SlotAsCanvasSlot
(
    UWidget * Widget
)

Remarks

Gets the slot object on the child widget as a Canvas Slot, allowing you to manipulate layout information.

Parameters

Parameter

Description

Widget

The child widget of a canvas panel.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss