Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ComputeBinaryCurveFloat Class

    Namespace: Stride.Animations
    Assembly: Stride.Engine.dll

    Binary operator float value for the IComputeCurve interface

    System.Object → ComputeBinaryCurve<System.Single> → ComputeBinaryCurveFloat
    Derived from ComputeBinaryCurveFloat:

    [DataContract("ComputeBinaryCurveFloat")]
    [Display("Binary Operation", null)]
    public class ComputeBinaryCurveFloat : ComputeBinaryCurve<float>, IComputeCurve<float>, IComputeCurve
    Name Description
    Methods
    Add(Single, Single)

    Adds the left value to the right value and retuns their sum

    Multiply(Single, Single)

    Multiplies the left value to the right value and retuns the result

    Subtract(Single, Single)

    Subtracts the right value from the left value and retuns the result

    | Improve this Doc View Source

    Methods


    Add(Single, Single)

    Adds the left value to the right value and retuns their sum

    protected override float Add(float a, float b)
    Parameters
    Type Name Description
    System.Single a
    System.Single b
    Returns
    Type Description
    System.Single

    The sum A + B

    Overrides
    Stride.Animations.ComputeBinaryCurve<System.Single>.Add(System.Single, System.Single)

    Multiply(Single, Single)

    Multiplies the left value to the right value and retuns the result

    protected override float Multiply(float a, float b)
    Parameters
    Type Name Description
    System.Single a
    System.Single b
    Returns
    Type Description
    System.Single

    The result A * B

    Overrides
    Stride.Animations.ComputeBinaryCurve<System.Single>.Multiply(System.Single, System.Single)

    Subtract(Single, Single)

    Subtracts the right value from the left value and retuns the result

    protected override float Subtract(float a, float b)
    Parameters
    Type Name Description
    System.Single a
    System.Single b
    Returns
    Type Description
    System.Single

    The result A - B

    Overrides
    Stride.Animations.ComputeBinaryCurve<System.Single>.Subtract(System.Single, System.Single)

    Inherited Members

    ComputeBinaryCurve<Single>.UpdateChanges()
    ComputeBinaryCurve<Single>.Evaluate(Single)
    ComputeBinaryCurve<Single>.Operator
    ComputeBinaryCurve<Single>.LeftChild
    ComputeBinaryCurve<Single>.RightChild

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation