Interface: LineLayout
Experimental
Result of buildLineLayout.
Properties
| Property | Type | Description |
|---|---|---|
head | number | Experimental First stream vertex (0 unless built with an offset). Streaming (E7.2) slides the live range inside the arrays instead of moving data, so GPU uploads stay proportional to the change. |
instanceCount | number | Experimental Number of segment instances to draw (max(0, vertexCount - 3)). |
origin | Vec3 | Experimental Float64 RTC origin subtracted from positions. |
points | Float32Array | Experimental Stream positions: [x - ox, y - oy, z - oz, valid] per vertex, valid for [head, head + vertexCount). Length ≥ 4 * (head + vertexCount). |
source | Int32Array | Experimental Source serial of each stream vertex, or -1 for a sentinel: the input index plus sourceBase. Valid for [head, head + vertexCount); the length is the capacity. |
sourceBase | number | Experimental Added to input indices to form source serials (0 for a plain build). Streaming edits renumber the inputs without rewriting retained vertices by changing the base instead. |
vertexCount | number | Experimental Number of stream vertices, including sentinels. |