This is the old Animancer v7.4 documentation. Click here for the latest version.

AnimancerPlayable.StateDictionary.

AnimancerPlayable.

EqualityComparer Property

Summary

The System.Collections.Generic.IEqualityComparer`1 used by every new Animancer.AnimancerPlayable.StateDictionary.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerPlayable.StateDictionary

Syntax

public static IEqualityComparer<Object> EqualityComparer { get; set; }

Remarks

By default, this will use Animancer.FastComparer.Instance.

Setting it to Animancer.FastReferenceComparer.Instance would make it slightly faster, but would not work for value types such as enums.

Changing this value will not affect existing instances.

Value

Type Description
IEqualityComparer<Object>