ComputeBinaryCurveFloat Class
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
Binary operator float value for the IComputeCurve interface
                 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 | |
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)