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