Function createPlaneVertices

  • Creates XZ plane vertices.

    The created plane has position, normal, and texcoord data

    Parameters

    • params: {
          depth?: number;
          subdivisionsDepth?: number;
          subdivisionsWidth?: number;
          width?: number;
      } = {}
      • Optionaldepth?: number

        Depth of the plane. Default = 1

      • OptionalsubdivisionsDepth?: number

        Number of steps down the plane. Default = 1

      • OptionalsubdivisionsWidth?: number

        Number of steps across the plane. Default = 1

      • Optionalwidth?: number

        Width of the plane. Default = 1

    Returns Arrays

    The created plane vertices.