SFML.Net
Time Structure |
This class represents a time value
Namespace: SFML.System
Assembly: sfmlnet-system-2 (in sfmlnet-system-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
The Time type exposes the following members.
Methods
Name | Description | |
---|---|---|
AsMicroseconds |
Returns the time value as a number of microseconds
| |
AsMilliseconds |
Returns the time value as a number of milliseconds
| |
AsSeconds |
Returns the time value as a number of seconds
| |
Equals(Object) |
Compare time and object and checks if they are equal
(Overrides ValueTypeEquals(Object).) | |
Equals(Time) |
Compare two times and checks if they are equal
| |
FromMicroseconds |
Construct a time value from a number of microseconds
| |
FromMilliseconds |
Construct a time value from a number of milliseconds
| |
FromSeconds |
Construct a time value from a number of seconds
| |
GetHashCode |
Provide a integer describing the object
(Overrides ValueTypeGetHashCode.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
ToString |
Returns the fully qualified type name of this instance.
(Inherited from ValueType.) |
Operators
Name | Description | |
---|---|---|
Addition |
Overload of binary + operator to add two time values
| |
Division(Time, Time) |
Overload of binary / operator to scale a time value
| |
Division(Time, Int64) |
Overload of binary / operator to scale a time value
| |
Division(Time, Single) |
Overload of binary / operator to scale a time value
| |
Equality |
Compare two times and checks if they are equal
| |
GreaterThan |
Overload of > operator to compare two time values
| |
GreaterThanOrEqual |
Overload of >= operator to compare two time values
| |
Inequality |
Compare two times and checks if they are not equal
| |
LessThan |
Overload of < operator to compare two time values
| |
LessThanOrEqual |
Overload of <= operator to compare two time values
| |
Modulus |
Overload of binary % operator to compute remainder of a time value
| |
Multiply(Int64, Time) |
Overload of binary * operator to scale a time value
| |
Multiply(Single, Time) |
Overload of binary * operator to scale a time value
| |
Multiply(Time, Int64) |
Overload of binary * operator to scale a time value
| |
Multiply(Time, Single) |
Overload of binary * operator to scale a time value
| |
Subtraction |
Overload of binary - operator to subtract two time values
|
Fields
See Also