Namespace Serenity.ProceduralExpression.Infrastructure.WeightProviders
Classes
ConstantWeightProviderSO
Weight provider that always returns a fixed constant value. Useful for layers that should always be at full weight when their condition is met.
StateKeyWeightProviderSO
Weight provider that reads a StateKey value and applies an AnimationCurve mapping. This is NOT a StateKey definition—it references an existing UnityStateKey asset. The state value is normalized (0-1) before being passed through the curve.
WeightProviderSO
Abstract base class for providing weight values to layers via rules. Separates the "when" (Condition) from the "how much" (WeightProvider).