mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 03:53:28 +00:00
9 lines
466 B
TypeScript
9 lines
466 B
TypeScript
|
/**
|
||
|
* Get the X component of a point on the curve based on the `t` (time) value, which must be between 0 and 1.
|
||
|
*
|
||
|
* @method Phaser.Hermite#getX
|
||
|
* @param {number} [t=0] - The time value along the curve from which to extract a point. This is a value between 0 and 1, where 0 represents the start of the curve and 1 the end.
|
||
|
* @return {number} The X component of a point on the curve based on the `t` (time) value.
|
||
|
*/
|
||
|
export default function (curve: any, t: any): any;
|