unreal.MagicLeapLightEstimationColorTemperatureState

class unreal.MagicLeapLightEstimationColorTemperatureState(color_temperature_kelvin=0.0, ambient_color=[0.0, 0.0, 0.0, 0.0], timestamp=[0, 0, 0, 0, 0])

Bases: unreal.StructBase

Information about the color temperature 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_color (LinearColor): [Read-Write] Ambient Color

  • color_temperature_kelvin (float): [Read-Write] Color Temperature Kelvin

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

property ambient_color

[Read-Only] Ambient Color

Type

(LinearColor)

property color_temperature_kelvin

[Read-Only] Color Temperature Kelvin

Type

(float)

property timestamp

[Read-Only] Timestamp

Type

(Timespan)