Search Results for

    Show / Hide Table of Contents

    Class FloatCurve

    Represents the curve class.

    Inheritance
    object
    Curve<float, FloatKeyframe>
    FloatCurve
    Inherited Members
    Curve<float, FloatKeyframe>.Keyframes
    Curve<float, FloatKeyframe>.HasValues
    Curve<float, FloatKeyframe>.IsCached
    Curve<float, FloatKeyframe>.CacheSize
    Curve<float, FloatKeyframe>.AddKey(float, float)
    Curve<float, FloatKeyframe>.RemoveKey(FloatKeyframe)
    Curve<float, FloatKeyframe>.GetValue(float)
    Curve<float, FloatKeyframe>.Lerp(float, float, float)
    Curve<float, FloatKeyframe>.CreateKey(float, float)
    Namespace: Evergine.Common.Curves
    Assembly: Evergine.Common.dll
    Syntax
    public class FloatCurve : Curve<float, FloatKeyframe>

    Constructors

    FloatCurve()

    Initializes a new instance of the FloatCurve class.

    Declaration
    public FloatCurve()

    FloatCurve(float)

    Initializes a new instance of the FloatCurve class.

    Declaration
    public FloatCurve(float level)
    Parameters
    Type Name Description
    float level

    The level.

    Methods

    CreateKey(float, float)

    Creates a new key element.

    Declaration
    protected override FloatKeyframe CreateKey(float lerp, float value)
    Parameters
    Type Name Description
    float lerp

    The interpolation value.

    float value

    The value.

    Returns
    Type Description
    FloatKeyframe

    The keyframe.

    Overrides
    Curve<float, FloatKeyframe>.CreateKey(float, float)

    Lerp(float, float, float)

    Obtains an interpolated value between two curves.

    Declaration
    protected override float Lerp(float value1, float value2, float amount)
    Parameters
    Type Name Description
    float value1

    The first value.

    float value2

    The second value.

    float amount

    The interpolation amount.

    Returns
    Type Description
    float

    The interpolated value.

    Overrides
    Curve<float, FloatKeyframe>.Lerp(float, float, float)

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX