static public int constructor(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); ScriptRuntime.ColorF o; if (argc == 5) { System.Single a1; checkType(l, 2, out a1); System.Single a2; checkType(l, 3, out a2); System.Single a3; checkType(l, 4, out a3); System.Single a4; checkType(l, 5, out a4); o = new ScriptRuntime.ColorF(a1, a2, a3, a4); pushValue(l, true); pushValue(l, o); return(2); } else if (argc == 4) { System.Single a1; checkType(l, 2, out a1); System.Single a2; checkType(l, 3, out a2); System.Single a3; checkType(l, 4, out a3); o = new ScriptRuntime.ColorF(a1, a2, a3); pushValue(l, true); pushValue(l, o); return(2); } else if (argc <= 1) { o = new ScriptRuntime.ColorF(); pushValue(l, true); pushObject(l, o); return(2); } return(error(l, "New object failed.")); } catch (Exception e) { return(error(l, e)); } }
extern private static void ICall_LightComponent_SetColorF(LightComponent self, ref ColorF color);