Метод | Описание | |
---|---|---|
FramesToTime ( double frames, float frameRate ) : System.TimeSpan |
Converts the specified frames to time, given a frame rate.
|
|
TimeMillisecondsToFrames ( float time, float frameRate ) : double |
Converts the specified time to frames, given a frame rate.
|
|
TimeToFrames ( System.TimeSpan time, float frameRate ) : double |
Converts the specified time to frames, given a frame rate.
|
|
TimeToFrames ( float time, float frameRate ) : double |
Converts the specified time to frames, given a frame rate.
|
public static FramesToTime ( double frames, float frameRate ) : System.TimeSpan | ||
frames | double | The frames to convert to time. |
frameRate | float | The frame rate to be used in the conversion. |
Результат | System.TimeSpan |
public static TimeMillisecondsToFrames ( float time, float frameRate ) : double | ||
time | float | The time, in milliseconds, to convert to frames. |
frameRate | float | The frame rate to be used in the conversion. |
Результат | double |
public static TimeToFrames ( System.TimeSpan time, float frameRate ) : double | ||
time | System.TimeSpan | The time to convert to frames. |
frameRate | float | The frame rate to be used in the conversion. |
Результат | double |
public static TimeToFrames ( float time, float frameRate ) : double | ||
time | float | The time, in seconds, to convert to frames. |
frameRate | float | The frame rate to be used in the conversion. |
Результат | double |