기술 자료

Unity Engine

Unity Engine

rendererShaderUserValue

The integer assigned to the renderer as a custom value.
읽는 시간 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.