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

    Interface EdgeOptions

    Crisp boundary/crease edges overlaid on meshes — the defining "technical drawing" look that makes shaded geometry read as discrete objects rather than blobs.

    Built with EdgesGeometry (which keeps only edges whose adjacent faces meet above a threshold angle, so flat tessellation noise is dropped) rendered as a fat LineSegments2 using the same LineMaterial family as curves (Phase 1) — so edges get controllable thickness, not the 1px cap of THREE.LineSegments. The overlay is added as a child of each mesh, so it inherits the mesh's transform and is disposed when the mesh subtree is cleared.

    interface EdgeOptions {
        color?: ColorRepresentation;
        thresholdAngle?: number;
        width?: number;
    }
    Index

    Properties

    Edge color. Default near-black.

    thresholdAngle?: number

    Crease angle in degrees: an edge is kept only where its two faces differ by more than this. Default 30. Higher = fewer edges (only sharp creases); lower = more (catches gentle bends).

    width?: number

    Edge thickness in CSS px. Default 1.5.