RemoveCommandBuffers() private method

private RemoveCommandBuffers ( LightEvent evt ) : void
evt LightEvent
return void
コード例 #1
0
 static public int RemoveCommandBuffers(IntPtr l)
 {
     try {
         UnityEngine.Light self = (UnityEngine.Light)checkSelf(l);
         UnityEngine.Rendering.LightEvent a1;
         checkEnum(l, 2, out a1);
         self.RemoveCommandBuffers(a1);
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #2
0
 static int RemoveCommandBuffers(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.Light obj = (UnityEngine.Light)ToLua.CheckObject(L, 1, typeof(UnityEngine.Light));
         UnityEngine.Rendering.LightEvent arg0 = (UnityEngine.Rendering.LightEvent)ToLua.CheckObject(L, 2, typeof(UnityEngine.Rendering.LightEvent));
         obj.RemoveCommandBuffers(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
コード例 #3
0
 public static int RemoveCommandBuffers_wrap(long L)
 {
     try
     {
         long nThisPtr         = FCLibHelper.fc_get_inport_obj_ptr(L);
         UnityEngine.Light obj = get_obj(nThisPtr);
         UnityEngine.Rendering.LightEvent arg0 = (UnityEngine.Rendering.LightEvent)(FCLibHelper.fc_get_int(L, 0));
         obj.RemoveCommandBuffers(arg0);
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(0);
 }
コード例 #4
0
    static int RemoveCommandBuffers(IntPtr L)
    {
#if UNITY_EDITOR
        ToluaProfiler.AddCallRecord("UnityEngine.Light.RemoveCommandBuffers");
#endif
        try
        {
            ToLua.CheckArgsCount(L, 2);
            UnityEngine.Light obj = (UnityEngine.Light)ToLua.CheckObject(L, 1, typeof(UnityEngine.Light));
            UnityEngine.Rendering.LightEvent arg0 = (UnityEngine.Rendering.LightEvent)ToLua.CheckObject(L, 2, typeof(UnityEngine.Rendering.LightEvent));
            obj.RemoveCommandBuffers(arg0);
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }