Vertices class

A description of vertex points for drawing triangles.

Constructors

Vertices(List<Point> vertexPoints)
Creates a new collection of triangle vertices at the specified points.
const
Vertices.fromFloat32List(Float32List vertices)
Creates a new collection of triangle vertices from the specified Float32List, interpreted as x,y pairs.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vertexPoints List<Point>
A list of vertex points descibing this triangular mesh.
final

Methods

createIndex() IndexedVertices
Creates an optimized version of vertexPoints where the points are deduplicated via an index buffer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited