unreal.MagicLeapLightEstimationAmbientGlobalState

class unreal.MagicLeapLightEstimationAmbientGlobalState(ambient_intensity_nits=[], timestamp=[0, 0, 0, 0, 0])

Bases: unreal.StructBase

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

C++ Source:

  • Plugin: MagicLeapLightEstimation

  • Module: MagicLeapLightEstimation

  • File: MagicLeapLightEstimationTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • ambient_intensity_nits (Array(float)): [Read-Write] Array stores values for each world camera, ordered left, right, far left, far right. Luminance estimate is in nits (cd/m^2).

  • timestamp (Timespan): [Read-Write] Timestamp

property ambient_intensity_nits

[Read-Only] Array stores values for each world camera, ordered left, right, far left, far right. Luminance estimate is in nits (cd/m^2).

Type

(Array(float))

property timestamp

[Read-Only] Timestamp

Type

(Timespan)