unreal.DMXPixelMappingLayoutToken

class unreal.DMXPixelMappingLayoutToken(position_x: float = 0.0, position_y: float = 0.0, size_x: float = 0.0, size_y: float = 0.0, relative_rotation: float = 0.0, component: DMXPixelMappingOutputComponent = Ellipsis, fixture_id: int = 0)

Bases: StructBase

The position and size of a comoponent in a layout.

C++ Source:

  • Plugin: DMXPixelMapping

  • Module: DMXPixelMappingRuntime

  • File: DMXPixelMappingLayoutScript.h

Editor Properties: (see get_editor_property/set_editor_property)

  • component (DMXPixelMappingOutputComponent): [Read-Write] The output component to which the token is applied

  • fixture_id (int32): [Read-Only] The Fixture ID of the Component’s Fixture Patch, or 0 if the component has no Fixture Patch, or the Fixture ID is not set.

  • position_x (float): [Read-Write] The position of the component on the X-Axis

  • position_y (float): [Read-Write] The position of the component on the Y-Axis

  • relative_rotation (double): [Read-Write] The rotation relative to the parent the component, applied after position

  • size_x (float): [Read-Write] The size of the component on the X-Axis

  • size_y (float): [Read-Write] The size of the component on the Y-Axis

property component: DMXPixelMappingOutputComponent

[Read-Write] The output component to which the token is applied

Type:

(DMXPixelMappingOutputComponent)

property fixture_id: int

[Read-Only] The Fixture ID of the Component’s Fixture Patch, or 0 if the component has no Fixture Patch, or the Fixture ID is not set.

Type:

(int32)

property position_x: float

[Read-Write] The position of the component on the X-Axis

Type:

(float)

property position_y: float

[Read-Write] The position of the component on the Y-Axis

Type:

(float)

property relative_rotation: float

[Read-Write] The rotation relative to the parent the component, applied after position

Type:

(double)

property size_x: float

[Read-Write] The size of the component on the X-Axis

Type:

(float)

property size_y: float

[Read-Write] The size of the component on the Y-Axis

Type:

(float)