Time#
Functions
-
float sfTime_asSeconds(sfTime time)#
Return a time value as a number of seconds.
- Parameters:
time – Time value
- Returns:
Time in seconds
-
sfInt32 sfTime_asMilliseconds(sfTime time)#
Return a time value as a number of milliseconds.
- Parameters:
time – Time value
- Returns:
Time in milliseconds
-
sfInt64 sfTime_asMicroseconds(sfTime time)#
Return a time value as a number of microseconds.
- Parameters:
time – Time value
- Returns:
Time in microseconds
-
sfTime sfSeconds(float amount)#
Construct a time value from a number of seconds.
- Parameters:
amount – Number of seconds
- Returns:
Time value constructed from the amount of seconds