ドキュメント

Unity Engine

Unity Engine

rendererShaderUserValue

The integer assigned to the renderer as a custom value.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.