Skip to main content

feature_hidden_params

Function feature_hidden_params 

Source
pub fn feature_hidden_params(
    feature_type: &str,
    values: &Value,
) -> HashSet<String>
Expand description

The param keys this feature’s dialog should HIDE for the given CURRENT values — the kernel’s field-visibility hook (brep_kernel::feature_hidden_params), returned as a set so the form engine can skip a field in O(1). Empty when the feature declares no hook, so every field stays visible. The form engine recomputes this each frame from the live params, which is what makes fields appear and disappear as their governing field changes.