Phaser API Documentation

  Version: 
getUniform(key)

Description:

Returns the uniform object for the given key, or null if the uniform couldn't be found.

Parameters:

name type description
key string

The key of the uniform to return the value for.

Returns:
Description:

A reference to the uniform object. This is not a copy, so modifying it will update the original object also.

Type:
  • any
Since: 3.17.0