unreal.RigUnit_ControlRigSplineFromPoints¶
- class unreal.RigUnit_ControlRigSplineFromPoints(points: 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_ControlRigSplineBaseCreates 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] If True the spline will be closedcompression(float): [Read-Write] The amount of compression to applypoints(Array[Vector]): [Read-Write] The input points to form the splinesamples_per_segment(int32): [Read-Write] Specifies the detail per segment of the splinespline(ControlRigSpline): [Read-Write] The resulting splinespline_mode(SplineType): [Read-Write] The mode to use for the splinestretch(float): [Read-Write] The amount of stretch to allow for the spline
- property samples_per_segment: int¶
[Read-Write] Specifies the detail per segment of the spline
- Type:
(int32)
- property spline: ControlRigSpline¶
[Read-Only] The resulting spline
- Type:
- property spline_mode: SplineType¶
[Read-Write] The mode to use for the spline
- Type: