ComputeBinaryCurveColor4 Class
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
Binary operator Color4 value for the IComputeCurve interface
Derived from ComputeBinaryCurveColor4:
[DataContract("ComputeBinaryCurveColor4")]
[Display("Binary Operation", null)]
public class ComputeBinaryCurveColor4 : ComputeBinaryCurve<Color4>, IComputeCurve<Color4>, IComputeCurve
Name | Description | |
---|---|---|
Methods | ||
Add(Color4, Color4) | Adds the left value to the right value and retuns their sum |
|
Multiply(Color4, Color4) | Multiplies the left value to the right value and retuns the result |
|
Subtract(Color4, Color4) | Subtracts the right value from the left value and retuns the result |
Methods
Add(Color4, Color4)
Adds the left value to the right value and retuns their sum
protected override Color4 Add(Color4 a, Color4 b)
Parameters
Type | Name | Description |
---|---|---|
Color4 | a | |
Color4 | b |
Returns
Type | Description |
---|---|
Color4 | The sum A + B |
Overrides
Stride.Animations.ComputeBinaryCurve<Stride.Core.Mathematics.Color4>.Add(Stride.Core.Mathematics.Color4, Stride.Core.Mathematics.Color4)
Multiply(Color4, Color4)
Multiplies the left value to the right value and retuns the result
protected override Color4 Multiply(Color4 a, Color4 b)
Parameters
Type | Name | Description |
---|---|---|
Color4 | a | |
Color4 | b |
Returns
Type | Description |
---|---|
Color4 | The result A * B |
Overrides
Stride.Animations.ComputeBinaryCurve<Stride.Core.Mathematics.Color4>.Multiply(Stride.Core.Mathematics.Color4, Stride.Core.Mathematics.Color4)
Subtract(Color4, Color4)
Subtracts the right value from the left value and retuns the result
protected override Color4 Subtract(Color4 a, Color4 b)
Parameters
Type | Name | Description |
---|---|---|
Color4 | a | |
Color4 | b |
Returns
Type | Description |
---|---|
Color4 | The result A - B |
Overrides
Stride.Animations.ComputeBinaryCurve<Stride.Core.Mathematics.Color4>.Subtract(Stride.Core.Mathematics.Color4, Stride.Core.Mathematics.Color4)