unreal.DMXFixtureComponentColor¶
- class unreal.DMXFixtureComponentColor(outer=None, name='None')¶
Bases:
unreal.DMXFixtureComponentSpecific class to handle color mixing using 4 channels (rgb, cmy, rgbw). Note, the color values are never interpolated.
C++ Source:
Plugin: DMXFixtures
Module: DMXFixtures
File: DMXFixtureComponentColor.h
Editor Properties: (see get_editor_property/set_editor_property)
asset_user_data(Array(AssetUserData)): [Read-Write] Array of user data stored with the componentauto_activate(bool): [Read-Write] Whether the component is activated at creation or must be explicitly activated.can_ever_affect_navigation(bool): [Read-Write] Whether this component can potentially influence navigationcomponent_tags(Array(Name)): [Read-Write] Array of tags that can be used for grouping and categorizing. Can also be accessed from scripting.dmx_channel1(DMXAttributeName): [Read-Write] DMXChannel 1dmx_channel2(DMXAttributeName): [Read-Write] DMXChannel 2dmx_channel3(DMXAttributeName): [Read-Write] DMXChannel 3dmx_channel4(DMXAttributeName): [Read-Write] DMXChannel 4editable_when_inherited(bool): [Read-Write] True if this component can be modified when it was inherited from a parent actor classinterpolation_scale(float): [Read-Write] The scale of the interpolation speed. Faster when > 1, slower when < 1is_editor_only(bool): [Read-Write] If true, the component will be excluded from non-editor buildsis_enabled(bool): [Read-Write] If used within a DMX Fixture Actor or Fixture Matrix Actor, the component only receives data when set to true. Else needs be implemented in blueprints.on_component_activated(ActorComponentActivatedSignature): [Read-Write] Called when the component has been activated, with parameter indicating if it was from a reseton_component_deactivated(ActorComponentDeactivateSignature): [Read-Write] Called when the component has been deactivatedprimary_component_tick(ActorComponentTickFunction): [Read-Write] Main tick function for the Componentreplicates(bool): [Read-Write] Is this component currently replicating? Should the network code consider it for replication? Owning Actor must be replicating first!skip_threshold(float): [Read-Write] Value changes smaller than this threshold are ignoreduse_interpolation(bool): [Read-Write] If used within a DMX Fixture Actor or Fixture Matrix Actor, the plugin interpolates towards the last set value.
- property dmx_channel1¶
[Read-Write] DMXChannel 1
- Type
- property dmx_channel2¶
[Read-Write] DMXChannel 2
- Type
- property dmx_channel3¶
[Read-Write] DMXChannel 3
- Type
- property dmx_channel4¶
[Read-Write] DMXChannel 4
- Type
- set_color_no_interp(new_color) → None¶
Sets the color of the component. Note DMX Fixture Component Color does not support interpolation
- Parameters
new_color (LinearColor) –
- set_component(new_color)¶
deprecated: ‘set_component’ was renamed to ‘set_color_no_interp’.