示例#1
0
 public static List <UnityEngine.Rendering.ReflectionProbeBlendInfo> GetList(ref List <UnityEngine.Rendering.ReflectionProbeBlendInfo> rList, long L, int nIndex)
 {
     try
     {
         long VM = FCLibHelper.fc_get_vm_ptr(L);
         if (rList == null)
         {
             rList = new List <UnityEngine.Rendering.ReflectionProbeBlendInfo>();
         }
         else
         {
             rList.Clear();
         }
         long ptr        = FCLibHelper.fc_get_param_ptr(L, nIndex);
         int  nArraySize = FCLibHelper.fc_get_array_size(ptr);
         for (int i = 0; i < nArraySize; ++i)
         {
             long item_ptr = FCLibHelper.fc_get_array_node_temp_ptr(VM, ptr, i);
             UnityEngine.Rendering.ReflectionProbeBlendInfo item = FCGetObj.GetObj <UnityEngine.Rendering.ReflectionProbeBlendInfo>(item_ptr);
             rList.Add(item);
         }
     }
     catch (Exception e)
     {
         Debug.LogException(e);
     }
     return(rList);
 }
示例#2
0
 static public int constructor(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         UnityEngine.Rendering.ReflectionProbeBlendInfo o;
         o = new UnityEngine.Rendering.ReflectionProbeBlendInfo();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }
	static public int constructor(IntPtr l) {
		try {
			UnityEngine.Rendering.ReflectionProbeBlendInfo o;
			o=new UnityEngine.Rendering.ReflectionProbeBlendInfo();
			pushValue(l,true);
			pushValue(l,o);
			return 2;
		}
		catch(Exception e) {
			return error(l,e);
		}
	}
示例#4
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.Rendering.ReflectionProbeBlendInfo o;
         o = new UnityEngine.Rendering.ReflectionProbeBlendInfo();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
示例#5
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.Rendering.ReflectionProbeBlendInfo o;
         o = new UnityEngine.Rendering.ReflectionProbeBlendInfo();
         pushValue(l, o);
         return(1);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
 public static int constructor(IntPtr l)
 {
     try {
         UnityEngine.Rendering.ReflectionProbeBlendInfo o;
         o=new UnityEngine.Rendering.ReflectionProbeBlendInfo();
         pushValue(l,o);
         return 1;
     }
     catch(Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return 0;
     }
 }
 static int _CreateUnityEngine_Rendering_ReflectionProbeBlendInfo(IntPtr L)
 {
     LuaScriptMgr.CheckArgsCount(L, 0);
     UnityEngine.Rendering.ReflectionProbeBlendInfo obj = new UnityEngine.Rendering.ReflectionProbeBlendInfo();
     LuaScriptMgr.PushValue(L, obj);
     return 1;
 }