Version: 2020.1
言語: 日本語
public static int GetGlobalInt (string name);
public static int GetGlobalInt (int nameID);

パラメーター

nameID Shader.PropertyToID によって検索されるプロパティーの nameID
name プロパティーの名前

説明

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.