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

Method setRotation

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

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

(radians?: number)

Source from the content-addressed store, hash-verified

20480 * @returns This Game Object instance.
20481 */
20482 setRotation(radians?: number): this;
20483 /**
20484 * Sets the angle of this Game Object.
20485 * @param degrees The rotation of this Game Object, in degrees. Default 0.

Callers 11

DynamicTexture.jsFile · 0.80
NormalTools.jsFile · 0.80
Filters.jsFile · 0.80
InputPlugin.jsFile · 0.80
createMethod · 0.80
createMethod · 0.80
BaseCamera.test.jsFile · 0.80
Transform.test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected