Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.Components.TransformMatrix
rotate(angle)
Description:
Rotate the Matrix.
Parameters:
name
type
description
angle
number
The angle of rotation in radians.
Returns:
Description:
This TransformMatrix.
Type:
Phaser.GameObjects.Components.TransformMatrix
Since:
3.0.0
Source:
src/gameobjects/components/TransformMatrix.js
(Line
398
)
Possible examples