public bool isVisible ;

Description

Is the current material expanded.

Use this to check if custom material fields should be rendered.