Summary
Tries to find an item in the
Animancer.TransitionLibraries.TransitionLibraryDefinition.Modifiers
with the specified indices.- Assembly
- Animancer
.dll - Namespace
- Animancer
.TransitionLibraries - Containing Type
- Transition
Library Definition
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 | Transition |
Return Value
Type | Description |
---|---|
bool |