Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ComputeAnimationCurveColor4 Class

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

    Constant Color4 value for the IComputeCurve interface

    System.Object → System.Collections.Generic.Comparer<AnimationKeyFrame<Color4>> → ComputeAnimationCurve<Color4> → ComputeAnimationCurveColor4
    Derived from ComputeAnimationCurveColor4:

    [DataContract("ComputeAnimationCurveColor4")]
    [Display("Animation", null, Expand = ExpandRule.Never)]
    public class ComputeAnimationCurveColor4 : ComputeAnimationCurve<Color4>, IComparer<AnimationKeyFrame<Color4>>, IComparer, IComputeCurve<Color4>, IComputeCurve
    Name Description
    Methods
    Cubic(ref Color4, ref Color4, ref Color4, ref Color4, Single, out Color4)
    Linear(ref Color4, ref Color4, Single, out Color4)
    | Improve this Doc View Source

    Methods


    Cubic(ref Color4, ref Color4, ref Color4, ref Color4, Single, out Color4)

    public override void Cubic(ref Color4 value1, ref Color4 value2, ref Color4 value3, ref Color4 value4, float t, out Color4 result)
    Parameters
    Type Name Description
    Color4 value1
    Color4 value2
    Color4 value3
    Color4 value4
    System.Single t
    Color4 result
    Overrides
    Stride.Animations.ComputeAnimationCurve<Stride.Core.Mathematics.Color4>.Cubic(Stride.Core.Mathematics.Color4, Stride.Core.Mathematics.Color4, Stride.Core.Mathematics.Color4, Stride.Core.Mathematics.Color4, System.Single, Stride.Core.Mathematics.Color4)

    Linear(ref Color4, ref Color4, Single, out Color4)

    public override void Linear(ref Color4 value1, ref Color4 value2, float t, out Color4 result)
    Parameters
    Type Name Description
    Color4 value1
    Color4 value2
    System.Single t
    Color4 result
    Overrides
    Stride.Animations.ComputeAnimationCurve<Stride.Core.Mathematics.Color4>.Linear(Stride.Core.Mathematics.Color4, Stride.Core.Mathematics.Color4, System.Single, Stride.Core.Mathematics.Color4)

    Inherited Members

    ComputeAnimationCurve<Color4>.KeyFrames
    ComputeAnimationCurve<Color4>.UpdateChanges()
    ComputeAnimationCurve<Color4>.Compare(AnimationKeyFrame<Color4>, AnimationKeyFrame<Color4>)
    ComputeAnimationCurve<Color4>.SampleRaw(Single)
    ComputeAnimationCurve<Color4>.Evaluate(Single)
    System.Collections.Generic.Comparer<Stride.Animations.AnimationKeyFrame<Stride.Core.Mathematics.Color4>>.Create(System.Comparison<Stride.Animations.AnimationKeyFrame<Stride.Core.Mathematics.Color4>>)
    System.Collections.Generic.Comparer<Stride.Animations.AnimationKeyFrame<Stride.Core.Mathematics.Color4>>.System.Collections.IComparer.Compare(System.Object, System.Object)
    System.Collections.Generic.Comparer<Stride.Animations.AnimationKeyFrame<Stride.Core.Mathematics.Color4>>.Default

    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