unreal.RigUnit_ParameterAtPercentage

class unreal.RigUnit_ParameterAtPercentage(spline: ControlRigSpline = [], percentage: float = 0.0, u: float = 0.0)

Bases: RigUnit_ControlRigSplineBase

  • Returns the U parameter of a spline given a length percentage (0.0 - 1.0)

C++ Source:

  • Plugin: ControlRigSpline

  • Module: ControlRigSpline

  • File: ControlRigSplineUnits.h

Editor Properties: (see get_editor_property/set_editor_property)

  • percentage (float): [Read-Write] Percentage

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

  • u (float): [Read-Write] U

property percentage: float

[Read-Write] Percentage

Type:

(float)

property spline: ControlRigSpline

[Read-Write] Spline

Type:

(ControlRigSpline)

property u: float

[Read-Only] U

Type:

(float)