SetGlobalColor() public static method

public static SetGlobalColor ( int nameID, Color color ) : void
nameID int
color Color
return void
Beispiel #1
0
 public static void SetGlobalVector(int nameID, Vector4 vec)
 {
     Shader.SetGlobalColor(nameID, vec);
 }
Beispiel #2
0
 public static void SetGlobalColor(string propertyName, Color color)
 {
     Shader.SetGlobalColor(Shader.PropertyToID(propertyName), color);
 }
Beispiel #3
0
 public static void SetGlobalVector(string propertyName, Vector4 vec)
 {
     Shader.SetGlobalColor(propertyName, vec);
 }
Beispiel #4
0
 public static void SetGlobalColor(string name, Color value)
 {
     Shader.SetGlobalColor(Shader.PropertyToID(name), value);
 }