Seconds into a clip's stride cycle at localTime, or null when the clip states no cycle to resume.
A carried gaitCycle is authoritative: it is how a non-looping composite, such as the film ladder's arranged performance, still knows its stride phase, and the answer is (phaseAt + localTime) mod period. A cycle with a non-positive or non-finite period, or a non-finite phaseAt, answers null rather than a NaN phase. Without a cycle, a looping clip answers localTime mod duration, the wrap the motion sampler applies, and a one-shot clip or a looping clip of non-positive duration answers null. The phase is in [0, period) seconds. resolveBeatEnd and resolveBeatOpening store it as an actor's gaitPhase, which the next beat resumes mid-stride from.
Seconds into a clip's stride cycle at
localTime, ornullwhen the clip states no cycle to resume.A carried
gaitCycleis authoritative: it is how a non-looping composite, such as the film ladder's arranged performance, still knows its stride phase, and the answer is(phaseAt + localTime) mod period. A cycle with a non-positive or non-finite period, or a non-finitephaseAt, answersnullrather than aNaNphase. Without a cycle, a looping clip answerslocalTime mod duration, the wrap the motion sampler applies, and a one-shot clip or a looping clip of non-positive duration answersnull. The phase is in[0, period)seconds.resolveBeatEndandresolveBeatOpeningstore it as an actor'sgaitPhase, which the next beat resumes mid-stride from.