TriangleStrip class Null safety

Represents a strip of triangles.

Each triangle uses the last edge of the previous one. The following diagram shows an example of a triangle strip, with each vertex labeled with its index in the vertex_index array. (1)-----(3) / \ / \ / \ / \ / \ /
(0)-----(2)-----(4) Vertices may be in either clockwise or counter-clockwise order.

Constructors

TriangleStrip({List<int>? vertexIndices})
TriangleStrip.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
vertexIndices List<int>?
Index into the vertex_offset array representing the next vertex in the triangle strip.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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