unreal.RigUnit_DebugRectangleItemSpace

class unreal.RigUnit_DebugRectangleItemSpace(execute_context: ControlRigExecuteContext = [], transform: Transform = Ellipsis, color: LinearColor = Ellipsis, scale: float = 0.0, thickness: float = 0.0, space: RigElementKey = Ellipsis, world_offset: Transform = Ellipsis, enabled: bool = False)

Bases: RigUnit_DebugBaseMutable

Draws a rectangle in the viewport given a transform

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_DebugPrimitives.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color (LinearColor): [Read-Write]

  • enabled (bool): [Read-Write]

  • execute_context (ControlRigExecuteContext): [Read-Write] * This property is used to chain multiple mutable units together

  • scale (float): [Read-Write]

  • space (RigElementKey): [Read-Write]

  • thickness (float): [Read-Write]

  • transform (Transform): [Read-Write]

  • world_offset (Transform): [Read-Write]

property color: LinearColor

[Read-Write]

Type:

(LinearColor)

property enabled: bool

[Read-Write]

Type:

(bool)

property scale: float

[Read-Write]

Type:

(float)

property space: RigElementKey

[Read-Write]

Type:

(RigElementKey)

property thickness: float

[Read-Write]

Type:

(float)

property transform: Transform

[Read-Write]

Type:

(Transform)

property world_offset: Transform

[Read-Write]

Type:

(Transform)