TransitionLibraryDefinition.

TryGetModifier(int, int, TransitionModifierDefinition) Method

Summary

Tries to find an item in the Animancer.TransitionLibraries.TransitionLibraryDefinition.Modifiers with the specified indices.

Syntax

public bool TryGetModifier(int fromIndex, int toIndex, out TransitionModifierDefinition modifier)

Remarks

If unsuccessful, the `modifier` is given the Animancer.ITransition.FadeDuration from the Animancer.TransitionLibraries.TransitionLibraryDefinition.Transitions at the `toIndex`. and this method returns false.

Parameters

Name Type Description
fromIndex int
toIndex int
modifier TransitionModifierDefinition

Return Value

Type Description
bool