Renderer · function
createLineSegments
Room for capacity segments, which is one fewer than the points that fill them.
Explained in Hello world.
function createLineSegments(capacity: number): LineSegmentsimport { createLineSegments } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
capacity | number |