FSlateApplication::FindOrCreateVirtualUser

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< FSlateVirtualUserHandle > FindOrCreateVirtualUser
(
    int32 VirtualUserIndex
)

Returns

a handle for the existing or newly created virtual slate user. This is handy when you need to create virtual hardware users for slate components in the virtual world that may need to be interacted with with virtual hardware.

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