Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeapLocation/Source/MagicLeapLocation/Public/MagicLeapLocationFunctionLibrary.h |
Include |
#include "MagicLeapLocationFunctionLibrary.h" |
Source |
/Engine/Plugins/Lumin/MagicLeapLocation/Source/MagicLeapLocation/Private/MagicLeapLocationFunctionLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Location Function Library | MagicLeap")
static bool GetLastLocation
(
FMagicLeapLocationData & OutLocation,
bool bUseFineLocation
)
Attempts to retrieve the latitude, longitude and postcode of the device.
True if the location data is valid, false otherwise.
Parameter |
Description |
---|---|
OutLocation |
If successful this will contain the latitude, longitude and postcode of the device. |
bUseFineLocation |
Flags whether or not to request a fine or coarse location. |