material_field_drawn
bool material_field_drawn(const MaterialField &field, const Material &material)Parameters
| Name | Type | Description |
|---|---|---|
field | const MaterialField & | The field to test. |
material | const Material & | The material whose state a conditional field is tested against. |
Returns
bool
True when the field is editable and its own visibility predicate passes.
Description
Returns whether the Inspector draws a row for field at all.
See also
engine/domain/material/include/SushiEngine/material/README.md

