UMagicLeapHMDFunctionLibrary::IsRunningOnMagicLeapHMD

Returns true if this code is executing on the ML HMD, false otherwise (e.g. it's executing on PC)

Windows
MacOS
Linux

References

Module

MagicLeap

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Public/MagicLeapHMDFunctionLibrary.h

Include

#include "MagicLeapHMDFunctionLibrary.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Private/MagicLeapHMDFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, BlueprintPure, Category="MagicLeap")
static bool IsRunningOnMagicLeapHMD()

Remarks

Returns true if this code is executing on the ML HMD, false otherwise (e.g. it's executing on PC)

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