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): LineSegments
import { createLineSegments } from '@driftengine/core';

Parameters

ParameterTypeDescription
capacitynumber