IGameLayerManager

Allows widgets to be managed for different users.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IGameLayerManager

SGameLayerManager

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Slate/SGameLayerManager.h

Include

#include "Slate/SGameLayerManager.h"

Syntax

class IGameLayerManager

Remarks

Allows widgets to be managed for different users.

Functions

Name Description

Public function

bool

 

AddLayerForPlayer

(
    ULocalPlayer* Player,
    const FName& LayerName,
    TSharedRef< IGameLayer > Layer,
    int32 ZOrder
)

Public function

void

 

AddWidgetForPlayer

(
    ULocalPlayer* Player,
    TSharedRef< SWidget > ViewportConte...,
    int32 ZOrder
)

Public function

void

 

ClearWidgets()

Public function

void

 

ClearWidgetsForPlayer

(
    ULocalPlayer* Player
)

Public function

TSharedPtr< ...

 

FindLayerForPlayer

(
    ULocalPlayer* Player,
    const FName& LayerName
)

Public function Const

FGeometry

 

GetPlayerWidgetHostGeometry

(
    ULocalPlayer* Player
)

Public function Const

FGeometry

 

GetViewportWidgetHostGeometry()

Public function

void

 

NotifyPlayerAdded

(
    int32 PlayerIndex,
    ULocalPlayer* AddedPlayer
)

Public function

void

 

NotifyPlayerRemoved

(
    int32 PlayerIndex,
    ULocalPlayer* RemovedPlayer
)

Public function

void

 

RemoveWidgetForPlayer

(
    ULocalPlayer* Player,
    TSharedRef< SWidget > ViewportConte...
)

Public function

void

 

RestorePreviousWindowTitleBarState()

Public function

void

 

SetDefaultWindowTitleBarHeight

(
    float Height
)

Public function

void

 

SetSceneViewport

(
    FSceneViewport* SceneViewport
)

Public function

void

 

SetWindowTitleBarState

(
    const TSharedPtr< SWidget >& Title...,
    EWindowTitleBarMode Mode,
    bool bTitleBarDragEnabled,
    bool bWindowButtonsVisible,
    bool bTitleBarVisible
)

Public function

void

 

SetWindowTitleBarVisibility

(
    bool bIsVisible
)