Class CubicBezierMotionMapper
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The CubicBezierMotionMapper class.
public class CubicBezierMotionMapper : IAnimatorMotionMapper
- Inheritance
-
objectCubicBezierMotionMapper
- Implements
Properties
View SourceX1
The X1 of CubicBezierMotionMapper.
Declaration
public double X1 { get; set; }
Property Value
Type | Description |
---|---|
double |
X2
The X2 of CubicBezierMotionMapper.
Declaration
public double X2 { get; set; }
Property Value
Type | Description |
---|---|
double |
Y1
The Y1 of CubicBezierMotionMapper.
Declaration
public double Y1 { get; set; }
Property Value
Type | Description |
---|---|
double |
Y2
The Y2 of CubicBezierMotionMapper.
Declaration
public double Y2 { get; set; }
Property Value
Type | Description |
---|---|
double |
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 |