AutoMovie API
    Preparing search index...

    Function affordanceTravelRange

    • The travel range of an articulation affordance, in its kind's unit: degrees for a hinge, knob, crank and wheel, metres for a slider, button, pedal and trigger.

      A wheel turns travel to either side, a crank without travel has no limit, a hinge, knob or slider runs from minus its reverse to travel, and every other kind runs from 0 to travel, as IAutoMovieAffordance.travel and reverse state; without reverse the least travel is 0, the one-way articulation. An articulation without travel other than a crank does not move forward, so its greatest travel is 0. The kind is not checked: the caller passes an articulation.

      Parameters

      Returns IAutoMovieAffordanceTravelRange.IResult

      The least and greatest travel; null for an end without a limit.