@rbxts/a-plant-generator - v0.2.0
    Preparing search index...

    Interface GeometrySink

    Streaming output boundary for custom interpreters and renderers.

    interface GeometrySink {
        onAttachment?(attachment: OrganAttachment): void;
        onPolygon?(polygon: readonly Vec3[]): void;
        onSegment?(segment: BranchSegment): void;
    }
    Index
    • Receives each completed polygon contour.

      Parameters

      • polygon: readonly Vec3[]

      Returns void