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] Color

  • enabled (bool): [Read-Write] Enabled

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

  • scale (float): [Read-Write] Scale

  • space (RigElementKey): [Read-Write] Space

  • thickness (float): [Read-Write] Thickness

  • transform (Transform): [Read-Write] Transform

  • world_offset (Transform): [Read-Write] World Offset

property color: LinearColor

[Read-Write] Color

Type:

(LinearColor)

property enabled: bool

[Read-Write] Enabled

Type:

(bool)

property scale: float

[Read-Write] Scale

Type:

(float)

property space: RigElementKey

[Read-Write] Space

Type:

(RigElementKey)

property thickness: float

[Read-Write] Thickness

Type:

(float)

property transform: Transform

[Read-Write] Transform

Type:

(Transform)

property world_offset: Transform

[Read-Write] World Offset

Type:

(Transform)