Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Declaration
public bool EnableInstancingField();
Returns
bool
True if the material's shader supports instancing and the UI is displayed. Otherwise, false.
Description
Display UI for editing material's render queue setting.
Returns true if the UI is indeed displayed i.e. if the material's shader supports instancing.
Additional resources: Material.enableInstancing.
Declaration
public void
EnableInstancingField(
Rect r);
Parameters
| Parameter |
Description |
| r |
The rect to draw the control in. |
Description
Display UI for editing material's render queue setting within the specified rect.