Table of Contents

Class ComputeBinaryCurveColor4

Namespace
Stride.Animations
Assembly
Stride.Engine.dll

Binary operator Color4 value for the IComputeCurve interface

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

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

a Color4

Left value A

b Color4

Right value B

Returns

Color4

The sum A + B

Multiply(Color4, Color4)

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

protected override Color4 Multiply(Color4 a, Color4 b)

Parameters

a Color4

Left value A

b Color4

Right value B

Returns

Color4

The result A * B

Subtract(Color4, Color4)

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

protected override Color4 Subtract(Color4 a, Color4 b)

Parameters

a Color4

Left value A

b Color4

Right value B

Returns

Color4

The result A - B