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.

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