ドキュメント

Unity Engine

Download Unity

Unity Engine

EnableInstancingField

Display UI for editing material's render queue setting.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

EnableInstancingField()

Display UI for editing material's render queue setting.
public bool EnableInstancingField()

Returns

Type

Description

boolTrue if the material's shader supports instancing and the UI is displayed. Otherwise, false.

Remarks

Returns true if the UI is indeed displayed i.e. if the material's shader supports instancing.
Additional Resources: Material.enableInstancing.

EnableInstancingField(Rect)

Display UI for editing material's render queue setting within the specified rect.
public void EnableInstancingField(Rect r)

Parameters

The rect to draw the control in.

Remarks

Additional Resources: Material.enableInstancing.