A QuadraticBezierCurve is a Curve along which a 3D position can be animated.

Hierarchy (View Summary)

  • Curve
    • QuadraticBezierCurve

Constructors

Properties

_t: number = 0
cacheArcLengths?: number[]
needsUpdate?: boolean

Accessors

Methods

  • Maps normalized arc-length parameter u to curve parameter t.

    This is useful when you want points spaced by distance along the curve instead of by raw parameter value.

    Parameters

    • u: number

      Normalized distance along the curve in the range [0..1]

    • Optionaldistance: number

      Absolute distance along the curve. When provided, overrides u.

    Returns number

    Curve parameter in the range [0..1]