Summary
An object with a
Animancer.Key
so it can be used in a Animancer.Key.KeyedList`1
.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Implementing Types
-
- ExitEvent
- Key
- AnimancerState
- ManualMixerState
- ClipState
- CustomFade
- Directional
Mixer State - Mixer
Parameter Tween Vector2 - CartesianMixerState
- MixerState
<TParameter> - LinearMixerState
- ControllerState
- AnimancerNode
- DontAllowFade
- Float2
Controller State - AnimancerState
.EventDispatcher - MixerParameterTween
<TParameter> - AnimancerState
.DelayedPause - Mixer
Parameter Tween Float - IUpdatable
- Float1
Controller State - AnimancerLayer
- PlayableAssetState
- Float3
Controller State
graph BT
Type["Key.IListItem"]
class Type type-node
Implementing0["ExitEvent"]-.->Type
click Implementing0 "/animancer-v7-4/api/Animancer/ExitEvent"
Implementing1["Key"]-.->Type
click Implementing1 "/animancer-v7-4/api/Animancer/Key"
Implementing2["AnimancerState"]-.->Type
click Implementing2 "/animancer-v7-4/api/Animancer/AnimancerState"
Implementing3["ManualMixerState"]-.->Type
click Implementing3 "/animancer-v7-4/api/Animancer/ManualMixerState"
Implementing4["ClipState"]-.->Type
click Implementing4 "/animancer-v7-4/api/Animancer/ClipState"
Implementing5["CustomFade"]-.->Type
click Implementing5 "/animancer-v7-4/api/Animancer/CustomFade"
Implementing6["DirectionalMixerState"]-.->Type
click Implementing6 "/animancer-v7-4/api/Animancer/DirectionalMixerState"
Implementing7["MixerParameterTweenVector2"]-.->Type
click Implementing7 "/animancer-v7-4/api/Animancer/MixerParameterTweenVector2"
Implementing8["CartesianMixerState"]-.->Type
click Implementing8 "/animancer-v7-4/api/Animancer/CartesianMixerState"
Implementing9["MixerState<TParameter>"]-.->Type
click Implementing9 "/animancer-v7-4/api/Animancer/MixerState_1"
Implementing10["LinearMixerState"]-.->Type
click Implementing10 "/animancer-v7-4/api/Animancer/LinearMixerState"
Implementing11["ControllerState"]-.->Type
click Implementing11 "/animancer-v7-4/api/Animancer/ControllerState"
Implementing12["AnimancerNode"]-.->Type
click Implementing12 "/animancer-v7-4/api/Animancer/AnimancerNode"
Implementing13["DontAllowFade"]-.->Type
click Implementing13 "/animancer-v7-4/api/Animancer/DontAllowFade"
Implementing14["Float2ControllerState"]-.->Type
click Implementing14 "/animancer-v7-4/api/Animancer/Float2ControllerState"
Implementing15["AnimancerState.EventDispatcher"]-.->Type
click Implementing15 "/animancer-v7-4/api/Animancer/EventDispatcher"
Implementing16["MixerParameterTween<TParameter>"]-.->Type
click Implementing16 "/animancer-v7-4/api/Animancer/MixerParameterTween_1"
Implementing17["AnimancerState.DelayedPause"]-.->Type
click Implementing17 "/animancer-v7-4/api/Animancer/DelayedPause"
Implementing18["MixerParameterTweenFloat"]-.->Type
click Implementing18 "/animancer-v7-4/api/Animancer/MixerParameterTweenFloat"
Implementing19["IUpdatable"]-.->Type
click Implementing19 "/animancer-v7-4/api/Animancer/IUpdatable"
Implementing20["Float1ControllerState"]-.->Type
click Implementing20 "/animancer-v7-4/api/Animancer/Float1ControllerState"
Implementing21["AnimancerLayer"]-.->Type
click Implementing21 "/animancer-v7-4/api/Animancer/AnimancerLayer"
Implementing22["PlayableAssetState"]-.->Type
click Implementing22 "/animancer-v7-4/api/Animancer/PlayableAssetState"
Implementing23["Float3ControllerState"]-.->Type
click Implementing23 "/animancer-v7-4/api/Animancer/Float3ControllerState"
Syntax
public interface Key.IListItem
Examples
It's usually easiest to just inherit from
Animancer.Key
, but otherwise the recommended
implementation looks like this:
class MyClass : Key.IListItem
{
Key Key.IListItem.Key { get; } = new Key();
// Don't use expression bodied ...Key => new... because that would create a new one every time.
}