Inheritance
System.Object
BouncingScrollSimulation
public class BouncingScrollSimulation : Simulation
Constructors
Declaration
public BouncingScrollSimulation(float position, float velocity, float leadingExtent, float trailingExtent, SpringDescription spring, Tolerance tolerance = null)
Parameters
Type |
Name |
Description |
System.Single |
position |
|
System.Single |
velocity |
|
System.Single |
leadingExtent |
|
System.Single |
trailingExtent |
|
SpringDescription |
spring |
|
Tolerance |
tolerance |
|
Fields
Declaration
public readonly float leadingExtent
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly SpringDescription spring
Field Value
Declaration
public readonly float trailingExtent
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 string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Declaration
public override float x(float time)
Parameters
Type |
Name |
Description |
System.Single |
time |
|
Returns
Type |
Description |
System.Single |
|
Overrides