Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PerRendererData

In the Material Inspector, value for this property will be queried from Renderer's MaterialPropertyBlock, instead of from the Material. The value will also appear as read-only. This corresponds to the "[PerRendererData]" attribute in front of a property in the Shader code.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
Warning
Deprecated. Use UnityEngine.Rendering.ShaderPropertyFlags instead.
PerRendererData = 2