Function createPlaneVertices

  • Creates XZ plane vertices.

    The created plane has position, normal, and texcoord data

    Parameters

    • params: {
          depth: undefined | number;
          subdivisionsDepth: undefined | number;
          subdivisionsWidth: undefined | number;
          width: undefined | number;
      } = {}
      • depth: undefined | number

        Depth of the plane. Default = 1

      • subdivisionsDepth: undefined | number

        Number of steps down the plane. Default = 1

      • subdivisionsWidth: undefined | number

        Number of steps across the plane. Default = 1

      • width: undefined | number

        Width of the plane. Default = 1

    Returns Arrays

    The created plane vertices.

Generated using TypeDoc