IComputeCurve<T> Interface
Namespace: Stride.AnimationsAssembly: 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 |
|
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 |