unreal.ColorInputDeviceCurveProperty

class unreal.ColorInputDeviceCurveProperty(outer: Object | None = None, name: Name | str = 'None')

Bases: InputDeviceProperty

A property that can be used to change the color of an input device’s light over time with a curve

NOTE: This property has platform specific implementations and may behave differently per platform. See the docs for more details on each platform.

C++ Source:

  • Module: Engine

  • File: InputDeviceProperties.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color_data (DeviceColorCurveData): [Read-Write] Default color data that will be used by default. Device Specific overrides will be used when the current input device matches

  • device_override_data (Map[Name, DeviceColorCurveData]): [Read-Write] A map of device specific color data. If no overrides are specified, the Default hardware data will be used

  • property_duration (float): [Read-Only] The duration that this device property should last. Override this if your property has any dynamic curves to be the max time range.

    A duration of 0 means that the device property will be treated as a “One Shot” effect, being applied once before being removed by the Input Device Subsystem.

property color_data: DeviceColorCurveData

[Read-Write] Default color data that will be used by default. Device Specific overrides will be used when the current input device matches

Type:

(DeviceColorCurveData)

property device_override_data: None

[Read-Write] A map of device specific color data. If no overrides are specified, the Default hardware data will be used

Type:

(Map[Name, DeviceColorCurveData])