Phaser API Documentation

  Version: 
load(F32, U32, offset, textureUnit, tintEffect)

Description:

Loads the data from this Vertex into the given Typed Arrays.

Parameters:

name type description
F32 Float32Array

A Float32 Array to insert the position, UV and unit data in to.

U32 Uint32Array

A Uint32 Array to insert the color and alpha data in to.

offset number

The index of the array to insert this Vertex to.

textureUnit number

The texture unit currently in use.

tintEffect number

The tint effect to use.

Returns:
Description:

The new vertex index array offset.

Type:
  • number
Since: 3.50.0
Source: src/geom/mesh/Face.js (Line 265)