UnityEngine_CanvasRendererWrap.cs 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class UnityEngine_CanvasRendererWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(UnityEngine.CanvasRenderer), typeof(UnityEngine.Component));
  9. L.RegFunction("SetColor", SetColor);
  10. L.RegFunction("GetColor", GetColor);
  11. L.RegFunction("EnableRectClipping", EnableRectClipping);
  12. L.RegFunction("DisableRectClipping", DisableRectClipping);
  13. L.RegFunction("SetMaterial", SetMaterial);
  14. L.RegFunction("GetMaterial", GetMaterial);
  15. L.RegFunction("SetPopMaterial", SetPopMaterial);
  16. L.RegFunction("GetPopMaterial", GetPopMaterial);
  17. L.RegFunction("SetTexture", SetTexture);
  18. L.RegFunction("SetAlphaTexture", SetAlphaTexture);
  19. L.RegFunction("SetMesh", SetMesh);
  20. L.RegFunction("Clear", Clear);
  21. L.RegFunction("GetAlpha", GetAlpha);
  22. L.RegFunction("SetAlpha", SetAlpha);
  23. L.RegFunction("GetInheritedAlpha", GetInheritedAlpha);
  24. L.RegFunction("SplitUIVertexStreams", SplitUIVertexStreams);
  25. L.RegFunction("CreateUIVertexStream", CreateUIVertexStream);
  26. L.RegFunction("AddUIVertexStream", AddUIVertexStream);
  27. L.RegFunction("New", _CreateUnityEngine_CanvasRenderer);
  28. L.RegFunction("__eq", op_Equality);
  29. L.RegFunction("__tostring", ToLua.op_ToString);
  30. L.RegVar("hasPopInstruction", get_hasPopInstruction, set_hasPopInstruction);
  31. L.RegVar("materialCount", get_materialCount, set_materialCount);
  32. L.RegVar("popMaterialCount", get_popMaterialCount, set_popMaterialCount);
  33. L.RegVar("absoluteDepth", get_absoluteDepth, null);
  34. L.RegVar("hasMoved", get_hasMoved, null);
  35. L.RegVar("cullTransparentMesh", get_cullTransparentMesh, set_cullTransparentMesh);
  36. L.RegVar("hasRectClipping", get_hasRectClipping, null);
  37. L.RegVar("relativeDepth", get_relativeDepth, null);
  38. L.RegVar("cull", get_cull, set_cull);
  39. L.RegVar("clippingSoftness", get_clippingSoftness, set_clippingSoftness);
  40. L.EndClass();
  41. }
  42. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  43. static int _CreateUnityEngine_CanvasRenderer(IntPtr L)
  44. {
  45. try
  46. {
  47. int count = LuaDLL.lua_gettop(L);
  48. if (count == 0)
  49. {
  50. UnityEngine.CanvasRenderer obj = new UnityEngine.CanvasRenderer();
  51. ToLua.PushSealed(L, obj);
  52. return 1;
  53. }
  54. else
  55. {
  56. return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: UnityEngine.CanvasRenderer.New");
  57. }
  58. }
  59. catch (Exception e)
  60. {
  61. return LuaDLL.toluaL_exception(L, e);
  62. }
  63. }
  64. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  65. static int SetColor(IntPtr L)
  66. {
  67. try
  68. {
  69. ToLua.CheckArgsCount(L, 2);
  70. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  71. UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
  72. obj.SetColor(arg0);
  73. return 0;
  74. }
  75. catch (Exception e)
  76. {
  77. return LuaDLL.toluaL_exception(L, e);
  78. }
  79. }
  80. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  81. static int GetColor(IntPtr L)
  82. {
  83. try
  84. {
  85. ToLua.CheckArgsCount(L, 1);
  86. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  87. UnityEngine.Color o = obj.GetColor();
  88. ToLua.Push(L, o);
  89. return 1;
  90. }
  91. catch (Exception e)
  92. {
  93. return LuaDLL.toluaL_exception(L, e);
  94. }
  95. }
  96. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  97. static int EnableRectClipping(IntPtr L)
  98. {
  99. try
  100. {
  101. ToLua.CheckArgsCount(L, 2);
  102. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  103. UnityEngine.Rect arg0 = StackTraits<UnityEngine.Rect>.Check(L, 2);
  104. obj.EnableRectClipping(arg0);
  105. return 0;
  106. }
  107. catch (Exception e)
  108. {
  109. return LuaDLL.toluaL_exception(L, e);
  110. }
  111. }
  112. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  113. static int DisableRectClipping(IntPtr L)
  114. {
  115. try
  116. {
  117. ToLua.CheckArgsCount(L, 1);
  118. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  119. obj.DisableRectClipping();
  120. return 0;
  121. }
  122. catch (Exception e)
  123. {
  124. return LuaDLL.toluaL_exception(L, e);
  125. }
  126. }
  127. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  128. static int SetMaterial(IntPtr L)
  129. {
  130. try
  131. {
  132. int count = LuaDLL.lua_gettop(L);
  133. if (count == 3 && TypeChecker.CheckTypes<int>(L, 3))
  134. {
  135. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  136. UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckObject<UnityEngine.Material>(L, 2);
  137. int arg1 = (int)LuaDLL.lua_tonumber(L, 3);
  138. obj.SetMaterial(arg0, arg1);
  139. return 0;
  140. }
  141. else if (count == 3 && TypeChecker.CheckTypes<UnityEngine.Texture>(L, 3))
  142. {
  143. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  144. UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckObject<UnityEngine.Material>(L, 2);
  145. UnityEngine.Texture arg1 = (UnityEngine.Texture)ToLua.ToObject(L, 3);
  146. obj.SetMaterial(arg0, arg1);
  147. return 0;
  148. }
  149. else
  150. {
  151. return LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.CanvasRenderer.SetMaterial");
  152. }
  153. }
  154. catch (Exception e)
  155. {
  156. return LuaDLL.toluaL_exception(L, e);
  157. }
  158. }
  159. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  160. static int GetMaterial(IntPtr L)
  161. {
  162. try
  163. {
  164. int count = LuaDLL.lua_gettop(L);
  165. if (count == 1)
  166. {
  167. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  168. UnityEngine.Material o = obj.GetMaterial();
  169. ToLua.Push(L, o);
  170. return 1;
  171. }
  172. else if (count == 2)
  173. {
  174. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  175. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  176. UnityEngine.Material o = obj.GetMaterial(arg0);
  177. ToLua.Push(L, o);
  178. return 1;
  179. }
  180. else
  181. {
  182. return LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.CanvasRenderer.GetMaterial");
  183. }
  184. }
  185. catch (Exception e)
  186. {
  187. return LuaDLL.toluaL_exception(L, e);
  188. }
  189. }
  190. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  191. static int SetPopMaterial(IntPtr L)
  192. {
  193. try
  194. {
  195. ToLua.CheckArgsCount(L, 3);
  196. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  197. UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckObject<UnityEngine.Material>(L, 2);
  198. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  199. obj.SetPopMaterial(arg0, arg1);
  200. return 0;
  201. }
  202. catch (Exception e)
  203. {
  204. return LuaDLL.toluaL_exception(L, e);
  205. }
  206. }
  207. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  208. static int GetPopMaterial(IntPtr L)
  209. {
  210. try
  211. {
  212. ToLua.CheckArgsCount(L, 2);
  213. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  214. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  215. UnityEngine.Material o = obj.GetPopMaterial(arg0);
  216. ToLua.Push(L, o);
  217. return 1;
  218. }
  219. catch (Exception e)
  220. {
  221. return LuaDLL.toluaL_exception(L, e);
  222. }
  223. }
  224. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  225. static int SetTexture(IntPtr L)
  226. {
  227. try
  228. {
  229. ToLua.CheckArgsCount(L, 2);
  230. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  231. UnityEngine.Texture arg0 = (UnityEngine.Texture)ToLua.CheckObject<UnityEngine.Texture>(L, 2);
  232. obj.SetTexture(arg0);
  233. return 0;
  234. }
  235. catch (Exception e)
  236. {
  237. return LuaDLL.toluaL_exception(L, e);
  238. }
  239. }
  240. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  241. static int SetAlphaTexture(IntPtr L)
  242. {
  243. try
  244. {
  245. ToLua.CheckArgsCount(L, 2);
  246. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  247. UnityEngine.Texture arg0 = (UnityEngine.Texture)ToLua.CheckObject<UnityEngine.Texture>(L, 2);
  248. obj.SetAlphaTexture(arg0);
  249. return 0;
  250. }
  251. catch (Exception e)
  252. {
  253. return LuaDLL.toluaL_exception(L, e);
  254. }
  255. }
  256. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  257. static int SetMesh(IntPtr L)
  258. {
  259. try
  260. {
  261. ToLua.CheckArgsCount(L, 2);
  262. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  263. UnityEngine.Mesh arg0 = (UnityEngine.Mesh)ToLua.CheckObject(L, 2, typeof(UnityEngine.Mesh));
  264. obj.SetMesh(arg0);
  265. return 0;
  266. }
  267. catch (Exception e)
  268. {
  269. return LuaDLL.toluaL_exception(L, e);
  270. }
  271. }
  272. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  273. static int Clear(IntPtr L)
  274. {
  275. try
  276. {
  277. ToLua.CheckArgsCount(L, 1);
  278. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  279. obj.Clear();
  280. return 0;
  281. }
  282. catch (Exception e)
  283. {
  284. return LuaDLL.toluaL_exception(L, e);
  285. }
  286. }
  287. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  288. static int GetAlpha(IntPtr L)
  289. {
  290. try
  291. {
  292. ToLua.CheckArgsCount(L, 1);
  293. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  294. float o = obj.GetAlpha();
  295. LuaDLL.lua_pushnumber(L, o);
  296. return 1;
  297. }
  298. catch (Exception e)
  299. {
  300. return LuaDLL.toluaL_exception(L, e);
  301. }
  302. }
  303. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  304. static int SetAlpha(IntPtr L)
  305. {
  306. try
  307. {
  308. ToLua.CheckArgsCount(L, 2);
  309. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  310. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  311. obj.SetAlpha(arg0);
  312. return 0;
  313. }
  314. catch (Exception e)
  315. {
  316. return LuaDLL.toluaL_exception(L, e);
  317. }
  318. }
  319. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  320. static int GetInheritedAlpha(IntPtr L)
  321. {
  322. try
  323. {
  324. ToLua.CheckArgsCount(L, 1);
  325. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)ToLua.CheckObject(L, 1, typeof(UnityEngine.CanvasRenderer));
  326. float o = obj.GetInheritedAlpha();
  327. LuaDLL.lua_pushnumber(L, o);
  328. return 1;
  329. }
  330. catch (Exception e)
  331. {
  332. return LuaDLL.toluaL_exception(L, e);
  333. }
  334. }
  335. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  336. static int SplitUIVertexStreams(IntPtr L)
  337. {
  338. try
  339. {
  340. int count = LuaDLL.lua_gettop(L);
  341. if (count == 8)
  342. {
  343. System.Collections.Generic.List<UnityEngine.UIVertex> arg0 = (System.Collections.Generic.List<UnityEngine.UIVertex>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.List<UnityEngine.UIVertex>));
  344. System.Collections.Generic.List<UnityEngine.Vector3> arg1 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  345. System.Collections.Generic.List<UnityEngine.Color32> arg2 = (System.Collections.Generic.List<UnityEngine.Color32>)ToLua.CheckObject(L, 3, typeof(System.Collections.Generic.List<UnityEngine.Color32>));
  346. System.Collections.Generic.List<UnityEngine.Vector4> arg3 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 4, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  347. System.Collections.Generic.List<UnityEngine.Vector4> arg4 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 5, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  348. System.Collections.Generic.List<UnityEngine.Vector3> arg5 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 6, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  349. System.Collections.Generic.List<UnityEngine.Vector4> arg6 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 7, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  350. System.Collections.Generic.List<int> arg7 = (System.Collections.Generic.List<int>)ToLua.CheckObject(L, 8, typeof(System.Collections.Generic.List<int>));
  351. UnityEngine.CanvasRenderer.SplitUIVertexStreams(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
  352. return 0;
  353. }
  354. else if (count == 10)
  355. {
  356. System.Collections.Generic.List<UnityEngine.UIVertex> arg0 = (System.Collections.Generic.List<UnityEngine.UIVertex>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.List<UnityEngine.UIVertex>));
  357. System.Collections.Generic.List<UnityEngine.Vector3> arg1 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  358. System.Collections.Generic.List<UnityEngine.Color32> arg2 = (System.Collections.Generic.List<UnityEngine.Color32>)ToLua.CheckObject(L, 3, typeof(System.Collections.Generic.List<UnityEngine.Color32>));
  359. System.Collections.Generic.List<UnityEngine.Vector4> arg3 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 4, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  360. System.Collections.Generic.List<UnityEngine.Vector4> arg4 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 5, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  361. System.Collections.Generic.List<UnityEngine.Vector4> arg5 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 6, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  362. System.Collections.Generic.List<UnityEngine.Vector4> arg6 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 7, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  363. System.Collections.Generic.List<UnityEngine.Vector3> arg7 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 8, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  364. System.Collections.Generic.List<UnityEngine.Vector4> arg8 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 9, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  365. System.Collections.Generic.List<int> arg9 = (System.Collections.Generic.List<int>)ToLua.CheckObject(L, 10, typeof(System.Collections.Generic.List<int>));
  366. UnityEngine.CanvasRenderer.SplitUIVertexStreams(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
  367. return 0;
  368. }
  369. else
  370. {
  371. return LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.CanvasRenderer.SplitUIVertexStreams");
  372. }
  373. }
  374. catch (Exception e)
  375. {
  376. return LuaDLL.toluaL_exception(L, e);
  377. }
  378. }
  379. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  380. static int CreateUIVertexStream(IntPtr L)
  381. {
  382. try
  383. {
  384. int count = LuaDLL.lua_gettop(L);
  385. if (count == 8)
  386. {
  387. System.Collections.Generic.List<UnityEngine.UIVertex> arg0 = (System.Collections.Generic.List<UnityEngine.UIVertex>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.List<UnityEngine.UIVertex>));
  388. System.Collections.Generic.List<UnityEngine.Vector3> arg1 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  389. System.Collections.Generic.List<UnityEngine.Color32> arg2 = (System.Collections.Generic.List<UnityEngine.Color32>)ToLua.CheckObject(L, 3, typeof(System.Collections.Generic.List<UnityEngine.Color32>));
  390. System.Collections.Generic.List<UnityEngine.Vector4> arg3 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 4, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  391. System.Collections.Generic.List<UnityEngine.Vector4> arg4 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 5, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  392. System.Collections.Generic.List<UnityEngine.Vector3> arg5 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 6, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  393. System.Collections.Generic.List<UnityEngine.Vector4> arg6 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 7, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  394. System.Collections.Generic.List<int> arg7 = (System.Collections.Generic.List<int>)ToLua.CheckObject(L, 8, typeof(System.Collections.Generic.List<int>));
  395. UnityEngine.CanvasRenderer.CreateUIVertexStream(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
  396. return 0;
  397. }
  398. else if (count == 10)
  399. {
  400. System.Collections.Generic.List<UnityEngine.UIVertex> arg0 = (System.Collections.Generic.List<UnityEngine.UIVertex>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.List<UnityEngine.UIVertex>));
  401. System.Collections.Generic.List<UnityEngine.Vector3> arg1 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  402. System.Collections.Generic.List<UnityEngine.Color32> arg2 = (System.Collections.Generic.List<UnityEngine.Color32>)ToLua.CheckObject(L, 3, typeof(System.Collections.Generic.List<UnityEngine.Color32>));
  403. System.Collections.Generic.List<UnityEngine.Vector4> arg3 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 4, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  404. System.Collections.Generic.List<UnityEngine.Vector4> arg4 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 5, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  405. System.Collections.Generic.List<UnityEngine.Vector4> arg5 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 6, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  406. System.Collections.Generic.List<UnityEngine.Vector4> arg6 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 7, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  407. System.Collections.Generic.List<UnityEngine.Vector3> arg7 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 8, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  408. System.Collections.Generic.List<UnityEngine.Vector4> arg8 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 9, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  409. System.Collections.Generic.List<int> arg9 = (System.Collections.Generic.List<int>)ToLua.CheckObject(L, 10, typeof(System.Collections.Generic.List<int>));
  410. UnityEngine.CanvasRenderer.CreateUIVertexStream(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
  411. return 0;
  412. }
  413. else
  414. {
  415. return LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.CanvasRenderer.CreateUIVertexStream");
  416. }
  417. }
  418. catch (Exception e)
  419. {
  420. return LuaDLL.toluaL_exception(L, e);
  421. }
  422. }
  423. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  424. static int AddUIVertexStream(IntPtr L)
  425. {
  426. try
  427. {
  428. int count = LuaDLL.lua_gettop(L);
  429. if (count == 7)
  430. {
  431. System.Collections.Generic.List<UnityEngine.UIVertex> arg0 = (System.Collections.Generic.List<UnityEngine.UIVertex>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.List<UnityEngine.UIVertex>));
  432. System.Collections.Generic.List<UnityEngine.Vector3> arg1 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  433. System.Collections.Generic.List<UnityEngine.Color32> arg2 = (System.Collections.Generic.List<UnityEngine.Color32>)ToLua.CheckObject(L, 3, typeof(System.Collections.Generic.List<UnityEngine.Color32>));
  434. System.Collections.Generic.List<UnityEngine.Vector4> arg3 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 4, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  435. System.Collections.Generic.List<UnityEngine.Vector4> arg4 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 5, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  436. System.Collections.Generic.List<UnityEngine.Vector3> arg5 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 6, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  437. System.Collections.Generic.List<UnityEngine.Vector4> arg6 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 7, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  438. UnityEngine.CanvasRenderer.AddUIVertexStream(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
  439. return 0;
  440. }
  441. else if (count == 9)
  442. {
  443. System.Collections.Generic.List<UnityEngine.UIVertex> arg0 = (System.Collections.Generic.List<UnityEngine.UIVertex>)ToLua.CheckObject(L, 1, typeof(System.Collections.Generic.List<UnityEngine.UIVertex>));
  444. System.Collections.Generic.List<UnityEngine.Vector3> arg1 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  445. System.Collections.Generic.List<UnityEngine.Color32> arg2 = (System.Collections.Generic.List<UnityEngine.Color32>)ToLua.CheckObject(L, 3, typeof(System.Collections.Generic.List<UnityEngine.Color32>));
  446. System.Collections.Generic.List<UnityEngine.Vector4> arg3 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 4, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  447. System.Collections.Generic.List<UnityEngine.Vector4> arg4 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 5, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  448. System.Collections.Generic.List<UnityEngine.Vector4> arg5 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 6, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  449. System.Collections.Generic.List<UnityEngine.Vector4> arg6 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 7, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  450. System.Collections.Generic.List<UnityEngine.Vector3> arg7 = (System.Collections.Generic.List<UnityEngine.Vector3>)ToLua.CheckObject(L, 8, typeof(System.Collections.Generic.List<UnityEngine.Vector3>));
  451. System.Collections.Generic.List<UnityEngine.Vector4> arg8 = (System.Collections.Generic.List<UnityEngine.Vector4>)ToLua.CheckObject(L, 9, typeof(System.Collections.Generic.List<UnityEngine.Vector4>));
  452. UnityEngine.CanvasRenderer.AddUIVertexStream(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
  453. return 0;
  454. }
  455. else
  456. {
  457. return LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.CanvasRenderer.AddUIVertexStream");
  458. }
  459. }
  460. catch (Exception e)
  461. {
  462. return LuaDLL.toluaL_exception(L, e);
  463. }
  464. }
  465. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  466. static int op_Equality(IntPtr L)
  467. {
  468. try
  469. {
  470. ToLua.CheckArgsCount(L, 2);
  471. UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
  472. UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
  473. bool o = arg0 == arg1;
  474. LuaDLL.lua_pushboolean(L, o);
  475. return 1;
  476. }
  477. catch (Exception e)
  478. {
  479. return LuaDLL.toluaL_exception(L, e);
  480. }
  481. }
  482. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  483. static int get_hasPopInstruction(IntPtr L)
  484. {
  485. object o = null;
  486. try
  487. {
  488. o = ToLua.ToObject(L, 1);
  489. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  490. bool ret = obj.hasPopInstruction;
  491. LuaDLL.lua_pushboolean(L, ret);
  492. return 1;
  493. }
  494. catch(Exception e)
  495. {
  496. return LuaDLL.toluaL_exception(L, e, o, "attempt to index hasPopInstruction on a nil value");
  497. }
  498. }
  499. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  500. static int get_materialCount(IntPtr L)
  501. {
  502. object o = null;
  503. try
  504. {
  505. o = ToLua.ToObject(L, 1);
  506. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  507. int ret = obj.materialCount;
  508. LuaDLL.lua_pushinteger(L, ret);
  509. return 1;
  510. }
  511. catch(Exception e)
  512. {
  513. return LuaDLL.toluaL_exception(L, e, o, "attempt to index materialCount on a nil value");
  514. }
  515. }
  516. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  517. static int get_popMaterialCount(IntPtr L)
  518. {
  519. object o = null;
  520. try
  521. {
  522. o = ToLua.ToObject(L, 1);
  523. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  524. int ret = obj.popMaterialCount;
  525. LuaDLL.lua_pushinteger(L, ret);
  526. return 1;
  527. }
  528. catch(Exception e)
  529. {
  530. return LuaDLL.toluaL_exception(L, e, o, "attempt to index popMaterialCount on a nil value");
  531. }
  532. }
  533. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  534. static int get_absoluteDepth(IntPtr L)
  535. {
  536. object o = null;
  537. try
  538. {
  539. o = ToLua.ToObject(L, 1);
  540. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  541. int ret = obj.absoluteDepth;
  542. LuaDLL.lua_pushinteger(L, ret);
  543. return 1;
  544. }
  545. catch(Exception e)
  546. {
  547. return LuaDLL.toluaL_exception(L, e, o, "attempt to index absoluteDepth on a nil value");
  548. }
  549. }
  550. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  551. static int get_hasMoved(IntPtr L)
  552. {
  553. object o = null;
  554. try
  555. {
  556. o = ToLua.ToObject(L, 1);
  557. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  558. bool ret = obj.hasMoved;
  559. LuaDLL.lua_pushboolean(L, ret);
  560. return 1;
  561. }
  562. catch(Exception e)
  563. {
  564. return LuaDLL.toluaL_exception(L, e, o, "attempt to index hasMoved on a nil value");
  565. }
  566. }
  567. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  568. static int get_cullTransparentMesh(IntPtr L)
  569. {
  570. object o = null;
  571. try
  572. {
  573. o = ToLua.ToObject(L, 1);
  574. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  575. bool ret = obj.cullTransparentMesh;
  576. LuaDLL.lua_pushboolean(L, ret);
  577. return 1;
  578. }
  579. catch(Exception e)
  580. {
  581. return LuaDLL.toluaL_exception(L, e, o, "attempt to index cullTransparentMesh on a nil value");
  582. }
  583. }
  584. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  585. static int get_hasRectClipping(IntPtr L)
  586. {
  587. object o = null;
  588. try
  589. {
  590. o = ToLua.ToObject(L, 1);
  591. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  592. bool ret = obj.hasRectClipping;
  593. LuaDLL.lua_pushboolean(L, ret);
  594. return 1;
  595. }
  596. catch(Exception e)
  597. {
  598. return LuaDLL.toluaL_exception(L, e, o, "attempt to index hasRectClipping on a nil value");
  599. }
  600. }
  601. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  602. static int get_relativeDepth(IntPtr L)
  603. {
  604. object o = null;
  605. try
  606. {
  607. o = ToLua.ToObject(L, 1);
  608. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  609. int ret = obj.relativeDepth;
  610. LuaDLL.lua_pushinteger(L, ret);
  611. return 1;
  612. }
  613. catch(Exception e)
  614. {
  615. return LuaDLL.toluaL_exception(L, e, o, "attempt to index relativeDepth on a nil value");
  616. }
  617. }
  618. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  619. static int get_cull(IntPtr L)
  620. {
  621. object o = null;
  622. try
  623. {
  624. o = ToLua.ToObject(L, 1);
  625. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  626. bool ret = obj.cull;
  627. LuaDLL.lua_pushboolean(L, ret);
  628. return 1;
  629. }
  630. catch(Exception e)
  631. {
  632. return LuaDLL.toluaL_exception(L, e, o, "attempt to index cull on a nil value");
  633. }
  634. }
  635. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  636. static int get_clippingSoftness(IntPtr L)
  637. {
  638. object o = null;
  639. try
  640. {
  641. o = ToLua.ToObject(L, 1);
  642. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  643. UnityEngine.Vector2 ret = obj.clippingSoftness;
  644. ToLua.Push(L, ret);
  645. return 1;
  646. }
  647. catch(Exception e)
  648. {
  649. return LuaDLL.toluaL_exception(L, e, o, "attempt to index clippingSoftness on a nil value");
  650. }
  651. }
  652. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  653. static int set_hasPopInstruction(IntPtr L)
  654. {
  655. object o = null;
  656. try
  657. {
  658. o = ToLua.ToObject(L, 1);
  659. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  660. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  661. obj.hasPopInstruction = arg0;
  662. return 0;
  663. }
  664. catch(Exception e)
  665. {
  666. return LuaDLL.toluaL_exception(L, e, o, "attempt to index hasPopInstruction on a nil value");
  667. }
  668. }
  669. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  670. static int set_materialCount(IntPtr L)
  671. {
  672. object o = null;
  673. try
  674. {
  675. o = ToLua.ToObject(L, 1);
  676. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  677. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  678. obj.materialCount = arg0;
  679. return 0;
  680. }
  681. catch(Exception e)
  682. {
  683. return LuaDLL.toluaL_exception(L, e, o, "attempt to index materialCount on a nil value");
  684. }
  685. }
  686. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  687. static int set_popMaterialCount(IntPtr L)
  688. {
  689. object o = null;
  690. try
  691. {
  692. o = ToLua.ToObject(L, 1);
  693. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  694. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  695. obj.popMaterialCount = arg0;
  696. return 0;
  697. }
  698. catch(Exception e)
  699. {
  700. return LuaDLL.toluaL_exception(L, e, o, "attempt to index popMaterialCount on a nil value");
  701. }
  702. }
  703. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  704. static int set_cullTransparentMesh(IntPtr L)
  705. {
  706. object o = null;
  707. try
  708. {
  709. o = ToLua.ToObject(L, 1);
  710. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  711. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  712. obj.cullTransparentMesh = arg0;
  713. return 0;
  714. }
  715. catch(Exception e)
  716. {
  717. return LuaDLL.toluaL_exception(L, e, o, "attempt to index cullTransparentMesh on a nil value");
  718. }
  719. }
  720. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  721. static int set_cull(IntPtr L)
  722. {
  723. object o = null;
  724. try
  725. {
  726. o = ToLua.ToObject(L, 1);
  727. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  728. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  729. obj.cull = arg0;
  730. return 0;
  731. }
  732. catch(Exception e)
  733. {
  734. return LuaDLL.toluaL_exception(L, e, o, "attempt to index cull on a nil value");
  735. }
  736. }
  737. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  738. static int set_clippingSoftness(IntPtr L)
  739. {
  740. object o = null;
  741. try
  742. {
  743. o = ToLua.ToObject(L, 1);
  744. UnityEngine.CanvasRenderer obj = (UnityEngine.CanvasRenderer)o;
  745. UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2);
  746. obj.clippingSoftness = arg0;
  747. return 0;
  748. }
  749. catch(Exception e)
  750. {
  751. return LuaDLL.toluaL_exception(L, e, o, "attempt to index clippingSoftness on a nil value");
  752. }
  753. }
  754. }