Class SpringMotionMapper

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll
API Level:
preview

The SpringMotionMapper class.

C#
Copy
public class SpringMotionMapper : IAnimatorMotionMapper
Inheritance
SpringMotionMapper
Implements

Properties

View Source

DecayFactor

The decay factor of SpringMotionMapper.

Declaration
C#
Copy
public double DecayFactor { get; set; }
Property Value
Type Description
Double
API Level: preview
View Source

Wobbles

The wobbles of SpringMotionMapper.

Declaration
C#
Copy
public int Wobbles { get; set; }
Property Value
Type Description
System.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#
Copy
public double Calculate(double position)
Parameters
Type Name Description
Double position
Returns
Type Description
Double
API Level: preview

Implements