Interface IFeedbackCurve
Engine-agnostic shaping curve: maps normalized time (0..1) to a value (0..1). Lets effects carry a
designer-authored envelope without the Application layer depending on UnityEngine.AnimationCurve
— the Infrastructure layer supplies an adapter that wraps the real curve.
Namespace: Serenity.Feedback.Application.Effects
Assembly: Serenity.Feedback.Application.dll
Syntax
public interface IFeedbackCurve
Methods
Evaluate(float)
Evaluates the curve at normalized time t (0..1).
Declaration
float Evaluate(float t)
Parameters
| Type | Name | Description |
|---|---|---|
| float | t |
Returns
| Type | Description |
|---|---|
| float |