Skip to main content

display_payload_handle_native

Function display_payload_handle_native 

Source
pub fn display_payload_handle_native(
    handle: u32,
    lod_factor: f64,
) -> Result<DisplaySolidPayload, String>
Expand description

Native display payload for a resident solid: watertight mesh + face list (in mesh face_ids order) + edge polylines + vertices, all in one registry borrow. lod_factor scales the per-solid display chord tolerance (1.0 = the app’s “Normal” preset; higher = coarser mesh). Callers pass a sanitized, finite, positive value — display_chord_tolerance multiplies it in directly.