UnityEngine.Rendering.CommandBuffer.SetGlobalColor C# (CSharp) Method

SetGlobalColor() public method

public SetGlobalColor ( int nameID, System.Color value ) : void
nameID int
value System.Color
return void
        public void SetGlobalColor(int nameID, Color value)
        {
            INTERNAL_CALL_SetGlobalColor(this, nameID, ref value);
        }

Same methods

CommandBuffer::SetGlobalColor ( string name, System.Color value ) : void

Usage Example

コード例 #1
0
 static public int SetGlobalColor(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(int), typeof(UnityEngine.Color)))
         {
             UnityEngine.Rendering.CommandBuffer self = (UnityEngine.Rendering.CommandBuffer)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             UnityEngine.Color a2;
             checkType(l, 3, out a2);
             self.SetGlobalColor(a1, a2);
             return(0);
         }
         else if (matchType(l, argc, 2, typeof(string), typeof(UnityEngine.Color)))
         {
             UnityEngine.Rendering.CommandBuffer self = (UnityEngine.Rendering.CommandBuffer)checkSelf(l);
             System.String a1;
             checkType(l, 2, out a1);
             UnityEngine.Color a2;
             checkType(l, 3, out a2);
             self.SetGlobalColor(a1, a2);
             return(0);
         }
         LuaDLL.luaL_error(l, "No matched override function to call");
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
All Usage Examples Of UnityEngine.Rendering.CommandBuffer::SetGlobalColor