unreal.RigUnit_SetSplineTransforms

class unreal.RigUnit_SetSplineTransforms(execute_pin: RigVMExecutePin = [], transforms: None = [], spline: ControlRigSpline = [])

Bases: RigUnit_ControlRigSplineBaseMutable

Set the points of a spline, given a spline and an array of transforms

C++ Source:

  • Plugin: ControlRigSpline

  • Module: ControlRigSpline

  • File: ControlRigSplineUnits.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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

  • transforms (Array[Transform]): [Read-Write] The transforms interpreted as positions to set on the spline. The assumption is that the number of transforms provided matches the points on the spline.

property spline: ControlRigSpline

[Read-Write] The spline to be updated

Type:

(ControlRigSpline)

property transforms: None

[Read-Write] The transforms interpreted as positions to set on the spline. The assumption is that the number of transforms provided matches the points on the spline.

Type:

(Array[Transform])