Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Math.Matrix3
rotate(rad)
Description:
Apply a rotation transformation to this Matrix.
Parameters:
name
type
description
rad
number
The angle in radians to rotate by.
Returns:
Description:
This Matrix3.
Type:
Phaser.Math.Matrix3
Since:
3.0.0
Source:
src/math/Matrix3.js
(Line
396
)
Possible examples