unreal.RigUnit_ControlRigSplineFromTransforms

class unreal.RigUnit_ControlRigSplineFromTransforms(transforms: None = [], spline_mode: SplineType = Ellipsis, closed: bool = False, samples_per_segment: int = 0, compression: float = 0.0, stretch: float = 0.0, spline: ControlRigSpline = [])

Bases: RigUnit_ControlRigSplineBase

  • Creates a Spline curve from an array of positions

C++ Source:

  • Plugin: ControlRigSpline

  • Module: ControlRigSpline

  • File: ControlRigSplineUnits.h

Editor Properties: (see get_editor_property/set_editor_property)

  • closed (bool): [Read-Write]

  • compression (float): [Read-Write]

  • samples_per_segment (int32): [Read-Write]

  • spline (ControlRigSpline): [Read-Write]

  • spline_mode (SplineType): [Read-Write]

  • stretch (float): [Read-Write]

  • transforms (Array[Transform]): [Read-Write]

property closed: bool

[Read-Write]

Type:

(bool)

property compression: float

[Read-Write]

Type:

(float)

property samples_per_segment: int

[Read-Write]

Type:

(int32)

property spline: ControlRigSpline

[Read-Only]

Type:

(ControlRigSpline)

property spline_mode: SplineType

[Read-Write]

Type:

(SplineType)

property stretch: float

[Read-Write]

Type:

(float)

property transforms: None

[Read-Write]

Type:

(Array[Transform])