Phaser API Documentation

  Version: 
setTargetUVs(source, target)

Description:

Sets the vertex UV coordinates of the quad used by the shaders in the Utility Pipeline so that they correctly adjust the texture coordinates for a blit frame effect.

Be sure to call resetUVs once you have finished manipulating the UV coordinates.

Parameters:

name type description
source Phaser.Renderer.WebGL.RenderTarget

The source Render Target.

target Phaser.Renderer.WebGL.RenderTarget

The target Render Target.