unreal.RigUnit_DrawControlRigSpline

class unreal.RigUnit_DrawControlRigSpline(execute_pin: RigVMExecutePin = [], spline: ControlRigSpline = [], color: LinearColor = Ellipsis, thickness: float = 0.0, detail: int = 0)

Bases: RigUnit_ControlRigSplineBaseMutable

Draws the given spline in the viewport

C++ Source:

  • Plugin: ControlRigSpline

  • Module: ControlRigSpline

  • File: ControlRigSplineUnits.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color (LinearColor): [Read-Write] The color to use for the debug draw

  • detail (int32): [Read-Write] The detail to use to render the spline

  • execute_pin (RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units together

  • spline (ControlRigSpline): [Read-Write] The spline to draw

  • thickness (float): [Read-Write] The line thickness to use when drawing the spline

property color: LinearColor

[Read-Write] The color to use for the debug draw

Type:

(LinearColor)

property detail: int

[Read-Write] The detail to use to render the spline

Type:

(int32)

property spline: ControlRigSpline

[Read-Write] The spline to draw

Type:

(ControlRigSpline)

property thickness: float

[Read-Write] The line thickness to use when drawing the spline

Type:

(float)