Manual     Reference     Scripting  
  
Scripting > Attributes > RenderBeforeQueues   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • Attributes
  • AddComponentMenu
  • ContextMenu
  • ExecuteInEditMode
  • HideInInspector
  • NonSerialized
  • RPC
  • RenderBeforeQueues
  • RequireComponent
  • Serializable
  • SerializeField

RenderBeforeQueues Class, inherits from Attribute  

Attribute defining in which render queues OnRenderObject will be called.

See Also: Render queues, MonoBehaviour.OnRenderObject.

// Call OnRenderObject before rendering opaque and transparent objects
@RenderBeforeQueues(1000, 2000)
function OnRenderObject (queue : int) {
// do some custom rendering...
}

Constructors
RenderBeforeQueues

Define in which render queues OnRenderObject will be called.