MCPcopy Index your code
hub / github.com/phaserjs/phaser / setAngle

Method setAngle

types/phaser.d.ts:20488–20488  ·  view source on GitHub ↗

* Sets the angle of this Game Object. * @param degrees The rotation of this Game Object, in degrees. Default 0. * @returns This Game Object instance.

(degrees?: number)

Source from the content-addressed store, hash-verified

20486 * @returns This Game Object instance.
20487 */
20488 setAngle(degrees?: number): this;
20489 /**
20490 * Sets the scale of this Game Object.
20491 * @param x The horizontal scale of this Game Object. Default 1.

Callers 9

Transform.jsFile · 0.80
Body.jsFile · 0.80
TextureManager.jsFile · 0.80
createMethod · 0.80
createMethod · 0.80
helper.test.jsFile · 0.80
BaseCamera.test.jsFile · 0.80
Transform.test.jsFile · 0.80
Vector2.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected