Phaser API Documentation

  Version: 
vertices: Array.<Phaser.Geom.Mesh.Vertex>

Description:

An array of Vertex objects that correspond to the quads that make-up this Nine Slice Game Object. They are stored in the following order:

Top Left - Indexes 0 - 5 Top Center - Indexes 6 - 11 Top Right - Indexes 12 - 17 Center Left - Indexes 18 - 23 Center - Indexes 24 - 29 Center Right - Indexes 30 - 35 Bottom Left - Indexes 36 - 41 Bottom Center - Indexes 42 - 47 Bottom Right - Indexes 48 - 53

Each quad is represented by 6 Vertex instances.

This array will contain 18 elements for a 3 slice object and 54 for a nine slice object.

You should never modify this array once it has been populated.

Type:
Since: 3.60.0