unreal.RigUnit_TransformFromControlRigSpline2

class unreal.RigUnit_TransformFromControlRigSpline2(spline: ControlRigSpline = [], u: float = 0.0, primary_axis: Vector = Ellipsis, secondary_axis: Vector = Ellipsis, transform: Transform = Ellipsis)

Bases: RigUnit_ControlRigSplineBase

Retrieves the transform from a given Spline and U value based on the given primary and secondary axis

C++ Source:

  • Plugin: ControlRigSpline

  • Module: ControlRigSpline

  • File: ControlRigSplineUnits.h

Editor Properties: (see get_editor_property/set_editor_property)

  • primary_axis (Vector): [Read-Write] The primary axis to use when building the transform

  • secondary_axis (Vector): [Read-Write] The secondary axis to use when building the transform

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

  • transform (Transform): [Read-Write] The resulting composed transform

  • u (float): [Read-Write] The U value along the spline to evaluate

property primary_axis: Vector

[Read-Write] The primary axis to use when building the transform

Type:

(Vector)

property secondary_axis: Vector

[Read-Write] The secondary axis to use when building the transform

Type:

(Vector)

property spline: ControlRigSpline

[Read-Write] The spline to evaluate

Type:

(ControlRigSpline)

property transform: Transform

[Read-Only] The resulting composed transform

Type:

(Transform)

property u: float

[Read-Write] The U value along the spline to evaluate

Type:

(float)