mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
8 lines
395 B
TypeScript
8 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;
|