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] The percentage (0.0 - 1.0) to evaluate

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

  • u (float): [Read-Write] The U value on the spline for the given percentage

property percentage: float

[Read-Write] The percentage (0.0 - 1.0) to evaluate

Type:

(float)

property spline: ControlRigSpline

[Read-Write] The spline to evaluate

Type:

(ControlRigSpline)

property u: float

[Read-Only] The U value on the spline for the given percentage

Type:

(float)