UNPKG

phaser-raycaster

Version:
18 lines (17 loc) 405 B
/** * Get ray statistics for last casting. Stats include * * number of casted rays, * * number of tested mapped objects, * * number of tested map segments. * * casting time * * @method Raycaster.Ray#getStats * @memberof Raycaster.Ray * @instance * @since 0.10.0 * * @return {object} Statisticss from last casting. */ export function getStats() { return this._stats; }