API reference
Preparing search index…

VertexArray

Native contiguous vertices, exposed through stable per-allocation views.

Type hierarchy

Hierarchy (View Summary)

Implements

Source & inheritance
Member directory14

Constructors

Accessors

Methods

Constructors

Methods

  • Returns a zero-based shared vertex view; throws RangeError for an out-of-bounds index. After growth reallocates storage, previous views still point to the old storage and must be retrieved again.

    Parameters

    index
    number

    Returns

    Source & inheritance
  • Resizes the vertex count; new vertices use defaults, and shrinking removes vertices from the end.

    Parameters

    vertexCount
    number

    Returns

    void
    Source & inheritance

Symbol members

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0