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

SetGlobalMatrix() public method

public SetGlobalMatrix ( int nameID, Matrix4x4 value ) : void
nameID int
value Matrix4x4
return void
        public void SetGlobalMatrix(int nameID, Matrix4x4 value)
        {
            INTERNAL_CALL_SetGlobalMatrix(this, nameID, ref value);
        }

Same methods

CommandBuffer::SetGlobalMatrix ( string name, Matrix4x4 value ) : void

Usage Example

 static public int SetGlobalMatrix(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(int), typeof(UnityEngine.Matrix4x4)))
         {
             UnityEngine.Rendering.CommandBuffer self = (UnityEngine.Rendering.CommandBuffer)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             UnityEngine.Matrix4x4 a2;
             checkValueType(l, 3, out a2);
             self.SetGlobalMatrix(a1, a2);
             return(0);
         }
         else if (matchType(l, argc, 2, typeof(string), typeof(UnityEngine.Matrix4x4)))
         {
             UnityEngine.Rendering.CommandBuffer self = (UnityEngine.Rendering.CommandBuffer)checkSelf(l);
             System.String a1;
             checkType(l, 2, out a1);
             UnityEngine.Matrix4x4 a2;
             checkValueType(l, 3, out a2);
             self.SetGlobalMatrix(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::SetGlobalMatrix