AnimancerLayer.

CurrentState Property

Summary

The state of the animation currently being played.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerLayer

Syntax

public AnimancerState CurrentState { get; private set; }

Remarks

Specifically, this is the state that was most recently started using any of the Play or CrossFade methods on this layer. States controlled individually via methods in the Animancer.AnimancerState itself will not register in this property.

Each time this property changes, the Animancer.AnimancerLayer.CommandCount is incremented.

Value

Type Description
AnimancerState