UMagicLeapLocationFunctionLibrary::GetLastLocationOnSphere

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

Windows
MacOS
Linux

References

Module

MagicLeapLocation

Header

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

Include

#include "MagicLeapLocationFunctionLibrary.h"

Source

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Location Function Library | MagicLeap")
static bool GetLastLocationOnSphere
(
    float InRadius,
    FVector & OutLocation,
    bool bUseFineLocation
)

Remarks

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

Returns

True if the location is valid, false otherwise.

Parameters

Parameter

Description

OutLocation

If successful this will be a valid point on a sphere representing the location of the device.

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