Table of Contents

Class ComputeBinaryCurveFloat

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

Binary operator float value for the IComputeCurve interface

[DataContract("ComputeBinaryCurveFloat")]
[Display("Binary Operation", null)]
public class ComputeBinaryCurveFloat : ComputeBinaryCurve<float>, IComputeCurve<float>, IComputeCurve
Inheritance
ComputeBinaryCurveFloat
Implements
Inherited Members

Methods

Add(float, float)

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

protected override float Add(float a, float b)

Parameters

a float

Left value A

b float

Right value B

Returns

float

The sum A + B

Multiply(float, float)

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

protected override float Multiply(float a, float b)

Parameters

a float

Left value A

b float

Right value B

Returns

float

The result A * B

Subtract(float, float)

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

protected override float Subtract(float a, float b)

Parameters

a float

Left value A

b float

Right value B

Returns

float

The result A - B