unreal.DMXFixtureCellAttribute

class unreal.DMXFixtureCellAttribute(attribute=[], description='', default_value=0, data_type=DMXFixtureSignalFormat.E8_BIT, use_lsb_mode=False)

Bases: unreal.StructBase

DMXFixture Cell Attribute

C++ Source:

  • Plugin: DMXEngine

  • Module: DMXRuntime

  • File: DMXEntityFixtureType.h

Editor Properties: (see get_editor_property/set_editor_property)

  • attribute (DMXAttributeName): [Read-Write] Attribute: The Attribute name to map this Function to. This is used to easily find the Function in Blueprints, using an Attribute list instead of typing the Function name directly. The list of Attributes can be edited on Project Settings->Plugins->DMX Protocol->Fixture Settings->Fixture Function Attributes

  • data_type (DMXFixtureSignalFormat): [Read-Write] Data Type: This function’s data type. Defines the used number of channels (bytes)

  • default_value (int64): [Read-Write] Default Value: Initial value for this function when no value is set

  • description (str): [Read-Write] Description

  • use_lsb_mode (bool): [Read-Write] Use LSBMode: The Endianess of the Attribute: Least Significant Byte mode makes the individual bytes (channels) of the function be interpreted with the first bytes being the lowest part of the number.

    E.g., given a 16 bit function with two channel values set to [0, 1], they would be interpreted as the binary number 00000001 00000000, which means 256. The first byte (0) became the lowest part in binary form and the following byte (1), the highest.

    Most Fixtures use MSB (Most Significant Byte) mode, which interprets bytes as highest first. In MSB mode, the example above would be interpreted in binary as 00000000 00000001, which means 1. The first byte (0) became the highest part in binary form and the following byte (1), the lowest.

property attribute

[Read-Write] Attribute: The Attribute name to map this Function to. This is used to easily find the Function in Blueprints, using an Attribute list instead of typing the Function name directly. The list of Attributes can be edited on Project Settings->Plugins->DMX Protocol->Fixture Settings->Fixture Function Attributes

Type

(DMXAttributeName)

property data_type

[Read-Write] Data Type: This function’s data type. Defines the used number of channels (bytes)

Type

(DMXFixtureSignalFormat)

property default_value

[Read-Write] Default Value: Initial value for this function when no value is set

Type

(int64)

property description

[Read-Write] Description

Type

(str)

property use_lsb_mode

[Read-Write] Use LSBMode: The Endianess of the Attribute: Least Significant Byte mode makes the individual bytes (channels) of the function be interpreted with the first bytes being the lowest part of the number.

E.g., given a 16 bit function with two channel values set to [0, 1], they would be interpreted as the binary number 00000001 00000000, which means 256. The first byte (0) became the lowest part in binary form and the following byte (1), the highest.

Most Fixtures use MSB (Most Significant Byte) mode, which interprets bytes as highest first. In MSB mode, the example above would be interpreted in binary as 00000000 00000001, which means 1. The first byte (0) became the highest part in binary form and the following byte (1), the lowest.

Type

(bool)