Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VertexArray2D

Hierarchy

Index

Constructors

constructor

  • new VertexArray2D(homogeneous_positions?: number[], colors?: number): VertexArray2D

Properties

Protected _uid

_uid: string = ''

attributes

attributes: {} = {}

Type declaration

indices

Accessors

_averagePosition

  • get _averagePosition(): Vec2

color

length

  • get length(): number

nVerts

  • get nVerts(): number

normal

position

uid

  • get uid(): string

uv

Methods

ApplyMatrix

addVertex

clone

getAttributeArray

getBounds

getPoint2DAt

  • getPoint2DAt(i: number): Vec2

toJSON

  • toJSON(): {}

toString

  • toString(): string

Static Anchor

Static BoundingBoxVerts

Static BoxLinesVArray

Static CircleVArray

Static FromVec2List

Generated using TypeDoc