Version: 2020.2
언어: 한국어
public static int GetGlobalInt (string name);
public static int GetGlobalInt (int nameID);

파라미터

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

설명

Gets a global int property for all shaders previously set using SetGlobalInt.

It is only an alias to GetGlobalFloat that the float value is cast to integer.

See Also: GetGlobalFloat.