mirror of
https://github.com/photonstorm/phaser
synced 2024-12-19 01:24:48 +00:00
9 lines
395 B
TypeScript
9 lines
395 B
TypeScript
|
/**
|
||
|
* Calculate and return the angle, in radians, of the curves tangent based on time.
|
||
|
*
|
||
|
* @method Phaser.Hermite#getAngle
|
||
|
* @param {number} [t=0] - The `t` (time) value at which to find the angle. Must be between 0 and 1.
|
||
|
* @return {number} The angle of the line at the specified `t` time value along the curve. The value is in radians.
|
||
|
*/
|
||
|
export default function (curve: any, t: any): number;
|