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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback