unreal.DMXComponent

class unreal.DMXComponent(outer=None, name='None')

Bases: unreal.ActorComponent

Component that receives DMX input each Tick from a fixture patch. Only useful if updates are required each tick (otherwise use DMX Fixture Patch Ref variable and acess Data on demand from there).

C++ Source:

  • Plugin: DMXEngine

  • Module: DMXRuntime

  • File: DMXComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_user_data (Array(AssetUserData)): [Read-Write] Array of user data stored with the component

  • auto_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 navigation

  • component_tags (Array(Name)): [Read-Write] Array of tags that can be used for grouping and categorizing. Can also be accessed from scripting.

  • editable_when_inherited (bool): [Read-Write] True if this component can be modified when it was inherited from a parent actor class

  • fixture_patch_ref (DMXEntityFixturePatchRef): [Read-Write] Fixture Patch Ref

  • is_editor_only (bool): [Read-Write] If true, the component will be excluded from non-editor builds

  • on_component_activated (ActorComponentActivatedSignature): [Read-Write] Called when the component has been activated, with parameter indicating if it was from a reset

  • on_component_deactivated (ActorComponentDeactivateSignature): [Read-Write] Called when the component has been deactivated

  • on_fixture_patch_received (DMXComponentFixturePatchReceivedSignature): [Read-Write] Broadcast when the component’s fixture patch received DMX

  • primary_component_tick (ActorComponentTickFunction): [Read-Write] Main tick function for the Component

  • receive_dmx_from_patch (bool): [Read-Write] If true, the component will receive DMX from the patch

  • replicates (bool): [Read-Write] Is this component currently replicating? Should the network code consider it for replication? Owning Actor must be replicating first!

property fixture_patch_ref

[Read-Only] Fixture Patch Ref

Type

(DMXEntityFixturePatchRef)

get_fixture_patch()DMXEntityFixturePatch

Gets the fixture patch used in the component

Returns

Return type

DMXEntityFixturePatch

property on_fixture_patch_received

[Read-Write] Broadcast when the component’s fixture patch received DMX

Type

(DMXComponentFixturePatchReceivedSignature)

property receive_dmx_from_patch

[Read-Only] If true, the component will receive DMX from the patch

Type

(bool)

set_fixture_patch(fixture_patch)None

Sets the fixture patch used in the component

Parameters

fixture_patch (DMXEntityFixturePatch) –

set_receive_dmx_from_patch(receive)None

Sets whether the component receives dmx from the patch. Note, this is saved with the component when called in editor.

Parameters

receive (bool) –