Get Ambient Global State

Get Ambient Global State

Windows
MacOS
Linux

Gets information about the ambient light sensor global state. Note: Capturing images or video will stop the lighting information update, causing the retrieved data to be stale (old timestamps).

Target is Magic Leap Light Estimation Function Library

Get Ambient Global State
Global Ambient State
Return Value

Inputs

In
Exec

Outputs

Out
Exec
Global Ambient State
Magic Leap Light Estimation Ambient Global State Structure

Output param containing the information about the global lighting state (ambient intensity). Valid only if return value of function is true.

Return Value
Boolean

true if the global ambient state was succesfully retrieved.

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