The XSpeed type exposes the following members.

Constructors

  NameDescription
XSpeed
Creates new XSpeed class instance.

Methods

  NameDescription
Accelerate
Calculates new speed after evenly accelerated motion with the Acceleration acceleration for the timeDelta seconds.
Decelerate
Calculates new speed after evenly decelerated motion with the Acceleration deceleration for the timeDelta seconds.
EqualsOverloaded.
Finalize

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

(Inherited from Object.)
GetHashCode
Gets the hash code for this instance.
(Overrides ValueType..::.GetHashCode()()().)
GetTrackDeltaOverloaded.
GetType

Gets the Type of the current instance.

(Inherited from Object.)
GetValue
Calculates the speed from the relative value relativeValue related between Min and Max.
MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)
ToString

Returns the fully qualified type name of this instance.

(Inherited from ValueType.)

Operators

  NameDescription
Equality
Tests whether the instance a and the instance b are equal.
Inequality
Tests whether the instance a and the instance b are not equal.

Properties

  NameDescription
Acceleration
Gets or sets the acceleration in units per second.
Max
Gets or sets the maximal speed.
Min
Gets or sets the minimal speed.
Value
Gets or sets the current speed.

See Also