Skip to content

Interface: MeshLayout ​

Experimental

The attribute layout the primitive draws: expanded geometry has three vertices per triangle (flat shading, per-cell colors or intensity, triangle picking); otherwise the input vertices are drawn through the index.

Properties ​

PropertyTypeDescription
expandedbooleanExperimental
indicesArrayLike<number> | nullExperimental
itemCountnumberExperimental Drawn vertices: 3 * triangleCount when expanded, else vertexCount.
triangleCountnumberExperimental
vertexCountnumberExperimental Input vertices.

Released under the MIT License.