Phaser API Documentation

  Version: 
verts: MatterJS.VerticesFactory

Description:

A reference to the Matter.Vertices module.

The Matter.Vertices module contains methods for creating and manipulating sets of vertices. A set of vertices is an array of Matter.Vector with additional indexing properties inserted by Vertices.create. A Matter.Body maintains a set of vertices to represent the shape of the object (its convex hull).

Type:
MatterJS.VerticesFactory
Since: 3.14.0