Get Last Location

Get Last Location

Windows
MacOS
Linux

Attempts to retrieve the latitude, longitude and postcode of the device.

Target is Magic Leap Location Component

Get Last Location
Target
Use Fine Location
Out Location
Return Value

Inputs

In
Exec
Target
Magic Leap Location Component Object Reference
Use Fine Location
Boolean

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

Outputs

Out
Exec
Out Location
Magic Leap Location Data Structure

If successful this will contain the latitude, longitude and postcode of the device.

Return Value
Boolean

True if the location data is valid, false otherwise.

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