AnimancerState.

RawTime Property

Summary

The internal implementation of Animancer.AnimancerState.Time which directly gets and sets the underlying value.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerState

Syntax

public virtual double RawTime { get; set; }

Remarks

Setting this value actually calls UnityEngine.Playables.PlayableExtensions.SetTime``1(``0,System.Double) twice to ensure that animation events aren't triggered incorrectly. Calling it only once would trigger any animation events between the previous time and the new time. So if an animation plays to the end and you set the time back to 0 (such as by calling Animancer.AnimancerState.Stop or playing a different animation), the next time that animation played it would immediately trigger all of its events, then play through and trigger them normally as well.

Value

Type Description
double