Table of Contents

Class ComputeBinaryCurveVector2

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

Binary operator Vector2 value for the IComputeCurve interface

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

Methods

Add(Vector2, Vector2)

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

protected override Vector2 Add(Vector2 a, Vector2 b)

Parameters

a Vector2

Left value A

b Vector2

Right value B

Returns

Vector2

The sum A + B

Multiply(Vector2, Vector2)

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

protected override Vector2 Multiply(Vector2 a, Vector2 b)

Parameters

a Vector2

Left value A

b Vector2

Right value B

Returns

Vector2

The result A * B

Subtract(Vector2, Vector2)

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

protected override Vector2 Subtract(Vector2 a, Vector2 b)

Parameters

a Vector2

Left value A

b Vector2

Right value B

Returns

Vector2

The result A - B