API

Interface GreasedLinePointsOptions

Options for converting the points to the internal number[][] format used by GreasedLine

interface GreasedLinePointsOptions {
    floatArrayStride?: number;
}
Index
floatArrayStride?: number

If defined and a Float32Array is used for the points parameter, it will create multiple disconnected lines. This parameter defines how many entries from the array to use for one line. One entry = 3 float values.