unreal.RigUnit_ControlRigSplineFromPoints

class unreal.RigUnit_ControlRigSplineFromPoints(points: Array[Vector] = [], spline_mode: SplineType = Ellipsis, 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)

  • compression (float): [Read-Write] Compression

  • points (Array[Vector]): [Read-Write] Points

  • samples_per_segment (int32): [Read-Write] Samples Per Segment

  • spline (ControlRigSpline): [Read-Write] Spline

  • spline_mode (SplineType): [Read-Write] Spline Mode

  • stretch (float): [Read-Write] Stretch

property compression: float

[Read-Write] Compression

Type:

(float)

property points: Array[Vector]

[Read-Write] Points

Type:

(Array[Vector])

property samples_per_segment: int

[Read-Write] Samples Per Segment

Type:

(int32)

property spline: ControlRigSpline

[Read-Only] Spline

Type:

(ControlRigSpline)

property spline_mode: SplineType

[Read-Write] Spline Mode

Type:

(SplineType)

property stretch: float

[Read-Write] Stretch

Type:

(float)