The geometry of a Region.

  • Vertex Attribute: aVertexPosition (vec2)
  • Draw Mode: PIXI.DRAW_MODES.TRIANGLES

Hierarchy

  • any
    • RegionGeometry

Constructors

Properties

Accessors

Methods

Constructors

  • Internal

    Create a RegionGeometry.

    Parameters

    • region: Region

      The Region to create the RegionGeometry from.

    Returns RegionGeometry

Properties

#invalidBuffers: boolean = true

Do the buffers need to be updated?

Accessors

  • get region(): Region
  • The Region this geometry belongs to.

    Returns Region

Methods

  • Internal

    Update the buffers.

    Returns void

  • Internal

    Update the buffers.

    Returns void