Class SpringMotionMapper
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The SpringMotionMapper class.
public class SpringMotionMapper : IAnimatorMotionMapper
- Inheritance
-
objectSpringMotionMapper
- Implements
Properties
View SourceDecayFactor
The decay factor of SpringMotionMapper.
Declaration
public double DecayFactor { get; set; }
Property Value
Type | Description |
---|---|
double |
Wobbles
The wobbles of SpringMotionMapper.
Declaration
public int Wobbles { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceCalculate(double)
Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.
Declaration
public double Calculate(double position)
Parameters
Type | Name | Description |
---|---|---|
double | position |
Returns
Type | Description |
---|---|
double |