Phaser API Documentation

  Version: 
setSizeToFrame([resetUV])

Description:

An internal method that resets the perspective projection for this Plane when it changes texture or frame, and also resets the cell UV coordinates, if required.

Parameters:

name type arguments Default description
resetUV boolean <optional> true

Reset all of the cell UV coordinates?

Returns:
Description:

This Game Object instance.

Since: 3.60.0