Search Results for

    Show / Hide Table of Contents

    Class AnimationCurveEvaluatorFloat

    Evaluates the values of a curve.

    Inheritance
    object
    AnimationCurveEvaluator
    AnimationCurveEvaluator<float>
    AnimationCurveEvaluatorFloat
    Inherited Members
    AnimationCurveEvaluator<float>.EvaluatedType
    Namespace: Evergine.Framework.Animation
    Assembly: Evergine.Framework.dll
    Syntax
    public class AnimationCurveEvaluatorFloat : AnimationCurveEvaluator<float>

    Methods

    Add(ref object, ref object, ref object)

    Performs addition of two values.

    Declaration
    public override void Add(ref object a, ref object b, ref object result)
    Parameters
    Type Name Description
    object a

    The first value.

    object b

    The second value.

    object result

    The result.

    Overrides
    AnimationCurveEvaluator.Add(ref object, ref object, ref object)

    Add(ref object, ref object, float, ref object)

    Adds the second value, multiplied by a specified amount, to the first value.

    Declaration
    public override void Add(ref object a, ref object b, float amount, ref object result)
    Parameters
    Type Name Description
    object a

    The first value.

    object b

    The second value.

    float amount

    The interpolation amount.

    object result

    The resulting value.

    Overrides
    AnimationCurveEvaluator.Add(ref object, ref object, float, ref object)

    Add(ref float, ref float, float, ref float)

    Lerps the specified value.

    Declaration
    public override void Add(ref float value1, ref float value2, float amount, ref float result)
    Parameters
    Type Name Description
    float value1
    float value2
    float amount

    The interpolation amount.

    float result

    The result.

    Overrides
    AnimationCurveEvaluator<float>.Add(ref float, ref float, float, ref float)

    Add(ref float, ref float, ref float)

    Lerps the specified value.

    Declaration
    public override void Add(ref float value1, ref float value2, ref float result)
    Parameters
    Type Name Description
    float value1
    float value2
    float result

    The result.

    Overrides
    AnimationCurveEvaluator<float>.Add(ref float, ref float, ref float)

    InverseValue(object)

    Insert a value.

    Declaration
    public override object InverseValue(object value)
    Parameters
    Type Name Description
    object value

    The value.

    Returns
    Type Description
    object

    The inserted value.

    Overrides
    AnimationCurveEvaluator.InverseValue(object)

    InverseValue(float)

    Insert a value.

    Declaration
    public override float InverseValue(float value)
    Parameters
    Type Name Description
    float value

    The value.

    Returns
    Type Description
    float

    The inserted value.

    Overrides
    AnimationCurveEvaluator<float>.InverseValue(float)

    Lerp(ref object, ref object, float, ref object)

    Lerps between the specified values.

    Declaration
    public override void Lerp(ref object a, ref object b, float amount, ref object result)
    Parameters
    Type Name Description
    object a

    The first value.

    object b

    The second value.

    float amount

    The interpolation amount.

    object result

    The interpolated result.

    Overrides
    AnimationCurveEvaluator.Lerp(ref object, ref object, float, ref object)

    Lerp(ref float, ref float, float, ref float)

    Lerps the specified value.

    Declaration
    public override void Lerp(ref float value1, ref float value2, float amount, ref float result)
    Parameters
    Type Name Description
    float value1
    float value2
    float amount

    The interpolation amount.

    float result

    The interpolation result.

    Overrides
    AnimationCurveEvaluator<float>.Lerp(ref float, ref float, float, ref float)

    ReadValue(BinaryReader, out float)

    Reads the value.

    Declaration
    public override void ReadValue(BinaryReader reader, out float value)
    Parameters
    Type Name Description
    BinaryReader reader

    The binary reader.

    float value

    The read value.

    Overrides
    AnimationCurveEvaluator<float>.ReadValue(BinaryReader, out float)

    WriteValue(ref float, BinaryWriter)

    Reads the value.

    Declaration
    public override void WriteValue(ref float value, BinaryWriter writer)
    Parameters
    Type Name Description
    float value

    The value.

    BinaryWriter writer

    The writer.

    Overrides
    AnimationCurveEvaluator<float>.WriteValue(ref float, BinaryWriter)

    Extension Methods

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