FSlateApplication::RegisterNewUser

Register a new user with Slate.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

TSharedRef< FSlateUser > RegisterNewUser
(
    int32 UserIndex,
    bool bIsVirtual
)

Remarks

Register a new user with Slate. Normally this is unnecessary as Slate automatically adds a user entry if it gets input from a controller for that index. Might happen if the user allocates the virtual user.

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