phaser - v3.90.0
    Preparing search index...
    MeshConfig: GameObjectConfig & {
        alphas?: number | number[];
        colors?: number | number[];
        containsZ?: boolean;
        frame?: string | number;
        indicies?: number[];
        key?: string | Textures.Texture;
        normals?: number[];
        uvs?: number[];
        vertices?: number[];
    }

    Type Declaration

    • Optionalalphas?: number | number[]

      An array of alpha values, one per vertex, or a single alpha value applied to all vertices.

    • Optionalcolors?: number | number[]

      An array of colors, one per vertex, or a single color value applied to all vertices.

    • OptionalcontainsZ?: boolean

      Does the vertices data include a z component?

    • Optionalframe?: string | number

      An 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.Texture

      The 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.