API Reference · Animation

AnimationStateCollection

Namespace: Ava3D

public sealed class AnimationStateCollection

The states an Animator knows, addressed by name.

Properties

MemberDescription
int Count { get; }

AnimationState Item { get; }

AnimationState Item { get; }

The state with this name. Case-insensitive, because "idle" and "Idle" are the same request.

IEnumerable<string> Names { get; }

Every name, in the order the file declared them.

Methods

MemberDescription
bool Contains(string name)

Whether a state by this name exists.

AnimationState Find(string name)

The state with this name, or null.

List<AnimationState> GetEnumerator()

See also