Phaser API Documentation

  Version: 
getNormalMap([gameObject])

Description:

Returns the normal map WebGLTexture from the given Game Object. If the Game Object doesn't have one, it returns the default normal map from this pipeline instead.

Parameters:

name type arguments description
gameObject Phaser.GameObjects.GameObject <optional>

The Game Object to get the normal map from.

Returns:
Description:

The normal map texture.

Type:
  • WebGLTexture
Since: 3.50.0