Phaser API Documentation

  Version: 
setNormalMapRotation(rotation)

Description:

Rotates the normal map vectors inversely by the given angle. Only works in 2D space.

Parameters:

name type description
rotation number

The angle of rotation in radians.

Since: 3.16.0