arcade-physics
Version:
Use Arcade Physics without Phaser.
15 lines • 573 B
TypeScript
export default FromPercent;
/**
* Return a value based on the range between `min` and `max` and the percentage given.
*
* @function Phaser.Math.FromPercent
* @since 3.0.0
*
* @param {number} percent - A value between 0 and 1 representing the percentage.
* @param {number} min - The minimum value.
* @param {number} [max] - The maximum value.
*
* @return {number} The value that is `percent` percent between `min` and `max`.
*/
declare function FromPercent(percent: number, min: number, max?: number | undefined): number;
//# sourceMappingURL=FromPercent.d.ts.map