Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ComputeBinaryCurveColor4 Class

    Namespace: Stride.Animations
    Assembly: Stride.Engine.dll

    Binary operator Color4 value for the IComputeCurve interface

    System.Object → ComputeBinaryCurve<Color4> → ComputeBinaryCurveColor4
    Derived from ComputeBinaryCurveColor4:

    [DataContract("ComputeBinaryCurveColor4")]
    [Display("Binary Operation", null)]
    public class ComputeBinaryCurveColor4 : ComputeBinaryCurve<Color4>, IComputeCurve<Color4>, IComputeCurve
    Name Description
    Methods
    Add(Color4, Color4)

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

    Multiply(Color4, Color4)

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

    Subtract(Color4, Color4)

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

    | Improve this Doc View Source

    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
    Type Name Description
    Color4 a
    Color4 b
    Returns
    Type Description
    Color4

    The sum A + B

    Overrides
    Stride.Animations.ComputeBinaryCurve<Stride.Core.Mathematics.Color4>.Add(Stride.Core.Mathematics.Color4, Stride.Core.Mathematics.Color4)

    Multiply(Color4, Color4)

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

    protected override Color4 Multiply(Color4 a, Color4 b)
    Parameters
    Type Name Description
    Color4 a
    Color4 b
    Returns
    Type Description
    Color4

    The result A * B

    Overrides
    Stride.Animations.ComputeBinaryCurve<Stride.Core.Mathematics.Color4>.Multiply(Stride.Core.Mathematics.Color4, Stride.Core.Mathematics.Color4)

    Subtract(Color4, Color4)

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

    protected override Color4 Subtract(Color4 a, Color4 b)
    Parameters
    Type Name Description
    Color4 a
    Color4 b
    Returns
    Type Description
    Color4

    The result A - B

    Overrides
    Stride.Animations.ComputeBinaryCurve<Stride.Core.Mathematics.Color4>.Subtract(Stride.Core.Mathematics.Color4, Stride.Core.Mathematics.Color4)

    Inherited Members

    ComputeBinaryCurve<Color4>.UpdateChanges()
    ComputeBinaryCurve<Color4>.Evaluate(Single)
    ComputeBinaryCurve<Color4>.Operator
    ComputeBinaryCurve<Color4>.LeftChild
    ComputeBinaryCurve<Color4>.RightChild

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation