Skip to main content

exact_material_property_sets_where

Function exact_material_property_sets_where 

Source
pub fn exact_material_property_sets_where<S>(
    model: &Model,
    material: EntityId,
    select_set: S,
) -> Result<Vec<ExactPropertySetEntry>, ExactPropertyError>
where S: FnMut(&str) -> bool,
Expand description

The property sets of material definition material whose names select_set picks, empty ones included (#218).

The material counterpart of exact_property_sets_where: an empty result proves the material has no selected set, and an empty set is listed with members == 0.

ยงErrors

Any ExactPropertyError, as for exact_material_property.