Navigation
API > API/Plugins > API/Plugins/SlateIMBlueprint > API/Plugins/SlateIMBlueprint/USlateIMBlueprintFunctionLibrary
Description
Begins a new root in the provided player's viewport
Please use the method below with the struct-parameter.
| Name | BeginViewportPlayerRoot |
| Type | function |
| Header File | /Engine/Plugins/Experimental/SlateIM/Source/SlateIMBlueprint/Public/SlateIMBlueprintFunctionLibrary.h |
| Include Path | #include "SlateIMBlueprintFunctionLibrary.h" |
UFUNCTION (BlueprintCallable, Category="SlateIM|Roots")
static bool BeginViewportPlayerRoot
(
FName UniqueName,
ULocalPlayer * LocalPlayer,
const FSlateIMViewportParams & Params
)
Whether the root is valid and updating
Parameters
| Name | Remarks |
|---|---|
| UniqueName | a globally unique name to identify this root |
| LocalPlayer | the player whose viewport to add the widget to |
| Layout | How to lay out the root within the viewport |