TMPro_TMP_TextWrap.cs 90 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class TMPro_TMP_TextWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(TMPro.TMP_Text), typeof(UnityEngine.UI.MaskableGraphic));
  9. L.RegFunction("ForceMeshUpdate", ForceMeshUpdate);
  10. L.RegFunction("UpdateGeometry", UpdateGeometry);
  11. L.RegFunction("UpdateVertexData", UpdateVertexData);
  12. L.RegFunction("SetVertices", SetVertices);
  13. L.RegFunction("UpdateMeshPadding", UpdateMeshPadding);
  14. L.RegFunction("CrossFadeColor", CrossFadeColor);
  15. L.RegFunction("CrossFadeAlpha", CrossFadeAlpha);
  16. L.RegFunction("SetText", SetText);
  17. L.RegFunction("SetCharArray", SetCharArray);
  18. L.RegFunction("GetPreferredValues", GetPreferredValues);
  19. L.RegFunction("GetRenderedValues", GetRenderedValues);
  20. L.RegFunction("GetTextInfo", GetTextInfo);
  21. L.RegFunction("ComputeMarginSize", ComputeMarginSize);
  22. L.RegFunction("ClearMesh", ClearMesh);
  23. L.RegFunction("GetParsedText", GetParsedText);
  24. L.RegFunction("__eq", op_Equality);
  25. L.RegFunction("__tostring", ToLua.op_ToString);
  26. L.RegVar("text", get_text, set_text);
  27. L.RegVar("textPreprocessor", get_textPreprocessor, set_textPreprocessor);
  28. L.RegVar("isRightToLeftText", get_isRightToLeftText, set_isRightToLeftText);
  29. L.RegVar("font", get_font, set_font);
  30. L.RegVar("fontSharedMaterial", get_fontSharedMaterial, set_fontSharedMaterial);
  31. L.RegVar("fontSharedMaterials", get_fontSharedMaterials, set_fontSharedMaterials);
  32. L.RegVar("fontMaterial", get_fontMaterial, set_fontMaterial);
  33. L.RegVar("fontMaterials", get_fontMaterials, set_fontMaterials);
  34. L.RegVar("color", get_color, set_color);
  35. L.RegVar("alpha", get_alpha, set_alpha);
  36. L.RegVar("enableVertexGradient", get_enableVertexGradient, set_enableVertexGradient);
  37. L.RegVar("colorGradient", get_colorGradient, set_colorGradient);
  38. L.RegVar("colorGradientPreset", get_colorGradientPreset, set_colorGradientPreset);
  39. L.RegVar("spriteAsset", get_spriteAsset, set_spriteAsset);
  40. L.RegVar("tintAllSprites", get_tintAllSprites, set_tintAllSprites);
  41. L.RegVar("styleSheet", get_styleSheet, set_styleSheet);
  42. L.RegVar("textStyle", get_textStyle, set_textStyle);
  43. L.RegVar("overrideColorTags", get_overrideColorTags, set_overrideColorTags);
  44. L.RegVar("faceColor", get_faceColor, set_faceColor);
  45. L.RegVar("outlineColor", get_outlineColor, set_outlineColor);
  46. L.RegVar("outlineWidth", get_outlineWidth, set_outlineWidth);
  47. L.RegVar("fontSize", get_fontSize, set_fontSize);
  48. L.RegVar("fontWeight", get_fontWeight, set_fontWeight);
  49. L.RegVar("pixelsPerUnit", get_pixelsPerUnit, null);
  50. L.RegVar("enableAutoSizing", get_enableAutoSizing, set_enableAutoSizing);
  51. L.RegVar("fontSizeMin", get_fontSizeMin, set_fontSizeMin);
  52. L.RegVar("fontSizeMax", get_fontSizeMax, set_fontSizeMax);
  53. L.RegVar("fontStyle", get_fontStyle, set_fontStyle);
  54. L.RegVar("isUsingBold", get_isUsingBold, null);
  55. L.RegVar("horizontalAlignment", get_horizontalAlignment, set_horizontalAlignment);
  56. L.RegVar("verticalAlignment", get_verticalAlignment, set_verticalAlignment);
  57. L.RegVar("alignment", get_alignment, set_alignment);
  58. L.RegVar("characterSpacing", get_characterSpacing, set_characterSpacing);
  59. L.RegVar("wordSpacing", get_wordSpacing, set_wordSpacing);
  60. L.RegVar("lineSpacing", get_lineSpacing, set_lineSpacing);
  61. L.RegVar("lineSpacingAdjustment", get_lineSpacingAdjustment, set_lineSpacingAdjustment);
  62. L.RegVar("paragraphSpacing", get_paragraphSpacing, set_paragraphSpacing);
  63. L.RegVar("characterWidthAdjustment", get_characterWidthAdjustment, set_characterWidthAdjustment);
  64. L.RegVar("enableWordWrapping", get_enableWordWrapping, set_enableWordWrapping);
  65. L.RegVar("wordWrappingRatios", get_wordWrappingRatios, set_wordWrappingRatios);
  66. L.RegVar("overflowMode", get_overflowMode, set_overflowMode);
  67. L.RegVar("isTextOverflowing", get_isTextOverflowing, null);
  68. L.RegVar("firstOverflowCharacterIndex", get_firstOverflowCharacterIndex, null);
  69. L.RegVar("linkedTextComponent", get_linkedTextComponent, set_linkedTextComponent);
  70. L.RegVar("isTextTruncated", get_isTextTruncated, null);
  71. L.RegVar("enableKerning", get_enableKerning, set_enableKerning);
  72. L.RegVar("extraPadding", get_extraPadding, set_extraPadding);
  73. L.RegVar("richText", get_richText, set_richText);
  74. L.RegVar("parseCtrlCharacters", get_parseCtrlCharacters, set_parseCtrlCharacters);
  75. L.RegVar("isOverlay", get_isOverlay, set_isOverlay);
  76. L.RegVar("isOrthographic", get_isOrthographic, set_isOrthographic);
  77. L.RegVar("enableCulling", get_enableCulling, set_enableCulling);
  78. L.RegVar("ignoreVisibility", get_ignoreVisibility, set_ignoreVisibility);
  79. L.RegVar("horizontalMapping", get_horizontalMapping, set_horizontalMapping);
  80. L.RegVar("verticalMapping", get_verticalMapping, set_verticalMapping);
  81. L.RegVar("mappingUvLineOffset", get_mappingUvLineOffset, set_mappingUvLineOffset);
  82. L.RegVar("renderMode", get_renderMode, set_renderMode);
  83. L.RegVar("geometrySortingOrder", get_geometrySortingOrder, set_geometrySortingOrder);
  84. L.RegVar("isTextObjectScaleStatic", get_isTextObjectScaleStatic, set_isTextObjectScaleStatic);
  85. L.RegVar("vertexBufferAutoSizeReduction", get_vertexBufferAutoSizeReduction, set_vertexBufferAutoSizeReduction);
  86. L.RegVar("firstVisibleCharacter", get_firstVisibleCharacter, set_firstVisibleCharacter);
  87. L.RegVar("maxVisibleCharacters", get_maxVisibleCharacters, set_maxVisibleCharacters);
  88. L.RegVar("maxVisibleWords", get_maxVisibleWords, set_maxVisibleWords);
  89. L.RegVar("maxVisibleLines", get_maxVisibleLines, set_maxVisibleLines);
  90. L.RegVar("useMaxVisibleDescender", get_useMaxVisibleDescender, set_useMaxVisibleDescender);
  91. L.RegVar("pageToDisplay", get_pageToDisplay, set_pageToDisplay);
  92. L.RegVar("margin", get_margin, set_margin);
  93. L.RegVar("textInfo", get_textInfo, null);
  94. L.RegVar("havePropertiesChanged", get_havePropertiesChanged, set_havePropertiesChanged);
  95. L.RegVar("isUsingLegacyAnimationComponent", get_isUsingLegacyAnimationComponent, set_isUsingLegacyAnimationComponent);
  96. L.RegVar("transform", get_transform, null);
  97. L.RegVar("rectTransform", get_rectTransform, null);
  98. L.RegVar("autoSizeTextContainer", get_autoSizeTextContainer, set_autoSizeTextContainer);
  99. L.RegVar("mesh", get_mesh, null);
  100. L.RegVar("isVolumetricText", get_isVolumetricText, set_isVolumetricText);
  101. L.RegVar("bounds", get_bounds, null);
  102. L.RegVar("textBounds", get_textBounds, null);
  103. L.RegVar("flexibleHeight", get_flexibleHeight, null);
  104. L.RegVar("flexibleWidth", get_flexibleWidth, null);
  105. L.RegVar("minWidth", get_minWidth, null);
  106. L.RegVar("minHeight", get_minHeight, null);
  107. L.RegVar("maxWidth", get_maxWidth, null);
  108. L.RegVar("maxHeight", get_maxHeight, null);
  109. L.RegVar("preferredWidth", get_preferredWidth, null);
  110. L.RegVar("preferredHeight", get_preferredHeight, null);
  111. L.RegVar("renderedWidth", get_renderedWidth, null);
  112. L.RegVar("renderedHeight", get_renderedHeight, null);
  113. L.RegVar("layoutPriority", get_layoutPriority, null);
  114. L.RegVar("OnFontAssetRequest", get_OnFontAssetRequest, set_OnFontAssetRequest);
  115. L.RegVar("OnSpriteAssetRequest", get_OnSpriteAssetRequest, set_OnSpriteAssetRequest);
  116. L.RegVar("OnPreRenderText", get_OnPreRenderText, set_OnPreRenderText);
  117. L.EndClass();
  118. }
  119. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  120. static int ForceMeshUpdate(IntPtr L)
  121. {
  122. try
  123. {
  124. int count = LuaDLL.lua_gettop(L);
  125. if (count == 1)
  126. {
  127. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  128. obj.ForceMeshUpdate();
  129. return 0;
  130. }
  131. else if (count == 2)
  132. {
  133. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  134. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  135. obj.ForceMeshUpdate(arg0);
  136. return 0;
  137. }
  138. else if (count == 3)
  139. {
  140. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  141. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  142. bool arg1 = LuaDLL.luaL_checkboolean(L, 3);
  143. obj.ForceMeshUpdate(arg0, arg1);
  144. return 0;
  145. }
  146. else
  147. {
  148. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.ForceMeshUpdate");
  149. }
  150. }
  151. catch (Exception e)
  152. {
  153. return LuaDLL.toluaL_exception(L, e);
  154. }
  155. }
  156. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  157. static int UpdateGeometry(IntPtr L)
  158. {
  159. try
  160. {
  161. ToLua.CheckArgsCount(L, 3);
  162. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  163. UnityEngine.Mesh arg0 = (UnityEngine.Mesh)ToLua.CheckObject(L, 2, typeof(UnityEngine.Mesh));
  164. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  165. obj.UpdateGeometry(arg0, arg1);
  166. return 0;
  167. }
  168. catch (Exception e)
  169. {
  170. return LuaDLL.toluaL_exception(L, e);
  171. }
  172. }
  173. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  174. static int UpdateVertexData(IntPtr L)
  175. {
  176. try
  177. {
  178. int count = LuaDLL.lua_gettop(L);
  179. if (count == 1)
  180. {
  181. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  182. obj.UpdateVertexData();
  183. return 0;
  184. }
  185. else if (count == 2)
  186. {
  187. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  188. TMPro.TMP_VertexDataUpdateFlags arg0 = (TMPro.TMP_VertexDataUpdateFlags)ToLua.CheckObject(L, 2, typeof(TMPro.TMP_VertexDataUpdateFlags));
  189. obj.UpdateVertexData(arg0);
  190. return 0;
  191. }
  192. else
  193. {
  194. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.UpdateVertexData");
  195. }
  196. }
  197. catch (Exception e)
  198. {
  199. return LuaDLL.toluaL_exception(L, e);
  200. }
  201. }
  202. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  203. static int SetVertices(IntPtr L)
  204. {
  205. try
  206. {
  207. ToLua.CheckArgsCount(L, 2);
  208. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  209. UnityEngine.Vector3[] arg0 = ToLua.CheckStructArray<UnityEngine.Vector3>(L, 2);
  210. obj.SetVertices(arg0);
  211. return 0;
  212. }
  213. catch (Exception e)
  214. {
  215. return LuaDLL.toluaL_exception(L, e);
  216. }
  217. }
  218. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  219. static int UpdateMeshPadding(IntPtr L)
  220. {
  221. try
  222. {
  223. ToLua.CheckArgsCount(L, 1);
  224. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  225. obj.UpdateMeshPadding();
  226. return 0;
  227. }
  228. catch (Exception e)
  229. {
  230. return LuaDLL.toluaL_exception(L, e);
  231. }
  232. }
  233. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  234. static int CrossFadeColor(IntPtr L)
  235. {
  236. try
  237. {
  238. int count = LuaDLL.lua_gettop(L);
  239. if (count == 5)
  240. {
  241. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  242. UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
  243. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  244. bool arg2 = LuaDLL.luaL_checkboolean(L, 4);
  245. bool arg3 = LuaDLL.luaL_checkboolean(L, 5);
  246. obj.CrossFadeColor(arg0, arg1, arg2, arg3);
  247. return 0;
  248. }
  249. else if (count == 6)
  250. {
  251. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  252. UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
  253. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  254. bool arg2 = LuaDLL.luaL_checkboolean(L, 4);
  255. bool arg3 = LuaDLL.luaL_checkboolean(L, 5);
  256. bool arg4 = LuaDLL.luaL_checkboolean(L, 6);
  257. obj.CrossFadeColor(arg0, arg1, arg2, arg3, arg4);
  258. return 0;
  259. }
  260. else
  261. {
  262. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.CrossFadeColor");
  263. }
  264. }
  265. catch (Exception e)
  266. {
  267. return LuaDLL.toluaL_exception(L, e);
  268. }
  269. }
  270. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  271. static int CrossFadeAlpha(IntPtr L)
  272. {
  273. try
  274. {
  275. ToLua.CheckArgsCount(L, 4);
  276. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  277. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  278. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  279. bool arg2 = LuaDLL.luaL_checkboolean(L, 4);
  280. obj.CrossFadeAlpha(arg0, arg1, arg2);
  281. return 0;
  282. }
  283. catch (Exception e)
  284. {
  285. return LuaDLL.toluaL_exception(L, e);
  286. }
  287. }
  288. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  289. static int SetText(IntPtr L)
  290. {
  291. try
  292. {
  293. int count = LuaDLL.lua_gettop(L);
  294. if (count == 2 && TypeChecker.CheckTypes<string>(L, 2))
  295. {
  296. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  297. string arg0 = ToLua.ToString(L, 2);
  298. obj.SetText(arg0);
  299. return 0;
  300. }
  301. else if (count == 2 && TypeChecker.CheckTypes<System.Text.StringBuilder>(L, 2))
  302. {
  303. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  304. System.Text.StringBuilder arg0 = (System.Text.StringBuilder)ToLua.ToObject(L, 2);
  305. obj.SetText(arg0);
  306. return 0;
  307. }
  308. else if (count == 2 && TypeChecker.CheckTypes<char[]>(L, 2))
  309. {
  310. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  311. char[] arg0 = ToLua.CheckCharBuffer(L, 2);
  312. obj.SetText(arg0);
  313. return 0;
  314. }
  315. else if (count == 3 && TypeChecker.CheckTypes<bool>(L, 3))
  316. {
  317. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  318. string arg0 = ToLua.CheckString(L, 2);
  319. bool arg1 = LuaDLL.lua_toboolean(L, 3);
  320. obj.SetText(arg0, arg1);
  321. return 0;
  322. }
  323. else if (count == 3 && TypeChecker.CheckTypes<float>(L, 3))
  324. {
  325. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  326. string arg0 = ToLua.CheckString(L, 2);
  327. float arg1 = (float)LuaDLL.lua_tonumber(L, 3);
  328. obj.SetText(arg0, arg1);
  329. return 0;
  330. }
  331. else if (count == 4 && TypeChecker.CheckTypes<string, float, float>(L, 2))
  332. {
  333. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  334. string arg0 = ToLua.ToString(L, 2);
  335. float arg1 = (float)LuaDLL.lua_tonumber(L, 3);
  336. float arg2 = (float)LuaDLL.lua_tonumber(L, 4);
  337. obj.SetText(arg0, arg1, arg2);
  338. return 0;
  339. }
  340. else if (count == 4 && TypeChecker.CheckTypes<char[], int, int>(L, 2))
  341. {
  342. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  343. char[] arg0 = ToLua.CheckCharBuffer(L, 2);
  344. int arg1 = (int)LuaDLL.lua_tonumber(L, 3);
  345. int arg2 = (int)LuaDLL.lua_tonumber(L, 4);
  346. obj.SetText(arg0, arg1, arg2);
  347. return 0;
  348. }
  349. else if (count == 5)
  350. {
  351. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  352. string arg0 = ToLua.CheckString(L, 2);
  353. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  354. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  355. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  356. obj.SetText(arg0, arg1, arg2, arg3);
  357. return 0;
  358. }
  359. else if (count == 6)
  360. {
  361. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  362. string arg0 = ToLua.CheckString(L, 2);
  363. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  364. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  365. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  366. float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
  367. obj.SetText(arg0, arg1, arg2, arg3, arg4);
  368. return 0;
  369. }
  370. else if (count == 7)
  371. {
  372. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  373. string arg0 = ToLua.CheckString(L, 2);
  374. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  375. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  376. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  377. float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
  378. float arg5 = (float)LuaDLL.luaL_checknumber(L, 7);
  379. obj.SetText(arg0, arg1, arg2, arg3, arg4, arg5);
  380. return 0;
  381. }
  382. else if (count == 8)
  383. {
  384. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  385. string arg0 = ToLua.CheckString(L, 2);
  386. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  387. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  388. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  389. float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
  390. float arg5 = (float)LuaDLL.luaL_checknumber(L, 7);
  391. float arg6 = (float)LuaDLL.luaL_checknumber(L, 8);
  392. obj.SetText(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
  393. return 0;
  394. }
  395. else if (count == 9)
  396. {
  397. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  398. string arg0 = ToLua.CheckString(L, 2);
  399. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  400. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  401. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  402. float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
  403. float arg5 = (float)LuaDLL.luaL_checknumber(L, 7);
  404. float arg6 = (float)LuaDLL.luaL_checknumber(L, 8);
  405. float arg7 = (float)LuaDLL.luaL_checknumber(L, 9);
  406. obj.SetText(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
  407. return 0;
  408. }
  409. else if (count == 10)
  410. {
  411. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  412. string arg0 = ToLua.CheckString(L, 2);
  413. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  414. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  415. float arg3 = (float)LuaDLL.luaL_checknumber(L, 5);
  416. float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
  417. float arg5 = (float)LuaDLL.luaL_checknumber(L, 7);
  418. float arg6 = (float)LuaDLL.luaL_checknumber(L, 8);
  419. float arg7 = (float)LuaDLL.luaL_checknumber(L, 9);
  420. float arg8 = (float)LuaDLL.luaL_checknumber(L, 10);
  421. obj.SetText(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
  422. return 0;
  423. }
  424. else
  425. {
  426. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.SetText");
  427. }
  428. }
  429. catch (Exception e)
  430. {
  431. return LuaDLL.toluaL_exception(L, e);
  432. }
  433. }
  434. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  435. static int SetCharArray(IntPtr L)
  436. {
  437. try
  438. {
  439. int count = LuaDLL.lua_gettop(L);
  440. if (count == 2)
  441. {
  442. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  443. char[] arg0 = ToLua.CheckCharBuffer(L, 2);
  444. obj.SetCharArray(arg0);
  445. return 0;
  446. }
  447. else if (count == 4)
  448. {
  449. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  450. char[] arg0 = ToLua.CheckCharBuffer(L, 2);
  451. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  452. int arg2 = (int)LuaDLL.luaL_checknumber(L, 4);
  453. obj.SetCharArray(arg0, arg1, arg2);
  454. return 0;
  455. }
  456. else
  457. {
  458. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.SetCharArray");
  459. }
  460. }
  461. catch (Exception e)
  462. {
  463. return LuaDLL.toluaL_exception(L, e);
  464. }
  465. }
  466. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  467. static int GetPreferredValues(IntPtr L)
  468. {
  469. try
  470. {
  471. int count = LuaDLL.lua_gettop(L);
  472. if (count == 1)
  473. {
  474. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  475. UnityEngine.Vector2 o = obj.GetPreferredValues();
  476. ToLua.Push(L, o);
  477. return 1;
  478. }
  479. else if (count == 2)
  480. {
  481. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  482. string arg0 = ToLua.CheckString(L, 2);
  483. UnityEngine.Vector2 o = obj.GetPreferredValues(arg0);
  484. ToLua.Push(L, o);
  485. return 1;
  486. }
  487. else if (count == 3)
  488. {
  489. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  490. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  491. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  492. UnityEngine.Vector2 o = obj.GetPreferredValues(arg0, arg1);
  493. ToLua.Push(L, o);
  494. return 1;
  495. }
  496. else if (count == 4)
  497. {
  498. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  499. string arg0 = ToLua.CheckString(L, 2);
  500. float arg1 = (float)LuaDLL.luaL_checknumber(L, 3);
  501. float arg2 = (float)LuaDLL.luaL_checknumber(L, 4);
  502. UnityEngine.Vector2 o = obj.GetPreferredValues(arg0, arg1, arg2);
  503. ToLua.Push(L, o);
  504. return 1;
  505. }
  506. else
  507. {
  508. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.GetPreferredValues");
  509. }
  510. }
  511. catch (Exception e)
  512. {
  513. return LuaDLL.toluaL_exception(L, e);
  514. }
  515. }
  516. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  517. static int GetRenderedValues(IntPtr L)
  518. {
  519. try
  520. {
  521. int count = LuaDLL.lua_gettop(L);
  522. if (count == 1)
  523. {
  524. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  525. UnityEngine.Vector2 o = obj.GetRenderedValues();
  526. ToLua.Push(L, o);
  527. return 1;
  528. }
  529. else if (count == 2)
  530. {
  531. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  532. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  533. UnityEngine.Vector2 o = obj.GetRenderedValues(arg0);
  534. ToLua.Push(L, o);
  535. return 1;
  536. }
  537. else
  538. {
  539. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.GetRenderedValues");
  540. }
  541. }
  542. catch (Exception e)
  543. {
  544. return LuaDLL.toluaL_exception(L, e);
  545. }
  546. }
  547. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  548. static int GetTextInfo(IntPtr L)
  549. {
  550. try
  551. {
  552. ToLua.CheckArgsCount(L, 2);
  553. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  554. string arg0 = ToLua.CheckString(L, 2);
  555. TMPro.TMP_TextInfo o = obj.GetTextInfo(arg0);
  556. ToLua.PushObject(L, o);
  557. return 1;
  558. }
  559. catch (Exception e)
  560. {
  561. return LuaDLL.toluaL_exception(L, e);
  562. }
  563. }
  564. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  565. static int ComputeMarginSize(IntPtr L)
  566. {
  567. try
  568. {
  569. ToLua.CheckArgsCount(L, 1);
  570. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  571. obj.ComputeMarginSize();
  572. return 0;
  573. }
  574. catch (Exception e)
  575. {
  576. return LuaDLL.toluaL_exception(L, e);
  577. }
  578. }
  579. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  580. static int ClearMesh(IntPtr L)
  581. {
  582. try
  583. {
  584. int count = LuaDLL.lua_gettop(L);
  585. if (count == 1)
  586. {
  587. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  588. obj.ClearMesh();
  589. return 0;
  590. }
  591. else if (count == 2)
  592. {
  593. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  594. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  595. obj.ClearMesh(arg0);
  596. return 0;
  597. }
  598. else
  599. {
  600. return LuaDLL.luaL_throw(L, "invalid arguments to method: TMPro.TMP_Text.ClearMesh");
  601. }
  602. }
  603. catch (Exception e)
  604. {
  605. return LuaDLL.toluaL_exception(L, e);
  606. }
  607. }
  608. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  609. static int GetParsedText(IntPtr L)
  610. {
  611. try
  612. {
  613. ToLua.CheckArgsCount(L, 1);
  614. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 1);
  615. string o = obj.GetParsedText();
  616. LuaDLL.lua_pushstring(L, o);
  617. return 1;
  618. }
  619. catch (Exception e)
  620. {
  621. return LuaDLL.toluaL_exception(L, e);
  622. }
  623. }
  624. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  625. static int op_Equality(IntPtr L)
  626. {
  627. try
  628. {
  629. ToLua.CheckArgsCount(L, 2);
  630. UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
  631. UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
  632. bool o = arg0 == arg1;
  633. LuaDLL.lua_pushboolean(L, o);
  634. return 1;
  635. }
  636. catch (Exception e)
  637. {
  638. return LuaDLL.toluaL_exception(L, e);
  639. }
  640. }
  641. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  642. static int get_text(IntPtr L)
  643. {
  644. object o = null;
  645. try
  646. {
  647. o = ToLua.ToObject(L, 1);
  648. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  649. string ret = obj.text;
  650. LuaDLL.lua_pushstring(L, ret);
  651. return 1;
  652. }
  653. catch(Exception e)
  654. {
  655. return LuaDLL.toluaL_exception(L, e, o, "attempt to index text on a nil value");
  656. }
  657. }
  658. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  659. static int get_textPreprocessor(IntPtr L)
  660. {
  661. object o = null;
  662. try
  663. {
  664. o = ToLua.ToObject(L, 1);
  665. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  666. TMPro.ITextPreprocessor ret = obj.textPreprocessor;
  667. ToLua.PushObject(L, ret);
  668. return 1;
  669. }
  670. catch(Exception e)
  671. {
  672. return LuaDLL.toluaL_exception(L, e, o, "attempt to index textPreprocessor on a nil value");
  673. }
  674. }
  675. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  676. static int get_isRightToLeftText(IntPtr L)
  677. {
  678. object o = null;
  679. try
  680. {
  681. o = ToLua.ToObject(L, 1);
  682. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  683. bool ret = obj.isRightToLeftText;
  684. LuaDLL.lua_pushboolean(L, ret);
  685. return 1;
  686. }
  687. catch(Exception e)
  688. {
  689. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isRightToLeftText on a nil value");
  690. }
  691. }
  692. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  693. static int get_font(IntPtr L)
  694. {
  695. object o = null;
  696. try
  697. {
  698. o = ToLua.ToObject(L, 1);
  699. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  700. TMPro.TMP_FontAsset ret = obj.font;
  701. ToLua.Push(L, ret);
  702. return 1;
  703. }
  704. catch(Exception e)
  705. {
  706. return LuaDLL.toluaL_exception(L, e, o, "attempt to index font on a nil value");
  707. }
  708. }
  709. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  710. static int get_fontSharedMaterial(IntPtr L)
  711. {
  712. object o = null;
  713. try
  714. {
  715. o = ToLua.ToObject(L, 1);
  716. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  717. UnityEngine.Material ret = obj.fontSharedMaterial;
  718. ToLua.Push(L, ret);
  719. return 1;
  720. }
  721. catch(Exception e)
  722. {
  723. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSharedMaterial on a nil value");
  724. }
  725. }
  726. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  727. static int get_fontSharedMaterials(IntPtr L)
  728. {
  729. object o = null;
  730. try
  731. {
  732. o = ToLua.ToObject(L, 1);
  733. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  734. UnityEngine.Material[] ret = obj.fontSharedMaterials;
  735. ToLua.Push(L, ret);
  736. return 1;
  737. }
  738. catch(Exception e)
  739. {
  740. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSharedMaterials on a nil value");
  741. }
  742. }
  743. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  744. static int get_fontMaterial(IntPtr L)
  745. {
  746. object o = null;
  747. try
  748. {
  749. o = ToLua.ToObject(L, 1);
  750. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  751. UnityEngine.Material ret = obj.fontMaterial;
  752. ToLua.Push(L, ret);
  753. return 1;
  754. }
  755. catch(Exception e)
  756. {
  757. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontMaterial on a nil value");
  758. }
  759. }
  760. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  761. static int get_fontMaterials(IntPtr L)
  762. {
  763. object o = null;
  764. try
  765. {
  766. o = ToLua.ToObject(L, 1);
  767. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  768. UnityEngine.Material[] ret = obj.fontMaterials;
  769. ToLua.Push(L, ret);
  770. return 1;
  771. }
  772. catch(Exception e)
  773. {
  774. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontMaterials on a nil value");
  775. }
  776. }
  777. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  778. static int get_color(IntPtr L)
  779. {
  780. object o = null;
  781. try
  782. {
  783. o = ToLua.ToObject(L, 1);
  784. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  785. UnityEngine.Color ret = obj.color;
  786. ToLua.Push(L, ret);
  787. return 1;
  788. }
  789. catch(Exception e)
  790. {
  791. return LuaDLL.toluaL_exception(L, e, o, "attempt to index color on a nil value");
  792. }
  793. }
  794. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  795. static int get_alpha(IntPtr L)
  796. {
  797. object o = null;
  798. try
  799. {
  800. o = ToLua.ToObject(L, 1);
  801. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  802. float ret = obj.alpha;
  803. LuaDLL.lua_pushnumber(L, ret);
  804. return 1;
  805. }
  806. catch(Exception e)
  807. {
  808. return LuaDLL.toluaL_exception(L, e, o, "attempt to index alpha on a nil value");
  809. }
  810. }
  811. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  812. static int get_enableVertexGradient(IntPtr L)
  813. {
  814. object o = null;
  815. try
  816. {
  817. o = ToLua.ToObject(L, 1);
  818. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  819. bool ret = obj.enableVertexGradient;
  820. LuaDLL.lua_pushboolean(L, ret);
  821. return 1;
  822. }
  823. catch(Exception e)
  824. {
  825. return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableVertexGradient on a nil value");
  826. }
  827. }
  828. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  829. static int get_colorGradient(IntPtr L)
  830. {
  831. object o = null;
  832. try
  833. {
  834. o = ToLua.ToObject(L, 1);
  835. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  836. TMPro.VertexGradient ret = obj.colorGradient;
  837. ToLua.PushValue(L, ret);
  838. return 1;
  839. }
  840. catch(Exception e)
  841. {
  842. return LuaDLL.toluaL_exception(L, e, o, "attempt to index colorGradient on a nil value");
  843. }
  844. }
  845. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  846. static int get_colorGradientPreset(IntPtr L)
  847. {
  848. object o = null;
  849. try
  850. {
  851. o = ToLua.ToObject(L, 1);
  852. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  853. TMPro.TMP_ColorGradient ret = obj.colorGradientPreset;
  854. ToLua.Push(L, ret);
  855. return 1;
  856. }
  857. catch(Exception e)
  858. {
  859. return LuaDLL.toluaL_exception(L, e, o, "attempt to index colorGradientPreset on a nil value");
  860. }
  861. }
  862. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  863. static int get_spriteAsset(IntPtr L)
  864. {
  865. object o = null;
  866. try
  867. {
  868. o = ToLua.ToObject(L, 1);
  869. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  870. TMPro.TMP_SpriteAsset ret = obj.spriteAsset;
  871. ToLua.Push(L, ret);
  872. return 1;
  873. }
  874. catch(Exception e)
  875. {
  876. return LuaDLL.toluaL_exception(L, e, o, "attempt to index spriteAsset on a nil value");
  877. }
  878. }
  879. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  880. static int get_tintAllSprites(IntPtr L)
  881. {
  882. object o = null;
  883. try
  884. {
  885. o = ToLua.ToObject(L, 1);
  886. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  887. bool ret = obj.tintAllSprites;
  888. LuaDLL.lua_pushboolean(L, ret);
  889. return 1;
  890. }
  891. catch(Exception e)
  892. {
  893. return LuaDLL.toluaL_exception(L, e, o, "attempt to index tintAllSprites on a nil value");
  894. }
  895. }
  896. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  897. static int get_styleSheet(IntPtr L)
  898. {
  899. object o = null;
  900. try
  901. {
  902. o = ToLua.ToObject(L, 1);
  903. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  904. TMPro.TMP_StyleSheet ret = obj.styleSheet;
  905. ToLua.Push(L, ret);
  906. return 1;
  907. }
  908. catch(Exception e)
  909. {
  910. return LuaDLL.toluaL_exception(L, e, o, "attempt to index styleSheet on a nil value");
  911. }
  912. }
  913. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  914. static int get_textStyle(IntPtr L)
  915. {
  916. object o = null;
  917. try
  918. {
  919. o = ToLua.ToObject(L, 1);
  920. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  921. TMPro.TMP_Style ret = obj.textStyle;
  922. ToLua.PushObject(L, ret);
  923. return 1;
  924. }
  925. catch(Exception e)
  926. {
  927. return LuaDLL.toluaL_exception(L, e, o, "attempt to index textStyle on a nil value");
  928. }
  929. }
  930. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  931. static int get_overrideColorTags(IntPtr L)
  932. {
  933. object o = null;
  934. try
  935. {
  936. o = ToLua.ToObject(L, 1);
  937. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  938. bool ret = obj.overrideColorTags;
  939. LuaDLL.lua_pushboolean(L, ret);
  940. return 1;
  941. }
  942. catch(Exception e)
  943. {
  944. return LuaDLL.toluaL_exception(L, e, o, "attempt to index overrideColorTags on a nil value");
  945. }
  946. }
  947. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  948. static int get_faceColor(IntPtr L)
  949. {
  950. object o = null;
  951. try
  952. {
  953. o = ToLua.ToObject(L, 1);
  954. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  955. UnityEngine.Color32 ret = obj.faceColor;
  956. ToLua.PushValue(L, ret);
  957. return 1;
  958. }
  959. catch(Exception e)
  960. {
  961. return LuaDLL.toluaL_exception(L, e, o, "attempt to index faceColor on a nil value");
  962. }
  963. }
  964. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  965. static int get_outlineColor(IntPtr L)
  966. {
  967. object o = null;
  968. try
  969. {
  970. o = ToLua.ToObject(L, 1);
  971. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  972. UnityEngine.Color32 ret = obj.outlineColor;
  973. ToLua.PushValue(L, ret);
  974. return 1;
  975. }
  976. catch(Exception e)
  977. {
  978. return LuaDLL.toluaL_exception(L, e, o, "attempt to index outlineColor on a nil value");
  979. }
  980. }
  981. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  982. static int get_outlineWidth(IntPtr L)
  983. {
  984. object o = null;
  985. try
  986. {
  987. o = ToLua.ToObject(L, 1);
  988. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  989. float ret = obj.outlineWidth;
  990. LuaDLL.lua_pushnumber(L, ret);
  991. return 1;
  992. }
  993. catch(Exception e)
  994. {
  995. return LuaDLL.toluaL_exception(L, e, o, "attempt to index outlineWidth on a nil value");
  996. }
  997. }
  998. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  999. static int get_fontSize(IntPtr L)
  1000. {
  1001. object o = null;
  1002. try
  1003. {
  1004. o = ToLua.ToObject(L, 1);
  1005. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1006. float ret = obj.fontSize;
  1007. LuaDLL.lua_pushnumber(L, ret);
  1008. return 1;
  1009. }
  1010. catch(Exception e)
  1011. {
  1012. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSize on a nil value");
  1013. }
  1014. }
  1015. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1016. static int get_fontWeight(IntPtr L)
  1017. {
  1018. object o = null;
  1019. try
  1020. {
  1021. o = ToLua.ToObject(L, 1);
  1022. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1023. TMPro.FontWeight ret = obj.fontWeight;
  1024. ToLua.Push(L, ret);
  1025. return 1;
  1026. }
  1027. catch(Exception e)
  1028. {
  1029. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontWeight on a nil value");
  1030. }
  1031. }
  1032. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1033. static int get_pixelsPerUnit(IntPtr L)
  1034. {
  1035. object o = null;
  1036. try
  1037. {
  1038. o = ToLua.ToObject(L, 1);
  1039. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1040. float ret = obj.pixelsPerUnit;
  1041. LuaDLL.lua_pushnumber(L, ret);
  1042. return 1;
  1043. }
  1044. catch(Exception e)
  1045. {
  1046. return LuaDLL.toluaL_exception(L, e, o, "attempt to index pixelsPerUnit on a nil value");
  1047. }
  1048. }
  1049. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1050. static int get_enableAutoSizing(IntPtr L)
  1051. {
  1052. object o = null;
  1053. try
  1054. {
  1055. o = ToLua.ToObject(L, 1);
  1056. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1057. bool ret = obj.enableAutoSizing;
  1058. LuaDLL.lua_pushboolean(L, ret);
  1059. return 1;
  1060. }
  1061. catch(Exception e)
  1062. {
  1063. return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableAutoSizing on a nil value");
  1064. }
  1065. }
  1066. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1067. static int get_fontSizeMin(IntPtr L)
  1068. {
  1069. object o = null;
  1070. try
  1071. {
  1072. o = ToLua.ToObject(L, 1);
  1073. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1074. float ret = obj.fontSizeMin;
  1075. LuaDLL.lua_pushnumber(L, ret);
  1076. return 1;
  1077. }
  1078. catch(Exception e)
  1079. {
  1080. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSizeMin on a nil value");
  1081. }
  1082. }
  1083. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1084. static int get_fontSizeMax(IntPtr L)
  1085. {
  1086. object o = null;
  1087. try
  1088. {
  1089. o = ToLua.ToObject(L, 1);
  1090. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1091. float ret = obj.fontSizeMax;
  1092. LuaDLL.lua_pushnumber(L, ret);
  1093. return 1;
  1094. }
  1095. catch(Exception e)
  1096. {
  1097. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSizeMax on a nil value");
  1098. }
  1099. }
  1100. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1101. static int get_fontStyle(IntPtr L)
  1102. {
  1103. object o = null;
  1104. try
  1105. {
  1106. o = ToLua.ToObject(L, 1);
  1107. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1108. TMPro.FontStyles ret = obj.fontStyle;
  1109. ToLua.Push(L, ret);
  1110. return 1;
  1111. }
  1112. catch(Exception e)
  1113. {
  1114. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontStyle on a nil value");
  1115. }
  1116. }
  1117. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1118. static int get_isUsingBold(IntPtr L)
  1119. {
  1120. object o = null;
  1121. try
  1122. {
  1123. o = ToLua.ToObject(L, 1);
  1124. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1125. bool ret = obj.isUsingBold;
  1126. LuaDLL.lua_pushboolean(L, ret);
  1127. return 1;
  1128. }
  1129. catch(Exception e)
  1130. {
  1131. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isUsingBold on a nil value");
  1132. }
  1133. }
  1134. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1135. static int get_horizontalAlignment(IntPtr L)
  1136. {
  1137. object o = null;
  1138. try
  1139. {
  1140. o = ToLua.ToObject(L, 1);
  1141. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1142. TMPro.HorizontalAlignmentOptions ret = obj.horizontalAlignment;
  1143. ToLua.Push(L, ret);
  1144. return 1;
  1145. }
  1146. catch(Exception e)
  1147. {
  1148. return LuaDLL.toluaL_exception(L, e, o, "attempt to index horizontalAlignment on a nil value");
  1149. }
  1150. }
  1151. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1152. static int get_verticalAlignment(IntPtr L)
  1153. {
  1154. object o = null;
  1155. try
  1156. {
  1157. o = ToLua.ToObject(L, 1);
  1158. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1159. TMPro.VerticalAlignmentOptions ret = obj.verticalAlignment;
  1160. ToLua.Push(L, ret);
  1161. return 1;
  1162. }
  1163. catch(Exception e)
  1164. {
  1165. return LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalAlignment on a nil value");
  1166. }
  1167. }
  1168. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1169. static int get_alignment(IntPtr L)
  1170. {
  1171. object o = null;
  1172. try
  1173. {
  1174. o = ToLua.ToObject(L, 1);
  1175. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1176. TMPro.TextAlignmentOptions ret = obj.alignment;
  1177. ToLua.Push(L, ret);
  1178. return 1;
  1179. }
  1180. catch(Exception e)
  1181. {
  1182. return LuaDLL.toluaL_exception(L, e, o, "attempt to index alignment on a nil value");
  1183. }
  1184. }
  1185. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1186. static int get_characterSpacing(IntPtr L)
  1187. {
  1188. object o = null;
  1189. try
  1190. {
  1191. o = ToLua.ToObject(L, 1);
  1192. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1193. float ret = obj.characterSpacing;
  1194. LuaDLL.lua_pushnumber(L, ret);
  1195. return 1;
  1196. }
  1197. catch(Exception e)
  1198. {
  1199. return LuaDLL.toluaL_exception(L, e, o, "attempt to index characterSpacing on a nil value");
  1200. }
  1201. }
  1202. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1203. static int get_wordSpacing(IntPtr L)
  1204. {
  1205. object o = null;
  1206. try
  1207. {
  1208. o = ToLua.ToObject(L, 1);
  1209. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1210. float ret = obj.wordSpacing;
  1211. LuaDLL.lua_pushnumber(L, ret);
  1212. return 1;
  1213. }
  1214. catch(Exception e)
  1215. {
  1216. return LuaDLL.toluaL_exception(L, e, o, "attempt to index wordSpacing on a nil value");
  1217. }
  1218. }
  1219. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1220. static int get_lineSpacing(IntPtr L)
  1221. {
  1222. object o = null;
  1223. try
  1224. {
  1225. o = ToLua.ToObject(L, 1);
  1226. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1227. float ret = obj.lineSpacing;
  1228. LuaDLL.lua_pushnumber(L, ret);
  1229. return 1;
  1230. }
  1231. catch(Exception e)
  1232. {
  1233. return LuaDLL.toluaL_exception(L, e, o, "attempt to index lineSpacing on a nil value");
  1234. }
  1235. }
  1236. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1237. static int get_lineSpacingAdjustment(IntPtr L)
  1238. {
  1239. object o = null;
  1240. try
  1241. {
  1242. o = ToLua.ToObject(L, 1);
  1243. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1244. float ret = obj.lineSpacingAdjustment;
  1245. LuaDLL.lua_pushnumber(L, ret);
  1246. return 1;
  1247. }
  1248. catch(Exception e)
  1249. {
  1250. return LuaDLL.toluaL_exception(L, e, o, "attempt to index lineSpacingAdjustment on a nil value");
  1251. }
  1252. }
  1253. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1254. static int get_paragraphSpacing(IntPtr L)
  1255. {
  1256. object o = null;
  1257. try
  1258. {
  1259. o = ToLua.ToObject(L, 1);
  1260. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1261. float ret = obj.paragraphSpacing;
  1262. LuaDLL.lua_pushnumber(L, ret);
  1263. return 1;
  1264. }
  1265. catch(Exception e)
  1266. {
  1267. return LuaDLL.toluaL_exception(L, e, o, "attempt to index paragraphSpacing on a nil value");
  1268. }
  1269. }
  1270. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1271. static int get_characterWidthAdjustment(IntPtr L)
  1272. {
  1273. object o = null;
  1274. try
  1275. {
  1276. o = ToLua.ToObject(L, 1);
  1277. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1278. float ret = obj.characterWidthAdjustment;
  1279. LuaDLL.lua_pushnumber(L, ret);
  1280. return 1;
  1281. }
  1282. catch(Exception e)
  1283. {
  1284. return LuaDLL.toluaL_exception(L, e, o, "attempt to index characterWidthAdjustment on a nil value");
  1285. }
  1286. }
  1287. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1288. static int get_enableWordWrapping(IntPtr L)
  1289. {
  1290. object o = null;
  1291. try
  1292. {
  1293. o = ToLua.ToObject(L, 1);
  1294. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1295. bool ret = obj.enableWordWrapping;
  1296. LuaDLL.lua_pushboolean(L, ret);
  1297. return 1;
  1298. }
  1299. catch(Exception e)
  1300. {
  1301. return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableWordWrapping on a nil value");
  1302. }
  1303. }
  1304. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1305. static int get_wordWrappingRatios(IntPtr L)
  1306. {
  1307. object o = null;
  1308. try
  1309. {
  1310. o = ToLua.ToObject(L, 1);
  1311. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1312. float ret = obj.wordWrappingRatios;
  1313. LuaDLL.lua_pushnumber(L, ret);
  1314. return 1;
  1315. }
  1316. catch(Exception e)
  1317. {
  1318. return LuaDLL.toluaL_exception(L, e, o, "attempt to index wordWrappingRatios on a nil value");
  1319. }
  1320. }
  1321. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1322. static int get_overflowMode(IntPtr L)
  1323. {
  1324. object o = null;
  1325. try
  1326. {
  1327. o = ToLua.ToObject(L, 1);
  1328. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1329. TMPro.TextOverflowModes ret = obj.overflowMode;
  1330. ToLua.Push(L, ret);
  1331. return 1;
  1332. }
  1333. catch(Exception e)
  1334. {
  1335. return LuaDLL.toluaL_exception(L, e, o, "attempt to index overflowMode on a nil value");
  1336. }
  1337. }
  1338. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1339. static int get_isTextOverflowing(IntPtr L)
  1340. {
  1341. object o = null;
  1342. try
  1343. {
  1344. o = ToLua.ToObject(L, 1);
  1345. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1346. bool ret = obj.isTextOverflowing;
  1347. LuaDLL.lua_pushboolean(L, ret);
  1348. return 1;
  1349. }
  1350. catch(Exception e)
  1351. {
  1352. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isTextOverflowing on a nil value");
  1353. }
  1354. }
  1355. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1356. static int get_firstOverflowCharacterIndex(IntPtr L)
  1357. {
  1358. object o = null;
  1359. try
  1360. {
  1361. o = ToLua.ToObject(L, 1);
  1362. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1363. int ret = obj.firstOverflowCharacterIndex;
  1364. LuaDLL.lua_pushinteger(L, ret);
  1365. return 1;
  1366. }
  1367. catch(Exception e)
  1368. {
  1369. return LuaDLL.toluaL_exception(L, e, o, "attempt to index firstOverflowCharacterIndex on a nil value");
  1370. }
  1371. }
  1372. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1373. static int get_linkedTextComponent(IntPtr L)
  1374. {
  1375. object o = null;
  1376. try
  1377. {
  1378. o = ToLua.ToObject(L, 1);
  1379. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1380. TMPro.TMP_Text ret = obj.linkedTextComponent;
  1381. ToLua.Push(L, ret);
  1382. return 1;
  1383. }
  1384. catch(Exception e)
  1385. {
  1386. return LuaDLL.toluaL_exception(L, e, o, "attempt to index linkedTextComponent on a nil value");
  1387. }
  1388. }
  1389. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1390. static int get_isTextTruncated(IntPtr L)
  1391. {
  1392. object o = null;
  1393. try
  1394. {
  1395. o = ToLua.ToObject(L, 1);
  1396. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1397. bool ret = obj.isTextTruncated;
  1398. LuaDLL.lua_pushboolean(L, ret);
  1399. return 1;
  1400. }
  1401. catch(Exception e)
  1402. {
  1403. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isTextTruncated on a nil value");
  1404. }
  1405. }
  1406. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1407. static int get_enableKerning(IntPtr L)
  1408. {
  1409. object o = null;
  1410. try
  1411. {
  1412. o = ToLua.ToObject(L, 1);
  1413. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1414. bool ret = obj.enableKerning;
  1415. LuaDLL.lua_pushboolean(L, ret);
  1416. return 1;
  1417. }
  1418. catch(Exception e)
  1419. {
  1420. return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableKerning on a nil value");
  1421. }
  1422. }
  1423. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1424. static int get_extraPadding(IntPtr L)
  1425. {
  1426. object o = null;
  1427. try
  1428. {
  1429. o = ToLua.ToObject(L, 1);
  1430. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1431. bool ret = obj.extraPadding;
  1432. LuaDLL.lua_pushboolean(L, ret);
  1433. return 1;
  1434. }
  1435. catch(Exception e)
  1436. {
  1437. return LuaDLL.toluaL_exception(L, e, o, "attempt to index extraPadding on a nil value");
  1438. }
  1439. }
  1440. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1441. static int get_richText(IntPtr L)
  1442. {
  1443. object o = null;
  1444. try
  1445. {
  1446. o = ToLua.ToObject(L, 1);
  1447. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1448. bool ret = obj.richText;
  1449. LuaDLL.lua_pushboolean(L, ret);
  1450. return 1;
  1451. }
  1452. catch(Exception e)
  1453. {
  1454. return LuaDLL.toluaL_exception(L, e, o, "attempt to index richText on a nil value");
  1455. }
  1456. }
  1457. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1458. static int get_parseCtrlCharacters(IntPtr L)
  1459. {
  1460. object o = null;
  1461. try
  1462. {
  1463. o = ToLua.ToObject(L, 1);
  1464. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1465. bool ret = obj.parseCtrlCharacters;
  1466. LuaDLL.lua_pushboolean(L, ret);
  1467. return 1;
  1468. }
  1469. catch(Exception e)
  1470. {
  1471. return LuaDLL.toluaL_exception(L, e, o, "attempt to index parseCtrlCharacters on a nil value");
  1472. }
  1473. }
  1474. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1475. static int get_isOverlay(IntPtr L)
  1476. {
  1477. object o = null;
  1478. try
  1479. {
  1480. o = ToLua.ToObject(L, 1);
  1481. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1482. bool ret = obj.isOverlay;
  1483. LuaDLL.lua_pushboolean(L, ret);
  1484. return 1;
  1485. }
  1486. catch(Exception e)
  1487. {
  1488. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isOverlay on a nil value");
  1489. }
  1490. }
  1491. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1492. static int get_isOrthographic(IntPtr L)
  1493. {
  1494. object o = null;
  1495. try
  1496. {
  1497. o = ToLua.ToObject(L, 1);
  1498. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1499. bool ret = obj.isOrthographic;
  1500. LuaDLL.lua_pushboolean(L, ret);
  1501. return 1;
  1502. }
  1503. catch(Exception e)
  1504. {
  1505. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isOrthographic on a nil value");
  1506. }
  1507. }
  1508. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1509. static int get_enableCulling(IntPtr L)
  1510. {
  1511. object o = null;
  1512. try
  1513. {
  1514. o = ToLua.ToObject(L, 1);
  1515. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1516. bool ret = obj.enableCulling;
  1517. LuaDLL.lua_pushboolean(L, ret);
  1518. return 1;
  1519. }
  1520. catch(Exception e)
  1521. {
  1522. return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableCulling on a nil value");
  1523. }
  1524. }
  1525. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1526. static int get_ignoreVisibility(IntPtr L)
  1527. {
  1528. object o = null;
  1529. try
  1530. {
  1531. o = ToLua.ToObject(L, 1);
  1532. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1533. bool ret = obj.ignoreVisibility;
  1534. LuaDLL.lua_pushboolean(L, ret);
  1535. return 1;
  1536. }
  1537. catch(Exception e)
  1538. {
  1539. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ignoreVisibility on a nil value");
  1540. }
  1541. }
  1542. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1543. static int get_horizontalMapping(IntPtr L)
  1544. {
  1545. object o = null;
  1546. try
  1547. {
  1548. o = ToLua.ToObject(L, 1);
  1549. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1550. TMPro.TextureMappingOptions ret = obj.horizontalMapping;
  1551. ToLua.Push(L, ret);
  1552. return 1;
  1553. }
  1554. catch(Exception e)
  1555. {
  1556. return LuaDLL.toluaL_exception(L, e, o, "attempt to index horizontalMapping on a nil value");
  1557. }
  1558. }
  1559. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1560. static int get_verticalMapping(IntPtr L)
  1561. {
  1562. object o = null;
  1563. try
  1564. {
  1565. o = ToLua.ToObject(L, 1);
  1566. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1567. TMPro.TextureMappingOptions ret = obj.verticalMapping;
  1568. ToLua.Push(L, ret);
  1569. return 1;
  1570. }
  1571. catch(Exception e)
  1572. {
  1573. return LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalMapping on a nil value");
  1574. }
  1575. }
  1576. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1577. static int get_mappingUvLineOffset(IntPtr L)
  1578. {
  1579. object o = null;
  1580. try
  1581. {
  1582. o = ToLua.ToObject(L, 1);
  1583. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1584. float ret = obj.mappingUvLineOffset;
  1585. LuaDLL.lua_pushnumber(L, ret);
  1586. return 1;
  1587. }
  1588. catch(Exception e)
  1589. {
  1590. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mappingUvLineOffset on a nil value");
  1591. }
  1592. }
  1593. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1594. static int get_renderMode(IntPtr L)
  1595. {
  1596. object o = null;
  1597. try
  1598. {
  1599. o = ToLua.ToObject(L, 1);
  1600. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1601. TMPro.TextRenderFlags ret = obj.renderMode;
  1602. ToLua.Push(L, ret);
  1603. return 1;
  1604. }
  1605. catch(Exception e)
  1606. {
  1607. return LuaDLL.toluaL_exception(L, e, o, "attempt to index renderMode on a nil value");
  1608. }
  1609. }
  1610. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1611. static int get_geometrySortingOrder(IntPtr L)
  1612. {
  1613. object o = null;
  1614. try
  1615. {
  1616. o = ToLua.ToObject(L, 1);
  1617. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1618. TMPro.VertexSortingOrder ret = obj.geometrySortingOrder;
  1619. ToLua.Push(L, ret);
  1620. return 1;
  1621. }
  1622. catch(Exception e)
  1623. {
  1624. return LuaDLL.toluaL_exception(L, e, o, "attempt to index geometrySortingOrder on a nil value");
  1625. }
  1626. }
  1627. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1628. static int get_isTextObjectScaleStatic(IntPtr L)
  1629. {
  1630. object o = null;
  1631. try
  1632. {
  1633. o = ToLua.ToObject(L, 1);
  1634. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1635. bool ret = obj.isTextObjectScaleStatic;
  1636. LuaDLL.lua_pushboolean(L, ret);
  1637. return 1;
  1638. }
  1639. catch(Exception e)
  1640. {
  1641. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isTextObjectScaleStatic on a nil value");
  1642. }
  1643. }
  1644. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1645. static int get_vertexBufferAutoSizeReduction(IntPtr L)
  1646. {
  1647. object o = null;
  1648. try
  1649. {
  1650. o = ToLua.ToObject(L, 1);
  1651. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1652. bool ret = obj.vertexBufferAutoSizeReduction;
  1653. LuaDLL.lua_pushboolean(L, ret);
  1654. return 1;
  1655. }
  1656. catch(Exception e)
  1657. {
  1658. return LuaDLL.toluaL_exception(L, e, o, "attempt to index vertexBufferAutoSizeReduction on a nil value");
  1659. }
  1660. }
  1661. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1662. static int get_firstVisibleCharacter(IntPtr L)
  1663. {
  1664. object o = null;
  1665. try
  1666. {
  1667. o = ToLua.ToObject(L, 1);
  1668. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1669. int ret = obj.firstVisibleCharacter;
  1670. LuaDLL.lua_pushinteger(L, ret);
  1671. return 1;
  1672. }
  1673. catch(Exception e)
  1674. {
  1675. return LuaDLL.toluaL_exception(L, e, o, "attempt to index firstVisibleCharacter on a nil value");
  1676. }
  1677. }
  1678. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1679. static int get_maxVisibleCharacters(IntPtr L)
  1680. {
  1681. object o = null;
  1682. try
  1683. {
  1684. o = ToLua.ToObject(L, 1);
  1685. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1686. int ret = obj.maxVisibleCharacters;
  1687. LuaDLL.lua_pushinteger(L, ret);
  1688. return 1;
  1689. }
  1690. catch(Exception e)
  1691. {
  1692. return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleCharacters on a nil value");
  1693. }
  1694. }
  1695. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1696. static int get_maxVisibleWords(IntPtr L)
  1697. {
  1698. object o = null;
  1699. try
  1700. {
  1701. o = ToLua.ToObject(L, 1);
  1702. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1703. int ret = obj.maxVisibleWords;
  1704. LuaDLL.lua_pushinteger(L, ret);
  1705. return 1;
  1706. }
  1707. catch(Exception e)
  1708. {
  1709. return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleWords on a nil value");
  1710. }
  1711. }
  1712. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1713. static int get_maxVisibleLines(IntPtr L)
  1714. {
  1715. object o = null;
  1716. try
  1717. {
  1718. o = ToLua.ToObject(L, 1);
  1719. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1720. int ret = obj.maxVisibleLines;
  1721. LuaDLL.lua_pushinteger(L, ret);
  1722. return 1;
  1723. }
  1724. catch(Exception e)
  1725. {
  1726. return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleLines on a nil value");
  1727. }
  1728. }
  1729. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1730. static int get_useMaxVisibleDescender(IntPtr L)
  1731. {
  1732. object o = null;
  1733. try
  1734. {
  1735. o = ToLua.ToObject(L, 1);
  1736. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1737. bool ret = obj.useMaxVisibleDescender;
  1738. LuaDLL.lua_pushboolean(L, ret);
  1739. return 1;
  1740. }
  1741. catch(Exception e)
  1742. {
  1743. return LuaDLL.toluaL_exception(L, e, o, "attempt to index useMaxVisibleDescender on a nil value");
  1744. }
  1745. }
  1746. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1747. static int get_pageToDisplay(IntPtr L)
  1748. {
  1749. object o = null;
  1750. try
  1751. {
  1752. o = ToLua.ToObject(L, 1);
  1753. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1754. int ret = obj.pageToDisplay;
  1755. LuaDLL.lua_pushinteger(L, ret);
  1756. return 1;
  1757. }
  1758. catch(Exception e)
  1759. {
  1760. return LuaDLL.toluaL_exception(L, e, o, "attempt to index pageToDisplay on a nil value");
  1761. }
  1762. }
  1763. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1764. static int get_margin(IntPtr L)
  1765. {
  1766. object o = null;
  1767. try
  1768. {
  1769. o = ToLua.ToObject(L, 1);
  1770. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1771. UnityEngine.Vector4 ret = obj.margin;
  1772. ToLua.Push(L, ret);
  1773. return 1;
  1774. }
  1775. catch(Exception e)
  1776. {
  1777. return LuaDLL.toluaL_exception(L, e, o, "attempt to index margin on a nil value");
  1778. }
  1779. }
  1780. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1781. static int get_textInfo(IntPtr L)
  1782. {
  1783. object o = null;
  1784. try
  1785. {
  1786. o = ToLua.ToObject(L, 1);
  1787. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1788. TMPro.TMP_TextInfo ret = obj.textInfo;
  1789. ToLua.PushObject(L, ret);
  1790. return 1;
  1791. }
  1792. catch(Exception e)
  1793. {
  1794. return LuaDLL.toluaL_exception(L, e, o, "attempt to index textInfo on a nil value");
  1795. }
  1796. }
  1797. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1798. static int get_havePropertiesChanged(IntPtr L)
  1799. {
  1800. object o = null;
  1801. try
  1802. {
  1803. o = ToLua.ToObject(L, 1);
  1804. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1805. bool ret = obj.havePropertiesChanged;
  1806. LuaDLL.lua_pushboolean(L, ret);
  1807. return 1;
  1808. }
  1809. catch(Exception e)
  1810. {
  1811. return LuaDLL.toluaL_exception(L, e, o, "attempt to index havePropertiesChanged on a nil value");
  1812. }
  1813. }
  1814. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1815. static int get_isUsingLegacyAnimationComponent(IntPtr L)
  1816. {
  1817. object o = null;
  1818. try
  1819. {
  1820. o = ToLua.ToObject(L, 1);
  1821. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1822. bool ret = obj.isUsingLegacyAnimationComponent;
  1823. LuaDLL.lua_pushboolean(L, ret);
  1824. return 1;
  1825. }
  1826. catch(Exception e)
  1827. {
  1828. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isUsingLegacyAnimationComponent on a nil value");
  1829. }
  1830. }
  1831. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1832. static int get_transform(IntPtr L)
  1833. {
  1834. object o = null;
  1835. try
  1836. {
  1837. o = ToLua.ToObject(L, 1);
  1838. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1839. UnityEngine.Transform ret = obj.transform;
  1840. ToLua.Push(L, ret);
  1841. return 1;
  1842. }
  1843. catch(Exception e)
  1844. {
  1845. return LuaDLL.toluaL_exception(L, e, o, "attempt to index transform on a nil value");
  1846. }
  1847. }
  1848. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1849. static int get_rectTransform(IntPtr L)
  1850. {
  1851. object o = null;
  1852. try
  1853. {
  1854. o = ToLua.ToObject(L, 1);
  1855. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1856. UnityEngine.RectTransform ret = obj.rectTransform;
  1857. ToLua.PushSealed(L, ret);
  1858. return 1;
  1859. }
  1860. catch(Exception e)
  1861. {
  1862. return LuaDLL.toluaL_exception(L, e, o, "attempt to index rectTransform on a nil value");
  1863. }
  1864. }
  1865. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1866. static int get_autoSizeTextContainer(IntPtr L)
  1867. {
  1868. object o = null;
  1869. try
  1870. {
  1871. o = ToLua.ToObject(L, 1);
  1872. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1873. bool ret = obj.autoSizeTextContainer;
  1874. LuaDLL.lua_pushboolean(L, ret);
  1875. return 1;
  1876. }
  1877. catch(Exception e)
  1878. {
  1879. return LuaDLL.toluaL_exception(L, e, o, "attempt to index autoSizeTextContainer on a nil value");
  1880. }
  1881. }
  1882. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1883. static int get_mesh(IntPtr L)
  1884. {
  1885. object o = null;
  1886. try
  1887. {
  1888. o = ToLua.ToObject(L, 1);
  1889. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1890. UnityEngine.Mesh ret = obj.mesh;
  1891. ToLua.PushSealed(L, ret);
  1892. return 1;
  1893. }
  1894. catch(Exception e)
  1895. {
  1896. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mesh on a nil value");
  1897. }
  1898. }
  1899. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1900. static int get_isVolumetricText(IntPtr L)
  1901. {
  1902. object o = null;
  1903. try
  1904. {
  1905. o = ToLua.ToObject(L, 1);
  1906. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1907. bool ret = obj.isVolumetricText;
  1908. LuaDLL.lua_pushboolean(L, ret);
  1909. return 1;
  1910. }
  1911. catch(Exception e)
  1912. {
  1913. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isVolumetricText on a nil value");
  1914. }
  1915. }
  1916. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1917. static int get_bounds(IntPtr L)
  1918. {
  1919. object o = null;
  1920. try
  1921. {
  1922. o = ToLua.ToObject(L, 1);
  1923. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1924. UnityEngine.Bounds ret = obj.bounds;
  1925. ToLua.Push(L, ret);
  1926. return 1;
  1927. }
  1928. catch(Exception e)
  1929. {
  1930. return LuaDLL.toluaL_exception(L, e, o, "attempt to index bounds on a nil value");
  1931. }
  1932. }
  1933. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1934. static int get_textBounds(IntPtr L)
  1935. {
  1936. object o = null;
  1937. try
  1938. {
  1939. o = ToLua.ToObject(L, 1);
  1940. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1941. UnityEngine.Bounds ret = obj.textBounds;
  1942. ToLua.Push(L, ret);
  1943. return 1;
  1944. }
  1945. catch(Exception e)
  1946. {
  1947. return LuaDLL.toluaL_exception(L, e, o, "attempt to index textBounds on a nil value");
  1948. }
  1949. }
  1950. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1951. static int get_flexibleHeight(IntPtr L)
  1952. {
  1953. object o = null;
  1954. try
  1955. {
  1956. o = ToLua.ToObject(L, 1);
  1957. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1958. float ret = obj.flexibleHeight;
  1959. LuaDLL.lua_pushnumber(L, ret);
  1960. return 1;
  1961. }
  1962. catch(Exception e)
  1963. {
  1964. return LuaDLL.toluaL_exception(L, e, o, "attempt to index flexibleHeight on a nil value");
  1965. }
  1966. }
  1967. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1968. static int get_flexibleWidth(IntPtr L)
  1969. {
  1970. object o = null;
  1971. try
  1972. {
  1973. o = ToLua.ToObject(L, 1);
  1974. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1975. float ret = obj.flexibleWidth;
  1976. LuaDLL.lua_pushnumber(L, ret);
  1977. return 1;
  1978. }
  1979. catch(Exception e)
  1980. {
  1981. return LuaDLL.toluaL_exception(L, e, o, "attempt to index flexibleWidth on a nil value");
  1982. }
  1983. }
  1984. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1985. static int get_minWidth(IntPtr L)
  1986. {
  1987. object o = null;
  1988. try
  1989. {
  1990. o = ToLua.ToObject(L, 1);
  1991. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  1992. float ret = obj.minWidth;
  1993. LuaDLL.lua_pushnumber(L, ret);
  1994. return 1;
  1995. }
  1996. catch(Exception e)
  1997. {
  1998. return LuaDLL.toluaL_exception(L, e, o, "attempt to index minWidth on a nil value");
  1999. }
  2000. }
  2001. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2002. static int get_minHeight(IntPtr L)
  2003. {
  2004. object o = null;
  2005. try
  2006. {
  2007. o = ToLua.ToObject(L, 1);
  2008. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2009. float ret = obj.minHeight;
  2010. LuaDLL.lua_pushnumber(L, ret);
  2011. return 1;
  2012. }
  2013. catch(Exception e)
  2014. {
  2015. return LuaDLL.toluaL_exception(L, e, o, "attempt to index minHeight on a nil value");
  2016. }
  2017. }
  2018. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2019. static int get_maxWidth(IntPtr L)
  2020. {
  2021. object o = null;
  2022. try
  2023. {
  2024. o = ToLua.ToObject(L, 1);
  2025. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2026. float ret = obj.maxWidth;
  2027. LuaDLL.lua_pushnumber(L, ret);
  2028. return 1;
  2029. }
  2030. catch(Exception e)
  2031. {
  2032. return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxWidth on a nil value");
  2033. }
  2034. }
  2035. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2036. static int get_maxHeight(IntPtr L)
  2037. {
  2038. object o = null;
  2039. try
  2040. {
  2041. o = ToLua.ToObject(L, 1);
  2042. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2043. float ret = obj.maxHeight;
  2044. LuaDLL.lua_pushnumber(L, ret);
  2045. return 1;
  2046. }
  2047. catch(Exception e)
  2048. {
  2049. return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxHeight on a nil value");
  2050. }
  2051. }
  2052. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2053. static int get_preferredWidth(IntPtr L)
  2054. {
  2055. object o = null;
  2056. try
  2057. {
  2058. o = ToLua.ToObject(L, 1);
  2059. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2060. float ret = obj.preferredWidth;
  2061. LuaDLL.lua_pushnumber(L, ret);
  2062. return 1;
  2063. }
  2064. catch(Exception e)
  2065. {
  2066. return LuaDLL.toluaL_exception(L, e, o, "attempt to index preferredWidth on a nil value");
  2067. }
  2068. }
  2069. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2070. static int get_preferredHeight(IntPtr L)
  2071. {
  2072. object o = null;
  2073. try
  2074. {
  2075. o = ToLua.ToObject(L, 1);
  2076. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2077. float ret = obj.preferredHeight;
  2078. LuaDLL.lua_pushnumber(L, ret);
  2079. return 1;
  2080. }
  2081. catch(Exception e)
  2082. {
  2083. return LuaDLL.toluaL_exception(L, e, o, "attempt to index preferredHeight on a nil value");
  2084. }
  2085. }
  2086. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2087. static int get_renderedWidth(IntPtr L)
  2088. {
  2089. object o = null;
  2090. try
  2091. {
  2092. o = ToLua.ToObject(L, 1);
  2093. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2094. float ret = obj.renderedWidth;
  2095. LuaDLL.lua_pushnumber(L, ret);
  2096. return 1;
  2097. }
  2098. catch(Exception e)
  2099. {
  2100. return LuaDLL.toluaL_exception(L, e, o, "attempt to index renderedWidth on a nil value");
  2101. }
  2102. }
  2103. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2104. static int get_renderedHeight(IntPtr L)
  2105. {
  2106. object o = null;
  2107. try
  2108. {
  2109. o = ToLua.ToObject(L, 1);
  2110. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2111. float ret = obj.renderedHeight;
  2112. LuaDLL.lua_pushnumber(L, ret);
  2113. return 1;
  2114. }
  2115. catch(Exception e)
  2116. {
  2117. return LuaDLL.toluaL_exception(L, e, o, "attempt to index renderedHeight on a nil value");
  2118. }
  2119. }
  2120. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2121. static int get_layoutPriority(IntPtr L)
  2122. {
  2123. object o = null;
  2124. try
  2125. {
  2126. o = ToLua.ToObject(L, 1);
  2127. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2128. int ret = obj.layoutPriority;
  2129. LuaDLL.lua_pushinteger(L, ret);
  2130. return 1;
  2131. }
  2132. catch(Exception e)
  2133. {
  2134. return LuaDLL.toluaL_exception(L, e, o, "attempt to index layoutPriority on a nil value");
  2135. }
  2136. }
  2137. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2138. static int get_OnFontAssetRequest(IntPtr L)
  2139. {
  2140. ToLua.Push(L, new EventObject(typeof(System.Func<int,string,TMPro.TMP_FontAsset>)));
  2141. return 1;
  2142. }
  2143. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2144. static int get_OnSpriteAssetRequest(IntPtr L)
  2145. {
  2146. ToLua.Push(L, new EventObject(typeof(System.Func<int,string,TMPro.TMP_SpriteAsset>)));
  2147. return 1;
  2148. }
  2149. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2150. static int get_OnPreRenderText(IntPtr L)
  2151. {
  2152. ToLua.Push(L, new EventObject(typeof(System.Action<TMPro.TMP_TextInfo>)));
  2153. return 1;
  2154. }
  2155. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2156. static int set_text(IntPtr L)
  2157. {
  2158. object o = null;
  2159. try
  2160. {
  2161. o = ToLua.ToObject(L, 1);
  2162. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2163. string arg0 = ToLua.CheckString(L, 2);
  2164. obj.text = arg0;
  2165. return 0;
  2166. }
  2167. catch(Exception e)
  2168. {
  2169. return LuaDLL.toluaL_exception(L, e, o, "attempt to index text on a nil value");
  2170. }
  2171. }
  2172. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2173. static int set_textPreprocessor(IntPtr L)
  2174. {
  2175. object o = null;
  2176. try
  2177. {
  2178. o = ToLua.ToObject(L, 1);
  2179. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2180. TMPro.ITextPreprocessor arg0 = (TMPro.ITextPreprocessor)ToLua.CheckObject<TMPro.ITextPreprocessor>(L, 2);
  2181. obj.textPreprocessor = arg0;
  2182. return 0;
  2183. }
  2184. catch(Exception e)
  2185. {
  2186. return LuaDLL.toluaL_exception(L, e, o, "attempt to index textPreprocessor on a nil value");
  2187. }
  2188. }
  2189. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2190. static int set_isRightToLeftText(IntPtr L)
  2191. {
  2192. object o = null;
  2193. try
  2194. {
  2195. o = ToLua.ToObject(L, 1);
  2196. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2197. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2198. obj.isRightToLeftText = arg0;
  2199. return 0;
  2200. }
  2201. catch(Exception e)
  2202. {
  2203. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isRightToLeftText on a nil value");
  2204. }
  2205. }
  2206. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2207. static int set_font(IntPtr L)
  2208. {
  2209. object o = null;
  2210. try
  2211. {
  2212. o = ToLua.ToObject(L, 1);
  2213. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2214. TMPro.TMP_FontAsset arg0 = (TMPro.TMP_FontAsset)ToLua.CheckObject<TMPro.TMP_FontAsset>(L, 2);
  2215. obj.font = arg0;
  2216. return 0;
  2217. }
  2218. catch(Exception e)
  2219. {
  2220. return LuaDLL.toluaL_exception(L, e, o, "attempt to index font on a nil value");
  2221. }
  2222. }
  2223. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2224. static int set_fontSharedMaterial(IntPtr L)
  2225. {
  2226. object o = null;
  2227. try
  2228. {
  2229. o = ToLua.ToObject(L, 1);
  2230. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2231. UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckObject<UnityEngine.Material>(L, 2);
  2232. obj.fontSharedMaterial = arg0;
  2233. return 0;
  2234. }
  2235. catch(Exception e)
  2236. {
  2237. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSharedMaterial on a nil value");
  2238. }
  2239. }
  2240. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2241. static int set_fontSharedMaterials(IntPtr L)
  2242. {
  2243. object o = null;
  2244. try
  2245. {
  2246. o = ToLua.ToObject(L, 1);
  2247. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2248. UnityEngine.Material[] arg0 = ToLua.CheckObjectArray<UnityEngine.Material>(L, 2);
  2249. obj.fontSharedMaterials = arg0;
  2250. return 0;
  2251. }
  2252. catch(Exception e)
  2253. {
  2254. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSharedMaterials on a nil value");
  2255. }
  2256. }
  2257. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2258. static int set_fontMaterial(IntPtr L)
  2259. {
  2260. object o = null;
  2261. try
  2262. {
  2263. o = ToLua.ToObject(L, 1);
  2264. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2265. UnityEngine.Material arg0 = (UnityEngine.Material)ToLua.CheckObject<UnityEngine.Material>(L, 2);
  2266. obj.fontMaterial = arg0;
  2267. return 0;
  2268. }
  2269. catch(Exception e)
  2270. {
  2271. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontMaterial on a nil value");
  2272. }
  2273. }
  2274. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2275. static int set_fontMaterials(IntPtr L)
  2276. {
  2277. object o = null;
  2278. try
  2279. {
  2280. o = ToLua.ToObject(L, 1);
  2281. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2282. UnityEngine.Material[] arg0 = ToLua.CheckObjectArray<UnityEngine.Material>(L, 2);
  2283. obj.fontMaterials = arg0;
  2284. return 0;
  2285. }
  2286. catch(Exception e)
  2287. {
  2288. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontMaterials on a nil value");
  2289. }
  2290. }
  2291. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2292. static int set_color(IntPtr L)
  2293. {
  2294. object o = null;
  2295. try
  2296. {
  2297. o = ToLua.ToObject(L, 1);
  2298. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2299. UnityEngine.Color arg0 = ToLua.ToColor(L, 2);
  2300. obj.color = arg0;
  2301. return 0;
  2302. }
  2303. catch(Exception e)
  2304. {
  2305. return LuaDLL.toluaL_exception(L, e, o, "attempt to index color on a nil value");
  2306. }
  2307. }
  2308. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2309. static int set_alpha(IntPtr L)
  2310. {
  2311. object o = null;
  2312. try
  2313. {
  2314. o = ToLua.ToObject(L, 1);
  2315. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2316. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2317. obj.alpha = arg0;
  2318. return 0;
  2319. }
  2320. catch(Exception e)
  2321. {
  2322. return LuaDLL.toluaL_exception(L, e, o, "attempt to index alpha on a nil value");
  2323. }
  2324. }
  2325. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2326. static int set_enableVertexGradient(IntPtr L)
  2327. {
  2328. object o = null;
  2329. try
  2330. {
  2331. o = ToLua.ToObject(L, 1);
  2332. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2333. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2334. obj.enableVertexGradient = arg0;
  2335. return 0;
  2336. }
  2337. catch(Exception e)
  2338. {
  2339. return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableVertexGradient on a nil value");
  2340. }
  2341. }
  2342. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2343. static int set_colorGradient(IntPtr L)
  2344. {
  2345. object o = null;
  2346. try
  2347. {
  2348. o = ToLua.ToObject(L, 1);
  2349. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2350. TMPro.VertexGradient arg0 = StackTraits<TMPro.VertexGradient>.Check(L, 2);
  2351. obj.colorGradient = arg0;
  2352. return 0;
  2353. }
  2354. catch(Exception e)
  2355. {
  2356. return LuaDLL.toluaL_exception(L, e, o, "attempt to index colorGradient on a nil value");
  2357. }
  2358. }
  2359. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2360. static int set_colorGradientPreset(IntPtr L)
  2361. {
  2362. object o = null;
  2363. try
  2364. {
  2365. o = ToLua.ToObject(L, 1);
  2366. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2367. TMPro.TMP_ColorGradient arg0 = (TMPro.TMP_ColorGradient)ToLua.CheckObject<TMPro.TMP_ColorGradient>(L, 2);
  2368. obj.colorGradientPreset = arg0;
  2369. return 0;
  2370. }
  2371. catch(Exception e)
  2372. {
  2373. return LuaDLL.toluaL_exception(L, e, o, "attempt to index colorGradientPreset on a nil value");
  2374. }
  2375. }
  2376. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2377. static int set_spriteAsset(IntPtr L)
  2378. {
  2379. object o = null;
  2380. try
  2381. {
  2382. o = ToLua.ToObject(L, 1);
  2383. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2384. TMPro.TMP_SpriteAsset arg0 = (TMPro.TMP_SpriteAsset)ToLua.CheckObject<TMPro.TMP_SpriteAsset>(L, 2);
  2385. obj.spriteAsset = arg0;
  2386. return 0;
  2387. }
  2388. catch(Exception e)
  2389. {
  2390. return LuaDLL.toluaL_exception(L, e, o, "attempt to index spriteAsset on a nil value");
  2391. }
  2392. }
  2393. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2394. static int set_tintAllSprites(IntPtr L)
  2395. {
  2396. object o = null;
  2397. try
  2398. {
  2399. o = ToLua.ToObject(L, 1);
  2400. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2401. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2402. obj.tintAllSprites = arg0;
  2403. return 0;
  2404. }
  2405. catch(Exception e)
  2406. {
  2407. return LuaDLL.toluaL_exception(L, e, o, "attempt to index tintAllSprites on a nil value");
  2408. }
  2409. }
  2410. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2411. static int set_styleSheet(IntPtr L)
  2412. {
  2413. object o = null;
  2414. try
  2415. {
  2416. o = ToLua.ToObject(L, 1);
  2417. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2418. TMPro.TMP_StyleSheet arg0 = (TMPro.TMP_StyleSheet)ToLua.CheckObject<TMPro.TMP_StyleSheet>(L, 2);
  2419. obj.styleSheet = arg0;
  2420. return 0;
  2421. }
  2422. catch(Exception e)
  2423. {
  2424. return LuaDLL.toluaL_exception(L, e, o, "attempt to index styleSheet on a nil value");
  2425. }
  2426. }
  2427. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2428. static int set_textStyle(IntPtr L)
  2429. {
  2430. object o = null;
  2431. try
  2432. {
  2433. o = ToLua.ToObject(L, 1);
  2434. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2435. TMPro.TMP_Style arg0 = (TMPro.TMP_Style)ToLua.CheckObject<TMPro.TMP_Style>(L, 2);
  2436. obj.textStyle = arg0;
  2437. return 0;
  2438. }
  2439. catch(Exception e)
  2440. {
  2441. return LuaDLL.toluaL_exception(L, e, o, "attempt to index textStyle on a nil value");
  2442. }
  2443. }
  2444. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2445. static int set_overrideColorTags(IntPtr L)
  2446. {
  2447. object o = null;
  2448. try
  2449. {
  2450. o = ToLua.ToObject(L, 1);
  2451. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2452. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2453. obj.overrideColorTags = arg0;
  2454. return 0;
  2455. }
  2456. catch(Exception e)
  2457. {
  2458. return LuaDLL.toluaL_exception(L, e, o, "attempt to index overrideColorTags on a nil value");
  2459. }
  2460. }
  2461. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2462. static int set_faceColor(IntPtr L)
  2463. {
  2464. object o = null;
  2465. try
  2466. {
  2467. o = ToLua.ToObject(L, 1);
  2468. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2469. UnityEngine.Color32 arg0 = StackTraits<UnityEngine.Color32>.Check(L, 2);
  2470. obj.faceColor = arg0;
  2471. return 0;
  2472. }
  2473. catch(Exception e)
  2474. {
  2475. return LuaDLL.toluaL_exception(L, e, o, "attempt to index faceColor on a nil value");
  2476. }
  2477. }
  2478. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2479. static int set_outlineColor(IntPtr L)
  2480. {
  2481. object o = null;
  2482. try
  2483. {
  2484. o = ToLua.ToObject(L, 1);
  2485. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2486. UnityEngine.Color32 arg0 = StackTraits<UnityEngine.Color32>.Check(L, 2);
  2487. obj.outlineColor = arg0;
  2488. return 0;
  2489. }
  2490. catch(Exception e)
  2491. {
  2492. return LuaDLL.toluaL_exception(L, e, o, "attempt to index outlineColor on a nil value");
  2493. }
  2494. }
  2495. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2496. static int set_outlineWidth(IntPtr L)
  2497. {
  2498. object o = null;
  2499. try
  2500. {
  2501. o = ToLua.ToObject(L, 1);
  2502. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2503. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2504. obj.outlineWidth = arg0;
  2505. return 0;
  2506. }
  2507. catch(Exception e)
  2508. {
  2509. return LuaDLL.toluaL_exception(L, e, o, "attempt to index outlineWidth on a nil value");
  2510. }
  2511. }
  2512. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2513. static int set_fontSize(IntPtr L)
  2514. {
  2515. object o = null;
  2516. try
  2517. {
  2518. o = ToLua.ToObject(L, 1);
  2519. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2520. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2521. obj.fontSize = arg0;
  2522. return 0;
  2523. }
  2524. catch(Exception e)
  2525. {
  2526. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSize on a nil value");
  2527. }
  2528. }
  2529. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2530. static int set_fontWeight(IntPtr L)
  2531. {
  2532. object o = null;
  2533. try
  2534. {
  2535. o = ToLua.ToObject(L, 1);
  2536. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2537. TMPro.FontWeight arg0 = (TMPro.FontWeight)ToLua.CheckObject(L, 2, typeof(TMPro.FontWeight));
  2538. obj.fontWeight = arg0;
  2539. return 0;
  2540. }
  2541. catch(Exception e)
  2542. {
  2543. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontWeight on a nil value");
  2544. }
  2545. }
  2546. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2547. static int set_enableAutoSizing(IntPtr L)
  2548. {
  2549. object o = null;
  2550. try
  2551. {
  2552. o = ToLua.ToObject(L, 1);
  2553. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2554. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2555. obj.enableAutoSizing = arg0;
  2556. return 0;
  2557. }
  2558. catch(Exception e)
  2559. {
  2560. return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableAutoSizing on a nil value");
  2561. }
  2562. }
  2563. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2564. static int set_fontSizeMin(IntPtr L)
  2565. {
  2566. object o = null;
  2567. try
  2568. {
  2569. o = ToLua.ToObject(L, 1);
  2570. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2571. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2572. obj.fontSizeMin = arg0;
  2573. return 0;
  2574. }
  2575. catch(Exception e)
  2576. {
  2577. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSizeMin on a nil value");
  2578. }
  2579. }
  2580. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2581. static int set_fontSizeMax(IntPtr L)
  2582. {
  2583. object o = null;
  2584. try
  2585. {
  2586. o = ToLua.ToObject(L, 1);
  2587. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2588. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2589. obj.fontSizeMax = arg0;
  2590. return 0;
  2591. }
  2592. catch(Exception e)
  2593. {
  2594. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontSizeMax on a nil value");
  2595. }
  2596. }
  2597. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2598. static int set_fontStyle(IntPtr L)
  2599. {
  2600. object o = null;
  2601. try
  2602. {
  2603. o = ToLua.ToObject(L, 1);
  2604. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2605. TMPro.FontStyles arg0 = (TMPro.FontStyles)ToLua.CheckObject(L, 2, typeof(TMPro.FontStyles));
  2606. obj.fontStyle = arg0;
  2607. return 0;
  2608. }
  2609. catch(Exception e)
  2610. {
  2611. return LuaDLL.toluaL_exception(L, e, o, "attempt to index fontStyle on a nil value");
  2612. }
  2613. }
  2614. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2615. static int set_horizontalAlignment(IntPtr L)
  2616. {
  2617. object o = null;
  2618. try
  2619. {
  2620. o = ToLua.ToObject(L, 1);
  2621. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2622. TMPro.HorizontalAlignmentOptions arg0 = (TMPro.HorizontalAlignmentOptions)ToLua.CheckObject(L, 2, typeof(TMPro.HorizontalAlignmentOptions));
  2623. obj.horizontalAlignment = arg0;
  2624. return 0;
  2625. }
  2626. catch(Exception e)
  2627. {
  2628. return LuaDLL.toluaL_exception(L, e, o, "attempt to index horizontalAlignment on a nil value");
  2629. }
  2630. }
  2631. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2632. static int set_verticalAlignment(IntPtr L)
  2633. {
  2634. object o = null;
  2635. try
  2636. {
  2637. o = ToLua.ToObject(L, 1);
  2638. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2639. TMPro.VerticalAlignmentOptions arg0 = (TMPro.VerticalAlignmentOptions)ToLua.CheckObject(L, 2, typeof(TMPro.VerticalAlignmentOptions));
  2640. obj.verticalAlignment = arg0;
  2641. return 0;
  2642. }
  2643. catch(Exception e)
  2644. {
  2645. return LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalAlignment on a nil value");
  2646. }
  2647. }
  2648. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2649. static int set_alignment(IntPtr L)
  2650. {
  2651. object o = null;
  2652. try
  2653. {
  2654. o = ToLua.ToObject(L, 1);
  2655. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2656. TMPro.TextAlignmentOptions arg0 = (TMPro.TextAlignmentOptions)ToLua.CheckObject(L, 2, typeof(TMPro.TextAlignmentOptions));
  2657. obj.alignment = arg0;
  2658. return 0;
  2659. }
  2660. catch(Exception e)
  2661. {
  2662. return LuaDLL.toluaL_exception(L, e, o, "attempt to index alignment on a nil value");
  2663. }
  2664. }
  2665. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2666. static int set_characterSpacing(IntPtr L)
  2667. {
  2668. object o = null;
  2669. try
  2670. {
  2671. o = ToLua.ToObject(L, 1);
  2672. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2673. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2674. obj.characterSpacing = arg0;
  2675. return 0;
  2676. }
  2677. catch(Exception e)
  2678. {
  2679. return LuaDLL.toluaL_exception(L, e, o, "attempt to index characterSpacing on a nil value");
  2680. }
  2681. }
  2682. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2683. static int set_wordSpacing(IntPtr L)
  2684. {
  2685. object o = null;
  2686. try
  2687. {
  2688. o = ToLua.ToObject(L, 1);
  2689. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2690. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2691. obj.wordSpacing = arg0;
  2692. return 0;
  2693. }
  2694. catch(Exception e)
  2695. {
  2696. return LuaDLL.toluaL_exception(L, e, o, "attempt to index wordSpacing on a nil value");
  2697. }
  2698. }
  2699. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2700. static int set_lineSpacing(IntPtr L)
  2701. {
  2702. object o = null;
  2703. try
  2704. {
  2705. o = ToLua.ToObject(L, 1);
  2706. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2707. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2708. obj.lineSpacing = arg0;
  2709. return 0;
  2710. }
  2711. catch(Exception e)
  2712. {
  2713. return LuaDLL.toluaL_exception(L, e, o, "attempt to index lineSpacing on a nil value");
  2714. }
  2715. }
  2716. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2717. static int set_lineSpacingAdjustment(IntPtr L)
  2718. {
  2719. object o = null;
  2720. try
  2721. {
  2722. o = ToLua.ToObject(L, 1);
  2723. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2724. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2725. obj.lineSpacingAdjustment = arg0;
  2726. return 0;
  2727. }
  2728. catch(Exception e)
  2729. {
  2730. return LuaDLL.toluaL_exception(L, e, o, "attempt to index lineSpacingAdjustment on a nil value");
  2731. }
  2732. }
  2733. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2734. static int set_paragraphSpacing(IntPtr L)
  2735. {
  2736. object o = null;
  2737. try
  2738. {
  2739. o = ToLua.ToObject(L, 1);
  2740. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2741. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2742. obj.paragraphSpacing = arg0;
  2743. return 0;
  2744. }
  2745. catch(Exception e)
  2746. {
  2747. return LuaDLL.toluaL_exception(L, e, o, "attempt to index paragraphSpacing on a nil value");
  2748. }
  2749. }
  2750. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2751. static int set_characterWidthAdjustment(IntPtr L)
  2752. {
  2753. object o = null;
  2754. try
  2755. {
  2756. o = ToLua.ToObject(L, 1);
  2757. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2758. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2759. obj.characterWidthAdjustment = arg0;
  2760. return 0;
  2761. }
  2762. catch(Exception e)
  2763. {
  2764. return LuaDLL.toluaL_exception(L, e, o, "attempt to index characterWidthAdjustment on a nil value");
  2765. }
  2766. }
  2767. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2768. static int set_enableWordWrapping(IntPtr L)
  2769. {
  2770. object o = null;
  2771. try
  2772. {
  2773. o = ToLua.ToObject(L, 1);
  2774. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2775. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2776. obj.enableWordWrapping = arg0;
  2777. return 0;
  2778. }
  2779. catch(Exception e)
  2780. {
  2781. return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableWordWrapping on a nil value");
  2782. }
  2783. }
  2784. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2785. static int set_wordWrappingRatios(IntPtr L)
  2786. {
  2787. object o = null;
  2788. try
  2789. {
  2790. o = ToLua.ToObject(L, 1);
  2791. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2792. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  2793. obj.wordWrappingRatios = arg0;
  2794. return 0;
  2795. }
  2796. catch(Exception e)
  2797. {
  2798. return LuaDLL.toluaL_exception(L, e, o, "attempt to index wordWrappingRatios on a nil value");
  2799. }
  2800. }
  2801. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2802. static int set_overflowMode(IntPtr L)
  2803. {
  2804. object o = null;
  2805. try
  2806. {
  2807. o = ToLua.ToObject(L, 1);
  2808. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2809. TMPro.TextOverflowModes arg0 = (TMPro.TextOverflowModes)ToLua.CheckObject(L, 2, typeof(TMPro.TextOverflowModes));
  2810. obj.overflowMode = arg0;
  2811. return 0;
  2812. }
  2813. catch(Exception e)
  2814. {
  2815. return LuaDLL.toluaL_exception(L, e, o, "attempt to index overflowMode on a nil value");
  2816. }
  2817. }
  2818. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2819. static int set_linkedTextComponent(IntPtr L)
  2820. {
  2821. object o = null;
  2822. try
  2823. {
  2824. o = ToLua.ToObject(L, 1);
  2825. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2826. TMPro.TMP_Text arg0 = (TMPro.TMP_Text)ToLua.CheckObject<TMPro.TMP_Text>(L, 2);
  2827. obj.linkedTextComponent = arg0;
  2828. return 0;
  2829. }
  2830. catch(Exception e)
  2831. {
  2832. return LuaDLL.toluaL_exception(L, e, o, "attempt to index linkedTextComponent on a nil value");
  2833. }
  2834. }
  2835. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2836. static int set_enableKerning(IntPtr L)
  2837. {
  2838. object o = null;
  2839. try
  2840. {
  2841. o = ToLua.ToObject(L, 1);
  2842. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2843. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2844. obj.enableKerning = arg0;
  2845. return 0;
  2846. }
  2847. catch(Exception e)
  2848. {
  2849. return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableKerning on a nil value");
  2850. }
  2851. }
  2852. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2853. static int set_extraPadding(IntPtr L)
  2854. {
  2855. object o = null;
  2856. try
  2857. {
  2858. o = ToLua.ToObject(L, 1);
  2859. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2860. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2861. obj.extraPadding = arg0;
  2862. return 0;
  2863. }
  2864. catch(Exception e)
  2865. {
  2866. return LuaDLL.toluaL_exception(L, e, o, "attempt to index extraPadding on a nil value");
  2867. }
  2868. }
  2869. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2870. static int set_richText(IntPtr L)
  2871. {
  2872. object o = null;
  2873. try
  2874. {
  2875. o = ToLua.ToObject(L, 1);
  2876. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2877. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2878. obj.richText = arg0;
  2879. return 0;
  2880. }
  2881. catch(Exception e)
  2882. {
  2883. return LuaDLL.toluaL_exception(L, e, o, "attempt to index richText on a nil value");
  2884. }
  2885. }
  2886. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2887. static int set_parseCtrlCharacters(IntPtr L)
  2888. {
  2889. object o = null;
  2890. try
  2891. {
  2892. o = ToLua.ToObject(L, 1);
  2893. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2894. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2895. obj.parseCtrlCharacters = arg0;
  2896. return 0;
  2897. }
  2898. catch(Exception e)
  2899. {
  2900. return LuaDLL.toluaL_exception(L, e, o, "attempt to index parseCtrlCharacters on a nil value");
  2901. }
  2902. }
  2903. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2904. static int set_isOverlay(IntPtr L)
  2905. {
  2906. object o = null;
  2907. try
  2908. {
  2909. o = ToLua.ToObject(L, 1);
  2910. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2911. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2912. obj.isOverlay = arg0;
  2913. return 0;
  2914. }
  2915. catch(Exception e)
  2916. {
  2917. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isOverlay on a nil value");
  2918. }
  2919. }
  2920. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2921. static int set_isOrthographic(IntPtr L)
  2922. {
  2923. object o = null;
  2924. try
  2925. {
  2926. o = ToLua.ToObject(L, 1);
  2927. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2928. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2929. obj.isOrthographic = arg0;
  2930. return 0;
  2931. }
  2932. catch(Exception e)
  2933. {
  2934. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isOrthographic on a nil value");
  2935. }
  2936. }
  2937. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2938. static int set_enableCulling(IntPtr L)
  2939. {
  2940. object o = null;
  2941. try
  2942. {
  2943. o = ToLua.ToObject(L, 1);
  2944. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2945. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2946. obj.enableCulling = arg0;
  2947. return 0;
  2948. }
  2949. catch(Exception e)
  2950. {
  2951. return LuaDLL.toluaL_exception(L, e, o, "attempt to index enableCulling on a nil value");
  2952. }
  2953. }
  2954. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2955. static int set_ignoreVisibility(IntPtr L)
  2956. {
  2957. object o = null;
  2958. try
  2959. {
  2960. o = ToLua.ToObject(L, 1);
  2961. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2962. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  2963. obj.ignoreVisibility = arg0;
  2964. return 0;
  2965. }
  2966. catch(Exception e)
  2967. {
  2968. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ignoreVisibility on a nil value");
  2969. }
  2970. }
  2971. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2972. static int set_horizontalMapping(IntPtr L)
  2973. {
  2974. object o = null;
  2975. try
  2976. {
  2977. o = ToLua.ToObject(L, 1);
  2978. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2979. TMPro.TextureMappingOptions arg0 = (TMPro.TextureMappingOptions)ToLua.CheckObject(L, 2, typeof(TMPro.TextureMappingOptions));
  2980. obj.horizontalMapping = arg0;
  2981. return 0;
  2982. }
  2983. catch(Exception e)
  2984. {
  2985. return LuaDLL.toluaL_exception(L, e, o, "attempt to index horizontalMapping on a nil value");
  2986. }
  2987. }
  2988. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  2989. static int set_verticalMapping(IntPtr L)
  2990. {
  2991. object o = null;
  2992. try
  2993. {
  2994. o = ToLua.ToObject(L, 1);
  2995. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  2996. TMPro.TextureMappingOptions arg0 = (TMPro.TextureMappingOptions)ToLua.CheckObject(L, 2, typeof(TMPro.TextureMappingOptions));
  2997. obj.verticalMapping = arg0;
  2998. return 0;
  2999. }
  3000. catch(Exception e)
  3001. {
  3002. return LuaDLL.toluaL_exception(L, e, o, "attempt to index verticalMapping on a nil value");
  3003. }
  3004. }
  3005. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3006. static int set_mappingUvLineOffset(IntPtr L)
  3007. {
  3008. object o = null;
  3009. try
  3010. {
  3011. o = ToLua.ToObject(L, 1);
  3012. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3013. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  3014. obj.mappingUvLineOffset = arg0;
  3015. return 0;
  3016. }
  3017. catch(Exception e)
  3018. {
  3019. return LuaDLL.toluaL_exception(L, e, o, "attempt to index mappingUvLineOffset on a nil value");
  3020. }
  3021. }
  3022. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3023. static int set_renderMode(IntPtr L)
  3024. {
  3025. object o = null;
  3026. try
  3027. {
  3028. o = ToLua.ToObject(L, 1);
  3029. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3030. TMPro.TextRenderFlags arg0 = (TMPro.TextRenderFlags)ToLua.CheckObject(L, 2, typeof(TMPro.TextRenderFlags));
  3031. obj.renderMode = arg0;
  3032. return 0;
  3033. }
  3034. catch(Exception e)
  3035. {
  3036. return LuaDLL.toluaL_exception(L, e, o, "attempt to index renderMode on a nil value");
  3037. }
  3038. }
  3039. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3040. static int set_geometrySortingOrder(IntPtr L)
  3041. {
  3042. object o = null;
  3043. try
  3044. {
  3045. o = ToLua.ToObject(L, 1);
  3046. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3047. TMPro.VertexSortingOrder arg0 = (TMPro.VertexSortingOrder)ToLua.CheckObject(L, 2, typeof(TMPro.VertexSortingOrder));
  3048. obj.geometrySortingOrder = arg0;
  3049. return 0;
  3050. }
  3051. catch(Exception e)
  3052. {
  3053. return LuaDLL.toluaL_exception(L, e, o, "attempt to index geometrySortingOrder on a nil value");
  3054. }
  3055. }
  3056. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3057. static int set_isTextObjectScaleStatic(IntPtr L)
  3058. {
  3059. object o = null;
  3060. try
  3061. {
  3062. o = ToLua.ToObject(L, 1);
  3063. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3064. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  3065. obj.isTextObjectScaleStatic = arg0;
  3066. return 0;
  3067. }
  3068. catch(Exception e)
  3069. {
  3070. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isTextObjectScaleStatic on a nil value");
  3071. }
  3072. }
  3073. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3074. static int set_vertexBufferAutoSizeReduction(IntPtr L)
  3075. {
  3076. object o = null;
  3077. try
  3078. {
  3079. o = ToLua.ToObject(L, 1);
  3080. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3081. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  3082. obj.vertexBufferAutoSizeReduction = arg0;
  3083. return 0;
  3084. }
  3085. catch(Exception e)
  3086. {
  3087. return LuaDLL.toluaL_exception(L, e, o, "attempt to index vertexBufferAutoSizeReduction on a nil value");
  3088. }
  3089. }
  3090. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3091. static int set_firstVisibleCharacter(IntPtr L)
  3092. {
  3093. object o = null;
  3094. try
  3095. {
  3096. o = ToLua.ToObject(L, 1);
  3097. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3098. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  3099. obj.firstVisibleCharacter = arg0;
  3100. return 0;
  3101. }
  3102. catch(Exception e)
  3103. {
  3104. return LuaDLL.toluaL_exception(L, e, o, "attempt to index firstVisibleCharacter on a nil value");
  3105. }
  3106. }
  3107. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3108. static int set_maxVisibleCharacters(IntPtr L)
  3109. {
  3110. object o = null;
  3111. try
  3112. {
  3113. o = ToLua.ToObject(L, 1);
  3114. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3115. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  3116. obj.maxVisibleCharacters = arg0;
  3117. return 0;
  3118. }
  3119. catch(Exception e)
  3120. {
  3121. return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleCharacters on a nil value");
  3122. }
  3123. }
  3124. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3125. static int set_maxVisibleWords(IntPtr L)
  3126. {
  3127. object o = null;
  3128. try
  3129. {
  3130. o = ToLua.ToObject(L, 1);
  3131. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3132. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  3133. obj.maxVisibleWords = arg0;
  3134. return 0;
  3135. }
  3136. catch(Exception e)
  3137. {
  3138. return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleWords on a nil value");
  3139. }
  3140. }
  3141. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3142. static int set_maxVisibleLines(IntPtr L)
  3143. {
  3144. object o = null;
  3145. try
  3146. {
  3147. o = ToLua.ToObject(L, 1);
  3148. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3149. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  3150. obj.maxVisibleLines = arg0;
  3151. return 0;
  3152. }
  3153. catch(Exception e)
  3154. {
  3155. return LuaDLL.toluaL_exception(L, e, o, "attempt to index maxVisibleLines on a nil value");
  3156. }
  3157. }
  3158. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3159. static int set_useMaxVisibleDescender(IntPtr L)
  3160. {
  3161. object o = null;
  3162. try
  3163. {
  3164. o = ToLua.ToObject(L, 1);
  3165. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3166. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  3167. obj.useMaxVisibleDescender = arg0;
  3168. return 0;
  3169. }
  3170. catch(Exception e)
  3171. {
  3172. return LuaDLL.toluaL_exception(L, e, o, "attempt to index useMaxVisibleDescender on a nil value");
  3173. }
  3174. }
  3175. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3176. static int set_pageToDisplay(IntPtr L)
  3177. {
  3178. object o = null;
  3179. try
  3180. {
  3181. o = ToLua.ToObject(L, 1);
  3182. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3183. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  3184. obj.pageToDisplay = arg0;
  3185. return 0;
  3186. }
  3187. catch(Exception e)
  3188. {
  3189. return LuaDLL.toluaL_exception(L, e, o, "attempt to index pageToDisplay on a nil value");
  3190. }
  3191. }
  3192. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3193. static int set_margin(IntPtr L)
  3194. {
  3195. object o = null;
  3196. try
  3197. {
  3198. o = ToLua.ToObject(L, 1);
  3199. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3200. UnityEngine.Vector4 arg0 = ToLua.ToVector4(L, 2);
  3201. obj.margin = arg0;
  3202. return 0;
  3203. }
  3204. catch(Exception e)
  3205. {
  3206. return LuaDLL.toluaL_exception(L, e, o, "attempt to index margin on a nil value");
  3207. }
  3208. }
  3209. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3210. static int set_havePropertiesChanged(IntPtr L)
  3211. {
  3212. object o = null;
  3213. try
  3214. {
  3215. o = ToLua.ToObject(L, 1);
  3216. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3217. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  3218. obj.havePropertiesChanged = arg0;
  3219. return 0;
  3220. }
  3221. catch(Exception e)
  3222. {
  3223. return LuaDLL.toluaL_exception(L, e, o, "attempt to index havePropertiesChanged on a nil value");
  3224. }
  3225. }
  3226. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3227. static int set_isUsingLegacyAnimationComponent(IntPtr L)
  3228. {
  3229. object o = null;
  3230. try
  3231. {
  3232. o = ToLua.ToObject(L, 1);
  3233. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3234. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  3235. obj.isUsingLegacyAnimationComponent = arg0;
  3236. return 0;
  3237. }
  3238. catch(Exception e)
  3239. {
  3240. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isUsingLegacyAnimationComponent on a nil value");
  3241. }
  3242. }
  3243. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3244. static int set_autoSizeTextContainer(IntPtr L)
  3245. {
  3246. object o = null;
  3247. try
  3248. {
  3249. o = ToLua.ToObject(L, 1);
  3250. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3251. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  3252. obj.autoSizeTextContainer = arg0;
  3253. return 0;
  3254. }
  3255. catch(Exception e)
  3256. {
  3257. return LuaDLL.toluaL_exception(L, e, o, "attempt to index autoSizeTextContainer on a nil value");
  3258. }
  3259. }
  3260. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3261. static int set_isVolumetricText(IntPtr L)
  3262. {
  3263. object o = null;
  3264. try
  3265. {
  3266. o = ToLua.ToObject(L, 1);
  3267. TMPro.TMP_Text obj = (TMPro.TMP_Text)o;
  3268. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  3269. obj.isVolumetricText = arg0;
  3270. return 0;
  3271. }
  3272. catch(Exception e)
  3273. {
  3274. return LuaDLL.toluaL_exception(L, e, o, "attempt to index isVolumetricText on a nil value");
  3275. }
  3276. }
  3277. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3278. static int set_OnFontAssetRequest(IntPtr L)
  3279. {
  3280. try
  3281. {
  3282. EventObject arg0 = null;
  3283. if (LuaDLL.lua_isuserdata(L, 2) != 0)
  3284. {
  3285. arg0 = (EventObject)ToLua.ToObject(L, 2);
  3286. }
  3287. else
  3288. {
  3289. return LuaDLL.luaL_throw(L, "The event 'TMPro.TMP_Text.OnFontAssetRequest' can only appear on the left hand side of += or -= when used outside of the type 'TMPro.TMP_Text'");
  3290. }
  3291. if (arg0.op == EventOp.Add)
  3292. {
  3293. System.Func<int,string,TMPro.TMP_FontAsset> ev = (System.Func<int,string,TMPro.TMP_FontAsset>)arg0.func;
  3294. TMPro.TMP_Text.OnFontAssetRequest += ev;
  3295. }
  3296. else if (arg0.op == EventOp.Sub)
  3297. {
  3298. System.Func<int,string,TMPro.TMP_FontAsset> ev = (System.Func<int,string,TMPro.TMP_FontAsset>)arg0.func;
  3299. TMPro.TMP_Text.OnFontAssetRequest -= ev;
  3300. }
  3301. return 0;
  3302. }
  3303. catch (Exception e)
  3304. {
  3305. return LuaDLL.toluaL_exception(L, e);
  3306. }
  3307. }
  3308. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3309. static int set_OnSpriteAssetRequest(IntPtr L)
  3310. {
  3311. try
  3312. {
  3313. EventObject arg0 = null;
  3314. if (LuaDLL.lua_isuserdata(L, 2) != 0)
  3315. {
  3316. arg0 = (EventObject)ToLua.ToObject(L, 2);
  3317. }
  3318. else
  3319. {
  3320. return LuaDLL.luaL_throw(L, "The event 'TMPro.TMP_Text.OnSpriteAssetRequest' can only appear on the left hand side of += or -= when used outside of the type 'TMPro.TMP_Text'");
  3321. }
  3322. if (arg0.op == EventOp.Add)
  3323. {
  3324. System.Func<int,string,TMPro.TMP_SpriteAsset> ev = (System.Func<int,string,TMPro.TMP_SpriteAsset>)arg0.func;
  3325. TMPro.TMP_Text.OnSpriteAssetRequest += ev;
  3326. }
  3327. else if (arg0.op == EventOp.Sub)
  3328. {
  3329. System.Func<int,string,TMPro.TMP_SpriteAsset> ev = (System.Func<int,string,TMPro.TMP_SpriteAsset>)arg0.func;
  3330. TMPro.TMP_Text.OnSpriteAssetRequest -= ev;
  3331. }
  3332. return 0;
  3333. }
  3334. catch (Exception e)
  3335. {
  3336. return LuaDLL.toluaL_exception(L, e);
  3337. }
  3338. }
  3339. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  3340. static int set_OnPreRenderText(IntPtr L)
  3341. {
  3342. try
  3343. {
  3344. TMPro.TMP_Text obj = (TMPro.TMP_Text)ToLua.CheckObject(L, 1, typeof(TMPro.TMP_Text));
  3345. EventObject arg0 = null;
  3346. if (LuaDLL.lua_isuserdata(L, 2) != 0)
  3347. {
  3348. arg0 = (EventObject)ToLua.ToObject(L, 2);
  3349. }
  3350. else
  3351. {
  3352. return LuaDLL.luaL_throw(L, "The event 'TMPro.TMP_Text.OnPreRenderText' can only appear on the left hand side of += or -= when used outside of the type 'TMPro.TMP_Text'");
  3353. }
  3354. if (arg0.op == EventOp.Add)
  3355. {
  3356. System.Action<TMPro.TMP_TextInfo> ev = (System.Action<TMPro.TMP_TextInfo>)arg0.func;
  3357. obj.OnPreRenderText += ev;
  3358. }
  3359. else if (arg0.op == EventOp.Sub)
  3360. {
  3361. System.Action<TMPro.TMP_TextInfo> ev = (System.Action<TMPro.TMP_TextInfo>)arg0.func;
  3362. obj.OnPreRenderText -= ev;
  3363. }
  3364. return 0;
  3365. }
  3366. catch (Exception e)
  3367. {
  3368. return LuaDLL.toluaL_exception(L, e);
  3369. }
  3370. }
  3371. }