Key Class

Summary

Stores the index of an object in a Animancer.Key.KeyedList`1.
graph BT Type-->Base0["Object"] Type-.->Interface0["Key.IListItem"] click Interface0 "/animancer/api/Animancer/IListItem" Type["Key"] class Type type-node Derived0["ExitEvent"]-->Type click Derived0 "/animancer/api/Animancer/ExitEvent" Derived1["CustomFade"]-->Type click Derived1 "/animancer/api/Animancer/CustomFade" Derived2["AnimancerNode"]-->Type click Derived2 "/animancer/api/Animancer/AnimancerNode" Derived3["DontAllowFade"]-->Type click Derived3 "/animancer/api/Animancer/DontAllowFade" Derived4["AnimancerState.EventDispatcher"]-->Type click Derived4 "/animancer/api/Animancer/EventDispatcher" Derived5["MixerParameterTween<TParameter>"]-->Type click Derived5 "/animancer/api/Animancer/MixerParameterTween_1" Derived6["AnimancerState.DelayedPause"]-->Type click Derived6 "/animancer/api/Animancer/DelayedPause"

Syntax

public class Key : Key.IListItem

Fields

Name Constant Value Summary
NotInList -1
The Animancer.Key._Index which indicates that an item isn't in a list.
static

Methods

Name Value Summary
IndexOf(Key) int
Returns location of this object in the list (or -1 if it is not currently in a keyed list).
static
IsInList(Key) bool
Is the `key` currently in a keyed list?
static