AnimancerTransition<TState>.

State Property

Summary

The state that was created by this object. Specifically, this is the state that was most recently passed into Animancer.AnimancerTransition`1.Apply(Animancer.AnimancerState) (usually by Animancer.AnimancerPlayable.Play(Animancer.ITransition)).
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerTransition<TState>

Syntax

public TState State { get; protected set; }

Remarks

You can use Animancer.AnimancerPlayable.StateDictionary.GetOrCreate(Animancer.ITransition) or Animancer.AnimancerLayer.GetOrCreateState(Animancer.ITransition) to get or create the state for a specific object.

This property is shorthand for casting the Animancer.AnimancerTransition`1.BaseState to TState.

Value

Type Description
TState