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["Key.IListItem"] click Interface1 "/animancer/api/Animancer/IListItem" Type["MixerParameterTweenVector2"] class Type type-node

Syntax

public class MixerParameterTweenVector2 : MixerParameterTween<Vector2>, IUpdatable, Key.IListItem

Examples

See Animancer.MixerParameterTweenFloat.

Constructors

Fields

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

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
Is the `key` currently in a keyed list?
Inherited from Key
static