Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Type Alias LinePrimitivePolicy

    LinePrimitivePolicy: "auto" | "capsule" | "quad"

    Session-wide primitive POLICY (the Advanced → Line primitive user setting, #1352 follow-up). Deliberately a separate vocabulary from LinePrimitive: the policy names the user-facing choice (quad reads better than the internal screen-space, and auto is not a primitive at all). quad maps to 'screen-space' at resolution; parseLinePrimitive still deliberately rejects quad for ?linePrimitive= — the URL parameter speaks the primitive vocabulary.

    • auto (default): capsule, except scenes whose aggregate effective segment load is very large, which build the cheaper quad — see resolveLinePrimitiveForNode for the measured rationale.
    • capsule / quad: force one primitive for every line node.