Selva Compute API Reference - v2.1.0
    Preparing search index...

    Type Alias EdgesConfig

    Crisp boundary/crease edge overlays on meshes. See addEdges.

    type EdgesConfig = {
        color?: ColorRepresentation;
        enabled?: boolean;
        thresholdAngle?: number;
        width?: number;
    }
    Index

    Properties

    Edge color. Default near-black.

    enabled?: boolean

    Auto-attach edge overlays to meshes as they load. Default false (opt-in).

    thresholdAngle?: number

    Crease angle (degrees): keep edges where faces differ by more than this. Default 30.

    width?: number

    Edge thickness in CSS px. Default 1.5.