Time.fpsToMillisec()

Convert frame per second to millisecond

Parameters

NameTypeDescription
1refreshRatenumber

Return value

number

the time in millisecond

Usage

import {Time} from '@lcluber/type6js';

let fpsToMillisec = Time.fpsToMillisec(60);