Class SpringMotionMapper
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The SpringMotionMapper class.
public class SpringMotionMapper : IAnimatorMotionMapper
- Inheritance
-
SpringMotionMapper
- Implements
Properties
View SourceDecayFactor
The decay factor of SpringMotionMapper.
Declaration
public double DecayFactor { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
View SourceWobbles
The wobbles of SpringMotionMapper.
Declaration
public int Wobbles { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
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 |