AutoMovie API
    Preparing search index...

    Growing vertex and index buffers in millimetres.

    interface IContext {
        groups: { name: string; start: number }[];
        indices: number[];
        positions: number[];
    }
    Index
    groups: { name: string; start: number }[]

    Named triangle ranges in emission order: each group owns the triangles from its start index-buffer offset up to the next group's start. Groups name the curve interval that generated them.

    Type Declaration

    • name: string

      Chain identity used to address this mesh interval.

    • start: number

      Offset into the flat triangle index buffer at group creation, measured in index entries (not vertices or triangle count). split reads from this offset to the next group offset, or indices.length for the last group.

    indices: number[]

    Flat triangle vertex indices.

    positions: number[]

    Flat [x, y, z, ...] vertex positions in mm.