Class SpringMotionMapper
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The SpringMotionMapper class.
C#Copypublic class SpringMotionMapper : object, IAnimatorMotionMapper
- Inheritance
-
SpringMotionMapper
- Implements
Properties
Declaration
C#Copypublic double DecayFactor { get; set; }
Property Value
Type | Description |
---|---|
Double |
API Level: preview
Declaration
C#Copypublic int Wobbles { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
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 |