UMagicLeapControllerFunctionLibrary::IsMLControllerConnected

Checks if the ML controller (MagicLeapControl0, MagicLeapControl1, MagicLeapMobileApp) of the given motion source is currently connected.

Windows
MacOS
Linux

References

Module

MagicLeapController

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapController/Public/MagicLeapControllerFunctionLibrary.h

Include

#include "MagicLeapControllerFunctionLibrary.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapController/Private/MagicLeapControllerFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, BlueprintPure, Category="MotionController|MagicLeap")
static bool IsMLControllerConnected
(
    FName MotionSource
)

Remarks

Checks if the ML controller (MagicLeapControl0, MagicLeapControl1, MagicLeapMobileApp) of the given motion source is currently connected.

Returns

true if the ML controller of the given motion source is connected, false otherwise. Will return false if the motion source is not of an ML controller.

Parameters

Parameter

Description

MotionSource

Motion source to query.

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