기술 자료

Unity Engine

Unity Engine

SetGlobalInteger

Sets a global integer property for all shaders.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

SetGlobalInteger(string, int)

Sets a global integer property for all shaders.
public static void SetGlobalInteger(string name, int value)

Parameters

name

The name of the property.

value

SetGlobalInteger(int, int)

Sets a global integer property for all shaders.
public static void SetGlobalInteger(int nameID, int value)

Parameters

nameID

The name ID of the property retrieved by Shader.PropertyToID.

value