logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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
    object
    AnimationCurveFeedbackCurve
    Implements
    IFeedbackCurve
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Feedback.Infrastructure.Settings
    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
    Type Description
    float

    Implements

    IFeedbackCurve
    In this article
    © 2026 Serenity. All Rights Reserved