Inheritance
System.Object
ClampingScrollSimulation
public class ClampingScrollSimulation : Simulation
Constructors
Declaration
public ClampingScrollSimulation(float position, float velocity, float friction = 0.015F, Tolerance tolerance = null)
Parameters
| Type |
Name |
Description |
| System.Single |
position |
|
| System.Single |
velocity |
|
| System.Single |
friction |
|
| Tolerance |
tolerance |
|
Fields
Declaration
public readonly float friction
Field Value
| Type |
Description |
| System.Single |
|
Declaration
public readonly float position
Field Value
| Type |
Description |
| System.Single |
|
Declaration
public readonly float velocity
Field Value
| Type |
Description |
| System.Single |
|
Methods
Declaration
public override float dx(float time)
Parameters
| Type |
Name |
Description |
| System.Single |
time |
|
Returns
| Type |
Description |
| System.Single |
|
Overrides
Declaration
public override bool isDone(float time)
Parameters
| Type |
Name |
Description |
| System.Single |
time |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
Declaration
public override float x(float time)
Parameters
| Type |
Name |
Description |
| System.Single |
time |
|
Returns
| Type |
Description |
| System.Single |
|
Overrides