unreal.DeviceColorData

class unreal.DeviceColorData(enable: bool = False, reset_after_completion: bool = False, light_color: Color = Ellipsis)

Bases: StructBase

Data required for setting the Input Device Color

C++ Source:

  • Module: Engine

  • File: InputDeviceProperties.h

Editor Properties: (see get_editor_property/set_editor_property)

  • enable (bool): [Read-Write] True if the light should be enabled at all

  • light_color (Color): [Read-Write] The color to set the light on

  • reset_after_completion (bool): [Read-Write] If true, the light color will be reset to “off” after this property has been evaluated.

property enable: bool

[Read-Write] True if the light should be enabled at all

Type:

(bool)

property light_color: Color

[Read-Write] The color to set the light on

Type:

(Color)

property reset_after_completion: bool

[Read-Write] If true, the light color will be reset to “off” after this property has been evaluated.

Type:

(bool)