Phaser API Documentation

  Version: 
setTime(name)

Description:

Sets the current duration into a 1f uniform value based on the given name.

This can be used for mapping time uniform values, such as iTime.

Parameters:

name type description
name string

The name of the uniform to set.

Returns:
Description:

This WebGLPipeline instance.

Since: 3.50.0