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]

  • spline (ControlRigSpline): [Read-Write]

  • u (float): [Read-Write]

property percentage: float

[Read-Write]

Type:

(float)

property spline: ControlRigSpline

[Read-Write]

Type:

(ControlRigSpline)

property u: float

[Read-Only]

Type:

(float)