Returns the current material flag value. The material fill flag indicates whether the filling pattern is applied to a material (true) or to a plain color (false). Returns the current material index.