Class Interpolation
Inheritance
System.Object
Interpolation
Namespace: LiteEntitySystem
Assembly: LiteEntitySystem.dll
Syntax
public static class Interpolation : object
Methods
Register<T>(Interpolation.InterpolatorDelegate<T>)
Register interpolation method for type
Declaration
public static void Register<T>(Interpolation.InterpolatorDelegate<T> interpolator)
where T : struct
Parameters
| Type | Name | Description |
|---|---|---|
| LiteEntitySystem.Interpolation.InterpolatorDelegate<T> | interpolator | interpolation method |
Type Parameters
| Name | Description |
|---|---|
| T | Type of interpolated value |
Register<T>(Interpolation.InterpolatorDelegateWithReturn<T>)
Register interpolation method for type
Declaration
public static void Register<T>(Interpolation.InterpolatorDelegateWithReturn<T> interpolator)
where T : struct
Parameters
| Type | Name | Description |
|---|---|---|
| LiteEntitySystem.Interpolation.InterpolatorDelegateWithReturn<T> | interpolator | interpolation method (eg Vector3.Lerp) |
Type Parameters
| Name | Description |
|---|---|
| T | Type of interpolated value |