AnimancerEvent.Sequence.

AnimancerEvent.

SetNormalizedTime(int, float) Method

Summary

[Pro-Only] Sets the Animancer.AnimancerEvent.normalizedTime of the event at the specified `index`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerEvent.Sequence

Syntax

public int SetNormalizedTime(int index, float normalizedTime)

Remarks

If multiple events have the same Animancer.AnimancerEvent.normalizedTime, this method will avoid re-arranging them where calling Animancer.AnimancerEvent.Sequence.Remove(System.Int32) then Animancer.AnimancerEvent.Sequence.Add(Animancer.AnimancerEvent) would always re-add the moved event as the last one with that time.

Parameters

Name Type Description
index int
normalizedTime float

Return Value

Type Description
int