unreal.DMXFixtureComponentDouble
¶
- class unreal.DMXFixtureComponentDouble(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DMXFixtureComponent
Component that uses 2 DMX channels
C++ Source:
Plugin: DMXFixtures
Module: DMXFixtures
File: DMXFixtureComponentDouble.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
(DMXChannelData): [Read-Write] The first dmx attribute the component handlesdmx_channel2
(DMXChannelData): [Read-Write] The second dmx attribute the component handleseditable_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 Componentreplicate_using_registered_sub_object_list
(bool): [Read-Write] When true the replication system will only replicate the registered subobjects list When false the replication system will instead call the virtual ReplicateSubObjects() function where the subobjects need to be manually replicated.replicates
(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: DMXChannelData¶
[Read-Only] The first dmx attribute the component handles
- Type:
- property dmx_channel2: DMXChannelData¶
[Read-Only] The second dmx attribute the component handles
- Type:
- dmx_interpolated_step(channel_index: int) float ¶
deprecated: ‘dmx_interpolated_step’ was renamed to ‘get_dmx_interpolated_step’.
- dmx_interpolated_value(channel_index: int) float ¶
deprecated: ‘dmx_interpolated_value’ was renamed to ‘get_dmx_interpolated_value’.
- dmx_is_interpolation_done(channel_index: int) bool ¶
deprecated: ‘dmx_is_interpolation_done’ was renamed to ‘is_dmx_interpolation_done’.
- dmx_target_value(channel_index: int) float ¶
deprecated: ‘dmx_target_value’ was renamed to ‘get_dmx_target_value’.
- get_dmx_interpolated_step(channel_index) float ¶
Gets the interpolation delta value (step) for this frame
- Parameters:
channel_index (int32) –
- Return type:
- get_dmx_interpolated_value(channel_index) float ¶
Gets the current interpolated value
- Parameters:
channel_index (int32) –
- Return type:
- get_dmx_target_value(channel_index) float ¶
Gets the target value towards which the component interpolates
- Parameters:
channel_index (int32) –
- Return type:
- is_dmx_interpolation_done(channel_index) bool ¶
True if the target value is reached and no interpolation is required
- Parameters:
channel_index (int32) –
- Return type:
- set_channel1_value_no_interp(channel1_value) None ¶
Sets first value of the second channel. When interpolation is enabled this function should be called until the value is reached, else just once */
- Parameters:
channel1_value (float) –
- set_channel2_value_no_interp(channel2_value) None ¶
Sets second value of the second channel. When interpolation is enabled this function should be called until the value is reached, else just once
- Parameters:
channel2_value (float) –