Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Math.Matrix4
rotateZ(rad)
Description:
Rotate this matrix on its Z axis.
Parameters:
name
type
description
rad
number
The angle to rotate by, in radians.
Returns:
Description:
This Matrix4.
Type:
Phaser.Math.Matrix4
Since:
3.0.0
Source:
src/math/Matrix4.js
(Line
1008
)
Possible examples