Class AnimationCurveFeedbackCurve
Infrastructure adapter that exposes a UnityEngine.AnimationCurve as an engine-agnostic
IFeedbackCurve, so authored curves can ride on a pure Application effect.
Inheritance
AnimationCurveFeedbackCurve
Assembly: Serenity.UnityFeedback.Infrastructure.dll
Syntax
public sealed class AnimationCurveFeedbackCurve : IFeedbackCurve
Constructors
AnimationCurveFeedbackCurve(AnimationCurve)
Initializes the adapter with the authored curve.
Declaration
public AnimationCurveFeedbackCurve(AnimationCurve curve)
Parameters
| Type |
Name |
Description |
| AnimationCurve |
curve |
|
Methods
Evaluate(float)
Declaration
public float Evaluate(float t)
Parameters
| Type |
Name |
Description |
| float |
t |
|
Returns
Implements