Class LinearMotionMapper
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The LinearMotionMapper class.
C#Copypublic class LinearMotionMapper : IAnimatorMotionMapper
- Inheritance
-
objectLinearMotionMapper
- Implements
Methods
View Source
Calculate(double)
Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
Declaration
C#Copypublic double Calculate(double position)
Parameters
| Type | Name | Description |
|---|---|---|
| double | position |
Returns
| Type | Description |
|---|---|
| double |