Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Polyline

A shape that is a triangle mesh. A shape that is a triangle mesh.

Hierarchy

  • Polyline

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Polyline(vertices: Float32Array, indices: Uint32Array): Polyline
  • new Polyline(vertices: Float32Array, indices: Uint32Array): Polyline
  • Creates a new polyline shape.

    Parameters

    • vertices: Float32Array

      The coordinates of the polyline's vertices.

    • indices: Uint32Array

      The indices of the polyline's segments. If this is null then the vertices are assumed to form a line strip.

    Returns Polyline

  • Creates a new polyline shape.

    Parameters

    • vertices: Float32Array

      The coordinates of the polyline's vertices.

    • indices: Uint32Array

      The indices of the polyline's segments. If this is null then the vertices are assumed to form a line strip.

    Returns Polyline

Properties

Readonly indices

indices: Uint32Array

The indices of the segments. The indices of the segments.

Readonly vertices

vertices: Float32Array

The vertices of the polyline. The vertices of the polyline.

Methods

intoRaw

  • intoRaw(): RawShape
  • intoRaw(): RawShape
  • Returns RawShape

  • Returns RawShape

Generated using TypeDoc