Table of Contents

Class ComputeBinaryCurveVector3

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

Binary operator Vector3 value for the IComputeCurve interface

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

Methods

Add(Vector3, Vector3)

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

protected override Vector3 Add(Vector3 a, Vector3 b)

Parameters

a Vector3

Left value A

b Vector3

Right value B

Returns

Vector3

The sum A + B

Multiply(Vector3, Vector3)

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

protected override Vector3 Multiply(Vector3 a, Vector3 b)

Parameters

a Vector3

Left value A

b Vector3

Right value B

Returns

Vector3

The result A * B

Subtract(Vector3, Vector3)

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

protected override Vector3 Subtract(Vector3 a, Vector3 b)

Parameters

a Vector3

Left value A

b Vector3

Right value B

Returns

Vector3

The result A - B