UMagicLeapHMDFunctionLibrary::GetHeadTrackingMapEvents

Get map events.

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 GetHeadTrackingMapEvents
(
    TSet< EMagicLeapHeadTrackingMapEvent > & MapEvents
)

Remarks

Get map events. A developer must be aware of certain events that can occur under degenerative conditions in order to cleanly handle it. The most important event to be aware of is when a map changes. In the case that a new map session begins, or recovery fails, all formerly cached transform and world reconstruction data (raycast, planes, mesh) is invalidated and must be updated.

Returns

true if call get map events from the platform succeeded, false otherwise.

Parameters

Parameter

Description

MapEvents

Set of map events occured since the last frame. Valid only if function returns true.

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