Animancer v6.0 is currently available for testing.

MixerParameterTweenVector2 Class

Summary

A Animancer.MixerParameterTween`1 which uses UnityEngine.Vector2.LerpUnclamped(UnityEngine.Vector2,UnityEngine.Vector2,System.Single).
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
Base Types
graph BT Type-->Base0["MixerParameterTween<Vector2>"] Base0-->Base1["Key"] click Base1 "/animancer/api/Animancer/Key" Base1-->Base2["Object"] Type-.->Interface0["IUpdatable"] click Interface0 "/animancer/api/Animancer/IUpdatable" Type-.->Interface1["IKeyedListItem"] click Interface1 "/animancer/api/Animancer/IKeyedListItem" Type["MixerParameterTweenVector2"] class Type type-node

Syntax

public class MixerParameterTweenVector2 : MixerParameterTween<Vector2>, IUpdatable, IKeyedListItem

Examples

See Animancer.MixerParameterTweenFloat.

Constructors

Methods

Name Value Summary
CalculateCurrentValue() Vector2
Called every update while this tween is active to calculate the what value to set the Animancer.MixerState`1.Parameter to. Usually based on the Animancer.MixerParameterTween`1.StartValue, Animancer.MixerParameterTween`1.EndValue, and Animancer.MixerParameterTween`1.Progress.
IndexOf(Key) int
Returns location of this object in the list (or -1 if it is not currently in a keyed list).
Inherited from Key
static
IsInList(Key) bool
Indicates whether the specified object is currently in a keyed list.
Inherited from Key
static