Table of Contents

Class ComputeBinaryCurveVector4

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

Binary operator Vector4 value for the IComputeCurve interface

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

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

a Vector4

Left value A

b Vector4

Right value B

Returns

Vector4

The sum A + B

Multiply(Vector4, Vector4)

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

protected override Vector4 Multiply(Vector4 a, Vector4 b)

Parameters

a Vector4

Left value A

b Vector4

Right value B

Returns

Vector4

The result A * B

Subtract(Vector4, Vector4)

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

protected override Vector4 Subtract(Vector4 a, Vector4 b)

Parameters

a Vector4

Left value A

b Vector4

Right value B

Returns

Vector4

The result A - B