Optionalalphas?: number | number[]Optionalcolors?: number | number[]An array of colors, one per vertex, or a single color value applied to all vertices.
OptionalcontainsZ?: booleanDoes the vertices data include a z component?
Optionalframe?: string | numberAn optional frame from the Texture this Game Object is rendering with.
Optionalindicies?: number[]Optional vertex indicies array. If you don't have one, pass null or an empty array.
Optionalkey?: string | Textures.TextureThe key, or instance of the Texture this Game Object will use to render with, as stored in the Texture Manager.
Optionalnormals?: number[]Optional vertex normals array. If you don't have one, pass null or an empty array.
Optionaluvs?: number[]The UVs pairs array.
Optionalvertices?: number[]The vertices array. Either xy pairs, or xyz if the containsZ parameter is true.
An array of alpha values, one per vertex, or a single alpha value applied to all vertices.