SoloAnimation.

NormalizedTime Property

Summary

[UnityEngine.SerializeField] The Animancer.SoloAnimation.Time of this state as a portion of the UnityEngine.AnimationClip.length, meaning the value goes from 0 to 1 as it plays from start to end, regardless of how long that actually takes.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
SoloAnimation

Syntax

public float NormalizedTime { get; set; }

Remarks

This value will continue increasing after the animation passes the end of its length and it will either freeze in place or start again from the beginning according to whether it's looping or not.

The fractional part of the value (NormalizedTime % 1) is the percentage (0-1) of progress in the current loop while the integer part ((int)NormalizedTime) is the number of times the animation has been looped.

Value

Type Description
float