rendererShaderUserValue
The integer assigned to the renderer as a custom value.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public uint rendererShaderUserValue { readonly get; set; }
Remarks
Use this property to change how a shader draws each rendered instance, without using different materials or additional CPU time. The default value is 0.
For more information, refer to MeshRenderer.SetShaderUserValue.