ManualMixerState.

MoveTime(double, bool) Method

Summary

Sets the Animancer.AnimancerState.Time or Animancer.AnimancerState.NormalizedTime, but unlike those properties this method doesn't skip Events or Root Motion between the old and new time.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
ManualMixerState

Syntax

public override void MoveTime(double time, bool normalized)

Remarks

The Events and Root Motion will be applied during the next animation update. If you want to apply them immediately you can call Animancer.AnimancerGraph.Evaluate.

Avoid calling this method more than once per frame because doing so will cause Animation Events and Root Motion to be skipped due to an unfortunate design decision in the Playables API. Animancer Events would still be triggered, but only between the old time and the last new time you set (any other values would be ignored).

Parameters

Name Type Description
time double
normalized bool

Return Value

Type Description
void