文档

Unity Engine

Unity Engine

RenderQueueField

Draws the UI for editing the render queue of the selected materials, using automatic layout.
阅读时间1 分钟最后更新于 21 天前

Definition

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

RenderQueueField()

Draws the UI for editing the render queue of the selected materials, using automatic layout.
public void RenderQueueField()

Remarks

The render queue control lets users set Material.renderQueue to a common value, such as Geometry or Transparent, or to a custom value. This overload uses automatic layout. To set the position and size of the control, use the overload that takes a Rect.

RenderQueueField(Rect)

Draws the UI for editing the render queue of the selected materials, at a specified position.
public void RenderQueueField(Rect r)

Parameters

The position and size of the control.

Remarks

The render queue control lets users set Material.renderQueue to a common value, such as Geometry or Transparent, or to a custom value.