Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IComputeCurve<T> Interface

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

    Base interface for curve based compute value nodes.

    public interface IComputeCurve<out T> : IComputeCurve where T : struct
    Type Parameters
    Name Description
    T
    Name Description
    Methods
    Evaluate(Single)

    Evaluates the compute curve's value at the specified location, usually in the [0 .. 1] range

    | Improve this Doc View Source

    Methods


    Evaluate(Single)

    Evaluates the compute curve's value at the specified location, usually in the [0 .. 1] range

    T Evaluate(float location)
    Parameters
    Type Name Description
    System.Single location

    Location to sample at

    Returns
    Type Description
    T

    Sampled value


    Inherited Members

    IComputeCurve.UpdateChanges()

    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