Class SpringMotionMapper

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll

The SpringMotionMapper class.

C#
Copy
public class SpringMotionMapper : IAnimatorMotionMapper
Inheritance
object
SpringMotionMapper
Implements

Properties

View Source

DecayFactor

The decay factor of SpringMotionMapper.

Declaration
C#
Copy
public double DecayFactor { get; set; }
Property Value
Type Description
double
View Source

Wobbles

The wobbles of SpringMotionMapper.

Declaration
C#
Copy
public int Wobbles { get; set; }
Property Value
Type Description
int

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

Implements