Material.renderQueue 渲染队列

var renderQueue : int


Render queue of this material


By default materials use render queue of the shader it uses. You can override the render queue used using this variable. Note that once render queue is set on the material, it stays at that value, even if shader is later changed to be different.

默认的材质使用shader的 render queue ,你可以重写用于此变量的渲染队列,但是请注意,一旦在材质上设置了渲染队列,即使shader在将来被改为不同的值,它仍会保持原来设置的值。

Render queue number should be positive to work properly.


参见: Shader.renderQueue

Page last updated: 2011-1-21