UMagicLeapLocationComponent::GetLastLocationOnSphereAsync

Attempts to retrieve a point on a sphere representing the location of the device asynchronously.

Windows
MacOS
Linux

References

Module

MagicLeapLocation

Header

/Engine/Plugins/Lumin/MagicLeapLocation/Source/MagicLeapLocation/Public/MagicLeapLocationComponent.h

Include

#include "MagicLeapLocationComponent.h"

Source

/Engine/Plugins/Lumin/MagicLeapLocation/Source/MagicLeapLocation/Private/MagicLeapLocationComponent.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Location | MagicLeap")
bool GetLastLocationOnSphereAsync
(
    float InRadius,
    bool bUseFineLocation
)

Remarks

Attempts to retrieve a point on a sphere representing the location of the device asynchronously.

Returns

True if the location is immediately resolved, false otherwise.

Parameters

Parameter

Description

InRadius

The radius of the sphere that the location will be projected onto.

bUseFineLocation

Flags whether or not to request a fine or coarse location.

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