Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ComputeBinaryCurveVector3 Class

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

    Binary operator Vector3 value for the IComputeCurve interface

    System.Object → ComputeBinaryCurve<Vector3> → ComputeBinaryCurveVector3
    Derived from ComputeBinaryCurveVector3:

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

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

    Multiply(Vector3, Vector3)

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

    Subtract(Vector3, Vector3)

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

    | Improve this Doc View Source

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

    The sum A + B

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

    Multiply(Vector3, Vector3)

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

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

    The result A * B

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

    Subtract(Vector3, Vector3)

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

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

    The result A - B

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

    Inherited Members

    ComputeBinaryCurve<Vector3>.UpdateChanges()
    ComputeBinaryCurve<Vector3>.Evaluate(Single)
    ComputeBinaryCurve<Vector3>.Operator
    ComputeBinaryCurve<Vector3>.LeftChild
    ComputeBinaryCurve<Vector3>.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