TransitionLibraryDefinition.

IndexOfModifier(int, int) Method

Summary

Returns the index in the Animancer.TransitionLibraries.TransitionLibraryDefinition.Modifiers which matches the given Animancer.TransitionLibraries.TransitionModifierDefinition.FromIndex and Animancer.TransitionLibraries.TransitionModifierDefinition.ToIndex or -1 if no such item exists.

Syntax

public int IndexOfModifier(int fromIndex, int toIndex)

Parameters

Name Type Description
fromIndex int
toIndex int

Return Value

Type Description
int