editor.d.ts 576 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901
  1. 
  2. declare module 'csharp' {
  3. interface $Ref<T> {
  4. value: T
  5. }
  6. namespace System {
  7. interface Array$1<T> extends System.Array {
  8. get_Item(index: number):T;
  9. set_Item(index: number, value: T):void;
  10. }
  11. }
  12. type $Task<T> = System.Threading.Tasks.Task$1<T>
  13. namespace System {
  14. class Int32 extends System.ValueType {
  15. }
  16. class ValueType extends System.Object {
  17. }
  18. class Object {
  19. public constructor();
  20. public Equals($obj: any):boolean;
  21. public static Equals($objA: any, $objB: any):boolean;
  22. public GetHashCode():number;
  23. public GetType():System.Type;
  24. public ToString():string;
  25. public static ReferenceEquals($objA: any, $objB: any):boolean;
  26. }
  27. class Void extends System.ValueType {
  28. }
  29. class Boolean extends System.ValueType {
  30. }
  31. type Converter$2<TInput,TOutput> = (input: TInput) => TOutput;
  32. type MulticastDelegate = (...args:any[]) => any;
  33. var MulticastDelegate: {new (func: (...args:any[]) => any): MulticastDelegate;}
  34. class Delegate extends System.Object {
  35. public Method: System.Reflection.MethodInfo;
  36. public Target: any;
  37. public static CreateDelegate($type: System.Type, $firstArgument: any, $method: System.Reflection.MethodInfo, $throwOnBindFailure: boolean):Function;
  38. public static CreateDelegate($type: System.Type, $firstArgument: any, $method: System.Reflection.MethodInfo):Function;
  39. public static CreateDelegate($type: System.Type, $method: System.Reflection.MethodInfo, $throwOnBindFailure: boolean):Function;
  40. public static CreateDelegate($type: System.Type, $method: System.Reflection.MethodInfo):Function;
  41. public static CreateDelegate($type: System.Type, $target: any, $method: string):Function;
  42. public static CreateDelegate($type: System.Type, $target: System.Type, $method: string, $ignoreCase: boolean, $throwOnBindFailure: boolean):Function;
  43. public static CreateDelegate($type: System.Type, $target: System.Type, $method: string):Function;
  44. public static CreateDelegate($type: System.Type, $target: System.Type, $method: string, $ignoreCase: boolean):Function;
  45. public static CreateDelegate($type: System.Type, $target: any, $method: string, $ignoreCase: boolean, $throwOnBindFailure: boolean):Function;
  46. public static CreateDelegate($type: System.Type, $target: any, $method: string, $ignoreCase: boolean):Function;
  47. public DynamicInvoke(...args: any[]):any;
  48. public Clone():any;
  49. public GetObjectData($info: System.Runtime.Serialization.SerializationInfo, $context: System.Runtime.Serialization.StreamingContext):void;
  50. public GetInvocationList():System.Array$1<Function>;
  51. public static Combine($a: Function, $b: Function):Function;
  52. public static Combine(...delegates: Function[]):Function;
  53. public static Remove($source: Function, $value: Function):Function;
  54. public static RemoveAll($source: Function, $value: Function):Function;
  55. public static op_Equality($d1: Function, $d2: Function):boolean;
  56. public static op_Inequality($d1: Function, $d2: Function):boolean;
  57. }
  58. type Predicate$1<T> = (obj: T) => boolean;
  59. type Action$1<T> = (obj: T) => void;
  60. type Comparison$1<T> = (x: T, y: T) => number;
  61. class Type extends System.Reflection.MemberInfo {
  62. public static FilterAttribute: System.Reflection.MemberFilter;
  63. public static FilterName: System.Reflection.MemberFilter;
  64. public static FilterNameIgnoreCase: System.Reflection.MemberFilter;
  65. public static Missing: any;
  66. public static Delimiter: number;
  67. public static EmptyTypes: System.Array$1<System.Type>;
  68. public MemberType: System.Reflection.MemberTypes;
  69. public DeclaringType: System.Type;
  70. public DeclaringMethod: System.Reflection.MethodBase;
  71. public ReflectedType: System.Type;
  72. public StructLayoutAttribute: System.Runtime.InteropServices.StructLayoutAttribute;
  73. public GUID: System.Guid;
  74. public static DefaultBinder: System.Reflection.Binder;
  75. public Module: System.Reflection.Module;
  76. public Assembly: System.Reflection.Assembly;
  77. public TypeHandle: System.RuntimeTypeHandle;
  78. public FullName: string;
  79. public Namespace: string;
  80. public AssemblyQualifiedName: string;
  81. public BaseType: System.Type;
  82. public TypeInitializer: System.Reflection.ConstructorInfo;
  83. public IsNested: boolean;
  84. public Attributes: System.Reflection.TypeAttributes;
  85. public GenericParameterAttributes: System.Reflection.GenericParameterAttributes;
  86. public IsVisible: boolean;
  87. public IsNotPublic: boolean;
  88. public IsPublic: boolean;
  89. public IsNestedPublic: boolean;
  90. public IsNestedPrivate: boolean;
  91. public IsNestedFamily: boolean;
  92. public IsNestedAssembly: boolean;
  93. public IsNestedFamANDAssem: boolean;
  94. public IsNestedFamORAssem: boolean;
  95. public IsAutoLayout: boolean;
  96. public IsLayoutSequential: boolean;
  97. public IsExplicitLayout: boolean;
  98. public IsClass: boolean;
  99. public IsInterface: boolean;
  100. public IsValueType: boolean;
  101. public IsAbstract: boolean;
  102. public IsSealed: boolean;
  103. public IsEnum: boolean;
  104. public IsSpecialName: boolean;
  105. public IsImport: boolean;
  106. public IsSerializable: boolean;
  107. public IsAnsiClass: boolean;
  108. public IsUnicodeClass: boolean;
  109. public IsAutoClass: boolean;
  110. public IsArray: boolean;
  111. public IsGenericType: boolean;
  112. public IsGenericTypeDefinition: boolean;
  113. public IsConstructedGenericType: boolean;
  114. public IsGenericParameter: boolean;
  115. public GenericParameterPosition: number;
  116. public ContainsGenericParameters: boolean;
  117. public IsByRef: boolean;
  118. public IsPointer: boolean;
  119. public IsPrimitive: boolean;
  120. public IsCOMObject: boolean;
  121. public HasElementType: boolean;
  122. public IsContextful: boolean;
  123. public IsMarshalByRef: boolean;
  124. public GenericTypeArguments: System.Array$1<System.Type>;
  125. public IsSecurityCritical: boolean;
  126. public IsSecuritySafeCritical: boolean;
  127. public IsSecurityTransparent: boolean;
  128. public UnderlyingSystemType: System.Type;
  129. public static GetType($typeName: string, $assemblyResolver: System.Func$2<System.Reflection.AssemblyName, System.Reflection.Assembly>, $typeResolver: System.Func$4<System.Reflection.Assembly, string, boolean, System.Type>):System.Type;
  130. public static GetType($typeName: string, $assemblyResolver: System.Func$2<System.Reflection.AssemblyName, System.Reflection.Assembly>, $typeResolver: System.Func$4<System.Reflection.Assembly, string, boolean, System.Type>, $throwOnError: boolean):System.Type;
  131. public static GetType($typeName: string, $assemblyResolver: System.Func$2<System.Reflection.AssemblyName, System.Reflection.Assembly>, $typeResolver: System.Func$4<System.Reflection.Assembly, string, boolean, System.Type>, $throwOnError: boolean, $ignoreCase: boolean):System.Type;
  132. public MakePointerType():System.Type;
  133. public MakeByRefType():System.Type;
  134. public MakeArrayType():System.Type;
  135. public MakeArrayType($rank: number):System.Type;
  136. public static GetTypeFromProgID($progID: string):System.Type;
  137. public static GetTypeFromProgID($progID: string, $throwOnError: boolean):System.Type;
  138. public static GetTypeFromProgID($progID: string, $server: string):System.Type;
  139. public static GetTypeFromProgID($progID: string, $server: string, $throwOnError: boolean):System.Type;
  140. public static GetTypeFromCLSID($clsid: System.Guid):System.Type;
  141. public static GetTypeFromCLSID($clsid: System.Guid, $throwOnError: boolean):System.Type;
  142. public static GetTypeFromCLSID($clsid: System.Guid, $server: string):System.Type;
  143. public static GetTypeFromCLSID($clsid: System.Guid, $server: string, $throwOnError: boolean):System.Type;
  144. public static GetTypeCode($type: System.Type):System.TypeCode;
  145. public InvokeMember($name: string, $invokeAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $target: any, $args: System.Array$1<any>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>, $culture: System.Globalization.CultureInfo, $namedParameters: System.Array$1<string>):any;
  146. public InvokeMember($name: string, $invokeAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $target: any, $args: System.Array$1<any>, $culture: System.Globalization.CultureInfo):any;
  147. public InvokeMember($name: string, $invokeAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $target: any, $args: System.Array$1<any>):any;
  148. public static GetTypeHandle($o: any):System.RuntimeTypeHandle;
  149. public GetArrayRank():number;
  150. public GetConstructor($bindingAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $callConvention: System.Reflection.CallingConventions, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>):System.Reflection.ConstructorInfo;
  151. public GetConstructor($bindingAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>):System.Reflection.ConstructorInfo;
  152. public GetConstructor($types: System.Array$1<System.Type>):System.Reflection.ConstructorInfo;
  153. public GetConstructors():System.Array$1<System.Reflection.ConstructorInfo>;
  154. public GetConstructors($bindingAttr: System.Reflection.BindingFlags):System.Array$1<System.Reflection.ConstructorInfo>;
  155. public GetMethod($name: string, $bindingAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $callConvention: System.Reflection.CallingConventions, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>):System.Reflection.MethodInfo;
  156. public GetMethod($name: string, $bindingAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>):System.Reflection.MethodInfo;
  157. public GetMethod($name: string, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>):System.Reflection.MethodInfo;
  158. public GetMethod($name: string, $types: System.Array$1<System.Type>):System.Reflection.MethodInfo;
  159. public GetMethod($name: string, $bindingAttr: System.Reflection.BindingFlags):System.Reflection.MethodInfo;
  160. public GetMethod($name: string):System.Reflection.MethodInfo;
  161. public GetMethods():System.Array$1<System.Reflection.MethodInfo>;
  162. public GetMethods($bindingAttr: System.Reflection.BindingFlags):System.Array$1<System.Reflection.MethodInfo>;
  163. public GetField($name: string, $bindingAttr: System.Reflection.BindingFlags):System.Reflection.FieldInfo;
  164. public GetField($name: string):System.Reflection.FieldInfo;
  165. public GetFields():System.Array$1<System.Reflection.FieldInfo>;
  166. public GetFields($bindingAttr: System.Reflection.BindingFlags):System.Array$1<System.Reflection.FieldInfo>;
  167. public GetInterface($name: string):System.Type;
  168. public GetInterface($name: string, $ignoreCase: boolean):System.Type;
  169. public GetInterfaces():System.Array$1<System.Type>;
  170. public FindInterfaces($filter: System.Reflection.TypeFilter, $filterCriteria: any):System.Array$1<System.Type>;
  171. public GetEvent($name: string):System.Reflection.EventInfo;
  172. public GetEvent($name: string, $bindingAttr: System.Reflection.BindingFlags):System.Reflection.EventInfo;
  173. public GetEvents():System.Array$1<System.Reflection.EventInfo>;
  174. public GetEvents($bindingAttr: System.Reflection.BindingFlags):System.Array$1<System.Reflection.EventInfo>;
  175. public GetProperty($name: string, $bindingAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $returnType: System.Type, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>):System.Reflection.PropertyInfo;
  176. public GetProperty($name: string, $returnType: System.Type, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>):System.Reflection.PropertyInfo;
  177. public GetProperty($name: string, $bindingAttr: System.Reflection.BindingFlags):System.Reflection.PropertyInfo;
  178. public GetProperty($name: string, $returnType: System.Type, $types: System.Array$1<System.Type>):System.Reflection.PropertyInfo;
  179. public GetProperty($name: string, $types: System.Array$1<System.Type>):System.Reflection.PropertyInfo;
  180. public GetProperty($name: string, $returnType: System.Type):System.Reflection.PropertyInfo;
  181. public GetProperty($name: string):System.Reflection.PropertyInfo;
  182. public GetProperties($bindingAttr: System.Reflection.BindingFlags):System.Array$1<System.Reflection.PropertyInfo>;
  183. public GetProperties():System.Array$1<System.Reflection.PropertyInfo>;
  184. public GetNestedTypes():System.Array$1<System.Type>;
  185. public GetNestedTypes($bindingAttr: System.Reflection.BindingFlags):System.Array$1<System.Type>;
  186. public GetNestedType($name: string):System.Type;
  187. public GetNestedType($name: string, $bindingAttr: System.Reflection.BindingFlags):System.Type;
  188. public GetMember($name: string):System.Array$1<System.Reflection.MemberInfo>;
  189. public GetMember($name: string, $bindingAttr: System.Reflection.BindingFlags):System.Array$1<System.Reflection.MemberInfo>;
  190. public GetMember($name: string, $type: System.Reflection.MemberTypes, $bindingAttr: System.Reflection.BindingFlags):System.Array$1<System.Reflection.MemberInfo>;
  191. public GetMembers():System.Array$1<System.Reflection.MemberInfo>;
  192. public GetMembers($bindingAttr: System.Reflection.BindingFlags):System.Array$1<System.Reflection.MemberInfo>;
  193. public GetDefaultMembers():System.Array$1<System.Reflection.MemberInfo>;
  194. public FindMembers($memberType: System.Reflection.MemberTypes, $bindingAttr: System.Reflection.BindingFlags, $filter: System.Reflection.MemberFilter, $filterCriteria: any):System.Array$1<System.Reflection.MemberInfo>;
  195. public GetGenericParameterConstraints():System.Array$1<System.Type>;
  196. public MakeGenericType(...typeArguments: System.Type[]):System.Type;
  197. public GetElementType():System.Type;
  198. public GetGenericArguments():System.Array$1<System.Type>;
  199. public GetGenericTypeDefinition():System.Type;
  200. public GetEnumNames():System.Array$1<string>;
  201. public GetEnumValues():System.Array;
  202. public GetEnumUnderlyingType():System.Type;
  203. public IsEnumDefined($value: any):boolean;
  204. public GetEnumName($value: any):string;
  205. public IsSubclassOf($c: System.Type):boolean;
  206. public IsInstanceOfType($o: any):boolean;
  207. public IsAssignableFrom($c: System.Type):boolean;
  208. public IsEquivalentTo($other: System.Type):boolean;
  209. public static GetTypeArray($args: System.Array$1<any>):System.Array$1<System.Type>;
  210. public Equals($o: any):boolean;
  211. public Equals($o: System.Type):boolean;
  212. public static op_Equality($left: System.Type, $right: System.Type):boolean;
  213. public static op_Inequality($left: System.Type, $right: System.Type):boolean;
  214. public GetInterfaceMap($interfaceType: System.Type):System.Reflection.InterfaceMapping;
  215. public GetType():System.Type;
  216. public static GetType($typeName: string):System.Type;
  217. public static GetType($typeName: string, $throwOnError: boolean):System.Type;
  218. public static GetType($typeName: string, $throwOnError: boolean, $ignoreCase: boolean):System.Type;
  219. public static ReflectionOnlyGetType($typeName: string, $throwIfNotFound: boolean, $ignoreCase: boolean):System.Type;
  220. public static GetTypeFromHandle($handle: System.RuntimeTypeHandle):System.Type;
  221. public GetType():System.Type;
  222. }
  223. class String extends System.Object {
  224. }
  225. class Array extends System.Object {
  226. public LongLength: bigint;
  227. public IsFixedSize: boolean;
  228. public IsReadOnly: boolean;
  229. public IsSynchronized: boolean;
  230. public SyncRoot: any;
  231. public Length: number;
  232. public Rank: number;
  233. public static CreateInstance($elementType: System.Type, ...lengths: bigint[]):System.Array;
  234. public CopyTo($array: System.Array, $index: number):void;
  235. public Clone():any;
  236. public static BinarySearch($array: System.Array, $value: any):number;
  237. public static Copy($sourceArray: System.Array, $destinationArray: System.Array, $length: bigint):void;
  238. public static Copy($sourceArray: System.Array, $sourceIndex: bigint, $destinationArray: System.Array, $destinationIndex: bigint, $length: bigint):void;
  239. public CopyTo($array: System.Array, $index: bigint):void;
  240. public GetLongLength($dimension: number):bigint;
  241. public GetValue($index: bigint):any;
  242. public GetValue($index1: bigint, $index2: bigint):any;
  243. public GetValue($index1: bigint, $index2: bigint, $index3: bigint):any;
  244. public GetValue(...indices: bigint[]):any;
  245. public static BinarySearch($array: System.Array, $index: number, $length: number, $value: any):number;
  246. public static BinarySearch($array: System.Array, $value: any, $comparer: System.Collections.IComparer):number;
  247. public static BinarySearch($array: System.Array, $index: number, $length: number, $value: any, $comparer: System.Collections.IComparer):number;
  248. public static IndexOf($array: System.Array, $value: any):number;
  249. public static IndexOf($array: System.Array, $value: any, $startIndex: number):number;
  250. public static IndexOf($array: System.Array, $value: any, $startIndex: number, $count: number):number;
  251. public static LastIndexOf($array: System.Array, $value: any):number;
  252. public static LastIndexOf($array: System.Array, $value: any, $startIndex: number):number;
  253. public static LastIndexOf($array: System.Array, $value: any, $startIndex: number, $count: number):number;
  254. public static Reverse($array: System.Array):void;
  255. public static Reverse($array: System.Array, $index: number, $length: number):void;
  256. public SetValue($value: any, $index: bigint):void;
  257. public SetValue($value: any, $index1: bigint, $index2: bigint):void;
  258. public SetValue($value: any, $index1: bigint, $index2: bigint, $index3: bigint):void;
  259. public SetValue($value: any, ...indices: bigint[]):void;
  260. public static Sort($array: System.Array):void;
  261. public static Sort($array: System.Array, $index: number, $length: number):void;
  262. public static Sort($array: System.Array, $comparer: System.Collections.IComparer):void;
  263. public static Sort($array: System.Array, $index: number, $length: number, $comparer: System.Collections.IComparer):void;
  264. public static Sort($keys: System.Array, $items: System.Array):void;
  265. public static Sort($keys: System.Array, $items: System.Array, $comparer: System.Collections.IComparer):void;
  266. public static Sort($keys: System.Array, $items: System.Array, $index: number, $length: number):void;
  267. public static Sort($keys: System.Array, $items: System.Array, $index: number, $length: number, $comparer: System.Collections.IComparer):void;
  268. public GetEnumerator():System.Collections.IEnumerator;
  269. public GetLength($dimension: number):number;
  270. public GetLowerBound($dimension: number):number;
  271. public GetValue(...indices: number[]):any;
  272. public SetValue($value: any, ...indices: number[]):void;
  273. public GetUpperBound($dimension: number):number;
  274. public GetValue($index: number):any;
  275. public GetValue($index1: number, $index2: number):any;
  276. public GetValue($index1: number, $index2: number, $index3: number):any;
  277. public SetValue($value: any, $index: number):void;
  278. public SetValue($value: any, $index1: number, $index2: number):void;
  279. public SetValue($value: any, $index1: number, $index2: number, $index3: number):void;
  280. public static CreateInstance($elementType: System.Type, $length: number):System.Array;
  281. public static CreateInstance($elementType: System.Type, $length1: number, $length2: number):System.Array;
  282. public static CreateInstance($elementType: System.Type, $length1: number, $length2: number, $length3: number):System.Array;
  283. public static CreateInstance($elementType: System.Type, ...lengths: number[]):System.Array;
  284. public static CreateInstance($elementType: System.Type, $lengths: System.Array$1<number>, $lowerBounds: System.Array$1<number>):System.Array;
  285. public static Clear($array: System.Array, $index: number, $length: number):void;
  286. public static Copy($sourceArray: System.Array, $destinationArray: System.Array, $length: number):void;
  287. public static Copy($sourceArray: System.Array, $sourceIndex: number, $destinationArray: System.Array, $destinationIndex: number, $length: number):void;
  288. public static ConstrainedCopy($sourceArray: System.Array, $sourceIndex: number, $destinationArray: System.Array, $destinationIndex: number, $length: number):void;
  289. public Initialize():void;
  290. }
  291. class Int64 extends System.ValueType {
  292. }
  293. class Char extends System.ValueType {
  294. }
  295. class Enum extends System.ValueType {
  296. }
  297. type Func$2<T,TResult> = (arg: T) => TResult;
  298. type Func$4<T1,T2,T3,TResult> = (arg1: T1, arg2: T2, arg3: T3) => TResult;
  299. class Attribute extends System.Object {
  300. }
  301. class Guid extends System.ValueType {
  302. }
  303. enum TypeCode { Empty = 0, Object = 1, DBNull = 2, Boolean = 3, Char = 4, SByte = 5, Byte = 6, Int16 = 7, UInt16 = 8, Int32 = 9, UInt32 = 10, Int64 = 11, UInt64 = 12, Single = 13, Double = 14, Decimal = 15, DateTime = 16, String = 18 }
  304. class RuntimeTypeHandle extends System.ValueType {
  305. }
  306. class MarshalByRefObject extends System.Object {
  307. }
  308. class DateTime extends System.ValueType {
  309. }
  310. class Byte extends System.ValueType {
  311. }
  312. class Single extends System.ValueType {
  313. }
  314. interface Single {
  315. FormattedString($fractionDigits?: number):string;
  316. }
  317. class UInt32 extends System.ValueType {
  318. }
  319. class UInt64 extends System.ValueType {
  320. }
  321. class Double extends System.ValueType {
  322. }
  323. class IntPtr extends System.ValueType {
  324. }
  325. type Func$1<TResult> = () => TResult;
  326. type Action = () => void;
  327. var Action: {new (func: () => void): Action;}
  328. class Exception extends System.Object {
  329. }
  330. class UInt16 extends System.ValueType {
  331. }
  332. type Action$2<T1,T2> = (arg1: T1, arg2: T2) => void;
  333. type Action$3<T1,T2,T3> = (arg1: T1, arg2: T2, arg3: T3) => void;
  334. class Nullable$1<T> extends System.ValueType {
  335. }
  336. class Int16 extends System.ValueType {
  337. }
  338. }
  339. namespace System.Collections.Generic {
  340. interface IList$1<T> {
  341. get_Item($index: number):T;
  342. set_Item($index: number, $value: T):void;
  343. IndexOf($item: T):number;
  344. Insert($index: number, $item: T):void;
  345. RemoveAt($index: number):void;
  346. }
  347. class List$1<T> extends System.Object {
  348. public Capacity: number;
  349. public Count: number;
  350. public constructor();
  351. public constructor($capacity: number);
  352. public constructor($collection: System.Collections.Generic.IEnumerable$1<T>);
  353. public get_Item($index: number):T;
  354. public set_Item($index: number, $value: T):void;
  355. public Add($item: T):void;
  356. public AddRange($collection: System.Collections.Generic.IEnumerable$1<T>):void;
  357. public AsReadOnly():System.Collections.ObjectModel.ReadOnlyCollection$1<T>;
  358. public BinarySearch($index: number, $count: number, $item: T, $comparer: System.Collections.Generic.IComparer$1<T>):number;
  359. public BinarySearch($item: T):number;
  360. public BinarySearch($item: T, $comparer: System.Collections.Generic.IComparer$1<T>):number;
  361. public Clear():void;
  362. public Contains($item: T):boolean;
  363. public CopyTo($array: System.Array$1<T>):void;
  364. public CopyTo($index: number, $array: System.Array$1<T>, $arrayIndex: number, $count: number):void;
  365. public CopyTo($array: System.Array$1<T>, $arrayIndex: number):void;
  366. public Exists($match: System.Predicate$1<T>):boolean;
  367. public Find($match: System.Predicate$1<T>):T;
  368. public FindAll($match: System.Predicate$1<T>):System.Collections.Generic.List$1<T>;
  369. public FindIndex($match: System.Predicate$1<T>):number;
  370. public FindIndex($startIndex: number, $match: System.Predicate$1<T>):number;
  371. public FindIndex($startIndex: number, $count: number, $match: System.Predicate$1<T>):number;
  372. public FindLast($match: System.Predicate$1<T>):T;
  373. public FindLastIndex($match: System.Predicate$1<T>):number;
  374. public FindLastIndex($startIndex: number, $match: System.Predicate$1<T>):number;
  375. public FindLastIndex($startIndex: number, $count: number, $match: System.Predicate$1<T>):number;
  376. public ForEach($action: System.Action$1<T>):void;
  377. public GetEnumerator():System.Collections.Generic.List$1.Enumerator<T>;
  378. public GetRange($index: number, $count: number):System.Collections.Generic.List$1<T>;
  379. public IndexOf($item: T):number;
  380. public IndexOf($item: T, $index: number):number;
  381. public IndexOf($item: T, $index: number, $count: number):number;
  382. public Insert($index: number, $item: T):void;
  383. public InsertRange($index: number, $collection: System.Collections.Generic.IEnumerable$1<T>):void;
  384. public LastIndexOf($item: T):number;
  385. public LastIndexOf($item: T, $index: number):number;
  386. public LastIndexOf($item: T, $index: number, $count: number):number;
  387. public Remove($item: T):boolean;
  388. public RemoveAll($match: System.Predicate$1<T>):number;
  389. public RemoveAt($index: number):void;
  390. public RemoveRange($index: number, $count: number):void;
  391. public Reverse():void;
  392. public Reverse($index: number, $count: number):void;
  393. public Sort():void;
  394. public Sort($comparer: System.Collections.Generic.IComparer$1<T>):void;
  395. public Sort($index: number, $count: number, $comparer: System.Collections.Generic.IComparer$1<T>):void;
  396. public Sort($comparison: System.Comparison$1<T>):void;
  397. public ToArray():System.Array$1<T>;
  398. public TrimExcess():void;
  399. public TrueForAll($match: System.Predicate$1<T>):boolean;
  400. }
  401. interface IEnumerable$1<T> {
  402. }
  403. interface IComparer$1<T> {
  404. }
  405. class Dictionary$2<TKey,TValue> extends System.Object {
  406. public Comparer: System.Collections.Generic.IEqualityComparer$1<TKey>;
  407. public Count: number;
  408. public Keys: System.Collections.Generic.Dictionary$2.KeyCollection<TKey, TValue>;
  409. public Values: System.Collections.Generic.Dictionary$2.ValueCollection<TKey, TValue>;
  410. public constructor();
  411. public constructor($capacity: number);
  412. public constructor($comparer: System.Collections.Generic.IEqualityComparer$1<TKey>);
  413. public constructor($capacity: number, $comparer: System.Collections.Generic.IEqualityComparer$1<TKey>);
  414. public get_Item($key: TKey):TValue;
  415. public set_Item($key: TKey, $value: TValue):void;
  416. public Add($key: TKey, $value: TValue):void;
  417. public Clear():void;
  418. public ContainsKey($key: TKey):boolean;
  419. public ContainsValue($value: TValue):boolean;
  420. public GetEnumerator():System.Collections.Generic.Dictionary$2.Enumerator<TKey, TValue>;
  421. public GetObjectData($info: System.Runtime.Serialization.SerializationInfo, $context: System.Runtime.Serialization.StreamingContext):void;
  422. public OnDeserialization($sender: any):void;
  423. public Remove($key: TKey):boolean;
  424. public TryGetValue($key: TKey, $value: $Ref<TValue>):boolean;
  425. }
  426. interface IEqualityComparer$1<T> {
  427. }
  428. interface IDictionary$2<TKey,TValue> {
  429. Keys: System.Collections.Generic.ICollection$1<TKey>;
  430. Values: System.Collections.Generic.ICollection$1<TValue>;
  431. get_Item($key: TKey):TValue;
  432. set_Item($key: TKey, $value: TValue):void;
  433. ContainsKey($key: TKey):boolean;
  434. Add($key: TKey, $value: TValue):void;
  435. Remove($key: TKey):boolean;
  436. TryGetValue($key: TKey, $value: $Ref<TValue>):boolean;
  437. }
  438. class KeyValuePair$2<TKey,TValue> extends System.ValueType {
  439. }
  440. interface ICollection$1<T> {
  441. }
  442. interface IEnumerator$1<T> {
  443. }
  444. }
  445. namespace System.Collections.ObjectModel {
  446. class ReadOnlyCollection$1<T> extends System.Object {
  447. }
  448. }
  449. namespace System.Collections.Generic.List$1 {
  450. class Enumerator<T> extends System.ValueType {
  451. }
  452. }
  453. namespace System.Collections.Generic.Dictionary$2 {
  454. class KeyCollection<TKey,TValue> extends System.Object {
  455. }
  456. class ValueCollection<TKey,TValue> extends System.Object {
  457. }
  458. class Enumerator<TKey,TValue> extends System.ValueType {
  459. }
  460. }
  461. namespace System.Runtime.Serialization {
  462. class SerializationInfo extends System.Object {
  463. }
  464. class StreamingContext extends System.ValueType {
  465. }
  466. }
  467. namespace System.Reflection {
  468. class MethodInfo extends System.Reflection.MethodBase {
  469. }
  470. class MethodBase extends System.Reflection.MemberInfo {
  471. }
  472. class MemberInfo extends System.Object {
  473. }
  474. type MemberFilter = (m: System.Reflection.MemberInfo, filterCriteria: any) => boolean;
  475. var MemberFilter: {new (func: (m: System.Reflection.MemberInfo, filterCriteria: any) => boolean): MemberFilter;}
  476. enum MemberTypes { Constructor = 1, Event = 2, Field = 4, Method = 8, Property = 16, TypeInfo = 32, Custom = 64, NestedType = 128, All = 191 }
  477. class AssemblyName extends System.Object {
  478. }
  479. class Assembly extends System.Object {
  480. }
  481. class Binder extends System.Object {
  482. }
  483. enum BindingFlags { Default = 0, IgnoreCase = 1, DeclaredOnly = 2, Instance = 4, Static = 8, Public = 16, NonPublic = 32, FlattenHierarchy = 64, InvokeMethod = 256, CreateInstance = 512, GetField = 1024, SetField = 2048, GetProperty = 4096, SetProperty = 8192, PutDispProperty = 16384, PutRefDispProperty = 32768, ExactBinding = 65536, SuppressChangeType = 131072, OptionalParamBinding = 262144, IgnoreReturn = 16777216 }
  484. class ParameterModifier extends System.ValueType {
  485. }
  486. class Module extends System.Object {
  487. }
  488. class ConstructorInfo extends System.Reflection.MethodBase {
  489. }
  490. enum CallingConventions { Standard = 1, VarArgs = 2, Any = 3, HasThis = 32, ExplicitThis = 64 }
  491. class FieldInfo extends System.Reflection.MemberInfo {
  492. }
  493. type TypeFilter = (m: System.Type, filterCriteria: any) => boolean;
  494. var TypeFilter: {new (func: (m: System.Type, filterCriteria: any) => boolean): TypeFilter;}
  495. class EventInfo extends System.Reflection.MemberInfo {
  496. }
  497. class PropertyInfo extends System.Reflection.MemberInfo {
  498. }
  499. enum TypeAttributes { VisibilityMask = 7, NotPublic = 0, Public = 1, NestedPublic = 2, NestedPrivate = 3, NestedFamily = 4, NestedAssembly = 5, NestedFamANDAssem = 6, NestedFamORAssem = 7, LayoutMask = 24, AutoLayout = 0, SequentialLayout = 8, ExplicitLayout = 16, ClassSemanticsMask = 32, Class = 0, Interface = 32, Abstract = 128, Sealed = 256, SpecialName = 1024, Import = 4096, Serializable = 8192, WindowsRuntime = 16384, StringFormatMask = 196608, AnsiClass = 0, UnicodeClass = 65536, AutoClass = 131072, CustomFormatClass = 196608, CustomFormatMask = 12582912, BeforeFieldInit = 1048576, ReservedMask = 264192, RTSpecialName = 2048, HasSecurity = 262144 }
  500. enum GenericParameterAttributes { None = 0, VarianceMask = 3, Covariant = 1, Contravariant = 2, SpecialConstraintMask = 28, ReferenceTypeConstraint = 4, NotNullableValueTypeConstraint = 8, DefaultConstructorConstraint = 16 }
  501. class InterfaceMapping extends System.ValueType {
  502. }
  503. }
  504. namespace System.Collections {
  505. interface IComparer {
  506. }
  507. interface IEnumerator {
  508. }
  509. interface IList {
  510. }
  511. interface IDictionary {
  512. }
  513. class Hashtable extends System.Object {
  514. }
  515. }
  516. namespace System.Runtime.InteropServices {
  517. class StructLayoutAttribute extends System.Attribute {
  518. }
  519. }
  520. namespace System.Globalization {
  521. class CultureInfo extends System.Object {
  522. }
  523. }
  524. namespace System.IO {
  525. class File extends System.Object {
  526. public static AppendAllText($path: string, $contents: string):void;
  527. public static AppendAllText($path: string, $contents: string, $encoding: System.Text.Encoding):void;
  528. public static AppendText($path: string):System.IO.StreamWriter;
  529. public static Copy($sourceFileName: string, $destFileName: string):void;
  530. public static Copy($sourceFileName: string, $destFileName: string, $overwrite: boolean):void;
  531. public static Create($path: string):System.IO.FileStream;
  532. public static Create($path: string, $bufferSize: number):System.IO.FileStream;
  533. public static Create($path: string, $bufferSize: number, $options: System.IO.FileOptions):System.IO.FileStream;
  534. public static Create($path: string, $bufferSize: number, $options: System.IO.FileOptions, $fileSecurity: System.Security.AccessControl.FileSecurity):System.IO.FileStream;
  535. public static CreateText($path: string):System.IO.StreamWriter;
  536. public static Delete($path: string):void;
  537. public static Exists($path: string):boolean;
  538. public static GetAccessControl($path: string):System.Security.AccessControl.FileSecurity;
  539. public static GetAccessControl($path: string, $includeSections: System.Security.AccessControl.AccessControlSections):System.Security.AccessControl.FileSecurity;
  540. public static GetAttributes($path: string):System.IO.FileAttributes;
  541. public static GetCreationTime($path: string):Date;
  542. public static GetCreationTimeUtc($path: string):Date;
  543. public static GetLastAccessTime($path: string):Date;
  544. public static GetLastAccessTimeUtc($path: string):Date;
  545. public static GetLastWriteTime($path: string):Date;
  546. public static GetLastWriteTimeUtc($path: string):Date;
  547. public static Move($sourceFileName: string, $destFileName: string):void;
  548. public static Open($path: string, $mode: System.IO.FileMode):System.IO.FileStream;
  549. public static Open($path: string, $mode: System.IO.FileMode, $access: System.IO.FileAccess):System.IO.FileStream;
  550. public static Open($path: string, $mode: System.IO.FileMode, $access: System.IO.FileAccess, $share: System.IO.FileShare):System.IO.FileStream;
  551. public static OpenRead($path: string):System.IO.FileStream;
  552. public static OpenText($path: string):System.IO.StreamReader;
  553. public static OpenWrite($path: string):System.IO.FileStream;
  554. public static Replace($sourceFileName: string, $destinationFileName: string, $destinationBackupFileName: string):void;
  555. public static Replace($sourceFileName: string, $destinationFileName: string, $destinationBackupFileName: string, $ignoreMetadataErrors: boolean):void;
  556. public static SetAccessControl($path: string, $fileSecurity: System.Security.AccessControl.FileSecurity):void;
  557. public static SetAttributes($path: string, $fileAttributes: System.IO.FileAttributes):void;
  558. public static SetCreationTime($path: string, $creationTime: Date):void;
  559. public static SetCreationTimeUtc($path: string, $creationTimeUtc: Date):void;
  560. public static SetLastAccessTime($path: string, $lastAccessTime: Date):void;
  561. public static SetLastAccessTimeUtc($path: string, $lastAccessTimeUtc: Date):void;
  562. public static SetLastWriteTime($path: string, $lastWriteTime: Date):void;
  563. public static SetLastWriteTimeUtc($path: string, $lastWriteTimeUtc: Date):void;
  564. public static ReadAllBytes($path: string):System.Array$1<number>;
  565. public static ReadAllLines($path: string):System.Array$1<string>;
  566. public static ReadAllLines($path: string, $encoding: System.Text.Encoding):System.Array$1<string>;
  567. public static ReadAllText($path: string):string;
  568. public static ReadAllText($path: string, $encoding: System.Text.Encoding):string;
  569. public static WriteAllBytes($path: string, $bytes: System.Array$1<number>):void;
  570. public static WriteAllLines($path: string, $contents: System.Array$1<string>):void;
  571. public static WriteAllLines($path: string, $contents: System.Array$1<string>, $encoding: System.Text.Encoding):void;
  572. public static WriteAllText($path: string, $contents: string):void;
  573. public static WriteAllText($path: string, $contents: string, $encoding: System.Text.Encoding):void;
  574. public static Encrypt($path: string):void;
  575. public static Decrypt($path: string):void;
  576. public static ReadLines($path: string):System.Collections.Generic.IEnumerable$1<string>;
  577. public static ReadLines($path: string, $encoding: System.Text.Encoding):System.Collections.Generic.IEnumerable$1<string>;
  578. public static AppendAllLines($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>):void;
  579. public static AppendAllLines($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>, $encoding: System.Text.Encoding):void;
  580. public static WriteAllLines($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>):void;
  581. public static WriteAllLines($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>, $encoding: System.Text.Encoding):void;
  582. }
  583. class StreamWriter extends System.IO.TextWriter {
  584. }
  585. class TextWriter extends System.MarshalByRefObject {
  586. }
  587. class FileStream extends System.IO.Stream {
  588. }
  589. class Stream extends System.MarshalByRefObject {
  590. }
  591. enum FileOptions { None = 0, Encrypted = 16384, DeleteOnClose = 67108864, SequentialScan = 134217728, RandomAccess = 268435456, Asynchronous = 1073741824, WriteThrough = -2147483648 }
  592. enum FileAttributes { Archive = 32, Compressed = 2048, Device = 64, Directory = 16, Encrypted = 16384, Hidden = 2, Normal = 128, NotContentIndexed = 8192, Offline = 4096, ReadOnly = 1, ReparsePoint = 1024, SparseFile = 512, System = 4, Temporary = 256, IntegrityStream = 32768, NoScrubData = 131072 }
  593. enum FileMode { CreateNew = 1, Create = 2, Open = 3, OpenOrCreate = 4, Truncate = 5, Append = 6 }
  594. enum FileAccess { Read = 1, Write = 2, ReadWrite = 3 }
  595. enum FileShare { None = 0, Read = 1, Write = 2, ReadWrite = 3, Delete = 4, Inheritable = 16 }
  596. class StreamReader extends System.IO.TextReader {
  597. }
  598. class TextReader extends System.MarshalByRefObject {
  599. }
  600. class Directory extends System.Object {
  601. public static GetFiles($path: string):System.Array$1<string>;
  602. public static GetFiles($path: string, $searchPattern: string):System.Array$1<string>;
  603. public static GetFiles($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption):System.Array$1<string>;
  604. public static GetDirectories($path: string):System.Array$1<string>;
  605. public static GetDirectories($path: string, $searchPattern: string):System.Array$1<string>;
  606. public static GetDirectories($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption):System.Array$1<string>;
  607. public static GetFileSystemEntries($path: string):System.Array$1<string>;
  608. public static GetFileSystemEntries($path: string, $searchPattern: string):System.Array$1<string>;
  609. public static GetFileSystemEntries($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption):System.Array$1<string>;
  610. public static EnumerateDirectories($path: string):System.Collections.Generic.IEnumerable$1<string>;
  611. public static EnumerateDirectories($path: string, $searchPattern: string):System.Collections.Generic.IEnumerable$1<string>;
  612. public static EnumerateDirectories($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption):System.Collections.Generic.IEnumerable$1<string>;
  613. public static EnumerateFiles($path: string):System.Collections.Generic.IEnumerable$1<string>;
  614. public static EnumerateFiles($path: string, $searchPattern: string):System.Collections.Generic.IEnumerable$1<string>;
  615. public static EnumerateFiles($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption):System.Collections.Generic.IEnumerable$1<string>;
  616. public static EnumerateFileSystemEntries($path: string):System.Collections.Generic.IEnumerable$1<string>;
  617. public static EnumerateFileSystemEntries($path: string, $searchPattern: string):System.Collections.Generic.IEnumerable$1<string>;
  618. public static EnumerateFileSystemEntries($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption):System.Collections.Generic.IEnumerable$1<string>;
  619. public static GetDirectoryRoot($path: string):string;
  620. public static CreateDirectory($path: string):System.IO.DirectoryInfo;
  621. public static CreateDirectory($path: string, $directorySecurity: System.Security.AccessControl.DirectorySecurity):System.IO.DirectoryInfo;
  622. public static Delete($path: string):void;
  623. public static Delete($path: string, $recursive: boolean):void;
  624. public static Exists($path: string):boolean;
  625. public static GetLastAccessTime($path: string):Date;
  626. public static GetLastAccessTimeUtc($path: string):Date;
  627. public static GetLastWriteTime($path: string):Date;
  628. public static GetLastWriteTimeUtc($path: string):Date;
  629. public static GetCreationTime($path: string):Date;
  630. public static GetCreationTimeUtc($path: string):Date;
  631. public static GetCurrentDirectory():string;
  632. public static GetLogicalDrives():System.Array$1<string>;
  633. public static GetParent($path: string):System.IO.DirectoryInfo;
  634. public static Move($sourceDirName: string, $destDirName: string):void;
  635. public static SetAccessControl($path: string, $directorySecurity: System.Security.AccessControl.DirectorySecurity):void;
  636. public static SetCreationTime($path: string, $creationTime: Date):void;
  637. public static SetCreationTimeUtc($path: string, $creationTimeUtc: Date):void;
  638. public static SetCurrentDirectory($path: string):void;
  639. public static SetLastAccessTime($path: string, $lastAccessTime: Date):void;
  640. public static SetLastAccessTimeUtc($path: string, $lastAccessTimeUtc: Date):void;
  641. public static SetLastWriteTime($path: string, $lastWriteTime: Date):void;
  642. public static SetLastWriteTimeUtc($path: string, $lastWriteTimeUtc: Date):void;
  643. public static GetAccessControl($path: string, $includeSections: System.Security.AccessControl.AccessControlSections):System.Security.AccessControl.DirectorySecurity;
  644. public static GetAccessControl($path: string):System.Security.AccessControl.DirectorySecurity;
  645. }
  646. enum SearchOption { TopDirectoryOnly = 0, AllDirectories = 1 }
  647. class DirectoryInfo extends System.IO.FileSystemInfo {
  648. public Exists: boolean;
  649. public Name: string;
  650. public Parent: System.IO.DirectoryInfo;
  651. public Root: System.IO.DirectoryInfo;
  652. public constructor($path: string);
  653. public Create():void;
  654. public CreateSubdirectory($path: string):System.IO.DirectoryInfo;
  655. public GetFiles():System.Array$1<System.IO.FileInfo>;
  656. public GetFiles($searchPattern: string):System.Array$1<System.IO.FileInfo>;
  657. public GetDirectories():System.Array$1<System.IO.DirectoryInfo>;
  658. public GetDirectories($searchPattern: string):System.Array$1<System.IO.DirectoryInfo>;
  659. public GetFileSystemInfos():System.Array$1<System.IO.FileSystemInfo>;
  660. public GetFileSystemInfos($searchPattern: string):System.Array$1<System.IO.FileSystemInfo>;
  661. public GetFileSystemInfos($searchPattern: string, $searchOption: System.IO.SearchOption):System.Array$1<System.IO.FileSystemInfo>;
  662. public Delete():void;
  663. public Delete($recursive: boolean):void;
  664. public MoveTo($destDirName: string):void;
  665. public GetDirectories($searchPattern: string, $searchOption: System.IO.SearchOption):System.Array$1<System.IO.DirectoryInfo>;
  666. public GetFiles($searchPattern: string, $searchOption: System.IO.SearchOption):System.Array$1<System.IO.FileInfo>;
  667. public Create($directorySecurity: System.Security.AccessControl.DirectorySecurity):void;
  668. public CreateSubdirectory($path: string, $directorySecurity: System.Security.AccessControl.DirectorySecurity):System.IO.DirectoryInfo;
  669. public GetAccessControl():System.Security.AccessControl.DirectorySecurity;
  670. public GetAccessControl($includeSections: System.Security.AccessControl.AccessControlSections):System.Security.AccessControl.DirectorySecurity;
  671. public SetAccessControl($directorySecurity: System.Security.AccessControl.DirectorySecurity):void;
  672. public EnumerateDirectories():System.Collections.Generic.IEnumerable$1<System.IO.DirectoryInfo>;
  673. public EnumerateDirectories($searchPattern: string):System.Collections.Generic.IEnumerable$1<System.IO.DirectoryInfo>;
  674. public EnumerateDirectories($searchPattern: string, $searchOption: System.IO.SearchOption):System.Collections.Generic.IEnumerable$1<System.IO.DirectoryInfo>;
  675. public EnumerateFiles():System.Collections.Generic.IEnumerable$1<System.IO.FileInfo>;
  676. public EnumerateFiles($searchPattern: string):System.Collections.Generic.IEnumerable$1<System.IO.FileInfo>;
  677. public EnumerateFiles($searchPattern: string, $searchOption: System.IO.SearchOption):System.Collections.Generic.IEnumerable$1<System.IO.FileInfo>;
  678. public EnumerateFileSystemInfos():System.Collections.Generic.IEnumerable$1<System.IO.FileSystemInfo>;
  679. public EnumerateFileSystemInfos($searchPattern: string):System.Collections.Generic.IEnumerable$1<System.IO.FileSystemInfo>;
  680. public EnumerateFileSystemInfos($searchPattern: string, $searchOption: System.IO.SearchOption):System.Collections.Generic.IEnumerable$1<System.IO.FileSystemInfo>;
  681. }
  682. class FileSystemInfo extends System.MarshalByRefObject {
  683. }
  684. class FileInfo extends System.IO.FileSystemInfo {
  685. public Name: string;
  686. public Length: bigint;
  687. public DirectoryName: string;
  688. public Directory: System.IO.DirectoryInfo;
  689. public IsReadOnly: boolean;
  690. public Exists: boolean;
  691. public constructor($fileName: string);
  692. public GetAccessControl():System.Security.AccessControl.FileSecurity;
  693. public GetAccessControl($includeSections: System.Security.AccessControl.AccessControlSections):System.Security.AccessControl.FileSecurity;
  694. public SetAccessControl($fileSecurity: System.Security.AccessControl.FileSecurity):void;
  695. public OpenText():System.IO.StreamReader;
  696. public CreateText():System.IO.StreamWriter;
  697. public AppendText():System.IO.StreamWriter;
  698. public CopyTo($destFileName: string):System.IO.FileInfo;
  699. public CopyTo($destFileName: string, $overwrite: boolean):System.IO.FileInfo;
  700. public Create():System.IO.FileStream;
  701. public Delete():void;
  702. public Decrypt():void;
  703. public Encrypt():void;
  704. public Open($mode: System.IO.FileMode):System.IO.FileStream;
  705. public Open($mode: System.IO.FileMode, $access: System.IO.FileAccess):System.IO.FileStream;
  706. public Open($mode: System.IO.FileMode, $access: System.IO.FileAccess, $share: System.IO.FileShare):System.IO.FileStream;
  707. public OpenRead():System.IO.FileStream;
  708. public OpenWrite():System.IO.FileStream;
  709. public MoveTo($destFileName: string):void;
  710. public Replace($destinationFileName: string, $destinationBackupFileName: string):System.IO.FileInfo;
  711. public Replace($destinationFileName: string, $destinationBackupFileName: string, $ignoreMetadataErrors: boolean):System.IO.FileInfo;
  712. }
  713. class Path extends System.Object {
  714. public static AltDirectorySeparatorChar: number;
  715. public static DirectorySeparatorChar: number;
  716. public static PathSeparator: number;
  717. public static VolumeSeparatorChar: number;
  718. public static ChangeExtension($path: string, $extension: string):string;
  719. public static Combine($path1: string, $path2: string):string;
  720. public static GetDirectoryName($path: string):string;
  721. public static GetExtension($path: string):string;
  722. public static GetFileName($path: string):string;
  723. public static GetFileNameWithoutExtension($path: string):string;
  724. public static GetFullPath($path: string):string;
  725. public static GetPathRoot($path: string):string;
  726. public static GetTempFileName():string;
  727. public static GetTempPath():string;
  728. public static HasExtension($path: string):boolean;
  729. public static IsPathRooted($path: string):boolean;
  730. public static GetInvalidFileNameChars():System.Array$1<number>;
  731. public static GetInvalidPathChars():System.Array$1<number>;
  732. public static GetRandomFileName():string;
  733. public static Combine(...paths: string[]):string;
  734. public static Combine($path1: string, $path2: string, $path3: string):string;
  735. public static Combine($path1: string, $path2: string, $path3: string, $path4: string):string;
  736. }
  737. }
  738. namespace System.Text {
  739. class Encoding extends System.Object {
  740. }
  741. class StringBuilder extends System.Object {
  742. }
  743. }
  744. namespace System.Security.AccessControl {
  745. class FileSecurity extends System.Security.AccessControl.FileSystemSecurity {
  746. }
  747. class FileSystemSecurity extends System.Security.AccessControl.NativeObjectSecurity {
  748. }
  749. class NativeObjectSecurity extends System.Security.AccessControl.CommonObjectSecurity {
  750. }
  751. class CommonObjectSecurity extends System.Security.AccessControl.ObjectSecurity {
  752. }
  753. class ObjectSecurity extends System.Object {
  754. }
  755. enum AccessControlSections { None = 0, Audit = 1, Access = 2, Owner = 4, Group = 8, All = 15 }
  756. class DirectorySecurity extends System.Security.AccessControl.FileSystemSecurity {
  757. }
  758. }
  759. namespace UnityEngine {
  760. class Object extends System.Object {
  761. public name: string;
  762. public hideFlags: UnityEngine.HideFlags;
  763. public constructor();
  764. public GetInstanceID():number;
  765. public static op_Implicit($exists: UnityEngine.Object):boolean;
  766. public static Instantiate($original: UnityEngine.Object, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion):UnityEngine.Object;
  767. public static Instantiate($original: UnityEngine.Object, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $parent: UnityEngine.Transform):UnityEngine.Object;
  768. public static Instantiate($original: UnityEngine.Object):UnityEngine.Object;
  769. public static Instantiate($original: UnityEngine.Object, $parent: UnityEngine.Transform):UnityEngine.Object;
  770. public static Instantiate($original: UnityEngine.Object, $parent: UnityEngine.Transform, $instantiateInWorldSpace: boolean):UnityEngine.Object;
  771. public static Instantiate($original: UnityEngine.Object):UnityEngine.Object;
  772. public static Instantiate($original: UnityEngine.Object, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion):UnityEngine.Object;
  773. public static Instantiate($original: UnityEngine.Object, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $parent: UnityEngine.Transform):UnityEngine.Object;
  774. public static Instantiate($original: UnityEngine.Object, $parent: UnityEngine.Transform):UnityEngine.Object;
  775. public static Instantiate($original: UnityEngine.Object, $parent: UnityEngine.Transform, $worldPositionStays: boolean):UnityEngine.Object;
  776. public static Destroy($obj: UnityEngine.Object, $t: number):void;
  777. public static Destroy($obj: UnityEngine.Object):void;
  778. public static DestroyImmediate($obj: UnityEngine.Object, $allowDestroyingAssets: boolean):void;
  779. public static DestroyImmediate($obj: UnityEngine.Object):void;
  780. public static FindObjectsOfType($type: System.Type):System.Array$1<UnityEngine.Object>;
  781. public static DontDestroyOnLoad($target: UnityEngine.Object):void;
  782. public static FindObjectOfType($type: System.Type):UnityEngine.Object;
  783. public static op_Equality($x: UnityEngine.Object, $y: UnityEngine.Object):boolean;
  784. public static op_Inequality($x: UnityEngine.Object, $y: UnityEngine.Object):boolean;
  785. }
  786. class Vector3 extends System.ValueType {
  787. public static kEpsilon: number;
  788. public static kEpsilonNormalSqrt: number;
  789. public x: number;
  790. public y: number;
  791. public z: number;
  792. public normalized: UnityEngine.Vector3;
  793. public magnitude: number;
  794. public sqrMagnitude: number;
  795. public static zero: UnityEngine.Vector3;
  796. public static one: UnityEngine.Vector3;
  797. public static forward: UnityEngine.Vector3;
  798. public static back: UnityEngine.Vector3;
  799. public static up: UnityEngine.Vector3;
  800. public static down: UnityEngine.Vector3;
  801. public static left: UnityEngine.Vector3;
  802. public static right: UnityEngine.Vector3;
  803. public static positiveInfinity: UnityEngine.Vector3;
  804. public static negativeInfinity: UnityEngine.Vector3;
  805. public constructor($x: number, $y: number, $z: number);
  806. public constructor($x: number, $y: number);
  807. public static Slerp($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $t: number):UnityEngine.Vector3;
  808. public static SlerpUnclamped($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $t: number):UnityEngine.Vector3;
  809. public static OrthoNormalize($normal: $Ref<UnityEngine.Vector3>, $tangent: $Ref<UnityEngine.Vector3>):void;
  810. public static OrthoNormalize($normal: $Ref<UnityEngine.Vector3>, $tangent: $Ref<UnityEngine.Vector3>, $binormal: $Ref<UnityEngine.Vector3>):void;
  811. public static RotateTowards($current: UnityEngine.Vector3, $target: UnityEngine.Vector3, $maxRadiansDelta: number, $maxMagnitudeDelta: number):UnityEngine.Vector3;
  812. public static Lerp($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $t: number):UnityEngine.Vector3;
  813. public static LerpUnclamped($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $t: number):UnityEngine.Vector3;
  814. public static MoveTowards($current: UnityEngine.Vector3, $target: UnityEngine.Vector3, $maxDistanceDelta: number):UnityEngine.Vector3;
  815. public static SmoothDamp($current: UnityEngine.Vector3, $target: UnityEngine.Vector3, $currentVelocity: $Ref<UnityEngine.Vector3>, $smoothTime: number, $maxSpeed: number):UnityEngine.Vector3;
  816. public static SmoothDamp($current: UnityEngine.Vector3, $target: UnityEngine.Vector3, $currentVelocity: $Ref<UnityEngine.Vector3>, $smoothTime: number):UnityEngine.Vector3;
  817. public static SmoothDamp($current: UnityEngine.Vector3, $target: UnityEngine.Vector3, $currentVelocity: $Ref<UnityEngine.Vector3>, $smoothTime: number, $maxSpeed: number, $deltaTime: number):UnityEngine.Vector3;
  818. public get_Item($index: number):number;
  819. public set_Item($index: number, $value: number):void;
  820. public Set($newX: number, $newY: number, $newZ: number):void;
  821. public static Scale($a: UnityEngine.Vector3, $b: UnityEngine.Vector3):UnityEngine.Vector3;
  822. public Scale($scale: UnityEngine.Vector3):void;
  823. public static Cross($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3):UnityEngine.Vector3;
  824. public Equals($other: any):boolean;
  825. public Equals($other: UnityEngine.Vector3):boolean;
  826. public static Reflect($inDirection: UnityEngine.Vector3, $inNormal: UnityEngine.Vector3):UnityEngine.Vector3;
  827. public static Normalize($value: UnityEngine.Vector3):UnityEngine.Vector3;
  828. public Normalize():void;
  829. public static Dot($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3):number;
  830. public static Project($vector: UnityEngine.Vector3, $onNormal: UnityEngine.Vector3):UnityEngine.Vector3;
  831. public static ProjectOnPlane($vector: UnityEngine.Vector3, $planeNormal: UnityEngine.Vector3):UnityEngine.Vector3;
  832. public static Angle($from: UnityEngine.Vector3, $to: UnityEngine.Vector3):number;
  833. public static SignedAngle($from: UnityEngine.Vector3, $to: UnityEngine.Vector3, $axis: UnityEngine.Vector3):number;
  834. public static Distance($a: UnityEngine.Vector3, $b: UnityEngine.Vector3):number;
  835. public static ClampMagnitude($vector: UnityEngine.Vector3, $maxLength: number):UnityEngine.Vector3;
  836. public static Magnitude($vector: UnityEngine.Vector3):number;
  837. public static SqrMagnitude($vector: UnityEngine.Vector3):number;
  838. public static Min($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3):UnityEngine.Vector3;
  839. public static Max($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3):UnityEngine.Vector3;
  840. public static op_Addition($a: UnityEngine.Vector3, $b: UnityEngine.Vector3):UnityEngine.Vector3;
  841. public static op_Subtraction($a: UnityEngine.Vector3, $b: UnityEngine.Vector3):UnityEngine.Vector3;
  842. public static op_UnaryNegation($a: UnityEngine.Vector3):UnityEngine.Vector3;
  843. public static op_Multiply($a: UnityEngine.Vector3, $d: number):UnityEngine.Vector3;
  844. public static op_Multiply($d: number, $a: UnityEngine.Vector3):UnityEngine.Vector3;
  845. public static op_Division($a: UnityEngine.Vector3, $d: number):UnityEngine.Vector3;
  846. public static op_Equality($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3):boolean;
  847. public static op_Inequality($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3):boolean;
  848. public ToString():string;
  849. public ToString($format: string):string;
  850. }
  851. class Quaternion extends System.ValueType {
  852. public x: number;
  853. public y: number;
  854. public z: number;
  855. public w: number;
  856. public static kEpsilon: number;
  857. public static identity: UnityEngine.Quaternion;
  858. public eulerAngles: UnityEngine.Vector3;
  859. public normalized: UnityEngine.Quaternion;
  860. public constructor($x: number, $y: number, $z: number, $w: number);
  861. public static FromToRotation($fromDirection: UnityEngine.Vector3, $toDirection: UnityEngine.Vector3):UnityEngine.Quaternion;
  862. public static Inverse($rotation: UnityEngine.Quaternion):UnityEngine.Quaternion;
  863. public static Slerp($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion, $t: number):UnityEngine.Quaternion;
  864. public static SlerpUnclamped($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion, $t: number):UnityEngine.Quaternion;
  865. public static Lerp($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion, $t: number):UnityEngine.Quaternion;
  866. public static LerpUnclamped($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion, $t: number):UnityEngine.Quaternion;
  867. public static AngleAxis($angle: number, $axis: UnityEngine.Vector3):UnityEngine.Quaternion;
  868. public static LookRotation($forward: UnityEngine.Vector3, $upwards: UnityEngine.Vector3):UnityEngine.Quaternion;
  869. public static LookRotation($forward: UnityEngine.Vector3):UnityEngine.Quaternion;
  870. public get_Item($index: number):number;
  871. public set_Item($index: number, $value: number):void;
  872. public Set($newX: number, $newY: number, $newZ: number, $newW: number):void;
  873. public static op_Multiply($lhs: UnityEngine.Quaternion, $rhs: UnityEngine.Quaternion):UnityEngine.Quaternion;
  874. public static op_Multiply($rotation: UnityEngine.Quaternion, $point: UnityEngine.Vector3):UnityEngine.Vector3;
  875. public static op_Equality($lhs: UnityEngine.Quaternion, $rhs: UnityEngine.Quaternion):boolean;
  876. public static op_Inequality($lhs: UnityEngine.Quaternion, $rhs: UnityEngine.Quaternion):boolean;
  877. public static Dot($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion):number;
  878. public SetLookRotation($view: UnityEngine.Vector3):void;
  879. public SetLookRotation($view: UnityEngine.Vector3, $up: UnityEngine.Vector3):void;
  880. public static Angle($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion):number;
  881. public static Euler($x: number, $y: number, $z: number):UnityEngine.Quaternion;
  882. public static Euler($euler: UnityEngine.Vector3):UnityEngine.Quaternion;
  883. public ToAngleAxis($angle: $Ref<number>, $axis: $Ref<UnityEngine.Vector3>):void;
  884. public SetFromToRotation($fromDirection: UnityEngine.Vector3, $toDirection: UnityEngine.Vector3):void;
  885. public static RotateTowards($from: UnityEngine.Quaternion, $to: UnityEngine.Quaternion, $maxDegreesDelta: number):UnityEngine.Quaternion;
  886. public static Normalize($q: UnityEngine.Quaternion):UnityEngine.Quaternion;
  887. public Normalize():void;
  888. public Equals($other: any):boolean;
  889. public Equals($other: UnityEngine.Quaternion):boolean;
  890. public ToString():string;
  891. public ToString($format: string):string;
  892. }
  893. class Transform extends UnityEngine.Component {
  894. public position: UnityEngine.Vector3;
  895. public localPosition: UnityEngine.Vector3;
  896. public eulerAngles: UnityEngine.Vector3;
  897. public localEulerAngles: UnityEngine.Vector3;
  898. public right: UnityEngine.Vector3;
  899. public up: UnityEngine.Vector3;
  900. public forward: UnityEngine.Vector3;
  901. public rotation: UnityEngine.Quaternion;
  902. public localRotation: UnityEngine.Quaternion;
  903. public localScale: UnityEngine.Vector3;
  904. public parent: UnityEngine.Transform;
  905. public worldToLocalMatrix: UnityEngine.Matrix4x4;
  906. public localToWorldMatrix: UnityEngine.Matrix4x4;
  907. public root: UnityEngine.Transform;
  908. public childCount: number;
  909. public lossyScale: UnityEngine.Vector3;
  910. public hasChanged: boolean;
  911. public hierarchyCapacity: number;
  912. public hierarchyCount: number;
  913. public SetParent($p: UnityEngine.Transform):void;
  914. public SetParent($parent: UnityEngine.Transform, $worldPositionStays: boolean):void;
  915. public SetPositionAndRotation($position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion):void;
  916. public Translate($translation: UnityEngine.Vector3, $relativeTo: UnityEngine.Space):void;
  917. public Translate($translation: UnityEngine.Vector3):void;
  918. public Translate($x: number, $y: number, $z: number, $relativeTo: UnityEngine.Space):void;
  919. public Translate($x: number, $y: number, $z: number):void;
  920. public Translate($translation: UnityEngine.Vector3, $relativeTo: UnityEngine.Transform):void;
  921. public Translate($x: number, $y: number, $z: number, $relativeTo: UnityEngine.Transform):void;
  922. public Rotate($eulers: UnityEngine.Vector3, $relativeTo: UnityEngine.Space):void;
  923. public Rotate($eulers: UnityEngine.Vector3):void;
  924. public Rotate($xAngle: number, $yAngle: number, $zAngle: number, $relativeTo: UnityEngine.Space):void;
  925. public Rotate($xAngle: number, $yAngle: number, $zAngle: number):void;
  926. public Rotate($axis: UnityEngine.Vector3, $angle: number, $relativeTo: UnityEngine.Space):void;
  927. public Rotate($axis: UnityEngine.Vector3, $angle: number):void;
  928. public RotateAround($point: UnityEngine.Vector3, $axis: UnityEngine.Vector3, $angle: number):void;
  929. public LookAt($target: UnityEngine.Transform, $worldUp: UnityEngine.Vector3):void;
  930. public LookAt($target: UnityEngine.Transform):void;
  931. public LookAt($worldPosition: UnityEngine.Vector3, $worldUp: UnityEngine.Vector3):void;
  932. public LookAt($worldPosition: UnityEngine.Vector3):void;
  933. public TransformDirection($direction: UnityEngine.Vector3):UnityEngine.Vector3;
  934. public TransformDirection($x: number, $y: number, $z: number):UnityEngine.Vector3;
  935. public InverseTransformDirection($direction: UnityEngine.Vector3):UnityEngine.Vector3;
  936. public InverseTransformDirection($x: number, $y: number, $z: number):UnityEngine.Vector3;
  937. public TransformVector($vector: UnityEngine.Vector3):UnityEngine.Vector3;
  938. public TransformVector($x: number, $y: number, $z: number):UnityEngine.Vector3;
  939. public InverseTransformVector($vector: UnityEngine.Vector3):UnityEngine.Vector3;
  940. public InverseTransformVector($x: number, $y: number, $z: number):UnityEngine.Vector3;
  941. public TransformPoint($position: UnityEngine.Vector3):UnityEngine.Vector3;
  942. public TransformPoint($x: number, $y: number, $z: number):UnityEngine.Vector3;
  943. public InverseTransformPoint($position: UnityEngine.Vector3):UnityEngine.Vector3;
  944. public InverseTransformPoint($x: number, $y: number, $z: number):UnityEngine.Vector3;
  945. public DetachChildren():void;
  946. public SetAsFirstSibling():void;
  947. public SetAsLastSibling():void;
  948. public SetSiblingIndex($index: number):void;
  949. public GetSiblingIndex():number;
  950. public Find($n: string):UnityEngine.Transform;
  951. public IsChildOf($parent: UnityEngine.Transform):boolean;
  952. public GetEnumerator():System.Collections.IEnumerator;
  953. public GetChild($index: number):UnityEngine.Transform;
  954. }
  955. class Component extends UnityEngine.Object {
  956. public transform: UnityEngine.Transform;
  957. public gameObject: UnityEngine.GameObject;
  958. public tag: string;
  959. public constructor();
  960. public GetComponent($type: System.Type):UnityEngine.Component;
  961. public GetComponent($type: string):UnityEngine.Component;
  962. public GetComponentInChildren($t: System.Type, $includeInactive: boolean):UnityEngine.Component;
  963. public GetComponentInChildren($t: System.Type):UnityEngine.Component;
  964. public GetComponentsInChildren($t: System.Type, $includeInactive: boolean):System.Array$1<UnityEngine.Component>;
  965. public GetComponentsInChildren($t: System.Type):System.Array$1<UnityEngine.Component>;
  966. public GetComponentInParent($t: System.Type):UnityEngine.Component;
  967. public GetComponentsInParent($t: System.Type, $includeInactive: boolean):System.Array$1<UnityEngine.Component>;
  968. public GetComponentsInParent($t: System.Type):System.Array$1<UnityEngine.Component>;
  969. public GetComponents($type: System.Type):System.Array$1<UnityEngine.Component>;
  970. public GetComponents($type: System.Type, $results: System.Collections.Generic.List$1<UnityEngine.Component>):void;
  971. public CompareTag($tag: string):boolean;
  972. public SendMessageUpwards($methodName: string, $value: any, $options: UnityEngine.SendMessageOptions):void;
  973. public SendMessageUpwards($methodName: string, $value: any):void;
  974. public SendMessageUpwards($methodName: string):void;
  975. public SendMessageUpwards($methodName: string, $options: UnityEngine.SendMessageOptions):void;
  976. public SendMessage($methodName: string, $value: any):void;
  977. public SendMessage($methodName: string):void;
  978. public SendMessage($methodName: string, $value: any, $options: UnityEngine.SendMessageOptions):void;
  979. public SendMessage($methodName: string, $options: UnityEngine.SendMessageOptions):void;
  980. public BroadcastMessage($methodName: string, $parameter: any, $options: UnityEngine.SendMessageOptions):void;
  981. public BroadcastMessage($methodName: string, $parameter: any):void;
  982. public BroadcastMessage($methodName: string):void;
  983. public BroadcastMessage($methodName: string, $options: UnityEngine.SendMessageOptions):void;
  984. }
  985. enum HideFlags { None = 0, HideInHierarchy = 1, HideInInspector = 2, DontSaveInEditor = 4, NotEditable = 8, DontSaveInBuild = 16, DontUnloadUnusedAsset = 32, DontSave = 52, HideAndDontSave = 61 }
  986. class GameObject extends UnityEngine.Object {
  987. public transform: UnityEngine.Transform;
  988. public layer: number;
  989. public activeSelf: boolean;
  990. public activeInHierarchy: boolean;
  991. public isStatic: boolean;
  992. public tag: string;
  993. public scene: UnityEngine.SceneManagement.Scene;
  994. public gameObject: UnityEngine.GameObject;
  995. public constructor($name: string);
  996. public constructor();
  997. public constructor($name: string, ...components: System.Type[]);
  998. public static CreatePrimitive($type: UnityEngine.PrimitiveType):UnityEngine.GameObject;
  999. public GetComponent($type: System.Type):UnityEngine.Component;
  1000. public GetComponent($type: string):UnityEngine.Component;
  1001. public GetComponentInChildren($type: System.Type, $includeInactive: boolean):UnityEngine.Component;
  1002. public GetComponentInChildren($type: System.Type):UnityEngine.Component;
  1003. public GetComponentInParent($type: System.Type):UnityEngine.Component;
  1004. public GetComponents($type: System.Type):System.Array$1<UnityEngine.Component>;
  1005. public GetComponents($type: System.Type, $results: System.Collections.Generic.List$1<UnityEngine.Component>):void;
  1006. public GetComponentsInChildren($type: System.Type):System.Array$1<UnityEngine.Component>;
  1007. public GetComponentsInChildren($type: System.Type, $includeInactive: boolean):System.Array$1<UnityEngine.Component>;
  1008. public GetComponentsInParent($type: System.Type):System.Array$1<UnityEngine.Component>;
  1009. public GetComponentsInParent($type: System.Type, $includeInactive: boolean):System.Array$1<UnityEngine.Component>;
  1010. public static FindWithTag($tag: string):UnityEngine.GameObject;
  1011. public SendMessageUpwards($methodName: string, $options: UnityEngine.SendMessageOptions):void;
  1012. public SendMessage($methodName: string, $options: UnityEngine.SendMessageOptions):void;
  1013. public BroadcastMessage($methodName: string, $options: UnityEngine.SendMessageOptions):void;
  1014. public AddComponent($componentType: System.Type):UnityEngine.Component;
  1015. public SetActive($value: boolean):void;
  1016. public CompareTag($tag: string):boolean;
  1017. public static FindGameObjectWithTag($tag: string):UnityEngine.GameObject;
  1018. public static FindGameObjectsWithTag($tag: string):System.Array$1<UnityEngine.GameObject>;
  1019. public SendMessageUpwards($methodName: string, $value: any, $options: UnityEngine.SendMessageOptions):void;
  1020. public SendMessageUpwards($methodName: string, $value: any):void;
  1021. public SendMessageUpwards($methodName: string):void;
  1022. public SendMessage($methodName: string, $value: any, $options: UnityEngine.SendMessageOptions):void;
  1023. public SendMessage($methodName: string, $value: any):void;
  1024. public SendMessage($methodName: string):void;
  1025. public BroadcastMessage($methodName: string, $parameter: any, $options: UnityEngine.SendMessageOptions):void;
  1026. public BroadcastMessage($methodName: string, $parameter: any):void;
  1027. public BroadcastMessage($methodName: string):void;
  1028. public static Find($name: string):UnityEngine.GameObject;
  1029. }
  1030. enum PrimitiveType { Sphere = 0, Capsule = 1, Cylinder = 2, Cube = 3, Plane = 4, Quad = 5 }
  1031. enum SendMessageOptions { RequireReceiver = 0, DontRequireReceiver = 1 }
  1032. class Behaviour extends UnityEngine.Component {
  1033. public enabled: boolean;
  1034. public isActiveAndEnabled: boolean;
  1035. public constructor();
  1036. }
  1037. class Matrix4x4 extends System.ValueType {
  1038. public m00: number;
  1039. public m10: number;
  1040. public m20: number;
  1041. public m30: number;
  1042. public m01: number;
  1043. public m11: number;
  1044. public m21: number;
  1045. public m31: number;
  1046. public m02: number;
  1047. public m12: number;
  1048. public m22: number;
  1049. public m32: number;
  1050. public m03: number;
  1051. public m13: number;
  1052. public m23: number;
  1053. public m33: number;
  1054. public rotation: UnityEngine.Quaternion;
  1055. public lossyScale: UnityEngine.Vector3;
  1056. public isIdentity: boolean;
  1057. public determinant: number;
  1058. public decomposeProjection: UnityEngine.FrustumPlanes;
  1059. public inverse: UnityEngine.Matrix4x4;
  1060. public transpose: UnityEngine.Matrix4x4;
  1061. public static zero: UnityEngine.Matrix4x4;
  1062. public static identity: UnityEngine.Matrix4x4;
  1063. public constructor($column0: UnityEngine.Vector4, $column1: UnityEngine.Vector4, $column2: UnityEngine.Vector4, $column3: UnityEngine.Vector4);
  1064. public ValidTRS():boolean;
  1065. public static Determinant($m: UnityEngine.Matrix4x4):number;
  1066. public static TRS($pos: UnityEngine.Vector3, $q: UnityEngine.Quaternion, $s: UnityEngine.Vector3):UnityEngine.Matrix4x4;
  1067. public SetTRS($pos: UnityEngine.Vector3, $q: UnityEngine.Quaternion, $s: UnityEngine.Vector3):void;
  1068. public static Inverse($m: UnityEngine.Matrix4x4):UnityEngine.Matrix4x4;
  1069. public static Transpose($m: UnityEngine.Matrix4x4):UnityEngine.Matrix4x4;
  1070. public static Ortho($left: number, $right: number, $bottom: number, $top: number, $zNear: number, $zFar: number):UnityEngine.Matrix4x4;
  1071. public static Perspective($fov: number, $aspect: number, $zNear: number, $zFar: number):UnityEngine.Matrix4x4;
  1072. public static LookAt($from: UnityEngine.Vector3, $to: UnityEngine.Vector3, $up: UnityEngine.Vector3):UnityEngine.Matrix4x4;
  1073. public static Frustum($left: number, $right: number, $bottom: number, $top: number, $zNear: number, $zFar: number):UnityEngine.Matrix4x4;
  1074. public static Frustum($fp: UnityEngine.FrustumPlanes):UnityEngine.Matrix4x4;
  1075. public get_Item($index: number):number;
  1076. public set_Item($index: number, $value: number):void;
  1077. public Equals($other: any):boolean;
  1078. public Equals($other: UnityEngine.Matrix4x4):boolean;
  1079. public static op_Multiply($lhs: UnityEngine.Matrix4x4, $rhs: UnityEngine.Matrix4x4):UnityEngine.Matrix4x4;
  1080. public static op_Multiply($lhs: UnityEngine.Matrix4x4, $vector: UnityEngine.Vector4):UnityEngine.Vector4;
  1081. public static op_Equality($lhs: UnityEngine.Matrix4x4, $rhs: UnityEngine.Matrix4x4):boolean;
  1082. public static op_Inequality($lhs: UnityEngine.Matrix4x4, $rhs: UnityEngine.Matrix4x4):boolean;
  1083. public GetColumn($index: number):UnityEngine.Vector4;
  1084. public GetRow($index: number):UnityEngine.Vector4;
  1085. public SetColumn($index: number, $column: UnityEngine.Vector4):void;
  1086. public SetRow($index: number, $row: UnityEngine.Vector4):void;
  1087. public MultiplyPoint($point: UnityEngine.Vector3):UnityEngine.Vector3;
  1088. public MultiplyPoint3x4($point: UnityEngine.Vector3):UnityEngine.Vector3;
  1089. public MultiplyVector($vector: UnityEngine.Vector3):UnityEngine.Vector3;
  1090. public TransformPlane($plane: UnityEngine.Plane):UnityEngine.Plane;
  1091. public static Scale($vector: UnityEngine.Vector3):UnityEngine.Matrix4x4;
  1092. public static Translate($vector: UnityEngine.Vector3):UnityEngine.Matrix4x4;
  1093. public static Rotate($q: UnityEngine.Quaternion):UnityEngine.Matrix4x4;
  1094. public ToString():string;
  1095. public ToString($format: string):string;
  1096. }
  1097. enum Space { World = 0, Self = 1 }
  1098. class Animator extends UnityEngine.Behaviour {
  1099. public isOptimizable: boolean;
  1100. public isHuman: boolean;
  1101. public hasRootMotion: boolean;
  1102. public humanScale: number;
  1103. public isInitialized: boolean;
  1104. public deltaPosition: UnityEngine.Vector3;
  1105. public deltaRotation: UnityEngine.Quaternion;
  1106. public velocity: UnityEngine.Vector3;
  1107. public angularVelocity: UnityEngine.Vector3;
  1108. public rootPosition: UnityEngine.Vector3;
  1109. public rootRotation: UnityEngine.Quaternion;
  1110. public applyRootMotion: boolean;
  1111. public updateMode: UnityEngine.AnimatorUpdateMode;
  1112. public hasTransformHierarchy: boolean;
  1113. public gravityWeight: number;
  1114. public bodyPosition: UnityEngine.Vector3;
  1115. public bodyRotation: UnityEngine.Quaternion;
  1116. public stabilizeFeet: boolean;
  1117. public layerCount: number;
  1118. public parameters: System.Array$1<UnityEngine.AnimatorControllerParameter>;
  1119. public parameterCount: number;
  1120. public feetPivotActive: number;
  1121. public pivotWeight: number;
  1122. public pivotPosition: UnityEngine.Vector3;
  1123. public isMatchingTarget: boolean;
  1124. public speed: number;
  1125. public targetPosition: UnityEngine.Vector3;
  1126. public targetRotation: UnityEngine.Quaternion;
  1127. public cullingMode: UnityEngine.AnimatorCullingMode;
  1128. public playbackTime: number;
  1129. public recorderStartTime: number;
  1130. public recorderStopTime: number;
  1131. public recorderMode: UnityEngine.AnimatorRecorderMode;
  1132. public runtimeAnimatorController: UnityEngine.RuntimeAnimatorController;
  1133. public hasBoundPlayables: boolean;
  1134. public avatar: UnityEngine.Avatar;
  1135. public playableGraph: UnityEngine.Playables.PlayableGraph;
  1136. public layersAffectMassCenter: boolean;
  1137. public leftFeetBottomHeight: number;
  1138. public rightFeetBottomHeight: number;
  1139. public logWarnings: boolean;
  1140. public fireEvents: boolean;
  1141. public keepAnimatorControllerStateOnDisable: boolean;
  1142. public constructor();
  1143. public GetFloat($name: string):number;
  1144. public GetFloat($id: number):number;
  1145. public SetFloat($name: string, $value: number):void;
  1146. public SetFloat($name: string, $value: number, $dampTime: number, $deltaTime: number):void;
  1147. public SetFloat($id: number, $value: number):void;
  1148. public SetFloat($id: number, $value: number, $dampTime: number, $deltaTime: number):void;
  1149. public GetBool($name: string):boolean;
  1150. public GetBool($id: number):boolean;
  1151. public SetBool($name: string, $value: boolean):void;
  1152. public SetBool($id: number, $value: boolean):void;
  1153. public GetInteger($name: string):number;
  1154. public GetInteger($id: number):number;
  1155. public SetInteger($name: string, $value: number):void;
  1156. public SetInteger($id: number, $value: number):void;
  1157. public SetTrigger($name: string):void;
  1158. public SetTrigger($id: number):void;
  1159. public ResetTrigger($name: string):void;
  1160. public ResetTrigger($id: number):void;
  1161. public IsParameterControlledByCurve($name: string):boolean;
  1162. public IsParameterControlledByCurve($id: number):boolean;
  1163. public GetIKPosition($goal: UnityEngine.AvatarIKGoal):UnityEngine.Vector3;
  1164. public SetIKPosition($goal: UnityEngine.AvatarIKGoal, $goalPosition: UnityEngine.Vector3):void;
  1165. public GetIKRotation($goal: UnityEngine.AvatarIKGoal):UnityEngine.Quaternion;
  1166. public SetIKRotation($goal: UnityEngine.AvatarIKGoal, $goalRotation: UnityEngine.Quaternion):void;
  1167. public GetIKPositionWeight($goal: UnityEngine.AvatarIKGoal):number;
  1168. public SetIKPositionWeight($goal: UnityEngine.AvatarIKGoal, $value: number):void;
  1169. public GetIKRotationWeight($goal: UnityEngine.AvatarIKGoal):number;
  1170. public SetIKRotationWeight($goal: UnityEngine.AvatarIKGoal, $value: number):void;
  1171. public GetIKHintPosition($hint: UnityEngine.AvatarIKHint):UnityEngine.Vector3;
  1172. public SetIKHintPosition($hint: UnityEngine.AvatarIKHint, $hintPosition: UnityEngine.Vector3):void;
  1173. public GetIKHintPositionWeight($hint: UnityEngine.AvatarIKHint):number;
  1174. public SetIKHintPositionWeight($hint: UnityEngine.AvatarIKHint, $value: number):void;
  1175. public SetLookAtPosition($lookAtPosition: UnityEngine.Vector3):void;
  1176. public SetLookAtWeight($weight: number):void;
  1177. public SetLookAtWeight($weight: number, $bodyWeight: number):void;
  1178. public SetLookAtWeight($weight: number, $bodyWeight: number, $headWeight: number):void;
  1179. public SetLookAtWeight($weight: number, $bodyWeight: number, $headWeight: number, $eyesWeight: number):void;
  1180. public SetLookAtWeight($weight: number, $bodyWeight: number, $headWeight: number, $eyesWeight: number, $clampWeight: number):void;
  1181. public SetBoneLocalRotation($humanBoneId: UnityEngine.HumanBodyBones, $rotation: UnityEngine.Quaternion):void;
  1182. public GetBehaviours($fullPathHash: number, $layerIndex: number):System.Array$1<UnityEngine.StateMachineBehaviour>;
  1183. public GetLayerName($layerIndex: number):string;
  1184. public GetLayerIndex($layerName: string):number;
  1185. public GetLayerWeight($layerIndex: number):number;
  1186. public SetLayerWeight($layerIndex: number, $weight: number):void;
  1187. public GetCurrentAnimatorStateInfo($layerIndex: number):UnityEngine.AnimatorStateInfo;
  1188. public GetNextAnimatorStateInfo($layerIndex: number):UnityEngine.AnimatorStateInfo;
  1189. public GetAnimatorTransitionInfo($layerIndex: number):UnityEngine.AnimatorTransitionInfo;
  1190. public GetCurrentAnimatorClipInfoCount($layerIndex: number):number;
  1191. public GetNextAnimatorClipInfoCount($layerIndex: number):number;
  1192. public GetCurrentAnimatorClipInfo($layerIndex: number):System.Array$1<UnityEngine.AnimatorClipInfo>;
  1193. public GetNextAnimatorClipInfo($layerIndex: number):System.Array$1<UnityEngine.AnimatorClipInfo>;
  1194. public GetCurrentAnimatorClipInfo($layerIndex: number, $clips: System.Collections.Generic.List$1<UnityEngine.AnimatorClipInfo>):void;
  1195. public GetNextAnimatorClipInfo($layerIndex: number, $clips: System.Collections.Generic.List$1<UnityEngine.AnimatorClipInfo>):void;
  1196. public IsInTransition($layerIndex: number):boolean;
  1197. public GetParameter($index: number):UnityEngine.AnimatorControllerParameter;
  1198. public MatchTarget($matchPosition: UnityEngine.Vector3, $matchRotation: UnityEngine.Quaternion, $targetBodyPart: UnityEngine.AvatarTarget, $weightMask: UnityEngine.MatchTargetWeightMask, $startNormalizedTime: number):void;
  1199. public MatchTarget($matchPosition: UnityEngine.Vector3, $matchRotation: UnityEngine.Quaternion, $targetBodyPart: UnityEngine.AvatarTarget, $weightMask: UnityEngine.MatchTargetWeightMask, $startNormalizedTime: number, $targetNormalizedTime: number):void;
  1200. public InterruptMatchTarget():void;
  1201. public InterruptMatchTarget($completeMatch: boolean):void;
  1202. public CrossFadeInFixedTime($stateName: string, $fixedTransitionDuration: number):void;
  1203. public CrossFadeInFixedTime($stateName: string, $fixedTransitionDuration: number, $layer: number):void;
  1204. public CrossFadeInFixedTime($stateName: string, $fixedTransitionDuration: number, $layer: number, $fixedTimeOffset: number):void;
  1205. public CrossFadeInFixedTime($stateName: string, $fixedTransitionDuration: number, $layer: number, $fixedTimeOffset: number, $normalizedTransitionTime: number):void;
  1206. public CrossFadeInFixedTime($stateHashName: number, $fixedTransitionDuration: number, $layer: number, $fixedTimeOffset: number):void;
  1207. public CrossFadeInFixedTime($stateHashName: number, $fixedTransitionDuration: number, $layer: number):void;
  1208. public CrossFadeInFixedTime($stateHashName: number, $fixedTransitionDuration: number):void;
  1209. public CrossFadeInFixedTime($stateHashName: number, $fixedTransitionDuration: number, $layer: number, $fixedTimeOffset: number, $normalizedTransitionTime: number):void;
  1210. public WriteDefaultValues():void;
  1211. public CrossFade($stateName: string, $normalizedTransitionDuration: number, $layer: number, $normalizedTimeOffset: number):void;
  1212. public CrossFade($stateName: string, $normalizedTransitionDuration: number, $layer: number):void;
  1213. public CrossFade($stateName: string, $normalizedTransitionDuration: number):void;
  1214. public CrossFade($stateName: string, $normalizedTransitionDuration: number, $layer: number, $normalizedTimeOffset: number, $normalizedTransitionTime: number):void;
  1215. public CrossFade($stateHashName: number, $normalizedTransitionDuration: number, $layer: number, $normalizedTimeOffset: number, $normalizedTransitionTime: number):void;
  1216. public CrossFade($stateHashName: number, $normalizedTransitionDuration: number, $layer: number, $normalizedTimeOffset: number):void;
  1217. public CrossFade($stateHashName: number, $normalizedTransitionDuration: number, $layer: number):void;
  1218. public CrossFade($stateHashName: number, $normalizedTransitionDuration: number):void;
  1219. public PlayInFixedTime($stateName: string, $layer: number):void;
  1220. public PlayInFixedTime($stateName: string):void;
  1221. public PlayInFixedTime($stateName: string, $layer: number, $fixedTime: number):void;
  1222. public PlayInFixedTime($stateNameHash: number, $layer: number, $fixedTime: number):void;
  1223. public PlayInFixedTime($stateNameHash: number, $layer: number):void;
  1224. public PlayInFixedTime($stateNameHash: number):void;
  1225. public Play($stateName: string, $layer: number):void;
  1226. public Play($stateName: string):void;
  1227. public Play($stateName: string, $layer: number, $normalizedTime: number):void;
  1228. public Play($stateNameHash: number, $layer: number, $normalizedTime: number):void;
  1229. public Play($stateNameHash: number, $layer: number):void;
  1230. public Play($stateNameHash: number):void;
  1231. public SetTarget($targetIndex: UnityEngine.AvatarTarget, $targetNormalizedTime: number):void;
  1232. public GetBoneTransform($humanBoneId: UnityEngine.HumanBodyBones):UnityEngine.Transform;
  1233. public StartPlayback():void;
  1234. public StopPlayback():void;
  1235. public StartRecording($frameCount: number):void;
  1236. public StopRecording():void;
  1237. public HasState($layerIndex: number, $stateID: number):boolean;
  1238. public static StringToHash($name: string):number;
  1239. public Update($deltaTime: number):void;
  1240. public Rebind():void;
  1241. public ApplyBuiltinRootMotion():void;
  1242. }
  1243. class AnimationInfo extends System.ValueType {
  1244. }
  1245. enum AnimatorUpdateMode { Normal = 0, AnimatePhysics = 1, UnscaledTime = 2 }
  1246. enum AvatarIKGoal { LeftFoot = 0, RightFoot = 1, LeftHand = 2, RightHand = 3 }
  1247. enum AvatarIKHint { LeftKnee = 0, RightKnee = 1, LeftElbow = 2, RightElbow = 3 }
  1248. enum HumanBodyBones { Hips = 0, LeftUpperLeg = 1, RightUpperLeg = 2, LeftLowerLeg = 3, RightLowerLeg = 4, LeftFoot = 5, RightFoot = 6, Spine = 7, Chest = 8, UpperChest = 54, Neck = 9, Head = 10, LeftShoulder = 11, RightShoulder = 12, LeftUpperArm = 13, RightUpperArm = 14, LeftLowerArm = 15, RightLowerArm = 16, LeftHand = 17, RightHand = 18, LeftToes = 19, RightToes = 20, LeftEye = 21, RightEye = 22, Jaw = 23, LeftThumbProximal = 24, LeftThumbIntermediate = 25, LeftThumbDistal = 26, LeftIndexProximal = 27, LeftIndexIntermediate = 28, LeftIndexDistal = 29, LeftMiddleProximal = 30, LeftMiddleIntermediate = 31, LeftMiddleDistal = 32, LeftRingProximal = 33, LeftRingIntermediate = 34, LeftRingDistal = 35, LeftLittleProximal = 36, LeftLittleIntermediate = 37, LeftLittleDistal = 38, RightThumbProximal = 39, RightThumbIntermediate = 40, RightThumbDistal = 41, RightIndexProximal = 42, RightIndexIntermediate = 43, RightIndexDistal = 44, RightMiddleProximal = 45, RightMiddleIntermediate = 46, RightMiddleDistal = 47, RightRingProximal = 48, RightRingIntermediate = 49, RightRingDistal = 50, RightLittleProximal = 51, RightLittleIntermediate = 52, RightLittleDistal = 53, LastBone = 55 }
  1249. class StateMachineBehaviour extends UnityEngine.ScriptableObject {
  1250. }
  1251. class ScriptableObject extends UnityEngine.Object {
  1252. public constructor();
  1253. public static CreateInstance($className: string):UnityEngine.ScriptableObject;
  1254. public static CreateInstance($type: System.Type):UnityEngine.ScriptableObject;
  1255. }
  1256. class AnimatorStateInfo extends System.ValueType {
  1257. }
  1258. class AnimatorTransitionInfo extends System.ValueType {
  1259. }
  1260. class AnimatorClipInfo extends System.ValueType {
  1261. }
  1262. class AnimatorControllerParameter extends System.Object {
  1263. }
  1264. enum AvatarTarget { Root = 0, Body = 1, LeftFoot = 2, RightFoot = 3, LeftHand = 4, RightHand = 5 }
  1265. class MatchTargetWeightMask extends System.ValueType {
  1266. }
  1267. enum AnimatorCullingMode { AlwaysAnimate = 0, CullUpdateTransforms = 1, CullCompletely = 2, BasedOnRenderers = 1 }
  1268. enum AnimatorRecorderMode { Offline = 0, Playback = 1, Record = 2 }
  1269. class RuntimeAnimatorController extends UnityEngine.Object {
  1270. }
  1271. class Avatar extends UnityEngine.Object {
  1272. }
  1273. class AssetBundle extends UnityEngine.Object {
  1274. public isStreamedSceneAssetBundle: boolean;
  1275. public static UnloadAllAssetBundles($unloadAllObjects: boolean):void;
  1276. public static GetAllLoadedAssetBundles():System.Collections.Generic.IEnumerable$1<UnityEngine.AssetBundle>;
  1277. public static LoadFromFileAsync($path: string):UnityEngine.AssetBundleCreateRequest;
  1278. public static LoadFromFileAsync($path: string, $crc: number):UnityEngine.AssetBundleCreateRequest;
  1279. public static LoadFromFileAsync($path: string, $crc: number, $offset: bigint):UnityEngine.AssetBundleCreateRequest;
  1280. public static LoadFromFile($path: string):UnityEngine.AssetBundle;
  1281. public static LoadFromFile($path: string, $crc: number):UnityEngine.AssetBundle;
  1282. public static LoadFromFile($path: string, $crc: number, $offset: bigint):UnityEngine.AssetBundle;
  1283. public static LoadFromMemoryAsync($binary: System.Array$1<number>):UnityEngine.AssetBundleCreateRequest;
  1284. public static LoadFromMemoryAsync($binary: System.Array$1<number>, $crc: number):UnityEngine.AssetBundleCreateRequest;
  1285. public static LoadFromMemory($binary: System.Array$1<number>):UnityEngine.AssetBundle;
  1286. public static LoadFromMemory($binary: System.Array$1<number>, $crc: number):UnityEngine.AssetBundle;
  1287. public static LoadFromStreamAsync($stream: System.IO.Stream, $crc: number, $managedReadBufferSize: number):UnityEngine.AssetBundleCreateRequest;
  1288. public static LoadFromStreamAsync($stream: System.IO.Stream, $crc: number):UnityEngine.AssetBundleCreateRequest;
  1289. public static LoadFromStreamAsync($stream: System.IO.Stream):UnityEngine.AssetBundleCreateRequest;
  1290. public static LoadFromStream($stream: System.IO.Stream, $crc: number, $managedReadBufferSize: number):UnityEngine.AssetBundle;
  1291. public static LoadFromStream($stream: System.IO.Stream, $crc: number):UnityEngine.AssetBundle;
  1292. public static LoadFromStream($stream: System.IO.Stream):UnityEngine.AssetBundle;
  1293. public static SetAssetBundleDecryptKey($password: string):void;
  1294. public Contains($name: string):boolean;
  1295. public LoadAsset($name: string):UnityEngine.Object;
  1296. public LoadAsset($name: string, $type: System.Type):UnityEngine.Object;
  1297. public LoadAssetAsync($name: string):UnityEngine.AssetBundleRequest;
  1298. public LoadAssetAsync($name: string, $type: System.Type):UnityEngine.AssetBundleRequest;
  1299. public LoadAssetWithSubAssets($name: string):System.Array$1<UnityEngine.Object>;
  1300. public LoadAssetWithSubAssets($name: string, $type: System.Type):System.Array$1<UnityEngine.Object>;
  1301. public LoadAssetWithSubAssetsAsync($name: string):UnityEngine.AssetBundleRequest;
  1302. public LoadAssetWithSubAssetsAsync($name: string, $type: System.Type):UnityEngine.AssetBundleRequest;
  1303. public LoadAllAssets():System.Array$1<UnityEngine.Object>;
  1304. public LoadAllAssets($type: System.Type):System.Array$1<UnityEngine.Object>;
  1305. public LoadAllAssetsAsync():UnityEngine.AssetBundleRequest;
  1306. public LoadAllAssetsAsync($type: System.Type):UnityEngine.AssetBundleRequest;
  1307. public Unload($unloadAllLoadedObjects: boolean):void;
  1308. public GetAllAssetNames():System.Array$1<string>;
  1309. public GetAllScenePaths():System.Array$1<string>;
  1310. public static RecompressAssetBundleAsync($inputPath: string, $outputPath: string, $method: UnityEngine.BuildCompression, $expectedCRC?: number, $priority?: UnityEngine.ThreadPriority):UnityEngine.AssetBundleRecompressOperation;
  1311. }
  1312. class AssetBundleCreateRequest extends UnityEngine.AsyncOperation {
  1313. public assetBundle: UnityEngine.AssetBundle;
  1314. public constructor();
  1315. }
  1316. class AsyncOperation extends UnityEngine.YieldInstruction {
  1317. public isDone: boolean;
  1318. public progress: number;
  1319. public priority: number;
  1320. public allowSceneActivation: boolean;
  1321. public constructor();
  1322. public add_completed($value: System.Action$1<UnityEngine.AsyncOperation>):void;
  1323. public remove_completed($value: System.Action$1<UnityEngine.AsyncOperation>):void;
  1324. }
  1325. class YieldInstruction extends System.Object {
  1326. }
  1327. class AssetBundleRequest extends UnityEngine.AsyncOperation {
  1328. public asset: UnityEngine.Object;
  1329. public allAssets: System.Array$1<UnityEngine.Object>;
  1330. public constructor();
  1331. }
  1332. class AssetBundleRecompressOperation extends UnityEngine.AsyncOperation {
  1333. }
  1334. class BuildCompression extends System.ValueType {
  1335. }
  1336. enum ThreadPriority { Low = 0, BelowNormal = 1, Normal = 2, High = 4 }
  1337. class AudioClip extends UnityEngine.Object {
  1338. public length: number;
  1339. public samples: number;
  1340. public channels: number;
  1341. public frequency: number;
  1342. public loadType: UnityEngine.AudioClipLoadType;
  1343. public preloadAudioData: boolean;
  1344. public ambisonic: boolean;
  1345. public loadState: UnityEngine.AudioDataLoadState;
  1346. public loadInBackground: boolean;
  1347. public LoadAudioData():boolean;
  1348. public UnloadAudioData():boolean;
  1349. public GetData($data: System.Array$1<number>, $offsetSamples: number):boolean;
  1350. public SetData($data: System.Array$1<number>, $offsetSamples: number):boolean;
  1351. public static Create($name: string, $lengthSamples: number, $channels: number, $frequency: number, $stream: boolean):UnityEngine.AudioClip;
  1352. public static Create($name: string, $lengthSamples: number, $channels: number, $frequency: number, $stream: boolean, $pcmreadercallback: UnityEngine.AudioClip.PCMReaderCallback):UnityEngine.AudioClip;
  1353. public static Create($name: string, $lengthSamples: number, $channels: number, $frequency: number, $stream: boolean, $pcmreadercallback: UnityEngine.AudioClip.PCMReaderCallback, $pcmsetpositioncallback: UnityEngine.AudioClip.PCMSetPositionCallback):UnityEngine.AudioClip;
  1354. }
  1355. enum AudioClipLoadType { DecompressOnLoad = 0, CompressedInMemory = 1, Streaming = 2 }
  1356. enum AudioDataLoadState { Unloaded = 0, Loading = 1, Loaded = 2, Failed = 3 }
  1357. class AudioListener extends UnityEngine.AudioBehaviour {
  1358. public static volume: number;
  1359. public static pause: boolean;
  1360. public velocityUpdateMode: UnityEngine.AudioVelocityUpdateMode;
  1361. public constructor();
  1362. public static GetOutputData($samples: System.Array$1<number>, $channel: number):void;
  1363. public static GetSpectrumData($samples: System.Array$1<number>, $channel: number, $window: UnityEngine.FFTWindow):void;
  1364. }
  1365. class AudioBehaviour extends UnityEngine.Behaviour {
  1366. }
  1367. enum AudioVelocityUpdateMode { Auto = 0, Fixed = 1, Dynamic = 2 }
  1368. enum FFTWindow { Rectangular = 0, Triangle = 1, Hamming = 2, Hanning = 3, Blackman = 4, BlackmanHarris = 5 }
  1369. class AudioSource extends UnityEngine.AudioBehaviour {
  1370. public volume: number;
  1371. public pitch: number;
  1372. public time: number;
  1373. public timeSamples: number;
  1374. public clip: UnityEngine.AudioClip;
  1375. public outputAudioMixerGroup: UnityEngine.Audio.AudioMixerGroup;
  1376. public isPlaying: boolean;
  1377. public isVirtual: boolean;
  1378. public loop: boolean;
  1379. public ignoreListenerVolume: boolean;
  1380. public playOnAwake: boolean;
  1381. public ignoreListenerPause: boolean;
  1382. public velocityUpdateMode: UnityEngine.AudioVelocityUpdateMode;
  1383. public panStereo: number;
  1384. public spatialBlend: number;
  1385. public spatialize: boolean;
  1386. public spatializePostEffects: boolean;
  1387. public reverbZoneMix: number;
  1388. public bypassEffects: boolean;
  1389. public bypassListenerEffects: boolean;
  1390. public bypassReverbZones: boolean;
  1391. public dopplerLevel: number;
  1392. public spread: number;
  1393. public priority: number;
  1394. public mute: boolean;
  1395. public minDistance: number;
  1396. public maxDistance: number;
  1397. public rolloffMode: UnityEngine.AudioRolloffMode;
  1398. public constructor();
  1399. public Play($delay: bigint):void;
  1400. public Play():void;
  1401. public PlayDelayed($delay: number):void;
  1402. public PlayScheduled($time: number):void;
  1403. public SetScheduledStartTime($time: number):void;
  1404. public SetScheduledEndTime($time: number):void;
  1405. public Stop():void;
  1406. public Pause():void;
  1407. public UnPause():void;
  1408. public PlayOneShot($clip: UnityEngine.AudioClip):void;
  1409. public PlayOneShot($clip: UnityEngine.AudioClip, $volumeScale: number):void;
  1410. public static PlayClipAtPoint($clip: UnityEngine.AudioClip, $position: UnityEngine.Vector3):void;
  1411. public static PlayClipAtPoint($clip: UnityEngine.AudioClip, $position: UnityEngine.Vector3, $volume: number):void;
  1412. public SetCustomCurve($type: UnityEngine.AudioSourceCurveType, $curve: UnityEngine.AnimationCurve):void;
  1413. public GetCustomCurve($type: UnityEngine.AudioSourceCurveType):UnityEngine.AnimationCurve;
  1414. public GetOutputData($samples: System.Array$1<number>, $channel: number):void;
  1415. public GetSpectrumData($samples: System.Array$1<number>, $channel: number, $window: UnityEngine.FFTWindow):void;
  1416. public SetSpatializerFloat($index: number, $value: number):boolean;
  1417. public GetSpatializerFloat($index: number, $value: $Ref<number>):boolean;
  1418. public SetAmbisonicDecoderFloat($index: number, $value: number):boolean;
  1419. public GetAmbisonicDecoderFloat($index: number, $value: $Ref<number>):boolean;
  1420. }
  1421. enum AudioSourceCurveType { CustomRolloff = 0, SpatialBlend = 1, ReverbZoneMix = 2, Spread = 3 }
  1422. class AnimationCurve extends System.Object {
  1423. }
  1424. enum AudioRolloffMode { Logarithmic = 0, Linear = 1, Custom = 2 }
  1425. class Texture extends UnityEngine.Object {
  1426. public static masterTextureLimit: number;
  1427. public static anisotropicFiltering: UnityEngine.AnisotropicFiltering;
  1428. public width: number;
  1429. public height: number;
  1430. public dimension: UnityEngine.Rendering.TextureDimension;
  1431. public isReadable: boolean;
  1432. public wrapMode: UnityEngine.TextureWrapMode;
  1433. public wrapModeU: UnityEngine.TextureWrapMode;
  1434. public wrapModeV: UnityEngine.TextureWrapMode;
  1435. public wrapModeW: UnityEngine.TextureWrapMode;
  1436. public filterMode: UnityEngine.FilterMode;
  1437. public anisoLevel: number;
  1438. public mipMapBias: number;
  1439. public texelSize: UnityEngine.Vector2;
  1440. public updateCount: number;
  1441. public imageContentsHash: UnityEngine.Hash128;
  1442. public static totalTextureMemory: bigint;
  1443. public static desiredTextureMemory: bigint;
  1444. public static targetTextureMemory: bigint;
  1445. public static currentTextureMemory: bigint;
  1446. public static nonStreamingTextureMemory: bigint;
  1447. public static streamingMipmapUploadCount: bigint;
  1448. public static streamingRendererCount: bigint;
  1449. public static streamingTextureCount: bigint;
  1450. public static nonStreamingTextureCount: bigint;
  1451. public static streamingTexturePendingLoadCount: bigint;
  1452. public static streamingTextureLoadingCount: bigint;
  1453. public static streamingTextureForceLoadAll: boolean;
  1454. public static streamingTextureDiscardUnusedMips: boolean;
  1455. public static SetGlobalAnisotropicFilteringLimits($forcedMin: number, $globalMax: number):void;
  1456. public GetNativeTexturePtr():System.IntPtr;
  1457. public IncrementUpdateCount():void;
  1458. public static SetStreamingTextureMaterialDebugProperties():void;
  1459. }
  1460. enum AnisotropicFiltering { Disable = 0, Enable = 1, ForceEnable = 2 }
  1461. enum TextureWrapMode { Repeat = 0, Clamp = 1, Mirror = 2, MirrorOnce = 3 }
  1462. enum FilterMode { Point = 0, Bilinear = 1, Trilinear = 2 }
  1463. class Vector2 extends System.ValueType {
  1464. public x: number;
  1465. public y: number;
  1466. public static kEpsilon: number;
  1467. public static kEpsilonNormalSqrt: number;
  1468. public normalized: UnityEngine.Vector2;
  1469. public magnitude: number;
  1470. public sqrMagnitude: number;
  1471. public static zero: UnityEngine.Vector2;
  1472. public static one: UnityEngine.Vector2;
  1473. public static up: UnityEngine.Vector2;
  1474. public static down: UnityEngine.Vector2;
  1475. public static left: UnityEngine.Vector2;
  1476. public static right: UnityEngine.Vector2;
  1477. public static positiveInfinity: UnityEngine.Vector2;
  1478. public static negativeInfinity: UnityEngine.Vector2;
  1479. public constructor($x: number, $y: number);
  1480. public get_Item($index: number):number;
  1481. public set_Item($index: number, $value: number):void;
  1482. public Set($newX: number, $newY: number):void;
  1483. public static Lerp($a: UnityEngine.Vector2, $b: UnityEngine.Vector2, $t: number):UnityEngine.Vector2;
  1484. public static LerpUnclamped($a: UnityEngine.Vector2, $b: UnityEngine.Vector2, $t: number):UnityEngine.Vector2;
  1485. public static MoveTowards($current: UnityEngine.Vector2, $target: UnityEngine.Vector2, $maxDistanceDelta: number):UnityEngine.Vector2;
  1486. public static Scale($a: UnityEngine.Vector2, $b: UnityEngine.Vector2):UnityEngine.Vector2;
  1487. public Scale($scale: UnityEngine.Vector2):void;
  1488. public Normalize():void;
  1489. public ToString():string;
  1490. public ToString($format: string):string;
  1491. public Equals($other: any):boolean;
  1492. public Equals($other: UnityEngine.Vector2):boolean;
  1493. public static Reflect($inDirection: UnityEngine.Vector2, $inNormal: UnityEngine.Vector2):UnityEngine.Vector2;
  1494. public static Perpendicular($inDirection: UnityEngine.Vector2):UnityEngine.Vector2;
  1495. public static Dot($lhs: UnityEngine.Vector2, $rhs: UnityEngine.Vector2):number;
  1496. public static Angle($from: UnityEngine.Vector2, $to: UnityEngine.Vector2):number;
  1497. public static SignedAngle($from: UnityEngine.Vector2, $to: UnityEngine.Vector2):number;
  1498. public static Distance($a: UnityEngine.Vector2, $b: UnityEngine.Vector2):number;
  1499. public static ClampMagnitude($vector: UnityEngine.Vector2, $maxLength: number):UnityEngine.Vector2;
  1500. public static SqrMagnitude($a: UnityEngine.Vector2):number;
  1501. public SqrMagnitude():number;
  1502. public static Min($lhs: UnityEngine.Vector2, $rhs: UnityEngine.Vector2):UnityEngine.Vector2;
  1503. public static Max($lhs: UnityEngine.Vector2, $rhs: UnityEngine.Vector2):UnityEngine.Vector2;
  1504. public static SmoothDamp($current: UnityEngine.Vector2, $target: UnityEngine.Vector2, $currentVelocity: $Ref<UnityEngine.Vector2>, $smoothTime: number, $maxSpeed: number):UnityEngine.Vector2;
  1505. public static SmoothDamp($current: UnityEngine.Vector2, $target: UnityEngine.Vector2, $currentVelocity: $Ref<UnityEngine.Vector2>, $smoothTime: number):UnityEngine.Vector2;
  1506. public static SmoothDamp($current: UnityEngine.Vector2, $target: UnityEngine.Vector2, $currentVelocity: $Ref<UnityEngine.Vector2>, $smoothTime: number, $maxSpeed: number, $deltaTime: number):UnityEngine.Vector2;
  1507. public static op_Addition($a: UnityEngine.Vector2, $b: UnityEngine.Vector2):UnityEngine.Vector2;
  1508. public static op_Subtraction($a: UnityEngine.Vector2, $b: UnityEngine.Vector2):UnityEngine.Vector2;
  1509. public static op_Multiply($a: UnityEngine.Vector2, $b: UnityEngine.Vector2):UnityEngine.Vector2;
  1510. public static op_Division($a: UnityEngine.Vector2, $b: UnityEngine.Vector2):UnityEngine.Vector2;
  1511. public static op_UnaryNegation($a: UnityEngine.Vector2):UnityEngine.Vector2;
  1512. public static op_Multiply($a: UnityEngine.Vector2, $d: number):UnityEngine.Vector2;
  1513. public static op_Multiply($d: number, $a: UnityEngine.Vector2):UnityEngine.Vector2;
  1514. public static op_Division($a: UnityEngine.Vector2, $d: number):UnityEngine.Vector2;
  1515. public static op_Equality($lhs: UnityEngine.Vector2, $rhs: UnityEngine.Vector2):boolean;
  1516. public static op_Inequality($lhs: UnityEngine.Vector2, $rhs: UnityEngine.Vector2):boolean;
  1517. public static op_Implicit($v: UnityEngine.Vector3):UnityEngine.Vector2;
  1518. public static op_Implicit($v: UnityEngine.Vector2):UnityEngine.Vector3;
  1519. }
  1520. class Hash128 extends System.ValueType {
  1521. }
  1522. class Color extends System.ValueType {
  1523. public r: number;
  1524. public g: number;
  1525. public b: number;
  1526. public a: number;
  1527. public static red: UnityEngine.Color;
  1528. public static green: UnityEngine.Color;
  1529. public static blue: UnityEngine.Color;
  1530. public static white: UnityEngine.Color;
  1531. public static black: UnityEngine.Color;
  1532. public static yellow: UnityEngine.Color;
  1533. public static cyan: UnityEngine.Color;
  1534. public static magenta: UnityEngine.Color;
  1535. public static gray: UnityEngine.Color;
  1536. public static grey: UnityEngine.Color;
  1537. public static clear: UnityEngine.Color;
  1538. public grayscale: number;
  1539. public linear: UnityEngine.Color;
  1540. public gamma: UnityEngine.Color;
  1541. public maxColorComponent: number;
  1542. public constructor($r: number, $g: number, $b: number, $a: number);
  1543. public constructor($r: number, $g: number, $b: number);
  1544. public ToString():string;
  1545. public ToString($format: string):string;
  1546. public Equals($other: any):boolean;
  1547. public Equals($other: UnityEngine.Color):boolean;
  1548. public static op_Addition($a: UnityEngine.Color, $b: UnityEngine.Color):UnityEngine.Color;
  1549. public static op_Subtraction($a: UnityEngine.Color, $b: UnityEngine.Color):UnityEngine.Color;
  1550. public static op_Multiply($a: UnityEngine.Color, $b: UnityEngine.Color):UnityEngine.Color;
  1551. public static op_Multiply($a: UnityEngine.Color, $b: number):UnityEngine.Color;
  1552. public static op_Multiply($b: number, $a: UnityEngine.Color):UnityEngine.Color;
  1553. public static op_Division($a: UnityEngine.Color, $b: number):UnityEngine.Color;
  1554. public static op_Equality($lhs: UnityEngine.Color, $rhs: UnityEngine.Color):boolean;
  1555. public static op_Inequality($lhs: UnityEngine.Color, $rhs: UnityEngine.Color):boolean;
  1556. public static Lerp($a: UnityEngine.Color, $b: UnityEngine.Color, $t: number):UnityEngine.Color;
  1557. public static LerpUnclamped($a: UnityEngine.Color, $b: UnityEngine.Color, $t: number):UnityEngine.Color;
  1558. public static op_Implicit($c: UnityEngine.Color):UnityEngine.Vector4;
  1559. public static op_Implicit($v: UnityEngine.Vector4):UnityEngine.Color;
  1560. public get_Item($index: number):number;
  1561. public set_Item($index: number, $value: number):void;
  1562. public static RGBToHSV($rgbColor: UnityEngine.Color, $H: $Ref<number>, $S: $Ref<number>, $V: $Ref<number>):void;
  1563. public static HSVToRGB($H: number, $S: number, $V: number):UnityEngine.Color;
  1564. public static HSVToRGB($H: number, $S: number, $V: number, $hdr: boolean):UnityEngine.Color;
  1565. }
  1566. class Vector4 extends System.ValueType {
  1567. public static kEpsilon: number;
  1568. public x: number;
  1569. public y: number;
  1570. public z: number;
  1571. public w: number;
  1572. public normalized: UnityEngine.Vector4;
  1573. public magnitude: number;
  1574. public sqrMagnitude: number;
  1575. public static zero: UnityEngine.Vector4;
  1576. public static one: UnityEngine.Vector4;
  1577. public static positiveInfinity: UnityEngine.Vector4;
  1578. public static negativeInfinity: UnityEngine.Vector4;
  1579. public constructor($x: number, $y: number, $z: number, $w: number);
  1580. public constructor($x: number, $y: number, $z: number);
  1581. public constructor($x: number, $y: number);
  1582. public get_Item($index: number):number;
  1583. public set_Item($index: number, $value: number):void;
  1584. public Set($newX: number, $newY: number, $newZ: number, $newW: number):void;
  1585. public static Lerp($a: UnityEngine.Vector4, $b: UnityEngine.Vector4, $t: number):UnityEngine.Vector4;
  1586. public static LerpUnclamped($a: UnityEngine.Vector4, $b: UnityEngine.Vector4, $t: number):UnityEngine.Vector4;
  1587. public static MoveTowards($current: UnityEngine.Vector4, $target: UnityEngine.Vector4, $maxDistanceDelta: number):UnityEngine.Vector4;
  1588. public static Scale($a: UnityEngine.Vector4, $b: UnityEngine.Vector4):UnityEngine.Vector4;
  1589. public Scale($scale: UnityEngine.Vector4):void;
  1590. public Equals($other: any):boolean;
  1591. public Equals($other: UnityEngine.Vector4):boolean;
  1592. public static Normalize($a: UnityEngine.Vector4):UnityEngine.Vector4;
  1593. public Normalize():void;
  1594. public static Dot($a: UnityEngine.Vector4, $b: UnityEngine.Vector4):number;
  1595. public static Project($a: UnityEngine.Vector4, $b: UnityEngine.Vector4):UnityEngine.Vector4;
  1596. public static Distance($a: UnityEngine.Vector4, $b: UnityEngine.Vector4):number;
  1597. public static Magnitude($a: UnityEngine.Vector4):number;
  1598. public static Min($lhs: UnityEngine.Vector4, $rhs: UnityEngine.Vector4):UnityEngine.Vector4;
  1599. public static Max($lhs: UnityEngine.Vector4, $rhs: UnityEngine.Vector4):UnityEngine.Vector4;
  1600. public static op_Addition($a: UnityEngine.Vector4, $b: UnityEngine.Vector4):UnityEngine.Vector4;
  1601. public static op_Subtraction($a: UnityEngine.Vector4, $b: UnityEngine.Vector4):UnityEngine.Vector4;
  1602. public static op_UnaryNegation($a: UnityEngine.Vector4):UnityEngine.Vector4;
  1603. public static op_Multiply($a: UnityEngine.Vector4, $d: number):UnityEngine.Vector4;
  1604. public static op_Multiply($d: number, $a: UnityEngine.Vector4):UnityEngine.Vector4;
  1605. public static op_Division($a: UnityEngine.Vector4, $d: number):UnityEngine.Vector4;
  1606. public static op_Equality($lhs: UnityEngine.Vector4, $rhs: UnityEngine.Vector4):boolean;
  1607. public static op_Inequality($lhs: UnityEngine.Vector4, $rhs: UnityEngine.Vector4):boolean;
  1608. public static op_Implicit($v: UnityEngine.Vector3):UnityEngine.Vector4;
  1609. public static op_Implicit($v: UnityEngine.Vector4):UnityEngine.Vector3;
  1610. public static op_Implicit($v: UnityEngine.Vector2):UnityEngine.Vector4;
  1611. public static op_Implicit($v: UnityEngine.Vector4):UnityEngine.Vector2;
  1612. public ToString():string;
  1613. public ToString($format: string):string;
  1614. public static SqrMagnitude($a: UnityEngine.Vector4):number;
  1615. public SqrMagnitude():number;
  1616. }
  1617. class Touch extends System.ValueType {
  1618. public fingerId: number;
  1619. public position: UnityEngine.Vector2;
  1620. public rawPosition: UnityEngine.Vector2;
  1621. public deltaPosition: UnityEngine.Vector2;
  1622. public deltaTime: number;
  1623. public tapCount: number;
  1624. public phase: UnityEngine.TouchPhase;
  1625. public pressure: number;
  1626. public maximumPossiblePressure: number;
  1627. public type: UnityEngine.TouchType;
  1628. public altitudeAngle: number;
  1629. public azimuthAngle: number;
  1630. public radius: number;
  1631. public radiusVariance: number;
  1632. }
  1633. enum TouchPhase { Began = 0, Moved = 1, Stationary = 2, Ended = 3, Canceled = 4 }
  1634. enum TouchType { Direct = 0, Indirect = 1, Stylus = 2 }
  1635. class Application extends System.Object {
  1636. public static isPlaying: boolean;
  1637. public static isFocused: boolean;
  1638. public static platform: UnityEngine.RuntimePlatform;
  1639. public static buildGUID: string;
  1640. public static isMobilePlatform: boolean;
  1641. public static isConsolePlatform: boolean;
  1642. public static runInBackground: boolean;
  1643. public static isBatchMode: boolean;
  1644. public static dataPath: string;
  1645. public static streamingAssetsPath: string;
  1646. public static persistentDataPath: string;
  1647. public static temporaryCachePath: string;
  1648. public static absoluteURL: string;
  1649. public static unityVersion: string;
  1650. public static version: string;
  1651. public static installerName: string;
  1652. public static identifier: string;
  1653. public static installMode: UnityEngine.ApplicationInstallMode;
  1654. public static sandboxType: UnityEngine.ApplicationSandboxType;
  1655. public static productName: string;
  1656. public static companyName: string;
  1657. public static cloudProjectId: string;
  1658. public static targetFrameRate: number;
  1659. public static systemLanguage: UnityEngine.SystemLanguage;
  1660. public static consoleLogPath: string;
  1661. public static backgroundLoadingPriority: UnityEngine.ThreadPriority;
  1662. public static internetReachability: UnityEngine.NetworkReachability;
  1663. public static genuine: boolean;
  1664. public static genuineCheckAvailable: boolean;
  1665. public static isEditor: boolean;
  1666. public constructor();
  1667. public static Quit($exitCode: number):void;
  1668. public static Quit():void;
  1669. public static Unload():void;
  1670. public static CanStreamedLevelBeLoaded($levelIndex: number):boolean;
  1671. public static CanStreamedLevelBeLoaded($levelName: string):boolean;
  1672. public static IsPlaying($obj: UnityEngine.Object):boolean;
  1673. public static GetBuildTags():System.Array$1<string>;
  1674. public static SetBuildTags($buildTags: System.Array$1<string>):void;
  1675. public static HasProLicense():boolean;
  1676. public static RequestAdvertisingIdentifierAsync($delegateMethod: UnityEngine.Application.AdvertisingIdentifierCallback):boolean;
  1677. public static OpenURL($url: string):void;
  1678. public static GetStackTraceLogType($logType: UnityEngine.LogType):UnityEngine.StackTraceLogType;
  1679. public static SetStackTraceLogType($logType: UnityEngine.LogType, $stackTraceType: UnityEngine.StackTraceLogType):void;
  1680. public static RequestUserAuthorization($mode: UnityEngine.UserAuthorization):UnityEngine.AsyncOperation;
  1681. public static HasUserAuthorization($mode: UnityEngine.UserAuthorization):boolean;
  1682. public static add_lowMemory($value: UnityEngine.Application.LowMemoryCallback):void;
  1683. public static remove_lowMemory($value: UnityEngine.Application.LowMemoryCallback):void;
  1684. public static add_logMessageReceived($value: UnityEngine.Application.LogCallback):void;
  1685. public static remove_logMessageReceived($value: UnityEngine.Application.LogCallback):void;
  1686. public static add_logMessageReceivedThreaded($value: UnityEngine.Application.LogCallback):void;
  1687. public static remove_logMessageReceivedThreaded($value: UnityEngine.Application.LogCallback):void;
  1688. public static add_onBeforeRender($value: UnityEngine.Events.UnityAction):void;
  1689. public static remove_onBeforeRender($value: UnityEngine.Events.UnityAction):void;
  1690. public static add_focusChanged($value: System.Action$1<boolean>):void;
  1691. public static remove_focusChanged($value: System.Action$1<boolean>):void;
  1692. public static add_wantsToQuit($value: System.Func$1<boolean>):void;
  1693. public static remove_wantsToQuit($value: System.Func$1<boolean>):void;
  1694. public static add_quitting($value: System.Action):void;
  1695. public static remove_quitting($value: System.Action):void;
  1696. }
  1697. enum RuntimePlatform { OSXEditor = 0, OSXPlayer = 1, WindowsPlayer = 2, OSXWebPlayer = 3, OSXDashboardPlayer = 4, WindowsWebPlayer = 5, WindowsEditor = 7, IPhonePlayer = 8, XBOX360 = 10, PS3 = 9, Android = 11, NaCl = 12, FlashPlayer = 15, LinuxPlayer = 13, LinuxEditor = 16, WebGLPlayer = 17, MetroPlayerX86 = 18, WSAPlayerX86 = 18, MetroPlayerX64 = 19, WSAPlayerX64 = 19, MetroPlayerARM = 20, WSAPlayerARM = 20, WP8Player = 21, BB10Player = 22, BlackBerryPlayer = 22, TizenPlayer = 23, PSP2 = 24, PS4 = 25, PSM = 26, XboxOne = 27, SamsungTVPlayer = 28, WiiU = 30, tvOS = 31, Switch = 32, Lumin = 33 }
  1698. enum ApplicationInstallMode { Unknown = 0, Store = 1, DeveloperBuild = 2, Adhoc = 3, Enterprise = 4, Editor = 5 }
  1699. enum ApplicationSandboxType { Unknown = 0, NotSandboxed = 1, Sandboxed = 2, SandboxBroken = 3 }
  1700. enum SystemLanguage { Afrikaans = 0, Arabic = 1, Basque = 2, Belarusian = 3, Bulgarian = 4, Catalan = 5, Chinese = 6, Czech = 7, Danish = 8, Dutch = 9, English = 10, Estonian = 11, Faroese = 12, Finnish = 13, French = 14, German = 15, Greek = 16, Hebrew = 17, Hugarian = 18, Icelandic = 19, Indonesian = 20, Italian = 21, Japanese = 22, Korean = 23, Latvian = 24, Lithuanian = 25, Norwegian = 26, Polish = 27, Portuguese = 28, Romanian = 29, Russian = 30, SerboCroatian = 31, Slovak = 32, Slovenian = 33, Spanish = 34, Swedish = 35, Thai = 36, Turkish = 37, Ukrainian = 38, Vietnamese = 39, ChineseSimplified = 40, ChineseTraditional = 41, Unknown = 42, Hungarian = 18 }
  1701. enum StackTraceLogType { None = 0, ScriptOnly = 1, Full = 2 }
  1702. enum LogType { Error = 0, Assert = 1, Warning = 2, Log = 3, Exception = 4 }
  1703. enum NetworkReachability { NotReachable = 0, ReachableViaCarrierDataNetwork = 1, ReachableViaLocalAreaNetwork = 2 }
  1704. enum UserAuthorization { WebCam = 1, Microphone = 2 }
  1705. class Material extends UnityEngine.Object {
  1706. public shader: UnityEngine.Shader;
  1707. public color: UnityEngine.Color;
  1708. public mainTexture: UnityEngine.Texture;
  1709. public mainTextureOffset: UnityEngine.Vector2;
  1710. public mainTextureScale: UnityEngine.Vector2;
  1711. public renderQueue: number;
  1712. public globalIlluminationFlags: UnityEngine.MaterialGlobalIlluminationFlags;
  1713. public doubleSidedGI: boolean;
  1714. public enableInstancing: boolean;
  1715. public passCount: number;
  1716. public shaderKeywords: System.Array$1<string>;
  1717. public constructor($shader: UnityEngine.Shader);
  1718. public constructor($source: UnityEngine.Material);
  1719. public HasProperty($nameID: number):boolean;
  1720. public HasProperty($name: string):boolean;
  1721. public EnableKeyword($keyword: string):void;
  1722. public DisableKeyword($keyword: string):void;
  1723. public IsKeywordEnabled($keyword: string):boolean;
  1724. public SetShaderPassEnabled($passName: string, $enabled: boolean):void;
  1725. public GetShaderPassEnabled($passName: string):boolean;
  1726. public GetPassName($pass: number):string;
  1727. public FindPass($passName: string):number;
  1728. public SetOverrideTag($tag: string, $val: string):void;
  1729. public GetTag($tag: string, $searchFallbacks: boolean, $defaultValue: string):string;
  1730. public GetTag($tag: string, $searchFallbacks: boolean):string;
  1731. public Lerp($start: UnityEngine.Material, $end: UnityEngine.Material, $t: number):void;
  1732. public SetPass($pass: number):boolean;
  1733. public CopyPropertiesFromMaterial($mat: UnityEngine.Material):void;
  1734. public GetTexturePropertyNames():System.Array$1<string>;
  1735. public GetTexturePropertyNameIDs():System.Array$1<number>;
  1736. public GetTexturePropertyNames($outNames: System.Collections.Generic.List$1<string>):void;
  1737. public GetTexturePropertyNameIDs($outNames: System.Collections.Generic.List$1<number>):void;
  1738. public SetFloat($name: string, $value: number):void;
  1739. public SetFloat($nameID: number, $value: number):void;
  1740. public SetInt($name: string, $value: number):void;
  1741. public SetInt($nameID: number, $value: number):void;
  1742. public SetColor($name: string, $value: UnityEngine.Color):void;
  1743. public SetColor($nameID: number, $value: UnityEngine.Color):void;
  1744. public SetVector($name: string, $value: UnityEngine.Vector4):void;
  1745. public SetVector($nameID: number, $value: UnityEngine.Vector4):void;
  1746. public SetMatrix($name: string, $value: UnityEngine.Matrix4x4):void;
  1747. public SetMatrix($nameID: number, $value: UnityEngine.Matrix4x4):void;
  1748. public SetTexture($name: string, $value: UnityEngine.Texture):void;
  1749. public SetTexture($nameID: number, $value: UnityEngine.Texture):void;
  1750. public SetBuffer($name: string, $value: UnityEngine.ComputeBuffer):void;
  1751. public SetBuffer($nameID: number, $value: UnityEngine.ComputeBuffer):void;
  1752. public SetFloatArray($name: string, $values: System.Collections.Generic.List$1<number>):void;
  1753. public SetFloatArray($nameID: number, $values: System.Collections.Generic.List$1<number>):void;
  1754. public SetFloatArray($name: string, $values: System.Array$1<number>):void;
  1755. public SetFloatArray($nameID: number, $values: System.Array$1<number>):void;
  1756. public SetColorArray($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Color>):void;
  1757. public SetColorArray($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Color>):void;
  1758. public SetColorArray($name: string, $values: System.Array$1<UnityEngine.Color>):void;
  1759. public SetColorArray($nameID: number, $values: System.Array$1<UnityEngine.Color>):void;
  1760. public SetVectorArray($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  1761. public SetVectorArray($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  1762. public SetVectorArray($name: string, $values: System.Array$1<UnityEngine.Vector4>):void;
  1763. public SetVectorArray($nameID: number, $values: System.Array$1<UnityEngine.Vector4>):void;
  1764. public SetMatrixArray($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>):void;
  1765. public SetMatrixArray($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>):void;
  1766. public SetMatrixArray($name: string, $values: System.Array$1<UnityEngine.Matrix4x4>):void;
  1767. public SetMatrixArray($nameID: number, $values: System.Array$1<UnityEngine.Matrix4x4>):void;
  1768. public GetFloat($name: string):number;
  1769. public GetFloat($nameID: number):number;
  1770. public GetInt($name: string):number;
  1771. public GetInt($nameID: number):number;
  1772. public GetColor($name: string):UnityEngine.Color;
  1773. public GetColor($nameID: number):UnityEngine.Color;
  1774. public GetVector($name: string):UnityEngine.Vector4;
  1775. public GetVector($nameID: number):UnityEngine.Vector4;
  1776. public GetMatrix($name: string):UnityEngine.Matrix4x4;
  1777. public GetMatrix($nameID: number):UnityEngine.Matrix4x4;
  1778. public GetTexture($name: string):UnityEngine.Texture;
  1779. public GetTexture($nameID: number):UnityEngine.Texture;
  1780. public GetFloatArray($name: string):System.Array$1<number>;
  1781. public GetFloatArray($nameID: number):System.Array$1<number>;
  1782. public GetColorArray($name: string):System.Array$1<UnityEngine.Color>;
  1783. public GetColorArray($nameID: number):System.Array$1<UnityEngine.Color>;
  1784. public GetVectorArray($name: string):System.Array$1<UnityEngine.Vector4>;
  1785. public GetVectorArray($nameID: number):System.Array$1<UnityEngine.Vector4>;
  1786. public GetMatrixArray($name: string):System.Array$1<UnityEngine.Matrix4x4>;
  1787. public GetMatrixArray($nameID: number):System.Array$1<UnityEngine.Matrix4x4>;
  1788. public GetFloatArray($name: string, $values: System.Collections.Generic.List$1<number>):void;
  1789. public GetFloatArray($nameID: number, $values: System.Collections.Generic.List$1<number>):void;
  1790. public GetColorArray($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Color>):void;
  1791. public GetColorArray($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Color>):void;
  1792. public GetVectorArray($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  1793. public GetVectorArray($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  1794. public GetMatrixArray($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>):void;
  1795. public GetMatrixArray($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>):void;
  1796. public SetTextureOffset($name: string, $value: UnityEngine.Vector2):void;
  1797. public SetTextureOffset($nameID: number, $value: UnityEngine.Vector2):void;
  1798. public SetTextureScale($name: string, $value: UnityEngine.Vector2):void;
  1799. public SetTextureScale($nameID: number, $value: UnityEngine.Vector2):void;
  1800. public GetTextureOffset($name: string):UnityEngine.Vector2;
  1801. public GetTextureOffset($nameID: number):UnityEngine.Vector2;
  1802. public GetTextureScale($name: string):UnityEngine.Vector2;
  1803. public GetTextureScale($nameID: number):UnityEngine.Vector2;
  1804. }
  1805. class Shader extends UnityEngine.Object {
  1806. public maximumLOD: number;
  1807. public static globalMaximumLOD: number;
  1808. public isSupported: boolean;
  1809. public static globalRenderPipeline: string;
  1810. public renderQueue: number;
  1811. public static Find($name: string):UnityEngine.Shader;
  1812. public static EnableKeyword($keyword: string):void;
  1813. public static DisableKeyword($keyword: string):void;
  1814. public static IsKeywordEnabled($keyword: string):boolean;
  1815. public static WarmupAllShaders():void;
  1816. public static PropertyToID($name: string):number;
  1817. public static SetGlobalFloat($name: string, $value: number):void;
  1818. public static SetGlobalFloat($nameID: number, $value: number):void;
  1819. public static SetGlobalInt($name: string, $value: number):void;
  1820. public static SetGlobalInt($nameID: number, $value: number):void;
  1821. public static SetGlobalVector($name: string, $value: UnityEngine.Vector4):void;
  1822. public static SetGlobalVector($nameID: number, $value: UnityEngine.Vector4):void;
  1823. public static SetGlobalColor($name: string, $value: UnityEngine.Color):void;
  1824. public static SetGlobalColor($nameID: number, $value: UnityEngine.Color):void;
  1825. public static SetGlobalMatrix($name: string, $value: UnityEngine.Matrix4x4):void;
  1826. public static SetGlobalMatrix($nameID: number, $value: UnityEngine.Matrix4x4):void;
  1827. public static SetGlobalTexture($name: string, $value: UnityEngine.Texture):void;
  1828. public static SetGlobalTexture($nameID: number, $value: UnityEngine.Texture):void;
  1829. public static SetGlobalBuffer($name: string, $value: UnityEngine.ComputeBuffer):void;
  1830. public static SetGlobalBuffer($nameID: number, $value: UnityEngine.ComputeBuffer):void;
  1831. public static SetGlobalFloatArray($name: string, $values: System.Collections.Generic.List$1<number>):void;
  1832. public static SetGlobalFloatArray($nameID: number, $values: System.Collections.Generic.List$1<number>):void;
  1833. public static SetGlobalFloatArray($name: string, $values: System.Array$1<number>):void;
  1834. public static SetGlobalFloatArray($nameID: number, $values: System.Array$1<number>):void;
  1835. public static SetGlobalVectorArray($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  1836. public static SetGlobalVectorArray($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  1837. public static SetGlobalVectorArray($name: string, $values: System.Array$1<UnityEngine.Vector4>):void;
  1838. public static SetGlobalVectorArray($nameID: number, $values: System.Array$1<UnityEngine.Vector4>):void;
  1839. public static SetGlobalMatrixArray($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>):void;
  1840. public static SetGlobalMatrixArray($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>):void;
  1841. public static SetGlobalMatrixArray($name: string, $values: System.Array$1<UnityEngine.Matrix4x4>):void;
  1842. public static SetGlobalMatrixArray($nameID: number, $values: System.Array$1<UnityEngine.Matrix4x4>):void;
  1843. public static GetGlobalFloat($name: string):number;
  1844. public static GetGlobalFloat($nameID: number):number;
  1845. public static GetGlobalInt($name: string):number;
  1846. public static GetGlobalInt($nameID: number):number;
  1847. public static GetGlobalVector($name: string):UnityEngine.Vector4;
  1848. public static GetGlobalVector($nameID: number):UnityEngine.Vector4;
  1849. public static GetGlobalColor($name: string):UnityEngine.Color;
  1850. public static GetGlobalColor($nameID: number):UnityEngine.Color;
  1851. public static GetGlobalMatrix($name: string):UnityEngine.Matrix4x4;
  1852. public static GetGlobalMatrix($nameID: number):UnityEngine.Matrix4x4;
  1853. public static GetGlobalTexture($name: string):UnityEngine.Texture;
  1854. public static GetGlobalTexture($nameID: number):UnityEngine.Texture;
  1855. public static GetGlobalFloatArray($name: string):System.Array$1<number>;
  1856. public static GetGlobalFloatArray($nameID: number):System.Array$1<number>;
  1857. public static GetGlobalVectorArray($name: string):System.Array$1<UnityEngine.Vector4>;
  1858. public static GetGlobalVectorArray($nameID: number):System.Array$1<UnityEngine.Vector4>;
  1859. public static GetGlobalMatrixArray($name: string):System.Array$1<UnityEngine.Matrix4x4>;
  1860. public static GetGlobalMatrixArray($nameID: number):System.Array$1<UnityEngine.Matrix4x4>;
  1861. public static GetGlobalFloatArray($name: string, $values: System.Collections.Generic.List$1<number>):void;
  1862. public static GetGlobalFloatArray($nameID: number, $values: System.Collections.Generic.List$1<number>):void;
  1863. public static GetGlobalVectorArray($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  1864. public static GetGlobalVectorArray($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  1865. public static GetGlobalMatrixArray($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>):void;
  1866. public static GetGlobalMatrixArray($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>):void;
  1867. }
  1868. enum MaterialGlobalIlluminationFlags { None = 0, RealtimeEmissive = 1, BakedEmissive = 2, EmissiveIsBlack = 4, AnyEmissive = 3 }
  1869. class ComputeBuffer extends System.Object {
  1870. }
  1871. class Ray extends System.ValueType {
  1872. public origin: UnityEngine.Vector3;
  1873. public direction: UnityEngine.Vector3;
  1874. public constructor($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3);
  1875. public GetPoint($distance: number):UnityEngine.Vector3;
  1876. public ToString():string;
  1877. public ToString($format: string):string;
  1878. }
  1879. class Camera extends UnityEngine.Behaviour {
  1880. public static onPreCull: UnityEngine.Camera.CameraCallback;
  1881. public static onPreRender: UnityEngine.Camera.CameraCallback;
  1882. public static onPostRender: UnityEngine.Camera.CameraCallback;
  1883. public nearClipPlane: number;
  1884. public farClipPlane: number;
  1885. public fieldOfView: number;
  1886. public renderingPath: UnityEngine.RenderingPath;
  1887. public actualRenderingPath: UnityEngine.RenderingPath;
  1888. public allowHDR: boolean;
  1889. public allowMSAA: boolean;
  1890. public allowDynamicResolution: boolean;
  1891. public forceIntoRenderTexture: boolean;
  1892. public orthographicSize: number;
  1893. public orthographic: boolean;
  1894. public opaqueSortMode: UnityEngine.Rendering.OpaqueSortMode;
  1895. public transparencySortMode: UnityEngine.TransparencySortMode;
  1896. public transparencySortAxis: UnityEngine.Vector3;
  1897. public depth: number;
  1898. public aspect: number;
  1899. public velocity: UnityEngine.Vector3;
  1900. public cullingMask: number;
  1901. public eventMask: number;
  1902. public layerCullSpherical: boolean;
  1903. public cameraType: UnityEngine.CameraType;
  1904. public layerCullDistances: System.Array$1<number>;
  1905. public useOcclusionCulling: boolean;
  1906. public cullingMatrix: UnityEngine.Matrix4x4;
  1907. public backgroundColor: UnityEngine.Color;
  1908. public clearFlags: UnityEngine.CameraClearFlags;
  1909. public depthTextureMode: UnityEngine.DepthTextureMode;
  1910. public clearStencilAfterLightingPass: boolean;
  1911. public usePhysicalProperties: boolean;
  1912. public sensorSize: UnityEngine.Vector2;
  1913. public lensShift: UnityEngine.Vector2;
  1914. public focalLength: number;
  1915. public gateFit: UnityEngine.Camera.GateFitMode;
  1916. public rect: UnityEngine.Rect;
  1917. public pixelRect: UnityEngine.Rect;
  1918. public pixelWidth: number;
  1919. public pixelHeight: number;
  1920. public scaledPixelWidth: number;
  1921. public scaledPixelHeight: number;
  1922. public targetTexture: UnityEngine.RenderTexture;
  1923. public activeTexture: UnityEngine.RenderTexture;
  1924. public targetDisplay: number;
  1925. public cameraToWorldMatrix: UnityEngine.Matrix4x4;
  1926. public worldToCameraMatrix: UnityEngine.Matrix4x4;
  1927. public projectionMatrix: UnityEngine.Matrix4x4;
  1928. public nonJitteredProjectionMatrix: UnityEngine.Matrix4x4;
  1929. public useJitteredProjectionMatrixForTransparentRendering: boolean;
  1930. public previousViewProjectionMatrix: UnityEngine.Matrix4x4;
  1931. public static main: UnityEngine.Camera;
  1932. public static current: UnityEngine.Camera;
  1933. public scene: UnityEngine.SceneManagement.Scene;
  1934. public stereoEnabled: boolean;
  1935. public stereoSeparation: number;
  1936. public stereoConvergence: number;
  1937. public areVRStereoViewMatricesWithinSingleCullTolerance: boolean;
  1938. public stereoTargetEye: UnityEngine.StereoTargetEyeMask;
  1939. public stereoActiveEye: UnityEngine.Camera.MonoOrStereoscopicEye;
  1940. public static allCamerasCount: number;
  1941. public static allCameras: System.Array$1<UnityEngine.Camera>;
  1942. public commandBufferCount: number;
  1943. public constructor();
  1944. public Reset():void;
  1945. public ResetTransparencySortSettings():void;
  1946. public ResetAspect():void;
  1947. public ResetCullingMatrix():void;
  1948. public SetReplacementShader($shader: UnityEngine.Shader, $replacementTag: string):void;
  1949. public ResetReplacementShader():void;
  1950. public SetTargetBuffers($colorBuffer: UnityEngine.RenderBuffer, $depthBuffer: UnityEngine.RenderBuffer):void;
  1951. public SetTargetBuffers($colorBuffer: System.Array$1<UnityEngine.RenderBuffer>, $depthBuffer: UnityEngine.RenderBuffer):void;
  1952. public ResetWorldToCameraMatrix():void;
  1953. public ResetProjectionMatrix():void;
  1954. public CalculateObliqueMatrix($clipPlane: UnityEngine.Vector4):UnityEngine.Matrix4x4;
  1955. public WorldToScreenPoint($position: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye):UnityEngine.Vector3;
  1956. public WorldToViewportPoint($position: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye):UnityEngine.Vector3;
  1957. public ViewportToWorldPoint($position: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye):UnityEngine.Vector3;
  1958. public ScreenToWorldPoint($position: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye):UnityEngine.Vector3;
  1959. public WorldToScreenPoint($position: UnityEngine.Vector3):UnityEngine.Vector3;
  1960. public WorldToViewportPoint($position: UnityEngine.Vector3):UnityEngine.Vector3;
  1961. public ViewportToWorldPoint($position: UnityEngine.Vector3):UnityEngine.Vector3;
  1962. public ScreenToWorldPoint($position: UnityEngine.Vector3):UnityEngine.Vector3;
  1963. public ScreenToViewportPoint($position: UnityEngine.Vector3):UnityEngine.Vector3;
  1964. public ViewportToScreenPoint($position: UnityEngine.Vector3):UnityEngine.Vector3;
  1965. public ViewportPointToRay($pos: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye):UnityEngine.Ray;
  1966. public ViewportPointToRay($pos: UnityEngine.Vector3):UnityEngine.Ray;
  1967. public ScreenPointToRay($pos: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye):UnityEngine.Ray;
  1968. public ScreenPointToRay($pos: UnityEngine.Vector3):UnityEngine.Ray;
  1969. public CalculateFrustumCorners($viewport: UnityEngine.Rect, $z: number, $eye: UnityEngine.Camera.MonoOrStereoscopicEye, $outCorners: System.Array$1<UnityEngine.Vector3>):void;
  1970. public static CalculateProjectionMatrixFromPhysicalProperties($output: $Ref<UnityEngine.Matrix4x4>, $focalLength: number, $sensorSize: UnityEngine.Vector2, $lensShift: UnityEngine.Vector2, $nearClip: number, $farClip: number, $gateFitParameters?: UnityEngine.Camera.GateFitParameters):void;
  1971. public static FocalLengthToFOV($focalLength: number, $sensorSize: number):number;
  1972. public static FOVToFocalLength($fov: number, $sensorSize: number):number;
  1973. public GetStereoNonJitteredProjectionMatrix($eye: UnityEngine.Camera.StereoscopicEye):UnityEngine.Matrix4x4;
  1974. public GetStereoViewMatrix($eye: UnityEngine.Camera.StereoscopicEye):UnityEngine.Matrix4x4;
  1975. public CopyStereoDeviceProjectionMatrixToNonJittered($eye: UnityEngine.Camera.StereoscopicEye):void;
  1976. public GetStereoProjectionMatrix($eye: UnityEngine.Camera.StereoscopicEye):UnityEngine.Matrix4x4;
  1977. public SetStereoProjectionMatrix($eye: UnityEngine.Camera.StereoscopicEye, $matrix: UnityEngine.Matrix4x4):void;
  1978. public ResetStereoProjectionMatrices():void;
  1979. public SetStereoViewMatrix($eye: UnityEngine.Camera.StereoscopicEye, $matrix: UnityEngine.Matrix4x4):void;
  1980. public ResetStereoViewMatrices():void;
  1981. public static GetAllCameras($cameras: System.Array$1<UnityEngine.Camera>):number;
  1982. public RenderToCubemap($cubemap: UnityEngine.Cubemap, $faceMask: number):boolean;
  1983. public RenderToCubemap($cubemap: UnityEngine.Cubemap):boolean;
  1984. public RenderToCubemap($cubemap: UnityEngine.RenderTexture, $faceMask: number):boolean;
  1985. public RenderToCubemap($cubemap: UnityEngine.RenderTexture):boolean;
  1986. public RenderToCubemap($cubemap: UnityEngine.RenderTexture, $faceMask: number, $stereoEye: UnityEngine.Camera.MonoOrStereoscopicEye):boolean;
  1987. public Render():void;
  1988. public RenderWithShader($shader: UnityEngine.Shader, $replacementTag: string):void;
  1989. public RenderDontRestore():void;
  1990. public static SetupCurrent($cur: UnityEngine.Camera):void;
  1991. public CopyFrom($other: UnityEngine.Camera):void;
  1992. public RemoveCommandBuffers($evt: UnityEngine.Rendering.CameraEvent):void;
  1993. public RemoveAllCommandBuffers():void;
  1994. public AddCommandBuffer($evt: UnityEngine.Rendering.CameraEvent, $buffer: UnityEngine.Rendering.CommandBuffer):void;
  1995. public AddCommandBufferAsync($evt: UnityEngine.Rendering.CameraEvent, $buffer: UnityEngine.Rendering.CommandBuffer, $queueType: UnityEngine.Rendering.ComputeQueueType):void;
  1996. public RemoveCommandBuffer($evt: UnityEngine.Rendering.CameraEvent, $buffer: UnityEngine.Rendering.CommandBuffer):void;
  1997. public GetCommandBuffers($evt: UnityEngine.Rendering.CameraEvent):System.Array$1<UnityEngine.Rendering.CommandBuffer>;
  1998. }
  1999. enum RenderingPath { UsePlayerSettings = -1, VertexLit = 0, Forward = 1, DeferredLighting = 2, DeferredShading = 3 }
  2000. enum TransparencySortMode { Default = 0, Perspective = 1, Orthographic = 2, CustomAxis = 3 }
  2001. enum CameraType { Game = 1, SceneView = 2, Preview = 4, VR = 8, Reflection = 16 }
  2002. enum CameraClearFlags { Skybox = 1, Color = 2, SolidColor = 2, Depth = 3, Nothing = 4 }
  2003. enum DepthTextureMode { None = 0, Depth = 1, DepthNormals = 2, MotionVectors = 4 }
  2004. class Rect extends System.ValueType {
  2005. public static zero: UnityEngine.Rect;
  2006. public x: number;
  2007. public y: number;
  2008. public position: UnityEngine.Vector2;
  2009. public center: UnityEngine.Vector2;
  2010. public min: UnityEngine.Vector2;
  2011. public max: UnityEngine.Vector2;
  2012. public width: number;
  2013. public height: number;
  2014. public size: UnityEngine.Vector2;
  2015. public xMin: number;
  2016. public yMin: number;
  2017. public xMax: number;
  2018. public yMax: number;
  2019. public constructor($x: number, $y: number, $width: number, $height: number);
  2020. public constructor($position: UnityEngine.Vector2, $size: UnityEngine.Vector2);
  2021. public constructor($source: UnityEngine.Rect);
  2022. public static MinMaxRect($xmin: number, $ymin: number, $xmax: number, $ymax: number):UnityEngine.Rect;
  2023. public Set($x: number, $y: number, $width: number, $height: number):void;
  2024. public Contains($point: UnityEngine.Vector2):boolean;
  2025. public Contains($point: UnityEngine.Vector3):boolean;
  2026. public Contains($point: UnityEngine.Vector3, $allowInverse: boolean):boolean;
  2027. public Overlaps($other: UnityEngine.Rect):boolean;
  2028. public Overlaps($other: UnityEngine.Rect, $allowInverse: boolean):boolean;
  2029. public static NormalizedToPoint($rectangle: UnityEngine.Rect, $normalizedRectCoordinates: UnityEngine.Vector2):UnityEngine.Vector2;
  2030. public static PointToNormalized($rectangle: UnityEngine.Rect, $point: UnityEngine.Vector2):UnityEngine.Vector2;
  2031. public static op_Inequality($lhs: UnityEngine.Rect, $rhs: UnityEngine.Rect):boolean;
  2032. public static op_Equality($lhs: UnityEngine.Rect, $rhs: UnityEngine.Rect):boolean;
  2033. public Equals($other: any):boolean;
  2034. public Equals($other: UnityEngine.Rect):boolean;
  2035. public ToString():string;
  2036. public ToString($format: string):string;
  2037. }
  2038. class RenderTexture extends UnityEngine.Texture {
  2039. public width: number;
  2040. public height: number;
  2041. public dimension: UnityEngine.Rendering.TextureDimension;
  2042. public useMipMap: boolean;
  2043. public sRGB: boolean;
  2044. public format: UnityEngine.RenderTextureFormat;
  2045. public vrUsage: UnityEngine.VRTextureUsage;
  2046. public memorylessMode: UnityEngine.RenderTextureMemoryless;
  2047. public autoGenerateMips: boolean;
  2048. public volumeDepth: number;
  2049. public antiAliasing: number;
  2050. public bindTextureMS: boolean;
  2051. public enableRandomWrite: boolean;
  2052. public useDynamicScale: boolean;
  2053. public isPowerOfTwo: boolean;
  2054. public static active: UnityEngine.RenderTexture;
  2055. public colorBuffer: UnityEngine.RenderBuffer;
  2056. public depthBuffer: UnityEngine.RenderBuffer;
  2057. public depth: number;
  2058. public descriptor: UnityEngine.RenderTextureDescriptor;
  2059. public constructor($desc: UnityEngine.RenderTextureDescriptor);
  2060. public constructor($textureToCopy: UnityEngine.RenderTexture);
  2061. public constructor($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat);
  2062. public constructor($width: number, $height: number, $depth: number, $format: UnityEngine.RenderTextureFormat, $readWrite: UnityEngine.RenderTextureReadWrite);
  2063. public constructor($width: number, $height: number, $depth: number, $format: UnityEngine.RenderTextureFormat);
  2064. public constructor($width: number, $height: number, $depth: number);
  2065. public GetNativeDepthBufferPtr():System.IntPtr;
  2066. public DiscardContents($discardColor: boolean, $discardDepth: boolean):void;
  2067. public MarkRestoreExpected():void;
  2068. public DiscardContents():void;
  2069. public ResolveAntiAliasedSurface():void;
  2070. public ResolveAntiAliasedSurface($target: UnityEngine.RenderTexture):void;
  2071. public SetGlobalShaderProperty($propertyName: string):void;
  2072. public Create():boolean;
  2073. public Release():void;
  2074. public IsCreated():boolean;
  2075. public GenerateMips():void;
  2076. public ConvertToEquirect($equirect: UnityEngine.RenderTexture, $eye?: UnityEngine.Camera.MonoOrStereoscopicEye):void;
  2077. public static SupportsStencil($rt: UnityEngine.RenderTexture):boolean;
  2078. public static ReleaseTemporary($temp: UnityEngine.RenderTexture):void;
  2079. public static GetTemporary($desc: UnityEngine.RenderTextureDescriptor):UnityEngine.RenderTexture;
  2080. public static GetTemporary($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.RenderTextureFormat, $readWrite: UnityEngine.RenderTextureReadWrite, $antiAliasing: number, $memorylessMode: UnityEngine.RenderTextureMemoryless, $vrUsage: UnityEngine.VRTextureUsage, $useDynamicScale: boolean):UnityEngine.RenderTexture;
  2081. public static GetTemporary($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.RenderTextureFormat, $readWrite: UnityEngine.RenderTextureReadWrite, $antiAliasing: number, $memorylessMode: UnityEngine.RenderTextureMemoryless, $vrUsage: UnityEngine.VRTextureUsage):UnityEngine.RenderTexture;
  2082. public static GetTemporary($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.RenderTextureFormat, $readWrite: UnityEngine.RenderTextureReadWrite, $antiAliasing: number, $memorylessMode: UnityEngine.RenderTextureMemoryless):UnityEngine.RenderTexture;
  2083. public static GetTemporary($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.RenderTextureFormat, $readWrite: UnityEngine.RenderTextureReadWrite, $antiAliasing: number):UnityEngine.RenderTexture;
  2084. public static GetTemporary($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.RenderTextureFormat, $readWrite: UnityEngine.RenderTextureReadWrite):UnityEngine.RenderTexture;
  2085. public static GetTemporary($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.RenderTextureFormat):UnityEngine.RenderTexture;
  2086. public static GetTemporary($width: number, $height: number, $depthBuffer: number):UnityEngine.RenderTexture;
  2087. public static GetTemporary($width: number, $height: number):UnityEngine.RenderTexture;
  2088. }
  2089. class RenderBuffer extends System.ValueType {
  2090. }
  2091. enum StereoTargetEyeMask { None = 0, Left = 1, Right = 2, Both = 3 }
  2092. class Cubemap extends UnityEngine.Texture {
  2093. }
  2094. class FrustumPlanes extends System.ValueType {
  2095. }
  2096. class Plane extends System.ValueType {
  2097. public normal: UnityEngine.Vector3;
  2098. public distance: number;
  2099. public flipped: UnityEngine.Plane;
  2100. public constructor($inNormal: UnityEngine.Vector3, $inPoint: UnityEngine.Vector3);
  2101. public constructor($inNormal: UnityEngine.Vector3, $d: number);
  2102. public constructor($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $c: UnityEngine.Vector3);
  2103. public SetNormalAndPosition($inNormal: UnityEngine.Vector3, $inPoint: UnityEngine.Vector3):void;
  2104. public Set3Points($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $c: UnityEngine.Vector3):void;
  2105. public Flip():void;
  2106. public Translate($translation: UnityEngine.Vector3):void;
  2107. public static Translate($plane: UnityEngine.Plane, $translation: UnityEngine.Vector3):UnityEngine.Plane;
  2108. public ClosestPointOnPlane($point: UnityEngine.Vector3):UnityEngine.Vector3;
  2109. public GetDistanceToPoint($point: UnityEngine.Vector3):number;
  2110. public GetSide($point: UnityEngine.Vector3):boolean;
  2111. public SameSide($inPt0: UnityEngine.Vector3, $inPt1: UnityEngine.Vector3):boolean;
  2112. public Raycast($ray: UnityEngine.Ray, $enter: $Ref<number>):boolean;
  2113. public ToString():string;
  2114. public ToString($format: string):string;
  2115. }
  2116. enum TexGenMode { None = 0, SphereMap = 1, Object = 2, EyeLinear = 3, CubeReflect = 4, CubeNormal = 5 }
  2117. enum RenderTextureFormat { ARGB32 = 0, Depth = 1, ARGBHalf = 2, Shadowmap = 3, RGB565 = 4, ARGB4444 = 5, ARGB1555 = 6, Default = 7, ARGB2101010 = 8, DefaultHDR = 9, ARGB64 = 10, ARGBFloat = 11, RGFloat = 12, RGHalf = 13, RFloat = 14, RHalf = 15, R8 = 16, ARGBInt = 17, RGInt = 18, RInt = 19, BGRA32 = 20, RGB111110Float = 22, RG32 = 23, RGBAUShort = 24, RG16 = 25, BGRA10101010_XR = 26, BGR101010_XR = 27, R16 = 28 }
  2118. enum VRTextureUsage { None = 0, OneEye = 1, TwoEyes = 2 }
  2119. enum RenderTextureMemoryless { None = 0, Color = 1, Depth = 2, MSAA = 4 }
  2120. class RenderTextureDescriptor extends System.ValueType {
  2121. }
  2122. enum RenderTextureReadWrite { Default = 0, Linear = 1, sRGB = 2 }
  2123. class Debug extends System.Object {
  2124. public static unityLogger: UnityEngine.ILogger;
  2125. public static developerConsoleVisible: boolean;
  2126. public static isDebugBuild: boolean;
  2127. public constructor();
  2128. public static DrawLine($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $color: UnityEngine.Color, $duration: number):void;
  2129. public static DrawLine($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $color: UnityEngine.Color):void;
  2130. public static DrawLine($start: UnityEngine.Vector3, $end: UnityEngine.Vector3):void;
  2131. public static DrawLine($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $color: UnityEngine.Color, $duration: number, $depthTest: boolean):void;
  2132. public static DrawRay($start: UnityEngine.Vector3, $dir: UnityEngine.Vector3, $color: UnityEngine.Color, $duration: number):void;
  2133. public static DrawRay($start: UnityEngine.Vector3, $dir: UnityEngine.Vector3, $color: UnityEngine.Color):void;
  2134. public static DrawRay($start: UnityEngine.Vector3, $dir: UnityEngine.Vector3):void;
  2135. public static DrawRay($start: UnityEngine.Vector3, $dir: UnityEngine.Vector3, $color: UnityEngine.Color, $duration: number, $depthTest: boolean):void;
  2136. public static Break():void;
  2137. public static DebugBreak():void;
  2138. public static Log($message: any):void;
  2139. public static Log($message: any, $context: UnityEngine.Object):void;
  2140. public static LogFormat($format: string, ...args: any[]):void;
  2141. public static LogFormat($context: UnityEngine.Object, $format: string, ...args: any[]):void;
  2142. public static LogError($message: any):void;
  2143. public static LogError($message: any, $context: UnityEngine.Object):void;
  2144. public static LogErrorFormat($format: string, ...args: any[]):void;
  2145. public static LogErrorFormat($context: UnityEngine.Object, $format: string, ...args: any[]):void;
  2146. public static ClearDeveloperConsole():void;
  2147. public static LogException($exception: System.Exception):void;
  2148. public static LogException($exception: System.Exception, $context: UnityEngine.Object):void;
  2149. public static LogWarning($message: any):void;
  2150. public static LogWarning($message: any, $context: UnityEngine.Object):void;
  2151. public static LogWarningFormat($format: string, ...args: any[]):void;
  2152. public static LogWarningFormat($context: UnityEngine.Object, $format: string, ...args: any[]):void;
  2153. public static Assert($condition: boolean):void;
  2154. public static Assert($condition: boolean, $context: UnityEngine.Object):void;
  2155. public static Assert($condition: boolean, $message: any):void;
  2156. public static Assert($condition: boolean, $message: string):void;
  2157. public static Assert($condition: boolean, $message: any, $context: UnityEngine.Object):void;
  2158. public static Assert($condition: boolean, $message: string, $context: UnityEngine.Object):void;
  2159. public static AssertFormat($condition: boolean, $format: string, ...args: any[]):void;
  2160. public static AssertFormat($condition: boolean, $context: UnityEngine.Object, $format: string, ...args: any[]):void;
  2161. public static LogAssertion($message: any):void;
  2162. public static LogAssertion($message: any, $context: UnityEngine.Object):void;
  2163. public static LogAssertionFormat($format: string, ...args: any[]):void;
  2164. public static LogAssertionFormat($context: UnityEngine.Object, $format: string, ...args: any[]):void;
  2165. }
  2166. interface ILogger {
  2167. }
  2168. class Display extends System.Object {
  2169. public static displays: System.Array$1<UnityEngine.Display>;
  2170. public renderingWidth: number;
  2171. public renderingHeight: number;
  2172. public systemWidth: number;
  2173. public systemHeight: number;
  2174. public colorBuffer: UnityEngine.RenderBuffer;
  2175. public depthBuffer: UnityEngine.RenderBuffer;
  2176. public active: boolean;
  2177. public static main: UnityEngine.Display;
  2178. public Activate():void;
  2179. public Activate($width: number, $height: number, $refreshRate: number):void;
  2180. public SetParams($width: number, $height: number, $x: number, $y: number):void;
  2181. public SetRenderingResolution($w: number, $h: number):void;
  2182. public static RelativeMouseAt($inputMouseCoordinates: UnityEngine.Vector3):UnityEngine.Vector3;
  2183. public static add_onDisplaysUpdated($value: UnityEngine.Display.DisplaysUpdatedDelegate):void;
  2184. public static remove_onDisplaysUpdated($value: UnityEngine.Display.DisplaysUpdatedDelegate):void;
  2185. }
  2186. class Gradient extends System.Object {
  2187. public colorKeys: System.Array$1<UnityEngine.GradientColorKey>;
  2188. public alphaKeys: System.Array$1<UnityEngine.GradientAlphaKey>;
  2189. public mode: UnityEngine.GradientMode;
  2190. public constructor();
  2191. public Evaluate($time: number):UnityEngine.Color;
  2192. public SetKeys($colorKeys: System.Array$1<UnityEngine.GradientColorKey>, $alphaKeys: System.Array$1<UnityEngine.GradientAlphaKey>):void;
  2193. public Equals($o: any):boolean;
  2194. public Equals($other: UnityEngine.Gradient):boolean;
  2195. }
  2196. class GradientColorKey extends System.ValueType {
  2197. }
  2198. class GradientAlphaKey extends System.ValueType {
  2199. }
  2200. enum GradientMode { Blend = 0, Fixed = 1 }
  2201. class Screen extends System.Object {
  2202. public static width: number;
  2203. public static height: number;
  2204. public static dpi: number;
  2205. public static orientation: UnityEngine.ScreenOrientation;
  2206. public static sleepTimeout: number;
  2207. public static autorotateToPortrait: boolean;
  2208. public static autorotateToPortraitUpsideDown: boolean;
  2209. public static autorotateToLandscapeLeft: boolean;
  2210. public static autorotateToLandscapeRight: boolean;
  2211. public static currentResolution: UnityEngine.Resolution;
  2212. public static fullScreen: boolean;
  2213. public static fullScreenMode: UnityEngine.FullScreenMode;
  2214. public static safeArea: UnityEngine.Rect;
  2215. public static resolutions: System.Array$1<UnityEngine.Resolution>;
  2216. public constructor();
  2217. public static SetResolution($width: number, $height: number, $fullscreenMode: UnityEngine.FullScreenMode, $preferredRefreshRate: number):void;
  2218. public static SetResolution($width: number, $height: number, $fullscreenMode: UnityEngine.FullScreenMode):void;
  2219. public static SetResolution($width: number, $height: number, $fullscreen: boolean, $preferredRefreshRate: number):void;
  2220. public static SetResolution($width: number, $height: number, $fullscreen: boolean):void;
  2221. }
  2222. enum ScreenOrientation { Unknown = 0, Portrait = 1, PortraitUpsideDown = 2, LandscapeLeft = 3, LandscapeRight = 4, AutoRotation = 5, Landscape = 3 }
  2223. class Resolution extends System.ValueType {
  2224. }
  2225. enum FullScreenMode { ExclusiveFullScreen = 0, FullScreenWindow = 1, MaximizedWindow = 2, Windowed = 3 }
  2226. class Graphics extends System.Object {
  2227. public static activeColorGamut: UnityEngine.ColorGamut;
  2228. public static activeTier: UnityEngine.Rendering.GraphicsTier;
  2229. public static activeColorBuffer: UnityEngine.RenderBuffer;
  2230. public static activeDepthBuffer: UnityEngine.RenderBuffer;
  2231. public constructor();
  2232. public static ClearRandomWriteTargets():void;
  2233. public static ExecuteCommandBuffer($buffer: UnityEngine.Rendering.CommandBuffer):void;
  2234. public static ExecuteCommandBufferAsync($buffer: UnityEngine.Rendering.CommandBuffer, $queueType: UnityEngine.Rendering.ComputeQueueType):void;
  2235. public static SetRenderTarget($rt: UnityEngine.RenderTexture, $mipLevel: number, $face: UnityEngine.CubemapFace, $depthSlice: number):void;
  2236. public static SetRenderTarget($colorBuffer: UnityEngine.RenderBuffer, $depthBuffer: UnityEngine.RenderBuffer, $mipLevel: number, $face: UnityEngine.CubemapFace, $depthSlice: number):void;
  2237. public static SetRenderTarget($colorBuffers: System.Array$1<UnityEngine.RenderBuffer>, $depthBuffer: UnityEngine.RenderBuffer):void;
  2238. public static SetRenderTarget($setup: UnityEngine.RenderTargetSetup):void;
  2239. public static SetRandomWriteTarget($index: number, $uav: UnityEngine.RenderTexture):void;
  2240. public static SetRandomWriteTarget($index: number, $uav: UnityEngine.ComputeBuffer, $preserveCounterValue: boolean):void;
  2241. public static CopyTexture($src: UnityEngine.Texture, $dst: UnityEngine.Texture):void;
  2242. public static CopyTexture($src: UnityEngine.Texture, $srcElement: number, $dst: UnityEngine.Texture, $dstElement: number):void;
  2243. public static CopyTexture($src: UnityEngine.Texture, $srcElement: number, $srcMip: number, $dst: UnityEngine.Texture, $dstElement: number, $dstMip: number):void;
  2244. public static CopyTexture($src: UnityEngine.Texture, $srcElement: number, $srcMip: number, $srcX: number, $srcY: number, $srcWidth: number, $srcHeight: number, $dst: UnityEngine.Texture, $dstElement: number, $dstMip: number, $dstX: number, $dstY: number):void;
  2245. public static ConvertTexture($src: UnityEngine.Texture, $dst: UnityEngine.Texture):boolean;
  2246. public static ConvertTexture($src: UnityEngine.Texture, $srcElement: number, $dst: UnityEngine.Texture, $dstElement: number):boolean;
  2247. public static CreateGPUFence($stage: UnityEngine.Rendering.SynchronisationStage):UnityEngine.Rendering.GPUFence;
  2248. public static WaitOnGPUFence($fence: UnityEngine.Rendering.GPUFence, $stage: UnityEngine.Rendering.SynchronisationStage):void;
  2249. public static CreateGPUFence():UnityEngine.Rendering.GPUFence;
  2250. public static WaitOnGPUFence($fence: UnityEngine.Rendering.GPUFence):void;
  2251. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $sourceRect: UnityEngine.Rect, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $color: UnityEngine.Color, $mat: UnityEngine.Material, $pass: number):void;
  2252. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $sourceRect: UnityEngine.Rect, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $mat: UnityEngine.Material, $pass: number):void;
  2253. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $mat: UnityEngine.Material, $pass: number):void;
  2254. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $mat: UnityEngine.Material, $pass: number):void;
  2255. public static DrawMeshNow($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $materialIndex: number):void;
  2256. public static DrawMeshNow($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $materialIndex: number):void;
  2257. public static DrawMeshNow($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion):void;
  2258. public static DrawMeshNow($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4):void;
  2259. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: boolean, $receiveShadows: boolean, $useLightProbes: boolean):void;
  2260. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $probeAnchor: UnityEngine.Transform, $useLightProbes: boolean):void;
  2261. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: boolean, $receiveShadows: boolean, $useLightProbes: boolean):void;
  2262. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $probeAnchor: UnityEngine.Transform, $lightProbeUsage: UnityEngine.Rendering.LightProbeUsage, $lightProbeProxyVolume: UnityEngine.LightProbeProxyVolume):void;
  2263. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>, $count: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number, $camera: UnityEngine.Camera, $lightProbeUsage: UnityEngine.Rendering.LightProbeUsage, $lightProbeProxyVolume: UnityEngine.LightProbeProxyVolume):void;
  2264. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number, $camera: UnityEngine.Camera, $lightProbeUsage: UnityEngine.Rendering.LightProbeUsage, $lightProbeProxyVolume: UnityEngine.LightProbeProxyVolume):void;
  2265. public static DrawMeshInstancedIndirect($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number, $camera: UnityEngine.Camera, $lightProbeUsage: UnityEngine.Rendering.LightProbeUsage, $lightProbeProxyVolume: UnityEngine.LightProbeProxyVolume):void;
  2266. public static DrawProcedural($topology: UnityEngine.MeshTopology, $vertexCount: number, $instanceCount: number):void;
  2267. public static DrawProceduralIndirect($topology: UnityEngine.MeshTopology, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset: number):void;
  2268. public static Blit($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture):void;
  2269. public static Blit($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $scale: UnityEngine.Vector2, $offset: UnityEngine.Vector2):void;
  2270. public static Blit($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $mat: UnityEngine.Material, $pass: number):void;
  2271. public static Blit($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $mat: UnityEngine.Material):void;
  2272. public static Blit($source: UnityEngine.Texture, $mat: UnityEngine.Material, $pass: number):void;
  2273. public static Blit($source: UnityEngine.Texture, $mat: UnityEngine.Material):void;
  2274. public static BlitMultiTap($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $mat: UnityEngine.Material, ...offsets: UnityEngine.Vector2[]):void;
  2275. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number):void;
  2276. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera):void;
  2277. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number):void;
  2278. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock):void;
  2279. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: boolean):void;
  2280. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: boolean, $receiveShadows: boolean):void;
  2281. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode):void;
  2282. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean):void;
  2283. public static DrawMesh($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $probeAnchor: UnityEngine.Transform):void;
  2284. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number):void;
  2285. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera):void;
  2286. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number):void;
  2287. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock):void;
  2288. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: boolean):void;
  2289. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: boolean, $receiveShadows: boolean):void;
  2290. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode):void;
  2291. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean):void;
  2292. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $probeAnchor: UnityEngine.Transform):void;
  2293. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $probeAnchor: UnityEngine.Transform, $useLightProbes: boolean):void;
  2294. public static DrawMesh($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $probeAnchor: UnityEngine.Transform, $lightProbeUsage: UnityEngine.Rendering.LightProbeUsage):void;
  2295. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>):void;
  2296. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>, $count: number):void;
  2297. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>, $count: number, $properties: UnityEngine.MaterialPropertyBlock):void;
  2298. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>, $count: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode):void;
  2299. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>, $count: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean):void;
  2300. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>, $count: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number):void;
  2301. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>, $count: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number, $camera: UnityEngine.Camera):void;
  2302. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>, $count: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number, $camera: UnityEngine.Camera, $lightProbeUsage: UnityEngine.Rendering.LightProbeUsage):void;
  2303. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>):void;
  2304. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>, $properties: UnityEngine.MaterialPropertyBlock):void;
  2305. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode):void;
  2306. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean):void;
  2307. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number):void;
  2308. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number, $camera: UnityEngine.Camera):void;
  2309. public static DrawMeshInstanced($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number, $camera: UnityEngine.Camera, $lightProbeUsage: UnityEngine.Rendering.LightProbeUsage):void;
  2310. public static DrawMeshInstancedIndirect($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.ComputeBuffer):void;
  2311. public static DrawMeshInstancedIndirect($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset: number):void;
  2312. public static DrawMeshInstancedIndirect($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset: number, $properties: UnityEngine.MaterialPropertyBlock):void;
  2313. public static DrawMeshInstancedIndirect($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode):void;
  2314. public static DrawMeshInstancedIndirect($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean):void;
  2315. public static DrawMeshInstancedIndirect($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number):void;
  2316. public static DrawMeshInstancedIndirect($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number, $camera: UnityEngine.Camera):void;
  2317. public static DrawMeshInstancedIndirect($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number, $camera: UnityEngine.Camera, $lightProbeUsage: UnityEngine.Rendering.LightProbeUsage):void;
  2318. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $sourceRect: UnityEngine.Rect, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $color: UnityEngine.Color, $mat: UnityEngine.Material):void;
  2319. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $sourceRect: UnityEngine.Rect, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $color: UnityEngine.Color):void;
  2320. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $sourceRect: UnityEngine.Rect, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $mat: UnityEngine.Material):void;
  2321. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $sourceRect: UnityEngine.Rect, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number):void;
  2322. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $mat: UnityEngine.Material):void;
  2323. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number):void;
  2324. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $mat: UnityEngine.Material):void;
  2325. public static DrawTexture($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture):void;
  2326. public static DrawProcedural($topology: UnityEngine.MeshTopology, $vertexCount: number):void;
  2327. public static DrawProceduralIndirect($topology: UnityEngine.MeshTopology, $bufferWithArgs: UnityEngine.ComputeBuffer):void;
  2328. public static SetRenderTarget($rt: UnityEngine.RenderTexture):void;
  2329. public static SetRenderTarget($rt: UnityEngine.RenderTexture, $mipLevel: number):void;
  2330. public static SetRenderTarget($rt: UnityEngine.RenderTexture, $mipLevel: number, $face: UnityEngine.CubemapFace):void;
  2331. public static SetRenderTarget($colorBuffer: UnityEngine.RenderBuffer, $depthBuffer: UnityEngine.RenderBuffer):void;
  2332. public static SetRenderTarget($colorBuffer: UnityEngine.RenderBuffer, $depthBuffer: UnityEngine.RenderBuffer, $mipLevel: number):void;
  2333. public static SetRenderTarget($colorBuffer: UnityEngine.RenderBuffer, $depthBuffer: UnityEngine.RenderBuffer, $mipLevel: number, $face: UnityEngine.CubemapFace):void;
  2334. public static SetRandomWriteTarget($index: number, $uav: UnityEngine.ComputeBuffer):void;
  2335. }
  2336. enum ColorGamut { sRGB = 0, Rec709 = 1, Rec2020 = 2, DisplayP3 = 3, HDR10 = 4, DolbyHDR = 5 }
  2337. enum CubemapFace { Unknown = -1, PositiveX = 0, NegativeX = 1, PositiveY = 2, NegativeY = 3, PositiveZ = 4, NegativeZ = 5 }
  2338. class RenderTargetSetup extends System.ValueType {
  2339. }
  2340. class Mesh extends UnityEngine.Object {
  2341. public indexFormat: UnityEngine.Rendering.IndexFormat;
  2342. public vertexBufferCount: number;
  2343. public blendShapeCount: number;
  2344. public boneWeights: System.Array$1<UnityEngine.BoneWeight>;
  2345. public bindposes: System.Array$1<UnityEngine.Matrix4x4>;
  2346. public isReadable: boolean;
  2347. public vertexCount: number;
  2348. public subMeshCount: number;
  2349. public bounds: UnityEngine.Bounds;
  2350. public vertices: System.Array$1<UnityEngine.Vector3>;
  2351. public normals: System.Array$1<UnityEngine.Vector3>;
  2352. public tangents: System.Array$1<UnityEngine.Vector4>;
  2353. public uv: System.Array$1<UnityEngine.Vector2>;
  2354. public uv2: System.Array$1<UnityEngine.Vector2>;
  2355. public uv3: System.Array$1<UnityEngine.Vector2>;
  2356. public uv4: System.Array$1<UnityEngine.Vector2>;
  2357. public uv5: System.Array$1<UnityEngine.Vector2>;
  2358. public uv6: System.Array$1<UnityEngine.Vector2>;
  2359. public uv7: System.Array$1<UnityEngine.Vector2>;
  2360. public uv8: System.Array$1<UnityEngine.Vector2>;
  2361. public colors: System.Array$1<UnityEngine.Color>;
  2362. public colors32: System.Array$1<UnityEngine.Color32>;
  2363. public triangles: System.Array$1<number>;
  2364. public constructor();
  2365. public GetNativeVertexBufferPtr($index: number):System.IntPtr;
  2366. public GetNativeIndexBufferPtr():System.IntPtr;
  2367. public ClearBlendShapes():void;
  2368. public GetBlendShapeName($shapeIndex: number):string;
  2369. public GetBlendShapeIndex($blendShapeName: string):number;
  2370. public GetBlendShapeFrameCount($shapeIndex: number):number;
  2371. public GetBlendShapeFrameWeight($shapeIndex: number, $frameIndex: number):number;
  2372. public GetBlendShapeFrameVertices($shapeIndex: number, $frameIndex: number, $deltaVertices: System.Array$1<UnityEngine.Vector3>, $deltaNormals: System.Array$1<UnityEngine.Vector3>, $deltaTangents: System.Array$1<UnityEngine.Vector3>):void;
  2373. public AddBlendShapeFrame($shapeName: string, $frameWeight: number, $deltaVertices: System.Array$1<UnityEngine.Vector3>, $deltaNormals: System.Array$1<UnityEngine.Vector3>, $deltaTangents: System.Array$1<UnityEngine.Vector3>):void;
  2374. public GetUVDistributionMetric($uvSetIndex: number):number;
  2375. public GetVertices($vertices: System.Collections.Generic.List$1<UnityEngine.Vector3>):void;
  2376. public SetVertices($inVertices: System.Collections.Generic.List$1<UnityEngine.Vector3>):void;
  2377. public GetNormals($normals: System.Collections.Generic.List$1<UnityEngine.Vector3>):void;
  2378. public SetNormals($inNormals: System.Collections.Generic.List$1<UnityEngine.Vector3>):void;
  2379. public GetTangents($tangents: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  2380. public SetTangents($inTangents: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  2381. public GetColors($colors: System.Collections.Generic.List$1<UnityEngine.Color>):void;
  2382. public SetColors($inColors: System.Collections.Generic.List$1<UnityEngine.Color>):void;
  2383. public GetColors($colors: System.Collections.Generic.List$1<UnityEngine.Color32>):void;
  2384. public SetColors($inColors: System.Collections.Generic.List$1<UnityEngine.Color32>):void;
  2385. public SetUVs($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector2>):void;
  2386. public SetUVs($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector3>):void;
  2387. public SetUVs($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  2388. public GetUVs($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector2>):void;
  2389. public GetUVs($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector3>):void;
  2390. public GetUVs($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector4>):void;
  2391. public GetTriangles($submesh: number):System.Array$1<number>;
  2392. public GetTriangles($submesh: number, $applyBaseVertex: boolean):System.Array$1<number>;
  2393. public GetTriangles($triangles: System.Collections.Generic.List$1<number>, $submesh: number):void;
  2394. public GetTriangles($triangles: System.Collections.Generic.List$1<number>, $submesh: number, $applyBaseVertex: boolean):void;
  2395. public GetIndices($submesh: number):System.Array$1<number>;
  2396. public GetIndices($submesh: number, $applyBaseVertex: boolean):System.Array$1<number>;
  2397. public GetIndices($indices: System.Collections.Generic.List$1<number>, $submesh: number):void;
  2398. public GetIndices($indices: System.Collections.Generic.List$1<number>, $submesh: number, $applyBaseVertex: boolean):void;
  2399. public GetIndexStart($submesh: number):number;
  2400. public GetIndexCount($submesh: number):number;
  2401. public GetBaseVertex($submesh: number):number;
  2402. public SetTriangles($triangles: System.Array$1<number>, $submesh: number):void;
  2403. public SetTriangles($triangles: System.Array$1<number>, $submesh: number, $calculateBounds: boolean):void;
  2404. public SetTriangles($triangles: System.Array$1<number>, $submesh: number, $calculateBounds: boolean, $baseVertex: number):void;
  2405. public SetTriangles($triangles: System.Collections.Generic.List$1<number>, $submesh: number):void;
  2406. public SetTriangles($triangles: System.Collections.Generic.List$1<number>, $submesh: number, $calculateBounds: boolean):void;
  2407. public SetTriangles($triangles: System.Collections.Generic.List$1<number>, $submesh: number, $calculateBounds: boolean, $baseVertex: number):void;
  2408. public SetIndices($indices: System.Array$1<number>, $topology: UnityEngine.MeshTopology, $submesh: number):void;
  2409. public SetIndices($indices: System.Array$1<number>, $topology: UnityEngine.MeshTopology, $submesh: number, $calculateBounds: boolean):void;
  2410. public SetIndices($indices: System.Array$1<number>, $topology: UnityEngine.MeshTopology, $submesh: number, $calculateBounds: boolean, $baseVertex: number):void;
  2411. public GetBindposes($bindposes: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>):void;
  2412. public GetBoneWeights($boneWeights: System.Collections.Generic.List$1<UnityEngine.BoneWeight>):void;
  2413. public Clear($keepVertexLayout: boolean):void;
  2414. public Clear():void;
  2415. public RecalculateBounds():void;
  2416. public RecalculateNormals():void;
  2417. public RecalculateTangents():void;
  2418. public MarkDynamic():void;
  2419. public UploadMeshData($markNoLongerReadable: boolean):void;
  2420. public GetTopology($submesh: number):UnityEngine.MeshTopology;
  2421. public CombineMeshes($combine: System.Array$1<UnityEngine.CombineInstance>, $mergeSubMeshes: boolean, $useMatrices: boolean, $hasLightmapData: boolean):void;
  2422. public CombineMeshes($combine: System.Array$1<UnityEngine.CombineInstance>, $mergeSubMeshes: boolean, $useMatrices: boolean):void;
  2423. public CombineMeshes($combine: System.Array$1<UnityEngine.CombineInstance>, $mergeSubMeshes: boolean):void;
  2424. public CombineMeshes($combine: System.Array$1<UnityEngine.CombineInstance>):void;
  2425. }
  2426. class MaterialPropertyBlock extends System.Object {
  2427. }
  2428. class LightProbeProxyVolume extends UnityEngine.Behaviour {
  2429. }
  2430. class Bounds extends System.ValueType {
  2431. }
  2432. enum MeshTopology { Triangles = 0, Quads = 2, Lines = 3, LineStrip = 4, Points = 5 }
  2433. class BoneWeight extends System.ValueType {
  2434. }
  2435. class Color32 extends System.ValueType {
  2436. }
  2437. class CombineInstance extends System.ValueType {
  2438. }
  2439. class GL extends System.Object {
  2440. public static TRIANGLES: number;
  2441. public static TRIANGLE_STRIP: number;
  2442. public static QUADS: number;
  2443. public static LINES: number;
  2444. public static LINE_STRIP: number;
  2445. public static wireframe: boolean;
  2446. public static sRGBWrite: boolean;
  2447. public static invertCulling: boolean;
  2448. public static modelview: UnityEngine.Matrix4x4;
  2449. public constructor();
  2450. public static Vertex3($x: number, $y: number, $z: number):void;
  2451. public static Vertex($v: UnityEngine.Vector3):void;
  2452. public static TexCoord3($x: number, $y: number, $z: number):void;
  2453. public static TexCoord($v: UnityEngine.Vector3):void;
  2454. public static TexCoord2($x: number, $y: number):void;
  2455. public static MultiTexCoord3($unit: number, $x: number, $y: number, $z: number):void;
  2456. public static MultiTexCoord($unit: number, $v: UnityEngine.Vector3):void;
  2457. public static MultiTexCoord2($unit: number, $x: number, $y: number):void;
  2458. public static Color($c: UnityEngine.Color):void;
  2459. public static Flush():void;
  2460. public static RenderTargetBarrier():void;
  2461. public static MultMatrix($m: UnityEngine.Matrix4x4):void;
  2462. public static PushMatrix():void;
  2463. public static PopMatrix():void;
  2464. public static LoadIdentity():void;
  2465. public static LoadOrtho():void;
  2466. public static LoadPixelMatrix():void;
  2467. public static LoadProjectionMatrix($mat: UnityEngine.Matrix4x4):void;
  2468. public static InvalidateState():void;
  2469. public static GetGPUProjectionMatrix($proj: UnityEngine.Matrix4x4, $renderIntoTexture: boolean):UnityEngine.Matrix4x4;
  2470. public static LoadPixelMatrix($left: number, $right: number, $bottom: number, $top: number):void;
  2471. public static IssuePluginEvent($callback: System.IntPtr, $eventID: number):void;
  2472. public static Begin($mode: number):void;
  2473. public static End():void;
  2474. public static Clear($clearDepth: boolean, $clearColor: boolean, $backgroundColor: UnityEngine.Color, $depth: number):void;
  2475. public static Clear($clearDepth: boolean, $clearColor: boolean, $backgroundColor: UnityEngine.Color):void;
  2476. public static Viewport($pixelRect: UnityEngine.Rect):void;
  2477. public static ClearWithSkybox($clearDepth: boolean, $camera: UnityEngine.Camera):void;
  2478. }
  2479. class Texture2D extends UnityEngine.Texture {
  2480. public mipmapCount: number;
  2481. public format: UnityEngine.TextureFormat;
  2482. public static whiteTexture: UnityEngine.Texture2D;
  2483. public static blackTexture: UnityEngine.Texture2D;
  2484. public isReadable: boolean;
  2485. public streamingMipmaps: boolean;
  2486. public streamingMipmapsPriority: number;
  2487. public requestedMipmapLevel: number;
  2488. public desiredMipmapLevel: number;
  2489. public loadingMipmapLevel: number;
  2490. public loadedMipmapLevel: number;
  2491. public alphaIsTransparency: boolean;
  2492. public constructor($width: number, $height: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags);
  2493. public constructor($width: number, $height: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean, $linear: boolean);
  2494. public constructor($width: number, $height: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean);
  2495. public constructor($width: number, $height: number);
  2496. public Compress($highQuality: boolean):void;
  2497. public ClearRequestedMipmapLevel():void;
  2498. public IsRequestedMipmapLevelLoaded():boolean;
  2499. public UpdateExternalTexture($nativeTex: System.IntPtr):void;
  2500. public GetRawTextureData():System.Array$1<number>;
  2501. public GetPixels($x: number, $y: number, $blockWidth: number, $blockHeight: number, $miplevel: number):System.Array$1<UnityEngine.Color>;
  2502. public GetPixels($x: number, $y: number, $blockWidth: number, $blockHeight: number):System.Array$1<UnityEngine.Color>;
  2503. public GetPixels32($miplevel: number):System.Array$1<UnityEngine.Color32>;
  2504. public GetPixels32():System.Array$1<UnityEngine.Color32>;
  2505. public PackTextures($textures: System.Array$1<UnityEngine.Texture2D>, $padding: number, $maximumAtlasSize: number, $makeNoLongerReadable: boolean):System.Array$1<UnityEngine.Rect>;
  2506. public PackTextures($textures: System.Array$1<UnityEngine.Texture2D>, $padding: number, $maximumAtlasSize: number):System.Array$1<UnityEngine.Rect>;
  2507. public PackTextures($textures: System.Array$1<UnityEngine.Texture2D>, $padding: number):System.Array$1<UnityEngine.Rect>;
  2508. public static CreateExternalTexture($width: number, $height: number, $format: UnityEngine.TextureFormat, $mipChain: boolean, $linear: boolean, $nativeTex: System.IntPtr):UnityEngine.Texture2D;
  2509. public SetPixel($x: number, $y: number, $color: UnityEngine.Color):void;
  2510. public SetPixels($x: number, $y: number, $blockWidth: number, $blockHeight: number, $colors: System.Array$1<UnityEngine.Color>, $miplevel: number):void;
  2511. public SetPixels($x: number, $y: number, $blockWidth: number, $blockHeight: number, $colors: System.Array$1<UnityEngine.Color>):void;
  2512. public SetPixels($colors: System.Array$1<UnityEngine.Color>, $miplevel: number):void;
  2513. public SetPixels($colors: System.Array$1<UnityEngine.Color>):void;
  2514. public GetPixel($x: number, $y: number):UnityEngine.Color;
  2515. public GetPixelBilinear($x: number, $y: number):UnityEngine.Color;
  2516. public LoadRawTextureData($data: System.IntPtr, $size: number):void;
  2517. public LoadRawTextureData($data: System.Array$1<number>):void;
  2518. public Apply($updateMipmaps: boolean, $makeNoLongerReadable: boolean):void;
  2519. public Apply($updateMipmaps: boolean):void;
  2520. public Apply():void;
  2521. public Resize($width: number, $height: number):boolean;
  2522. public Resize($width: number, $height: number, $format: UnityEngine.TextureFormat, $hasMipMap: boolean):boolean;
  2523. public ReadPixels($source: UnityEngine.Rect, $destX: number, $destY: number, $recalculateMipMaps: boolean):void;
  2524. public ReadPixels($source: UnityEngine.Rect, $destX: number, $destY: number):void;
  2525. public static GenerateAtlas($sizes: System.Array$1<UnityEngine.Vector2>, $padding: number, $atlasSize: number, $results: System.Collections.Generic.List$1<UnityEngine.Rect>):boolean;
  2526. public SetPixels32($colors: System.Array$1<UnityEngine.Color32>, $miplevel: number):void;
  2527. public SetPixels32($colors: System.Array$1<UnityEngine.Color32>):void;
  2528. public SetPixels32($x: number, $y: number, $blockWidth: number, $blockHeight: number, $colors: System.Array$1<UnityEngine.Color32>, $miplevel: number):void;
  2529. public SetPixels32($x: number, $y: number, $blockWidth: number, $blockHeight: number, $colors: System.Array$1<UnityEngine.Color32>):void;
  2530. public GetPixels($miplevel: number):System.Array$1<UnityEngine.Color>;
  2531. public GetPixels():System.Array$1<UnityEngine.Color>;
  2532. }
  2533. enum TextureFormat { Alpha8 = 1, ARGB4444 = 2, RGB24 = 3, RGBA32 = 4, ARGB32 = 5, RGB565 = 7, R16 = 9, DXT1 = 10, DXT5 = 12, RGBA4444 = 13, BGRA32 = 14, RHalf = 15, RGHalf = 16, RGBAHalf = 17, RFloat = 18, RGFloat = 19, RGBAFloat = 20, YUY2 = 21, RGB9e5Float = 22, BC4 = 26, BC5 = 27, BC6H = 24, BC7 = 25, DXT1Crunched = 28, DXT5Crunched = 29, PVRTC_RGB2 = 30, PVRTC_RGBA2 = 31, PVRTC_RGB4 = 32, PVRTC_RGBA4 = 33, ETC_RGB4 = 34, ATC_RGB4 = -127, ATC_RGBA8 = -127, EAC_R = 41, EAC_R_SIGNED = 42, EAC_RG = 43, EAC_RG_SIGNED = 44, ETC2_RGB = 45, ETC2_RGBA1 = 46, ETC2_RGBA8 = 47, ASTC_RGB_4x4 = 48, ASTC_RGB_5x5 = 49, ASTC_RGB_6x6 = 50, ASTC_RGB_8x8 = 51, ASTC_RGB_10x10 = 52, ASTC_RGB_12x12 = 53, ASTC_RGBA_4x4 = 54, ASTC_RGBA_5x5 = 55, ASTC_RGBA_6x6 = 56, ASTC_RGBA_8x8 = 57, ASTC_RGBA_10x10 = 58, ASTC_RGBA_12x12 = 59, ETC_RGB4_3DS = 60, ETC_RGBA8_3DS = 61, RG16 = 62, R8 = 63, ETC_RGB4Crunched = 64, ETC2_RGBA8Crunched = 65, PVRTC_2BPP_RGB = -127, PVRTC_2BPP_RGBA = -127, PVRTC_4BPP_RGB = -127, PVRTC_4BPP_RGBA = -127 }
  2534. class QualitySettings extends UnityEngine.Object {
  2535. public static pixelLightCount: number;
  2536. public static shadows: UnityEngine.ShadowQuality;
  2537. public static shadowProjection: UnityEngine.ShadowProjection;
  2538. public static shadowCascades: number;
  2539. public static shadowDistance: number;
  2540. public static shadowResolution: UnityEngine.ShadowResolution;
  2541. public static shadowmaskMode: UnityEngine.ShadowmaskMode;
  2542. public static shadowNearPlaneOffset: number;
  2543. public static shadowCascade2Split: number;
  2544. public static shadowCascade4Split: UnityEngine.Vector3;
  2545. public static lodBias: number;
  2546. public static anisotropicFiltering: UnityEngine.AnisotropicFiltering;
  2547. public static masterTextureLimit: number;
  2548. public static maximumLODLevel: number;
  2549. public static particleRaycastBudget: number;
  2550. public static softParticles: boolean;
  2551. public static softVegetation: boolean;
  2552. public static vSyncCount: number;
  2553. public static antiAliasing: number;
  2554. public static asyncUploadTimeSlice: number;
  2555. public static asyncUploadBufferSize: number;
  2556. public static asyncUploadPersistentBuffer: boolean;
  2557. public static realtimeReflectionProbes: boolean;
  2558. public static billboardsFaceCameraPosition: boolean;
  2559. public static resolutionScalingFixedDPIFactor: number;
  2560. public static blendWeights: UnityEngine.BlendWeights;
  2561. public static streamingMipmapsActive: boolean;
  2562. public static streamingMipmapsMemoryBudget: number;
  2563. public static streamingMipmapsRenderersPerFrame: number;
  2564. public static streamingMipmapsMaxLevelReduction: number;
  2565. public static streamingMipmapsAddAllCameras: boolean;
  2566. public static streamingMipmapsMaxFileIORequests: number;
  2567. public static maxQueuedFrames: number;
  2568. public static names: System.Array$1<string>;
  2569. public static desiredColorSpace: UnityEngine.ColorSpace;
  2570. public static activeColorSpace: UnityEngine.ColorSpace;
  2571. public static IncreaseLevel($applyExpensiveChanges: boolean):void;
  2572. public static DecreaseLevel($applyExpensiveChanges: boolean):void;
  2573. public static SetQualityLevel($index: number):void;
  2574. public static IncreaseLevel():void;
  2575. public static DecreaseLevel():void;
  2576. public static GetQualityLevel():number;
  2577. public static SetQualityLevel($index: number, $applyExpensiveChanges: boolean):void;
  2578. }
  2579. enum QualityLevel { Fastest = 0, Fast = 1, Simple = 2, Good = 3, Beautiful = 4, Fantastic = 5 }
  2580. enum ShadowQuality { Disable = 0, HardOnly = 1, All = 2 }
  2581. enum ShadowProjection { CloseFit = 0, StableFit = 1 }
  2582. enum ShadowResolution { Low = 0, Medium = 1, High = 2, VeryHigh = 3 }
  2583. enum ShadowmaskMode { Shadowmask = 0, DistanceShadowmask = 1 }
  2584. enum BlendWeights { OneBone = 1, TwoBones = 2, FourBones = 4 }
  2585. enum ColorSpace { Uninitialized = -1, Gamma = 0, Linear = 1 }
  2586. class MeshFilter extends UnityEngine.Component {
  2587. public sharedMesh: UnityEngine.Mesh;
  2588. public mesh: UnityEngine.Mesh;
  2589. public constructor();
  2590. }
  2591. class Input extends System.Object {
  2592. public static simulateMouseWithTouches: boolean;
  2593. public static anyKey: boolean;
  2594. public static anyKeyDown: boolean;
  2595. public static inputString: string;
  2596. public static mousePosition: UnityEngine.Vector3;
  2597. public static mouseScrollDelta: UnityEngine.Vector2;
  2598. public static imeCompositionMode: UnityEngine.IMECompositionMode;
  2599. public static compositionString: string;
  2600. public static imeIsSelected: boolean;
  2601. public static compositionCursorPos: UnityEngine.Vector2;
  2602. public static mousePresent: boolean;
  2603. public static touchCount: number;
  2604. public static touchPressureSupported: boolean;
  2605. public static stylusTouchSupported: boolean;
  2606. public static touchSupported: boolean;
  2607. public static multiTouchEnabled: boolean;
  2608. public static deviceOrientation: UnityEngine.DeviceOrientation;
  2609. public static acceleration: UnityEngine.Vector3;
  2610. public static compensateSensors: boolean;
  2611. public static accelerationEventCount: number;
  2612. public static backButtonLeavesApp: boolean;
  2613. public static location: UnityEngine.LocationService;
  2614. public static compass: UnityEngine.Compass;
  2615. public static gyro: UnityEngine.Gyroscope;
  2616. public static touches: System.Array$1<UnityEngine.Touch>;
  2617. public static accelerationEvents: System.Array$1<UnityEngine.AccelerationEvent>;
  2618. public constructor();
  2619. public static GetAxis($axisName: string):number;
  2620. public static GetAxisRaw($axisName: string):number;
  2621. public static GetButton($buttonName: string):boolean;
  2622. public static GetButtonDown($buttonName: string):boolean;
  2623. public static GetButtonUp($buttonName: string):boolean;
  2624. public static GetMouseButton($button: number):boolean;
  2625. public static GetMouseButtonDown($button: number):boolean;
  2626. public static GetMouseButtonUp($button: number):boolean;
  2627. public static ResetInputAxes():void;
  2628. public static IsJoystickPreconfigured($joystickName: string):boolean;
  2629. public static GetJoystickNames():System.Array$1<string>;
  2630. public static GetTouch($index: number):UnityEngine.Touch;
  2631. public static GetAccelerationEvent($index: number):UnityEngine.AccelerationEvent;
  2632. public static GetKey($key: UnityEngine.KeyCode):boolean;
  2633. public static GetKey($name: string):boolean;
  2634. public static GetKeyUp($key: UnityEngine.KeyCode):boolean;
  2635. public static GetKeyUp($name: string):boolean;
  2636. public static GetKeyDown($key: UnityEngine.KeyCode):boolean;
  2637. public static GetKeyDown($name: string):boolean;
  2638. }
  2639. class AccelerationEvent extends System.ValueType {
  2640. }
  2641. enum KeyCode { None = 0, Backspace = 8, Delete = 127, Tab = 9, Clear = 12, Return = 13, Pause = 19, Escape = 27, Space = 32, Keypad0 = 256, Keypad1 = 257, Keypad2 = 258, Keypad3 = 259, Keypad4 = 260, Keypad5 = 261, Keypad6 = 262, Keypad7 = 263, Keypad8 = 264, Keypad9 = 265, KeypadPeriod = 266, KeypadDivide = 267, KeypadMultiply = 268, KeypadMinus = 269, KeypadPlus = 270, KeypadEnter = 271, KeypadEquals = 272, UpArrow = 273, DownArrow = 274, RightArrow = 275, LeftArrow = 276, Insert = 277, Home = 278, End = 279, PageUp = 280, PageDown = 281, F1 = 282, F2 = 283, F3 = 284, F4 = 285, F5 = 286, F6 = 287, F7 = 288, F8 = 289, F9 = 290, F10 = 291, F11 = 292, F12 = 293, F13 = 294, F14 = 295, F15 = 296, Alpha0 = 48, Alpha1 = 49, Alpha2 = 50, Alpha3 = 51, Alpha4 = 52, Alpha5 = 53, Alpha6 = 54, Alpha7 = 55, Alpha8 = 56, Alpha9 = 57, Exclaim = 33, DoubleQuote = 34, Hash = 35, Dollar = 36, Percent = 37, Ampersand = 38, Quote = 39, LeftParen = 40, RightParen = 41, Asterisk = 42, Plus = 43, Comma = 44, Minus = 45, Period = 46, Slash = 47, Colon = 58, Semicolon = 59, Less = 60, Equals = 61, Greater = 62, Question = 63, At = 64, LeftBracket = 91, Backslash = 92, RightBracket = 93, Caret = 94, Underscore = 95, BackQuote = 96, A = 97, B = 98, C = 99, D = 100, E = 101, F = 102, G = 103, H = 104, I = 105, J = 106, K = 107, L = 108, M = 109, N = 110, O = 111, P = 112, Q = 113, R = 114, S = 115, T = 116, U = 117, V = 118, W = 119, X = 120, Y = 121, Z = 122, LeftCurlyBracket = 123, Pipe = 124, RightCurlyBracket = 125, Tilde = 126, Numlock = 300, CapsLock = 301, ScrollLock = 302, RightShift = 303, LeftShift = 304, RightControl = 305, LeftControl = 306, RightAlt = 307, LeftAlt = 308, LeftCommand = 310, LeftApple = 310, LeftWindows = 311, RightCommand = 309, RightApple = 309, RightWindows = 312, AltGr = 313, Help = 315, Print = 316, SysReq = 317, Break = 318, Menu = 319, Mouse0 = 323, Mouse1 = 324, Mouse2 = 325, Mouse3 = 326, Mouse4 = 327, Mouse5 = 328, Mouse6 = 329, JoystickButton0 = 330, JoystickButton1 = 331, JoystickButton2 = 332, JoystickButton3 = 333, JoystickButton4 = 334, JoystickButton5 = 335, JoystickButton6 = 336, JoystickButton7 = 337, JoystickButton8 = 338, JoystickButton9 = 339, JoystickButton10 = 340, JoystickButton11 = 341, JoystickButton12 = 342, JoystickButton13 = 343, JoystickButton14 = 344, JoystickButton15 = 345, JoystickButton16 = 346, JoystickButton17 = 347, JoystickButton18 = 348, JoystickButton19 = 349, Joystick1Button0 = 350, Joystick1Button1 = 351, Joystick1Button2 = 352, Joystick1Button3 = 353, Joystick1Button4 = 354, Joystick1Button5 = 355, Joystick1Button6 = 356, Joystick1Button7 = 357, Joystick1Button8 = 358, Joystick1Button9 = 359, Joystick1Button10 = 360, Joystick1Button11 = 361, Joystick1Button12 = 362, Joystick1Button13 = 363, Joystick1Button14 = 364, Joystick1Button15 = 365, Joystick1Button16 = 366, Joystick1Button17 = 367, Joystick1Button18 = 368, Joystick1Button19 = 369, Joystick2Button0 = 370, Joystick2Button1 = 371, Joystick2Button2 = 372, Joystick2Button3 = 373, Joystick2Button4 = 374, Joystick2Button5 = 375, Joystick2Button6 = 376, Joystick2Button7 = 377, Joystick2Button8 = 378, Joystick2Button9 = 379, Joystick2Button10 = 380, Joystick2Button11 = 381, Joystick2Button12 = 382, Joystick2Button13 = 383, Joystick2Button14 = 384, Joystick2Button15 = 385, Joystick2Button16 = 386, Joystick2Button17 = 387, Joystick2Button18 = 388, Joystick2Button19 = 389, Joystick3Button0 = 390, Joystick3Button1 = 391, Joystick3Button2 = 392, Joystick3Button3 = 393, Joystick3Button4 = 394, Joystick3Button5 = 395, Joystick3Button6 = 396, Joystick3Button7 = 397, Joystick3Button8 = 398, Joystick3Button9 = 399, Joystick3Button10 = 400, Joystick3Button11 = 401, Joystick3Button12 = 402, Joystick3Button13 = 403, Joystick3Button14 = 404, Joystick3Button15 = 405, Joystick3Button16 = 406, Joystick3Button17 = 407, Joystick3Button18 = 408, Joystick3Button19 = 409, Joystick4Button0 = 410, Joystick4Button1 = 411, Joystick4Button2 = 412, Joystick4Button3 = 413, Joystick4Button4 = 414, Joystick4Button5 = 415, Joystick4Button6 = 416, Joystick4Button7 = 417, Joystick4Button8 = 418, Joystick4Button9 = 419, Joystick4Button10 = 420, Joystick4Button11 = 421, Joystick4Button12 = 422, Joystick4Button13 = 423, Joystick4Button14 = 424, Joystick4Button15 = 425, Joystick4Button16 = 426, Joystick4Button17 = 427, Joystick4Button18 = 428, Joystick4Button19 = 429, Joystick5Button0 = 430, Joystick5Button1 = 431, Joystick5Button2 = 432, Joystick5Button3 = 433, Joystick5Button4 = 434, Joystick5Button5 = 435, Joystick5Button6 = 436, Joystick5Button7 = 437, Joystick5Button8 = 438, Joystick5Button9 = 439, Joystick5Button10 = 440, Joystick5Button11 = 441, Joystick5Button12 = 442, Joystick5Button13 = 443, Joystick5Button14 = 444, Joystick5Button15 = 445, Joystick5Button16 = 446, Joystick5Button17 = 447, Joystick5Button18 = 448, Joystick5Button19 = 449, Joystick6Button0 = 450, Joystick6Button1 = 451, Joystick6Button2 = 452, Joystick6Button3 = 453, Joystick6Button4 = 454, Joystick6Button5 = 455, Joystick6Button6 = 456, Joystick6Button7 = 457, Joystick6Button8 = 458, Joystick6Button9 = 459, Joystick6Button10 = 460, Joystick6Button11 = 461, Joystick6Button12 = 462, Joystick6Button13 = 463, Joystick6Button14 = 464, Joystick6Button15 = 465, Joystick6Button16 = 466, Joystick6Button17 = 467, Joystick6Button18 = 468, Joystick6Button19 = 469, Joystick7Button0 = 470, Joystick7Button1 = 471, Joystick7Button2 = 472, Joystick7Button3 = 473, Joystick7Button4 = 474, Joystick7Button5 = 475, Joystick7Button6 = 476, Joystick7Button7 = 477, Joystick7Button8 = 478, Joystick7Button9 = 479, Joystick7Button10 = 480, Joystick7Button11 = 481, Joystick7Button12 = 482, Joystick7Button13 = 483, Joystick7Button14 = 484, Joystick7Button15 = 485, Joystick7Button16 = 486, Joystick7Button17 = 487, Joystick7Button18 = 488, Joystick7Button19 = 489, Joystick8Button0 = 490, Joystick8Button1 = 491, Joystick8Button2 = 492, Joystick8Button3 = 493, Joystick8Button4 = 494, Joystick8Button5 = 495, Joystick8Button6 = 496, Joystick8Button7 = 497, Joystick8Button8 = 498, Joystick8Button9 = 499, Joystick8Button10 = 500, Joystick8Button11 = 501, Joystick8Button12 = 502, Joystick8Button13 = 503, Joystick8Button14 = 504, Joystick8Button15 = 505, Joystick8Button16 = 506, Joystick8Button17 = 507, Joystick8Button18 = 508, Joystick8Button19 = 509 }
  2642. enum IMECompositionMode { Auto = 0, On = 1, Off = 2 }
  2643. enum DeviceOrientation { Unknown = 0, Portrait = 1, PortraitUpsideDown = 2, LandscapeLeft = 3, LandscapeRight = 4, FaceUp = 5, FaceDown = 6 }
  2644. class LocationService extends System.Object {
  2645. }
  2646. class Compass extends System.Object {
  2647. }
  2648. class Gyroscope extends System.Object {
  2649. }
  2650. class LayerMask extends System.ValueType {
  2651. public value: number;
  2652. public static op_Implicit($mask: UnityEngine.LayerMask):number;
  2653. public static op_Implicit($intVal: number):UnityEngine.LayerMask;
  2654. public static LayerToName($layer: number):string;
  2655. public static NameToLayer($layerName: string):number;
  2656. public static GetMask(...layerNames: string[]):number;
  2657. }
  2658. class Mathf extends System.ValueType {
  2659. public static PI: number;
  2660. public static Infinity: number;
  2661. public static NegativeInfinity: number;
  2662. public static Deg2Rad: number;
  2663. public static Rad2Deg: number;
  2664. public static Epsilon: number;
  2665. public static ClosestPowerOfTwo($value: number):number;
  2666. public static IsPowerOfTwo($value: number):boolean;
  2667. public static NextPowerOfTwo($value: number):number;
  2668. public static GammaToLinearSpace($value: number):number;
  2669. public static LinearToGammaSpace($value: number):number;
  2670. public static CorrelatedColorTemperatureToRGB($kelvin: number):UnityEngine.Color;
  2671. public static FloatToHalf($val: number):number;
  2672. public static HalfToFloat($val: number):number;
  2673. public static PerlinNoise($x: number, $y: number):number;
  2674. public static Sin($f: number):number;
  2675. public static Cos($f: number):number;
  2676. public static Tan($f: number):number;
  2677. public static Asin($f: number):number;
  2678. public static Acos($f: number):number;
  2679. public static Atan($f: number):number;
  2680. public static Atan2($y: number, $x: number):number;
  2681. public static Sqrt($f: number):number;
  2682. public static Abs($f: number):number;
  2683. public static Abs($value: number):number;
  2684. public static Min($a: number, $b: number):number;
  2685. public static Min(...values: number[]):number;
  2686. public static Min($a: number, $b: number):number;
  2687. public static Min(...values: number[]):number;
  2688. public static Max($a: number, $b: number):number;
  2689. public static Max(...values: number[]):number;
  2690. public static Max($a: number, $b: number):number;
  2691. public static Max(...values: number[]):number;
  2692. public static Pow($f: number, $p: number):number;
  2693. public static Exp($power: number):number;
  2694. public static Log($f: number, $p: number):number;
  2695. public static Log($f: number):number;
  2696. public static Log10($f: number):number;
  2697. public static Ceil($f: number):number;
  2698. public static Floor($f: number):number;
  2699. public static Round($f: number):number;
  2700. public static CeilToInt($f: number):number;
  2701. public static FloorToInt($f: number):number;
  2702. public static RoundToInt($f: number):number;
  2703. public static Sign($f: number):number;
  2704. public static Clamp($value: number, $min: number, $max: number):number;
  2705. public static Clamp($value: number, $min: number, $max: number):number;
  2706. public static Clamp01($value: number):number;
  2707. public static Lerp($a: number, $b: number, $t: number):number;
  2708. public static LerpUnclamped($a: number, $b: number, $t: number):number;
  2709. public static LerpAngle($a: number, $b: number, $t: number):number;
  2710. public static MoveTowards($current: number, $target: number, $maxDelta: number):number;
  2711. public static MoveTowardsAngle($current: number, $target: number, $maxDelta: number):number;
  2712. public static SmoothStep($from: number, $to: number, $t: number):number;
  2713. public static Gamma($value: number, $absmax: number, $gamma: number):number;
  2714. public static Approximately($a: number, $b: number):boolean;
  2715. public static SmoothDamp($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number, $maxSpeed: number):number;
  2716. public static SmoothDamp($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number):number;
  2717. public static SmoothDamp($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number, $maxSpeed: number, $deltaTime: number):number;
  2718. public static SmoothDampAngle($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number, $maxSpeed: number):number;
  2719. public static SmoothDampAngle($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number):number;
  2720. public static SmoothDampAngle($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number, $maxSpeed: number, $deltaTime: number):number;
  2721. public static Repeat($t: number, $length: number):number;
  2722. public static PingPong($t: number, $length: number):number;
  2723. public static InverseLerp($a: number, $b: number, $value: number):number;
  2724. public static DeltaAngle($current: number, $target: number):number;
  2725. }
  2726. class MonoBehaviour extends UnityEngine.Behaviour {
  2727. public useGUILayout: boolean;
  2728. public runInEditMode: boolean;
  2729. public constructor();
  2730. public IsInvoking():boolean;
  2731. public CancelInvoke():void;
  2732. public Invoke($methodName: string, $time: number):void;
  2733. public InvokeRepeating($methodName: string, $time: number, $repeatRate: number):void;
  2734. public CancelInvoke($methodName: string):void;
  2735. public IsInvoking($methodName: string):boolean;
  2736. public StartCoroutine($methodName: string):UnityEngine.Coroutine;
  2737. public StartCoroutine($methodName: string, $value: any):UnityEngine.Coroutine;
  2738. public StartCoroutine($routine: System.Collections.IEnumerator):UnityEngine.Coroutine;
  2739. public StopCoroutine($routine: System.Collections.IEnumerator):void;
  2740. public StopCoroutine($routine: UnityEngine.Coroutine):void;
  2741. public StopCoroutine($methodName: string):void;
  2742. public StopAllCoroutines():void;
  2743. public static print($message: any):void;
  2744. }
  2745. class Coroutine extends UnityEngine.YieldInstruction {
  2746. }
  2747. class PlayerPrefs extends System.Object {
  2748. public constructor();
  2749. public static SetInt($key: string, $value: number):void;
  2750. public static GetInt($key: string, $defaultValue: number):number;
  2751. public static GetInt($key: string):number;
  2752. public static SetFloat($key: string, $value: number):void;
  2753. public static GetFloat($key: string, $defaultValue: number):number;
  2754. public static GetFloat($key: string):number;
  2755. public static SetString($key: string, $value: string):void;
  2756. public static GetString($key: string, $defaultValue: string):string;
  2757. public static GetString($key: string):string;
  2758. public static HasKey($key: string):boolean;
  2759. public static DeleteKey($key: string):void;
  2760. public static DeleteAll():void;
  2761. public static Save():void;
  2762. }
  2763. class Random extends System.Object {
  2764. public static state: UnityEngine.Random.State;
  2765. public static value: number;
  2766. public static insideUnitSphere: UnityEngine.Vector3;
  2767. public static insideUnitCircle: UnityEngine.Vector2;
  2768. public static onUnitSphere: UnityEngine.Vector3;
  2769. public static rotation: UnityEngine.Quaternion;
  2770. public static rotationUniform: UnityEngine.Quaternion;
  2771. public constructor();
  2772. public static InitState($seed: number):void;
  2773. public static Range($min: number, $max: number):number;
  2774. public static Range($min: number, $max: number):number;
  2775. public static ColorHSV():UnityEngine.Color;
  2776. public static ColorHSV($hueMin: number, $hueMax: number):UnityEngine.Color;
  2777. public static ColorHSV($hueMin: number, $hueMax: number, $saturationMin: number, $saturationMax: number):UnityEngine.Color;
  2778. public static ColorHSV($hueMin: number, $hueMax: number, $saturationMin: number, $saturationMax: number, $valueMin: number, $valueMax: number):UnityEngine.Color;
  2779. public static ColorHSV($hueMin: number, $hueMax: number, $saturationMin: number, $saturationMax: number, $valueMin: number, $valueMax: number, $alphaMin: number, $alphaMax: number):UnityEngine.Color;
  2780. }
  2781. class Resources extends System.Object {
  2782. public constructor();
  2783. public static FindObjectsOfTypeAll($type: System.Type):System.Array$1<UnityEngine.Object>;
  2784. public static Load($path: string):UnityEngine.Object;
  2785. public static Load($path: string, $systemTypeInstance: System.Type):UnityEngine.Object;
  2786. public static LoadAsync($path: string):UnityEngine.ResourceRequest;
  2787. public static LoadAsync($path: string, $type: System.Type):UnityEngine.ResourceRequest;
  2788. public static LoadAll($path: string, $systemTypeInstance: System.Type):System.Array$1<UnityEngine.Object>;
  2789. public static LoadAll($path: string):System.Array$1<UnityEngine.Object>;
  2790. public static GetBuiltinResource($type: System.Type, $path: string):UnityEngine.Object;
  2791. public static UnloadAsset($assetToUnload: UnityEngine.Object):void;
  2792. public static UnloadUnusedAssets():UnityEngine.AsyncOperation;
  2793. }
  2794. class ResourceRequest extends UnityEngine.AsyncOperation {
  2795. }
  2796. class SystemInfo extends System.Object {
  2797. public static unsupportedIdentifier: string;
  2798. public static batteryLevel: number;
  2799. public static batteryStatus: UnityEngine.BatteryStatus;
  2800. public static operatingSystem: string;
  2801. public static operatingSystemFamily: UnityEngine.OperatingSystemFamily;
  2802. public static processorType: string;
  2803. public static processorFrequency: number;
  2804. public static processorCount: number;
  2805. public static systemMemorySize: number;
  2806. public static deviceUniqueIdentifier: string;
  2807. public static deviceName: string;
  2808. public static deviceModel: string;
  2809. public static supportsAccelerometer: boolean;
  2810. public static supportsGyroscope: boolean;
  2811. public static supportsLocationService: boolean;
  2812. public static supportsVibration: boolean;
  2813. public static supportsAudio: boolean;
  2814. public static deviceType: UnityEngine.DeviceType;
  2815. public static graphicsMemorySize: number;
  2816. public static graphicsDeviceName: string;
  2817. public static graphicsDeviceVendor: string;
  2818. public static graphicsDeviceID: number;
  2819. public static graphicsDeviceVendorID: number;
  2820. public static graphicsDeviceType: UnityEngine.Rendering.GraphicsDeviceType;
  2821. public static graphicsUVStartsAtTop: boolean;
  2822. public static graphicsDeviceVersion: string;
  2823. public static graphicsShaderLevel: number;
  2824. public static graphicsMultiThreaded: boolean;
  2825. public static hasHiddenSurfaceRemovalOnGPU: boolean;
  2826. public static hasDynamicUniformArrayIndexingInFragmentShaders: boolean;
  2827. public static supportsShadows: boolean;
  2828. public static supportsRawShadowDepthSampling: boolean;
  2829. public static supportsMotionVectors: boolean;
  2830. public static supportsRenderToCubemap: boolean;
  2831. public static supportsImageEffects: boolean;
  2832. public static supports3DTextures: boolean;
  2833. public static supports2DArrayTextures: boolean;
  2834. public static supports3DRenderTextures: boolean;
  2835. public static supportsCubemapArrayTextures: boolean;
  2836. public static copyTextureSupport: UnityEngine.Rendering.CopyTextureSupport;
  2837. public static supportsComputeShaders: boolean;
  2838. public static supportsInstancing: boolean;
  2839. public static supportsHardwareQuadTopology: boolean;
  2840. public static supports32bitsIndexBuffer: boolean;
  2841. public static supportsSparseTextures: boolean;
  2842. public static supportedRenderTargetCount: number;
  2843. public static supportsSeparatedRenderTargetsBlend: boolean;
  2844. public static supportsMultisampledTextures: number;
  2845. public static supportsMultisampleAutoResolve: boolean;
  2846. public static supportsTextureWrapMirrorOnce: number;
  2847. public static usesReversedZBuffer: boolean;
  2848. public static npotSupport: UnityEngine.NPOTSupport;
  2849. public static maxTextureSize: number;
  2850. public static maxCubemapSize: number;
  2851. public static supportsAsyncCompute: boolean;
  2852. public static supportsGPUFence: boolean;
  2853. public static supportsAsyncGPUReadback: boolean;
  2854. public static supportsMipStreaming: boolean;
  2855. public constructor();
  2856. public static SupportsRenderTextureFormat($format: UnityEngine.RenderTextureFormat):boolean;
  2857. public static SupportsBlendingOnRenderTextureFormat($format: UnityEngine.RenderTextureFormat):boolean;
  2858. public static SupportsTextureFormat($format: UnityEngine.TextureFormat):boolean;
  2859. public static IsFormatSupported($format: UnityEngine.Experimental.Rendering.GraphicsFormat, $usage: UnityEngine.Experimental.Rendering.FormatUsage):boolean;
  2860. }
  2861. enum BatteryStatus { Unknown = 0, Charging = 1, Discharging = 2, NotCharging = 3, Full = 4 }
  2862. enum OperatingSystemFamily { Other = 0, MacOSX = 1, Windows = 2, Linux = 3 }
  2863. enum DeviceType { Unknown = 0, Handheld = 1, Console = 2, Desktop = 3 }
  2864. enum NPOTSupport { None = 0, Restricted = 1, Full = 2 }
  2865. class TextAsset extends UnityEngine.Object {
  2866. public text: string;
  2867. public bytes: System.Array$1<number>;
  2868. public constructor();
  2869. public constructor($text: string);
  2870. }
  2871. class Texture3D extends UnityEngine.Texture {
  2872. public depth: number;
  2873. public format: UnityEngine.TextureFormat;
  2874. public isReadable: boolean;
  2875. public constructor($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags);
  2876. public constructor($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean);
  2877. public GetPixels($miplevel: number):System.Array$1<UnityEngine.Color>;
  2878. public GetPixels():System.Array$1<UnityEngine.Color>;
  2879. public GetPixels32($miplevel: number):System.Array$1<UnityEngine.Color32>;
  2880. public GetPixels32():System.Array$1<UnityEngine.Color32>;
  2881. public SetPixels($colors: System.Array$1<UnityEngine.Color>, $miplevel: number):void;
  2882. public SetPixels($colors: System.Array$1<UnityEngine.Color>):void;
  2883. public SetPixels32($colors: System.Array$1<UnityEngine.Color32>, $miplevel: number):void;
  2884. public SetPixels32($colors: System.Array$1<UnityEngine.Color32>):void;
  2885. public Apply($updateMipmaps: boolean, $makeNoLongerReadable: boolean):void;
  2886. public Apply($updateMipmaps: boolean):void;
  2887. public Apply():void;
  2888. }
  2889. class Texture2DArray extends UnityEngine.Texture {
  2890. public depth: number;
  2891. public format: UnityEngine.TextureFormat;
  2892. public isReadable: boolean;
  2893. public constructor($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags);
  2894. public constructor($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean, $linear: boolean);
  2895. public constructor($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean);
  2896. public GetPixels($arrayElement: number, $miplevel: number):System.Array$1<UnityEngine.Color>;
  2897. public GetPixels($arrayElement: number):System.Array$1<UnityEngine.Color>;
  2898. public GetPixels32($arrayElement: number, $miplevel: number):System.Array$1<UnityEngine.Color32>;
  2899. public GetPixels32($arrayElement: number):System.Array$1<UnityEngine.Color32>;
  2900. public SetPixels($colors: System.Array$1<UnityEngine.Color>, $arrayElement: number, $miplevel: number):void;
  2901. public SetPixels($colors: System.Array$1<UnityEngine.Color>, $arrayElement: number):void;
  2902. public SetPixels32($colors: System.Array$1<UnityEngine.Color32>, $arrayElement: number, $miplevel: number):void;
  2903. public SetPixels32($colors: System.Array$1<UnityEngine.Color32>, $arrayElement: number):void;
  2904. public Apply($updateMipmaps: boolean, $makeNoLongerReadable: boolean):void;
  2905. public Apply($updateMipmaps: boolean):void;
  2906. public Apply():void;
  2907. }
  2908. class Time extends System.Object {
  2909. public static time: number;
  2910. public static timeSinceLevelLoad: number;
  2911. public static deltaTime: number;
  2912. public static fixedTime: number;
  2913. public static unscaledTime: number;
  2914. public static fixedUnscaledTime: number;
  2915. public static unscaledDeltaTime: number;
  2916. public static fixedUnscaledDeltaTime: number;
  2917. public static fixedDeltaTime: number;
  2918. public static maximumDeltaTime: number;
  2919. public static smoothDeltaTime: number;
  2920. public static maximumParticleDeltaTime: number;
  2921. public static timeScale: number;
  2922. public static frameCount: number;
  2923. public static renderedFrameCount: number;
  2924. public static realtimeSinceStartup: number;
  2925. public static captureFramerate: number;
  2926. public static inFixedTimeStep: boolean;
  2927. public constructor();
  2928. }
  2929. class Font extends UnityEngine.Object {
  2930. public material: UnityEngine.Material;
  2931. public fontNames: System.Array$1<string>;
  2932. public dynamic: boolean;
  2933. public ascent: number;
  2934. public fontSize: number;
  2935. public characterInfo: System.Array$1<UnityEngine.CharacterInfo>;
  2936. public lineHeight: number;
  2937. public constructor();
  2938. public constructor($name: string);
  2939. public static add_textureRebuilt($value: System.Action$1<UnityEngine.Font>):void;
  2940. public static remove_textureRebuilt($value: System.Action$1<UnityEngine.Font>):void;
  2941. public static CreateDynamicFontFromOSFont($fontname: string, $size: number):UnityEngine.Font;
  2942. public static CreateDynamicFontFromOSFont($fontnames: System.Array$1<string>, $size: number):UnityEngine.Font;
  2943. public static GetMaxVertsForString($str: string):number;
  2944. public HasCharacter($c: number):boolean;
  2945. public static GetOSInstalledFontNames():System.Array$1<string>;
  2946. public static GetPathsToOSFonts():System.Array$1<string>;
  2947. public GetCharacterInfo($ch: number, $info: $Ref<UnityEngine.CharacterInfo>, $size: number, $style: UnityEngine.FontStyle):boolean;
  2948. public GetCharacterInfo($ch: number, $info: $Ref<UnityEngine.CharacterInfo>, $size: number):boolean;
  2949. public GetCharacterInfo($ch: number, $info: $Ref<UnityEngine.CharacterInfo>):boolean;
  2950. public RequestCharactersInTexture($characters: string, $size: number, $style: UnityEngine.FontStyle):void;
  2951. public RequestCharactersInTexture($characters: string, $size: number):void;
  2952. public RequestCharactersInTexture($characters: string):void;
  2953. }
  2954. class CharacterInfo extends System.ValueType {
  2955. }
  2956. enum FontStyle { Normal = 0, Bold = 1, Italic = 2, BoldAndItalic = 3 }
  2957. class ParticleSystem extends UnityEngine.Component {
  2958. public isPlaying: boolean;
  2959. public isEmitting: boolean;
  2960. public isStopped: boolean;
  2961. public isPaused: boolean;
  2962. public particleCount: number;
  2963. public time: number;
  2964. public randomSeed: number;
  2965. public useAutoRandomSeed: boolean;
  2966. public proceduralSimulationSupported: boolean;
  2967. public main: UnityEngine.ParticleSystem.MainModule;
  2968. public emission: UnityEngine.ParticleSystem.EmissionModule;
  2969. public shape: UnityEngine.ParticleSystem.ShapeModule;
  2970. public velocityOverLifetime: UnityEngine.ParticleSystem.VelocityOverLifetimeModule;
  2971. public limitVelocityOverLifetime: UnityEngine.ParticleSystem.LimitVelocityOverLifetimeModule;
  2972. public inheritVelocity: UnityEngine.ParticleSystem.InheritVelocityModule;
  2973. public forceOverLifetime: UnityEngine.ParticleSystem.ForceOverLifetimeModule;
  2974. public colorOverLifetime: UnityEngine.ParticleSystem.ColorOverLifetimeModule;
  2975. public colorBySpeed: UnityEngine.ParticleSystem.ColorBySpeedModule;
  2976. public sizeOverLifetime: UnityEngine.ParticleSystem.SizeOverLifetimeModule;
  2977. public sizeBySpeed: UnityEngine.ParticleSystem.SizeBySpeedModule;
  2978. public rotationOverLifetime: UnityEngine.ParticleSystem.RotationOverLifetimeModule;
  2979. public rotationBySpeed: UnityEngine.ParticleSystem.RotationBySpeedModule;
  2980. public externalForces: UnityEngine.ParticleSystem.ExternalForcesModule;
  2981. public noise: UnityEngine.ParticleSystem.NoiseModule;
  2982. public collision: UnityEngine.ParticleSystem.CollisionModule;
  2983. public trigger: UnityEngine.ParticleSystem.TriggerModule;
  2984. public subEmitters: UnityEngine.ParticleSystem.SubEmittersModule;
  2985. public textureSheetAnimation: UnityEngine.ParticleSystem.TextureSheetAnimationModule;
  2986. public lights: UnityEngine.ParticleSystem.LightsModule;
  2987. public trails: UnityEngine.ParticleSystem.TrailModule;
  2988. public customData: UnityEngine.ParticleSystem.CustomDataModule;
  2989. public constructor();
  2990. public SetCustomParticleData($customData: System.Collections.Generic.List$1<UnityEngine.Vector4>, $streamIndex: UnityEngine.ParticleSystemCustomData):void;
  2991. public GetCustomParticleData($customData: System.Collections.Generic.List$1<UnityEngine.Vector4>, $streamIndex: UnityEngine.ParticleSystemCustomData):number;
  2992. public TriggerSubEmitter($subEmitterIndex: number):void;
  2993. public TriggerSubEmitter($subEmitterIndex: number, $particle: $Ref<UnityEngine.ParticleSystem.Particle>):void;
  2994. public TriggerSubEmitter($subEmitterIndex: number, $particles: System.Collections.Generic.List$1<UnityEngine.ParticleSystem.Particle>):void;
  2995. public SetParticles($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>, $size: number, $offset: number):void;
  2996. public SetParticles($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>, $size: number):void;
  2997. public SetParticles($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>):void;
  2998. public SetParticles($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>, $size: number, $offset: number):void;
  2999. public SetParticles($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>, $size: number):void;
  3000. public SetParticles($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>):void;
  3001. public GetParticles($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>, $size: number, $offset: number):number;
  3002. public GetParticles($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>, $size: number):number;
  3003. public GetParticles($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>):number;
  3004. public GetParticles($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>, $size: number, $offset: number):number;
  3005. public GetParticles($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>, $size: number):number;
  3006. public GetParticles($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>):number;
  3007. public Simulate($t: number, $withChildren: boolean, $restart: boolean, $fixedTimeStep: boolean):void;
  3008. public Simulate($t: number, $withChildren: boolean, $restart: boolean):void;
  3009. public Simulate($t: number, $withChildren: boolean):void;
  3010. public Simulate($t: number):void;
  3011. public Play($withChildren: boolean):void;
  3012. public Play():void;
  3013. public Pause($withChildren: boolean):void;
  3014. public Pause():void;
  3015. public Stop($withChildren: boolean, $stopBehavior: UnityEngine.ParticleSystemStopBehavior):void;
  3016. public Stop($withChildren: boolean):void;
  3017. public Stop():void;
  3018. public Clear($withChildren: boolean):void;
  3019. public Clear():void;
  3020. public IsAlive($withChildren: boolean):boolean;
  3021. public IsAlive():boolean;
  3022. public Emit($count: number):void;
  3023. public Emit($emitParams: UnityEngine.ParticleSystem.EmitParams, $count: number):void;
  3024. public static ResetPreMappedBufferMemory():void;
  3025. }
  3026. enum ParticleSystemCustomData { Custom1 = 0, Custom2 = 1 }
  3027. enum ParticleSystemSimulationSpace { Local = 0, World = 1, Custom = 2 }
  3028. enum ParticleSystemScalingMode { Hierarchy = 0, Local = 1, Shape = 2 }
  3029. enum ParticleSystemStopBehavior { StopEmittingAndClear = 0, StopEmitting = 1 }
  3030. enum RenderMode { ScreenSpaceOverlay = 0, ScreenSpaceCamera = 1, WorldSpace = 2 }
  3031. class Collider extends UnityEngine.Component {
  3032. }
  3033. class RaycastHit extends System.ValueType {
  3034. }
  3035. class MeshCollider extends UnityEngine.Collider {
  3036. }
  3037. class MeshRenderer extends UnityEngine.Renderer {
  3038. }
  3039. class Renderer extends UnityEngine.Component {
  3040. }
  3041. class Sprite extends UnityEngine.Object {
  3042. }
  3043. enum EventModifiers { None = 0, Shift = 1, Control = 2, Alt = 4, Command = 8, Numeric = 16, CapsLock = 32, FunctionKey = 64 }
  3044. }
  3045. namespace UnityEngine.SceneManagement {
  3046. class Scene extends System.ValueType {
  3047. }
  3048. }
  3049. namespace UnityEngine.Playables {
  3050. class PlayableGraph extends System.ValueType {
  3051. }
  3052. }
  3053. namespace UnityEngine.AudioClip {
  3054. type PCMReaderCallback = (data: System.Array$1<number>) => void;
  3055. var PCMReaderCallback: {new (func: (data: System.Array$1<number>) => void): PCMReaderCallback;}
  3056. type PCMSetPositionCallback = (position: number) => void;
  3057. var PCMSetPositionCallback: {new (func: (position: number) => void): PCMSetPositionCallback;}
  3058. }
  3059. namespace UnityEngine.Audio {
  3060. class AudioMixerGroup extends UnityEngine.Object {
  3061. }
  3062. }
  3063. namespace UnityEngine.Rendering {
  3064. enum TextureDimension { Unknown = -1, None = 0, Any = 1, Tex2D = 2, Tex3D = 3, Cube = 4, Tex2DArray = 5, CubeArray = 6 }
  3065. enum OpaqueSortMode { Default = 0, FrontToBack = 1, NoDistanceSort = 2 }
  3066. enum CameraEvent { BeforeDepthTexture = 0, AfterDepthTexture = 1, BeforeDepthNormalsTexture = 2, AfterDepthNormalsTexture = 3, BeforeGBuffer = 4, AfterGBuffer = 5, BeforeLighting = 6, AfterLighting = 7, BeforeFinalPass = 8, AfterFinalPass = 9, BeforeForwardOpaque = 10, AfterForwardOpaque = 11, BeforeImageEffectsOpaque = 12, AfterImageEffectsOpaque = 13, BeforeSkybox = 14, AfterSkybox = 15, BeforeForwardAlpha = 16, AfterForwardAlpha = 17, BeforeImageEffects = 18, AfterImageEffects = 19, AfterEverything = 20, BeforeReflections = 21, AfterReflections = 22, BeforeHaloAndLensFlares = 23, AfterHaloAndLensFlares = 24 }
  3067. class CommandBuffer extends System.Object {
  3068. }
  3069. enum ComputeQueueType { Default = 0, Background = 1, Urgent = 2 }
  3070. enum ShaderHardwareTier { Tier1 = 0, Tier2 = 1, Tier3 = 2 }
  3071. enum GraphicsTier { Tier1 = 0, Tier2 = 1, Tier3 = 2 }
  3072. class GPUFence extends System.ValueType {
  3073. }
  3074. enum SynchronisationStage { VertexProcessing = 0, PixelProcessing = 1 }
  3075. enum ShadowCastingMode { Off = 0, On = 1, TwoSided = 2, ShadowsOnly = 3 }
  3076. enum LightProbeUsage { Off = 0, BlendProbes = 1, UseProxyVolume = 2, CustomProvided = 4 }
  3077. enum IndexFormat { UInt16 = 0, UInt32 = 1 }
  3078. enum GraphicsDeviceType { OpenGL2 = 0, Direct3D9 = 1, Direct3D11 = 2, PlayStation3 = 3, Null = 4, Xbox360 = 6, OpenGLES2 = 8, OpenGLES3 = 11, PlayStationVita = 12, PlayStation4 = 13, XboxOne = 14, PlayStationMobile = 15, Metal = 16, OpenGLCore = 17, Direct3D12 = 18, N3DS = 19, Vulkan = 21, Switch = 22, XboxOneD3D12 = 23 }
  3079. enum CopyTextureSupport { None = 0, Basic = 1, Copy3D = 2, DifferentTypes = 4, TextureToRT = 8, RTToTexture = 16 }
  3080. enum BlendMode { Zero = 0, One = 1, DstColor = 2, SrcColor = 3, OneMinusDstColor = 4, SrcAlpha = 5, OneMinusSrcColor = 6, DstAlpha = 7, OneMinusDstAlpha = 8, SrcAlphaSaturate = 9, OneMinusSrcAlpha = 10 }
  3081. }
  3082. namespace UnityEngine.Application {
  3083. type AdvertisingIdentifierCallback = (advertisingId: string, trackingEnabled: boolean, errorMsg: string) => void;
  3084. var AdvertisingIdentifierCallback: {new (func: (advertisingId: string, trackingEnabled: boolean, errorMsg: string) => void): AdvertisingIdentifierCallback;}
  3085. type LowMemoryCallback = () => void;
  3086. var LowMemoryCallback: {new (func: () => void): LowMemoryCallback;}
  3087. type LogCallback = (condition: string, stackTrace: string, type: UnityEngine.LogType) => void;
  3088. var LogCallback: {new (func: (condition: string, stackTrace: string, type: UnityEngine.LogType) => void): LogCallback;}
  3089. }
  3090. namespace UnityEngine.Events {
  3091. type UnityAction = () => void;
  3092. var UnityAction: {new (func: () => void): UnityAction;}
  3093. }
  3094. namespace UnityEngine.Camera {
  3095. type CameraCallback = (cam: UnityEngine.Camera) => void;
  3096. var CameraCallback: {new (func: (cam: UnityEngine.Camera) => void): CameraCallback;}
  3097. enum GateFitMode { Vertical = 1, Horizontal = 2, Fill = 3, Overscan = 4, None = 0 }
  3098. enum MonoOrStereoscopicEye { Left = 0, Right = 1, Mono = 2 }
  3099. class GateFitParameters extends System.ValueType {
  3100. }
  3101. enum StereoscopicEye { Left = 0, Right = 1 }
  3102. }
  3103. namespace UnityEngine.Experimental.Rendering {
  3104. enum GraphicsFormat { None = 0, R8_SRGB = 1, R8G8_SRGB = 2, R8G8B8_SRGB = 3, R8G8B8A8_SRGB = 4, R8_UNorm = 5, R8G8_UNorm = 6, R8G8B8_UNorm = 7, R8G8B8A8_UNorm = 8, R8_SNorm = 9, R8G8_SNorm = 10, R8G8B8_SNorm = 11, R8G8B8A8_SNorm = 12, R8_UInt = 13, R8G8_UInt = 14, R8G8B8_UInt = 15, R8G8B8A8_UInt = 16, R8_SInt = 17, R8G8_SInt = 18, R8G8B8_SInt = 19, R8G8B8A8_SInt = 20, R16_UNorm = 21, R16G16_UNorm = 22, R16G16B16_UNorm = 23, R16G16B16A16_UNorm = 24, R16_SNorm = 25, R16G16_SNorm = 26, R16G16B16_SNorm = 27, R16G16B16A16_SNorm = 28, R16_UInt = 29, R16G16_UInt = 30, R16G16B16_UInt = 31, R16G16B16A16_UInt = 32, R16_SInt = 33, R16G16_SInt = 34, R16G16B16_SInt = 35, R16G16B16A16_SInt = 36, R32_UInt = 37, R32G32_UInt = 38, R32G32B32_UInt = 39, R32G32B32A32_UInt = 40, R32_SInt = 41, R32G32_SInt = 42, R32G32B32_SInt = 43, R32G32B32A32_SInt = 44, R16_SFloat = 45, R16G16_SFloat = 46, R16G16B16_SFloat = 47, R16G16B16A16_SFloat = 48, R32_SFloat = 49, R32G32_SFloat = 50, R32G32B32_SFloat = 51, R32G32B32A32_SFloat = 52, B8G8R8_SRGB = 56, B8G8R8A8_SRGB = 57, B8G8R8_UNorm = 58, B8G8R8A8_UNorm = 59, B8G8R8_SNorm = 60, B8G8R8A8_SNorm = 61, B8G8R8_UInt = 62, B8G8R8A8_UInt = 63, B8G8R8_SInt = 64, B8G8R8A8_SInt = 65, R4G4B4A4_UNormPack16 = 66, B4G4R4A4_UNormPack16 = 67, R5G6B5_UNormPack16 = 68, B5G6R5_UNormPack16 = 69, R5G5B5A1_UNormPack16 = 70, B5G5R5A1_UNormPack16 = 71, A1R5G5B5_UNormPack16 = 72, E5B9G9R9_UFloatPack32 = 73, B10G11R11_UFloatPack32 = 74, A2B10G10R10_UNormPack32 = 75, A2B10G10R10_UIntPack32 = 76, A2B10G10R10_SIntPack32 = 77, A2R10G10B10_UNormPack32 = 78, A2R10G10B10_UIntPack32 = 79, A2R10G10B10_SIntPack32 = 80, A2R10G10B10_XRSRGBPack32 = 81, A2R10G10B10_XRUNormPack32 = 82, R10G10B10_XRSRGBPack32 = 83, R10G10B10_XRUNormPack32 = 84, A10R10G10B10_XRSRGBPack32 = 85, A10R10G10B10_XRUNormPack32 = 86, D16_UNorm = 90, D24_UNorm = 91, D24_UNorm_S8_UInt = 92, D32_SFloat = 93, D32_SFloat_S8_Uint = 94, S8_Uint = 95, RGB_DXT1_SRGB = 96, RGBA_DXT1_SRGB = 96, RGB_DXT1_UNorm = 97, RGBA_DXT1_UNorm = 97, RGBA_DXT3_SRGB = 98, RGBA_DXT3_UNorm = 99, RGBA_DXT5_SRGB = 100, RGBA_DXT5_UNorm = 101, R_BC4_UNorm = 102, R_BC4_SNorm = 103, RG_BC5_UNorm = 104, RG_BC5_SNorm = 105, RGB_BC6H_UFloat = 106, RGB_BC6H_SFloat = 107, RGBA_BC7_SRGB = 108, RGBA_BC7_UNorm = 109, RGB_PVRTC_2Bpp_SRGB = 110, RGB_PVRTC_2Bpp_UNorm = 111, RGB_PVRTC_4Bpp_SRGB = 112, RGB_PVRTC_4Bpp_UNorm = 113, RGBA_PVRTC_2Bpp_SRGB = 114, RGBA_PVRTC_2Bpp_UNorm = 115, RGBA_PVRTC_4Bpp_SRGB = 116, RGBA_PVRTC_4Bpp_UNorm = 117, RGB_ETC_UNorm = 118, RGB_ETC2_SRGB = 119, RGB_ETC2_UNorm = 120, RGB_A1_ETC2_SRGB = 121, RGB_A1_ETC2_UNorm = 122, RGBA_ETC2_SRGB = 123, RGBA_ETC2_UNorm = 124, R_EAC_UNorm = 125, R_EAC_SNorm = 126, RG_EAC_UNorm = 127, RG_EAC_SNorm = 128, RGBA_ASTC4X4_SRGB = 129, RGBA_ASTC4X4_UNorm = 130, RGBA_ASTC5X5_SRGB = 131, RGBA_ASTC5X5_UNorm = 132, RGBA_ASTC6X6_SRGB = 133, RGBA_ASTC6X6_UNorm = 134, RGBA_ASTC8X8_SRGB = 135, RGBA_ASTC8X8_UNorm = 136, RGBA_ASTC10X10_SRGB = 137, RGBA_ASTC10X10_UNorm = 138, RGBA_ASTC12X12_SRGB = 139, RGBA_ASTC12X12_UNorm = 140 }
  3105. enum TextureCreationFlags { None = 0, MipChain = 1, Crunch = 64 }
  3106. enum FormatUsage { Sample = 0, Linear = 1, Render = 3, Blend = 4, LoadStore = 8, MSAA2x = 9, MSAA4x = 10, MSAA8x = 11 }
  3107. }
  3108. namespace UnityEngine.Display {
  3109. type DisplaysUpdatedDelegate = () => void;
  3110. var DisplaysUpdatedDelegate: {new (func: () => void): DisplaysUpdatedDelegate;}
  3111. }
  3112. namespace Unity.Collections {
  3113. class NativeArray$1<T> extends System.ValueType {
  3114. }
  3115. }
  3116. namespace UnityEngine.Random {
  3117. class State extends System.ValueType {
  3118. }
  3119. }
  3120. namespace UnityEngine.Font {
  3121. type FontTextureRebuildCallback = () => void;
  3122. var FontTextureRebuildCallback: {new (func: () => void): FontTextureRebuildCallback;}
  3123. }
  3124. namespace UnityEngine.ParticleSystem {
  3125. class Particle extends System.ValueType {
  3126. }
  3127. class MainModule extends System.ValueType {
  3128. }
  3129. class EmissionModule extends System.ValueType {
  3130. }
  3131. class ShapeModule extends System.ValueType {
  3132. }
  3133. class VelocityOverLifetimeModule extends System.ValueType {
  3134. }
  3135. class LimitVelocityOverLifetimeModule extends System.ValueType {
  3136. }
  3137. class InheritVelocityModule extends System.ValueType {
  3138. }
  3139. class ForceOverLifetimeModule extends System.ValueType {
  3140. }
  3141. class ColorOverLifetimeModule extends System.ValueType {
  3142. }
  3143. class ColorBySpeedModule extends System.ValueType {
  3144. }
  3145. class SizeOverLifetimeModule extends System.ValueType {
  3146. }
  3147. class SizeBySpeedModule extends System.ValueType {
  3148. }
  3149. class RotationOverLifetimeModule extends System.ValueType {
  3150. }
  3151. class RotationBySpeedModule extends System.ValueType {
  3152. }
  3153. class ExternalForcesModule extends System.ValueType {
  3154. }
  3155. class NoiseModule extends System.ValueType {
  3156. }
  3157. class CollisionModule extends System.ValueType {
  3158. }
  3159. class TriggerModule extends System.ValueType {
  3160. }
  3161. class SubEmittersModule extends System.ValueType {
  3162. }
  3163. class TextureSheetAnimationModule extends System.ValueType {
  3164. }
  3165. class LightsModule extends System.ValueType {
  3166. }
  3167. class TrailModule extends System.ValueType {
  3168. }
  3169. class CustomDataModule extends System.ValueType {
  3170. }
  3171. class EmitParams extends System.ValueType {
  3172. }
  3173. }
  3174. namespace FairyEditor.Dialog {
  3175. class DialogBase extends FairyGUI.Window {
  3176. public __actionHandler: System.Action;
  3177. public __cancelHandler: System.Action;
  3178. public constructor();
  3179. public Center($restraint: boolean):void;
  3180. public ActionHandler():void;
  3181. public CancelHandler():void;
  3182. public Center():void;
  3183. public Center($restraint: boolean):void;
  3184. }
  3185. }
  3186. namespace FairyGUI {
  3187. class Window extends FairyGUI.GComponent {
  3188. public bringToFontOnClick: boolean;
  3189. public __onInit: System.Action;
  3190. public __onShown: System.Action;
  3191. public __onHide: System.Action;
  3192. public __doShowAnimation: System.Action;
  3193. public __doHideAnimation: System.Action;
  3194. public contentPane: FairyGUI.GComponent;
  3195. public frame: FairyGUI.GComponent;
  3196. public closeButton: FairyGUI.GObject;
  3197. public dragArea: FairyGUI.GObject;
  3198. public contentArea: FairyGUI.GObject;
  3199. public modalWaitingPane: FairyGUI.GObject;
  3200. public isShowing: boolean;
  3201. public isTop: boolean;
  3202. public modal: boolean;
  3203. public modalWaiting: boolean;
  3204. public constructor();
  3205. public AddUISource($source: FairyGUI.IUISource):void;
  3206. public Show():void;
  3207. public ShowOn($r: FairyGUI.GRoot):void;
  3208. public Hide():void;
  3209. public HideImmediately():void;
  3210. public CenterOn($r: FairyGUI.GRoot, $restraint: boolean):void;
  3211. public ToggleStatus():void;
  3212. public BringToFront():void;
  3213. public ShowModalWait():void;
  3214. public ShowModalWait($requestingCmd: number):void;
  3215. public CloseModalWait():boolean;
  3216. public CloseModalWait($requestingCmd: number):boolean;
  3217. public Init():void;
  3218. }
  3219. class GComponent extends FairyGUI.GObject {
  3220. public __onConstruct: System.Action;
  3221. public __onDispose: System.Action;
  3222. public rootContainer: FairyGUI.Container;
  3223. public container: FairyGUI.Container;
  3224. public scrollPane: FairyGUI.ScrollPane;
  3225. public onDrop: FairyGUI.EventListener;
  3226. public fairyBatching: boolean;
  3227. public opaque: boolean;
  3228. public margin: FairyGUI.Margin;
  3229. public childrenRenderOrder: FairyGUI.ChildrenRenderOrder;
  3230. public apexIndex: number;
  3231. public tabStopChildren: boolean;
  3232. public numChildren: number;
  3233. public Controllers: System.Collections.Generic.List$1<FairyGUI.Controller>;
  3234. public clipSoftness: UnityEngine.Vector2;
  3235. public mask: FairyGUI.DisplayObject;
  3236. public reversedMask: boolean;
  3237. public baseUserData: string;
  3238. public viewWidth: number;
  3239. public viewHeight: number;
  3240. public constructor();
  3241. public InvalidateBatchingState($childChanged: boolean):void;
  3242. public AddChild($child: FairyGUI.GObject):FairyGUI.GObject;
  3243. public AddChildAt($child: FairyGUI.GObject, $index: number):FairyGUI.GObject;
  3244. public RemoveChild($child: FairyGUI.GObject):FairyGUI.GObject;
  3245. public RemoveChild($child: FairyGUI.GObject, $dispose: boolean):FairyGUI.GObject;
  3246. public RemoveChildAt($index: number):FairyGUI.GObject;
  3247. public RemoveChildAt($index: number, $dispose: boolean):FairyGUI.GObject;
  3248. public RemoveChildren():void;
  3249. public RemoveChildren($beginIndex: number, $endIndex: number, $dispose: boolean):void;
  3250. public GetChildAt($index: number):FairyGUI.GObject;
  3251. public GetChild($name: string):FairyGUI.GObject;
  3252. public GetChildByPath($path: string):FairyGUI.GObject;
  3253. public GetVisibleChild($name: string):FairyGUI.GObject;
  3254. public GetChildInGroup($group: FairyGUI.GGroup, $name: string):FairyGUI.GObject;
  3255. public GetChildren():System.Array$1<FairyGUI.GObject>;
  3256. public GetChildIndex($child: FairyGUI.GObject):number;
  3257. public SetChildIndex($child: FairyGUI.GObject, $index: number):void;
  3258. public SetChildIndexBefore($child: FairyGUI.GObject, $index: number):number;
  3259. public SwapChildren($child1: FairyGUI.GObject, $child2: FairyGUI.GObject):void;
  3260. public SwapChildrenAt($index1: number, $index2: number):void;
  3261. public IsAncestorOf($obj: FairyGUI.GObject):boolean;
  3262. public ChangeChildrenOrder($objs: System.Collections.Generic.IList$1<FairyGUI.GObject>):void;
  3263. public AddController($controller: FairyGUI.Controller):void;
  3264. public GetControllerAt($index: number):FairyGUI.Controller;
  3265. public GetController($name: string):FairyGUI.Controller;
  3266. public RemoveController($c: FairyGUI.Controller):void;
  3267. public GetTransitionAt($index: number):FairyGUI.Transition;
  3268. public GetTransition($name: string):FairyGUI.Transition;
  3269. public IsChildInView($child: FairyGUI.GObject):boolean;
  3270. public GetFirstChildInView():number;
  3271. public SetBoundsChangedFlag():void;
  3272. public EnsureBoundsCorrect():void;
  3273. public ConstructFromXML($xml: FairyGUI.Utils.XML):void;
  3274. public InvalidateBatchingState():void;
  3275. }
  3276. class GObject extends FairyGUI.EventDispatcher {
  3277. public name: string;
  3278. public data: any;
  3279. public sourceWidth: number;
  3280. public sourceHeight: number;
  3281. public initWidth: number;
  3282. public initHeight: number;
  3283. public minWidth: number;
  3284. public maxWidth: number;
  3285. public minHeight: number;
  3286. public maxHeight: number;
  3287. public dragBounds: System.Nullable$1<UnityEngine.Rect>;
  3288. public packageItem: FairyGUI.PackageItem;
  3289. public id: string;
  3290. public relations: FairyGUI.Relations;
  3291. public parent: FairyGUI.GComponent;
  3292. public displayObject: FairyGUI.DisplayObject;
  3293. public static draggingObject: FairyGUI.GObject;
  3294. public onClick: FairyGUI.EventListener;
  3295. public onRightClick: FairyGUI.EventListener;
  3296. public onTouchBegin: FairyGUI.EventListener;
  3297. public onTouchMove: FairyGUI.EventListener;
  3298. public onTouchEnd: FairyGUI.EventListener;
  3299. public onRollOver: FairyGUI.EventListener;
  3300. public onRollOut: FairyGUI.EventListener;
  3301. public onAddedToStage: FairyGUI.EventListener;
  3302. public onRemovedFromStage: FairyGUI.EventListener;
  3303. public onKeyDown: FairyGUI.EventListener;
  3304. public onClickLink: FairyGUI.EventListener;
  3305. public onPositionChanged: FairyGUI.EventListener;
  3306. public onSizeChanged: FairyGUI.EventListener;
  3307. public onDragStart: FairyGUI.EventListener;
  3308. public onDragMove: FairyGUI.EventListener;
  3309. public onDragEnd: FairyGUI.EventListener;
  3310. public onGearStop: FairyGUI.EventListener;
  3311. public onFocusIn: FairyGUI.EventListener;
  3312. public onFocusOut: FairyGUI.EventListener;
  3313. public x: number;
  3314. public y: number;
  3315. public z: number;
  3316. public xy: UnityEngine.Vector2;
  3317. public position: UnityEngine.Vector3;
  3318. public width: number;
  3319. public height: number;
  3320. public size: UnityEngine.Vector2;
  3321. public actualWidth: number;
  3322. public actualHeight: number;
  3323. public xMin: number;
  3324. public yMin: number;
  3325. public scaleX: number;
  3326. public scaleY: number;
  3327. public scale: UnityEngine.Vector2;
  3328. public skew: UnityEngine.Vector2;
  3329. public pivotX: number;
  3330. public pivotY: number;
  3331. public pivot: UnityEngine.Vector2;
  3332. public pivotAsAnchor: boolean;
  3333. public touchable: boolean;
  3334. public grayed: boolean;
  3335. public enabled: boolean;
  3336. public rotation: number;
  3337. public rotationX: number;
  3338. public rotationY: number;
  3339. public alpha: number;
  3340. public visible: boolean;
  3341. public sortingOrder: number;
  3342. public focusable: boolean;
  3343. public tabStop: boolean;
  3344. public focused: boolean;
  3345. public tooltips: string;
  3346. public cursor: string;
  3347. public filter: FairyGUI.IFilter;
  3348. public blendMode: FairyGUI.BlendMode;
  3349. public gameObjectName: string;
  3350. public inContainer: boolean;
  3351. public onStage: boolean;
  3352. public resourceURL: string;
  3353. public gearXY: FairyGUI.GearXY;
  3354. public gearSize: FairyGUI.GearSize;
  3355. public gearLook: FairyGUI.GearLook;
  3356. public group: FairyGUI.GGroup;
  3357. public root: FairyGUI.GRoot;
  3358. public text: string;
  3359. public icon: string;
  3360. public draggable: boolean;
  3361. public dragging: boolean;
  3362. public isDisposed: boolean;
  3363. public asImage: FairyGUI.GImage;
  3364. public asCom: FairyGUI.GComponent;
  3365. public asButton: FairyGUI.GButton;
  3366. public asLabel: FairyGUI.GLabel;
  3367. public asProgress: FairyGUI.GProgressBar;
  3368. public asSlider: FairyGUI.GSlider;
  3369. public asComboBox: FairyGUI.GComboBox;
  3370. public asTextField: FairyGUI.GTextField;
  3371. public asRichTextField: FairyGUI.GRichTextField;
  3372. public asTextInput: FairyGUI.GTextInput;
  3373. public asLoader: FairyGUI.GLoader;
  3374. public asLoader3D: FairyGUI.GLoader3D;
  3375. public asList: FairyGUI.GList;
  3376. public asGraph: FairyGUI.GGraph;
  3377. public asGroup: FairyGUI.GGroup;
  3378. public asMovieClip: FairyGUI.GMovieClip;
  3379. public asTree: FairyGUI.GTree;
  3380. public treeNode: FairyGUI.GTreeNode;
  3381. public constructor();
  3382. public SetXY($xv: number, $yv: number):void;
  3383. public SetXY($xv: number, $yv: number, $topLeftValue: boolean):void;
  3384. public SetPosition($xv: number, $yv: number, $zv: number):void;
  3385. public Center():void;
  3386. public Center($restraint: boolean):void;
  3387. public MakeFullScreen():void;
  3388. public SetSize($wv: number, $hv: number):void;
  3389. public SetSize($wv: number, $hv: number, $ignorePivot: boolean):void;
  3390. public SetScale($wv: number, $hv: number):void;
  3391. public SetPivot($xv: number, $yv: number):void;
  3392. public SetPivot($xv: number, $yv: number, $asAnchor: boolean):void;
  3393. public RequestFocus():void;
  3394. public RequestFocus($byKey: boolean):void;
  3395. public SetHome($obj: FairyGUI.GObject):void;
  3396. public GetGear($index: number):FairyGUI.GearBase;
  3397. public InvalidateBatchingState():void;
  3398. public HandleControllerChanged($c: FairyGUI.Controller):void;
  3399. public AddRelation($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType):void;
  3400. public AddRelation($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType, $usePercent: boolean):void;
  3401. public RemoveRelation($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType):void;
  3402. public RemoveFromParent():void;
  3403. public StartDrag():void;
  3404. public StartDrag($touchId: number):void;
  3405. public StopDrag():void;
  3406. public LocalToGlobal($pt: UnityEngine.Vector2):UnityEngine.Vector2;
  3407. public GlobalToLocal($pt: UnityEngine.Vector2):UnityEngine.Vector2;
  3408. public LocalToGlobal($rect: UnityEngine.Rect):UnityEngine.Rect;
  3409. public GlobalToLocal($rect: UnityEngine.Rect):UnityEngine.Rect;
  3410. public LocalToRoot($pt: UnityEngine.Vector2, $r: FairyGUI.GRoot):UnityEngine.Vector2;
  3411. public RootToLocal($pt: UnityEngine.Vector2, $r: FairyGUI.GRoot):UnityEngine.Vector2;
  3412. public WorldToLocal($pt: UnityEngine.Vector3):UnityEngine.Vector2;
  3413. public WorldToLocal($pt: UnityEngine.Vector3, $camera: UnityEngine.Camera):UnityEngine.Vector2;
  3414. public TransformPoint($pt: UnityEngine.Vector2, $targetSpace: FairyGUI.GObject):UnityEngine.Vector2;
  3415. public TransformRect($rect: UnityEngine.Rect, $targetSpace: FairyGUI.GObject):UnityEngine.Rect;
  3416. public Dispose():void;
  3417. public ConstructFromResource():void;
  3418. public Setup_BeforeAdd($buffer: FairyGUI.Utils.ByteBuffer, $beginPos: number):void;
  3419. public Setup_AfterAdd($buffer: FairyGUI.Utils.ByteBuffer, $beginPos: number):void;
  3420. public TweenMove($endValue: UnityEngine.Vector2, $duration: number):FairyGUI.GTweener;
  3421. public TweenMoveX($endValue: number, $duration: number):FairyGUI.GTweener;
  3422. public TweenMoveY($endValue: number, $duration: number):FairyGUI.GTweener;
  3423. public TweenScale($endValue: UnityEngine.Vector2, $duration: number):FairyGUI.GTweener;
  3424. public TweenScaleX($endValue: number, $duration: number):FairyGUI.GTweener;
  3425. public TweenScaleY($endValue: number, $duration: number):FairyGUI.GTweener;
  3426. public TweenResize($endValue: UnityEngine.Vector2, $duration: number):FairyGUI.GTweener;
  3427. public TweenFade($endValue: number, $duration: number):FairyGUI.GTweener;
  3428. public TweenRotate($endValue: number, $duration: number):FairyGUI.GTweener;
  3429. }
  3430. class EventDispatcher extends System.Object {
  3431. public constructor();
  3432. public AddEventListener($strType: string, $callback: FairyGUI.EventCallback1):void;
  3433. public AddEventListener($strType: string, $callback: FairyGUI.EventCallback0):void;
  3434. public RemoveEventListener($strType: string, $callback: FairyGUI.EventCallback1):void;
  3435. public RemoveEventListener($strType: string, $callback: FairyGUI.EventCallback0):void;
  3436. public AddCapture($strType: string, $callback: FairyGUI.EventCallback1):void;
  3437. public RemoveCapture($strType: string, $callback: FairyGUI.EventCallback1):void;
  3438. public RemoveEventListeners():void;
  3439. public RemoveEventListeners($strType: string):void;
  3440. public hasEventListeners($strType: string):boolean;
  3441. public isDispatching($strType: string):boolean;
  3442. public DispatchEvent($strType: string):boolean;
  3443. public DispatchEvent($strType: string, $data: any):boolean;
  3444. public DispatchEvent($strType: string, $data: any, $initiator: any):boolean;
  3445. public DispatchEvent($context: FairyGUI.EventContext):boolean;
  3446. public BubbleEvent($strType: string, $data: any):boolean;
  3447. public BroadcastEvent($strType: string, $data: any):boolean;
  3448. }
  3449. class GRoot extends FairyGUI.GComponent {
  3450. public static contentScaleFactor: number;
  3451. public static contentScaleLevel: number;
  3452. public static inst: FairyGUI.GRoot;
  3453. public modalLayer: FairyGUI.GGraph;
  3454. public hasModalWindow: boolean;
  3455. public modalWaiting: boolean;
  3456. public touchTarget: FairyGUI.GObject;
  3457. public hasAnyPopup: boolean;
  3458. public focus: FairyGUI.GObject;
  3459. public soundVolume: number;
  3460. public constructor();
  3461. public SetContentScaleFactor($designResolutionX: number, $designResolutionY: number):void;
  3462. public SetContentScaleFactor($designResolutionX: number, $designResolutionY: number, $screenMatchMode: FairyGUI.UIContentScaler.ScreenMatchMode):void;
  3463. public SetContentScaleFactor($constantScaleFactor: number):void;
  3464. public ApplyContentScaleFactor():void;
  3465. public ShowWindow($win: FairyGUI.Window):void;
  3466. public HideWindow($win: FairyGUI.Window):void;
  3467. public HideWindowImmediately($win: FairyGUI.Window):void;
  3468. public HideWindowImmediately($win: FairyGUI.Window, $dispose: boolean):void;
  3469. public BringToFront($win: FairyGUI.Window):void;
  3470. public ShowModalWait():void;
  3471. public CloseModalWait():void;
  3472. public CloseAllExceptModals():void;
  3473. public CloseAllWindows():void;
  3474. public GetTopWindow():FairyGUI.Window;
  3475. public DisplayObjectToGObject($obj: FairyGUI.DisplayObject):FairyGUI.GObject;
  3476. public ShowPopup($popup: FairyGUI.GObject):void;
  3477. public ShowPopup($popup: FairyGUI.GObject, $target: FairyGUI.GObject):void;
  3478. public ShowPopup($popup: FairyGUI.GObject, $target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection):void;
  3479. public ShowPopup($popup: FairyGUI.GObject, $target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection, $closeUntilUpEvent: boolean):void;
  3480. public GetPoupPosition($popup: FairyGUI.GObject, $target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection):UnityEngine.Vector2;
  3481. public TogglePopup($popup: FairyGUI.GObject):void;
  3482. public TogglePopup($popup: FairyGUI.GObject, $target: FairyGUI.GObject):void;
  3483. public TogglePopup($popup: FairyGUI.GObject, $target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection):void;
  3484. public TogglePopup($popup: FairyGUI.GObject, $target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection, $closeUntilUpEvent: boolean):void;
  3485. public HidePopup():void;
  3486. public HidePopup($popup: FairyGUI.GObject):void;
  3487. public ShowTooltips($msg: string):void;
  3488. public ShowTooltips($msg: string, $delay: number):void;
  3489. public ShowTooltipsWin($tooltipWin: FairyGUI.GObject):void;
  3490. public ShowTooltipsWin($tooltipWin: FairyGUI.GObject, $delay: number):void;
  3491. public HideTooltips():void;
  3492. public EnableSound():void;
  3493. public DisableSound():void;
  3494. public PlayOneShotSound($clip: UnityEngine.AudioClip, $volumeScale: number):void;
  3495. public PlayOneShotSound($clip: UnityEngine.AudioClip):void;
  3496. }
  3497. type EventCallback1 = (context: FairyGUI.EventContext) => void;
  3498. var EventCallback1: {new (func: (context: FairyGUI.EventContext) => void): EventCallback1;}
  3499. class EventContext extends System.Object {
  3500. public type: string;
  3501. public data: any;
  3502. public sender: FairyGUI.EventDispatcher;
  3503. public initiator: any;
  3504. public inputEvent: FairyGUI.InputEvent;
  3505. public isDefaultPrevented: boolean;
  3506. public constructor();
  3507. public StopPropagation():void;
  3508. public PreventDefault():void;
  3509. public CaptureTouch():void;
  3510. }
  3511. class GLoader extends FairyGUI.GObject {
  3512. public showErrorSign: boolean;
  3513. public url: string;
  3514. public icon: string;
  3515. public align: FairyGUI.AlignType;
  3516. public verticalAlign: FairyGUI.VertAlignType;
  3517. public fill: FairyGUI.FillType;
  3518. public shrinkOnly: boolean;
  3519. public autoSize: boolean;
  3520. public playing: boolean;
  3521. public frame: number;
  3522. public timeScale: number;
  3523. public ignoreEngineTimeScale: boolean;
  3524. public material: UnityEngine.Material;
  3525. public shader: string;
  3526. public color: UnityEngine.Color;
  3527. public fillMethod: FairyGUI.FillMethod;
  3528. public fillOrigin: number;
  3529. public fillClockwise: boolean;
  3530. public fillAmount: number;
  3531. public image: FairyGUI.Image;
  3532. public movieClip: FairyGUI.MovieClip;
  3533. public component: FairyGUI.GComponent;
  3534. public texture: FairyGUI.NTexture;
  3535. public filter: FairyGUI.IFilter;
  3536. public blendMode: FairyGUI.BlendMode;
  3537. public constructor();
  3538. public Advance($time: number):void;
  3539. }
  3540. class Image extends FairyGUI.DisplayObject {
  3541. public texture: FairyGUI.NTexture;
  3542. public textureScale: UnityEngine.Vector2;
  3543. public color: UnityEngine.Color;
  3544. public fillMethod: FairyGUI.FillMethod;
  3545. public fillOrigin: number;
  3546. public fillClockwise: boolean;
  3547. public fillAmount: number;
  3548. public scale9Grid: System.Nullable$1<UnityEngine.Rect>;
  3549. public scaleByTile: boolean;
  3550. public tileGridIndice: number;
  3551. public constructor();
  3552. public constructor($texture: FairyGUI.NTexture);
  3553. public SetNativeSize():void;
  3554. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  3555. public SliceFill($vb: FairyGUI.VertexBuffer):void;
  3556. }
  3557. class DisplayObject extends FairyGUI.EventDispatcher {
  3558. public name: string;
  3559. public gOwner: FairyGUI.GObject;
  3560. public id: number;
  3561. public parent: FairyGUI.Container;
  3562. public gameObject: UnityEngine.GameObject;
  3563. public cachedTransform: UnityEngine.Transform;
  3564. public graphics: FairyGUI.NGraphics;
  3565. public paintingGraphics: FairyGUI.NGraphics;
  3566. public onClick: FairyGUI.EventListener;
  3567. public onRightClick: FairyGUI.EventListener;
  3568. public onTouchBegin: FairyGUI.EventListener;
  3569. public onTouchMove: FairyGUI.EventListener;
  3570. public onTouchEnd: FairyGUI.EventListener;
  3571. public onRollOver: FairyGUI.EventListener;
  3572. public onRollOut: FairyGUI.EventListener;
  3573. public onMouseWheel: FairyGUI.EventListener;
  3574. public onAddedToStage: FairyGUI.EventListener;
  3575. public onRemovedFromStage: FairyGUI.EventListener;
  3576. public onKeyDown: FairyGUI.EventListener;
  3577. public onClickLink: FairyGUI.EventListener;
  3578. public onFocusIn: FairyGUI.EventListener;
  3579. public onFocusOut: FairyGUI.EventListener;
  3580. public alpha: number;
  3581. public grayed: boolean;
  3582. public visible: boolean;
  3583. public x: number;
  3584. public y: number;
  3585. public z: number;
  3586. public xy: UnityEngine.Vector2;
  3587. public position: UnityEngine.Vector3;
  3588. public pixelPerfect: boolean;
  3589. public width: number;
  3590. public height: number;
  3591. public size: UnityEngine.Vector2;
  3592. public scaleX: number;
  3593. public scaleY: number;
  3594. public scale: UnityEngine.Vector2;
  3595. public rotation: number;
  3596. public rotationX: number;
  3597. public rotationY: number;
  3598. public skew: UnityEngine.Vector2;
  3599. public perspective: boolean;
  3600. public focalLength: number;
  3601. public pivot: UnityEngine.Vector2;
  3602. public location: UnityEngine.Vector3;
  3603. public material: UnityEngine.Material;
  3604. public shader: string;
  3605. public renderingOrder: number;
  3606. public layer: number;
  3607. public focusable: boolean;
  3608. public tabStop: boolean;
  3609. public focused: boolean;
  3610. public cursor: string;
  3611. public isDisposed: boolean;
  3612. public topmost: FairyGUI.Container;
  3613. public stage: FairyGUI.Stage;
  3614. public worldSpaceContainer: FairyGUI.Container;
  3615. public touchable: boolean;
  3616. public touchDisabled: boolean;
  3617. public paintingMode: boolean;
  3618. public cacheAsBitmap: boolean;
  3619. public filter: FairyGUI.IFilter;
  3620. public blendMode: FairyGUI.BlendMode;
  3621. public home: UnityEngine.Transform;
  3622. public constructor();
  3623. public add_onPaint($value: System.Action):void;
  3624. public remove_onPaint($value: System.Action):void;
  3625. public SetXY($xv: number, $yv: number):void;
  3626. public SetPosition($xv: number, $yv: number, $zv: number):void;
  3627. public SetSize($wv: number, $hv: number):void;
  3628. public EnsureSizeCorrect():void;
  3629. public SetScale($xv: number, $yv: number):void;
  3630. public EnterPaintingMode():void;
  3631. public EnterPaintingMode($requestorId: number, $extend: System.Nullable$1<FairyGUI.Margin>):void;
  3632. public EnterPaintingMode($requestorId: number, $extend: System.Nullable$1<FairyGUI.Margin>, $scale: number):void;
  3633. public LeavePaintingMode($requestorId: number):void;
  3634. public GetScreenShot($extend: System.Nullable$1<FairyGUI.Margin>, $scale: number):UnityEngine.Texture2D;
  3635. public GetBounds($targetSpace: FairyGUI.DisplayObject):UnityEngine.Rect;
  3636. public GlobalToLocal($point: UnityEngine.Vector2):UnityEngine.Vector2;
  3637. public LocalToGlobal($point: UnityEngine.Vector2):UnityEngine.Vector2;
  3638. public WorldToLocal($worldPoint: UnityEngine.Vector3, $direction: UnityEngine.Vector3):UnityEngine.Vector3;
  3639. public LocalToWorld($localPoint: UnityEngine.Vector3):UnityEngine.Vector3;
  3640. public TransformPoint($point: UnityEngine.Vector2, $targetSpace: FairyGUI.DisplayObject):UnityEngine.Vector2;
  3641. public TransformRect($rect: UnityEngine.Rect, $targetSpace: FairyGUI.DisplayObject):UnityEngine.Rect;
  3642. public RemoveFromParent():void;
  3643. public InvalidateBatchingState():void;
  3644. public Update($context: FairyGUI.UpdateContext):void;
  3645. public Dispose():void;
  3646. }
  3647. class EventListener extends System.Object {
  3648. public type: string;
  3649. public isEmpty: boolean;
  3650. public isDispatching: boolean;
  3651. public constructor($owner: FairyGUI.EventDispatcher, $type: string);
  3652. public AddCapture($callback: FairyGUI.EventCallback1):void;
  3653. public RemoveCapture($callback: FairyGUI.EventCallback1):void;
  3654. public Add($callback: FairyGUI.EventCallback1):void;
  3655. public Remove($callback: FairyGUI.EventCallback1):void;
  3656. public Add($callback: FairyGUI.EventCallback0):void;
  3657. public Remove($callback: FairyGUI.EventCallback0):void;
  3658. public Set($callback: FairyGUI.EventCallback1):void;
  3659. public Set($callback: FairyGUI.EventCallback0):void;
  3660. public Clear():void;
  3661. public Call():boolean;
  3662. public Call($data: any):boolean;
  3663. public BubbleCall($data: any):boolean;
  3664. public BubbleCall():boolean;
  3665. public BroadcastCall($data: any):boolean;
  3666. public BroadcastCall():boolean;
  3667. }
  3668. class NTexture extends System.Object {
  3669. public uvRect: UnityEngine.Rect;
  3670. public rotated: boolean;
  3671. public refCount: number;
  3672. public lastActive: number;
  3673. public destroyMethod: FairyGUI.DestroyMethod;
  3674. public static Empty: FairyGUI.NTexture;
  3675. public width: number;
  3676. public height: number;
  3677. public offset: UnityEngine.Vector2;
  3678. public originalSize: UnityEngine.Vector2;
  3679. public root: FairyGUI.NTexture;
  3680. public disposed: boolean;
  3681. public nativeTexture: UnityEngine.Texture;
  3682. public alphaTexture: UnityEngine.Texture;
  3683. public constructor($texture: UnityEngine.Texture);
  3684. public constructor($texture: UnityEngine.Texture, $alphaTexture: UnityEngine.Texture, $xScale: number, $yScale: number);
  3685. public constructor($texture: UnityEngine.Texture, $region: UnityEngine.Rect);
  3686. public constructor($root: FairyGUI.NTexture, $region: UnityEngine.Rect, $rotated: boolean);
  3687. public constructor($root: FairyGUI.NTexture, $region: UnityEngine.Rect, $rotated: boolean, $originalSize: UnityEngine.Vector2, $offset: UnityEngine.Vector2);
  3688. public constructor($sprite: UnityEngine.Sprite);
  3689. public static add_CustomDestroyMethod($value: System.Action$1<UnityEngine.Texture>):void;
  3690. public static remove_CustomDestroyMethod($value: System.Action$1<UnityEngine.Texture>):void;
  3691. public add_onSizeChanged($value: System.Action$1<FairyGUI.NTexture>):void;
  3692. public remove_onSizeChanged($value: System.Action$1<FairyGUI.NTexture>):void;
  3693. public add_onRelease($value: System.Action$1<FairyGUI.NTexture>):void;
  3694. public remove_onRelease($value: System.Action$1<FairyGUI.NTexture>):void;
  3695. public static DisposeEmpty():void;
  3696. public GetDrawRect($drawRect: UnityEngine.Rect):UnityEngine.Rect;
  3697. public GetUV($uv: System.Array$1<UnityEngine.Vector2>):void;
  3698. public GetMaterialManager($shaderName: string):FairyGUI.MaterialManager;
  3699. public Unload():void;
  3700. public Unload($destroyMaterials: boolean):void;
  3701. public Reload($nativeTexture: UnityEngine.Texture, $alphaTexture: UnityEngine.Texture):void;
  3702. public AddRef():void;
  3703. public ReleaseRef():void;
  3704. public Dispose():void;
  3705. }
  3706. class BitmapFont extends FairyGUI.BaseFont {
  3707. public size: number;
  3708. public resizable: boolean;
  3709. public hasChannel: boolean;
  3710. public constructor();
  3711. public AddChar($ch: number, $glyph: FairyGUI.BitmapFont.BMGlyph):void;
  3712. }
  3713. class BaseFont extends System.Object {
  3714. public name: string;
  3715. public mainTexture: FairyGUI.NTexture;
  3716. public canTint: boolean;
  3717. public customBold: boolean;
  3718. public customBoldAndItalic: boolean;
  3719. public customOutline: boolean;
  3720. public shader: string;
  3721. public keepCrisp: boolean;
  3722. public version: number;
  3723. public constructor();
  3724. public UpdateGraphics($graphics: FairyGUI.NGraphics):void;
  3725. public SetFormat($format: FairyGUI.TextFormat, $fontSizeScale: number):void;
  3726. public PrepareCharacters($text: string):void;
  3727. public GetGlyph($ch: number, $width: $Ref<number>, $height: $Ref<number>, $baseline: $Ref<number>):boolean;
  3728. public DrawGlyph($x: number, $y: number, $vertList: System.Collections.Generic.List$1<UnityEngine.Vector3>, $uvList: System.Collections.Generic.List$1<UnityEngine.Vector2>, $uv2List: System.Collections.Generic.List$1<UnityEngine.Vector2>, $colList: System.Collections.Generic.List$1<UnityEngine.Color32>):number;
  3729. public DrawLine($x: number, $y: number, $width: number, $fontSize: number, $type: number, $vertList: System.Collections.Generic.List$1<UnityEngine.Vector3>, $uvList: System.Collections.Generic.List$1<UnityEngine.Vector2>, $uv2List: System.Collections.Generic.List$1<UnityEngine.Vector2>, $colList: System.Collections.Generic.List$1<UnityEngine.Color32>):number;
  3730. public HasCharacter($ch: number):boolean;
  3731. public GetLineHeight($size: number):number;
  3732. public Dispose():void;
  3733. }
  3734. enum AlignType { Left = 0, Center = 1, Right = 2 }
  3735. enum VertAlignType { Top = 0, Middle = 1, Bottom = 2 }
  3736. enum AutoSizeType { None = 0, Both = 1, Height = 2, Shrink = 3 }
  3737. enum FlipType { None = 0, Horizontal = 1, Vertical = 2, Both = 3 }
  3738. enum FillMethod { None = 0, Horizontal = 1, Vertical = 2, Radial90 = 3, Radial180 = 4, Radial360 = 5 }
  3739. enum EaseType { Linear = 0, SineIn = 1, SineOut = 2, SineInOut = 3, QuadIn = 4, QuadOut = 5, QuadInOut = 6, CubicIn = 7, CubicOut = 8, CubicInOut = 9, QuartIn = 10, QuartOut = 11, QuartInOut = 12, QuintIn = 13, QuintOut = 14, QuintInOut = 15, ExpoIn = 16, ExpoOut = 17, ExpoInOut = 18, CircIn = 19, CircOut = 20, CircInOut = 21, ElasticIn = 22, ElasticOut = 23, ElasticInOut = 24, BackIn = 25, BackOut = 26, BackInOut = 27, BounceIn = 28, BounceOut = 29, BounceInOut = 30, Custom = 31 }
  3740. class CustomEase extends System.Object {
  3741. public constructor($pointDensity?: number);
  3742. public Create($pathPoints: System.Collections.Generic.IEnumerable$1<FairyGUI.GPathPoint>):void;
  3743. public Evaluate($time: number):number;
  3744. }
  3745. class GPathPoint extends System.ValueType {
  3746. public pos: UnityEngine.Vector3;
  3747. public control1: UnityEngine.Vector3;
  3748. public control2: UnityEngine.Vector3;
  3749. public curveType: FairyGUI.GPathPoint.CurveType;
  3750. public smooth: boolean;
  3751. public constructor($pos: UnityEngine.Vector3);
  3752. public constructor($pos: UnityEngine.Vector3, $control: UnityEngine.Vector3);
  3753. public constructor($pos: UnityEngine.Vector3, $control1: UnityEngine.Vector3, $control2: UnityEngine.Vector3);
  3754. public constructor($pos: UnityEngine.Vector3, $curveType: FairyGUI.GPathPoint.CurveType);
  3755. }
  3756. class Container extends FairyGUI.DisplayObject {
  3757. public renderMode: UnityEngine.RenderMode;
  3758. public renderCamera: UnityEngine.Camera;
  3759. public opaque: boolean;
  3760. public clipSoftness: System.Nullable$1<UnityEngine.Vector4>;
  3761. public hitArea: FairyGUI.IHitTest;
  3762. public touchChildren: boolean;
  3763. public reversedMask: boolean;
  3764. public numChildren: number;
  3765. public clipRect: System.Nullable$1<UnityEngine.Rect>;
  3766. public mask: FairyGUI.DisplayObject;
  3767. public fairyBatching: boolean;
  3768. public tabStopChildren: boolean;
  3769. public constructor();
  3770. public constructor($gameObjectName: string);
  3771. public constructor($attachTarget: UnityEngine.GameObject);
  3772. public add_onUpdate($value: System.Action):void;
  3773. public remove_onUpdate($value: System.Action):void;
  3774. public AddChild($child: FairyGUI.DisplayObject):FairyGUI.DisplayObject;
  3775. public AddChildAt($child: FairyGUI.DisplayObject, $index: number):FairyGUI.DisplayObject;
  3776. public Contains($child: FairyGUI.DisplayObject):boolean;
  3777. public GetChildAt($index: number):FairyGUI.DisplayObject;
  3778. public GetChild($name: string):FairyGUI.DisplayObject;
  3779. public GetChildren():System.Array$1<FairyGUI.DisplayObject>;
  3780. public GetChildIndex($child: FairyGUI.DisplayObject):number;
  3781. public RemoveChild($child: FairyGUI.DisplayObject):FairyGUI.DisplayObject;
  3782. public RemoveChild($child: FairyGUI.DisplayObject, $dispose: boolean):FairyGUI.DisplayObject;
  3783. public RemoveChildAt($index: number):FairyGUI.DisplayObject;
  3784. public RemoveChildAt($index: number, $dispose: boolean):FairyGUI.DisplayObject;
  3785. public RemoveChildren():void;
  3786. public RemoveChildren($beginIndex: number, $endIndex: number, $dispose: boolean):void;
  3787. public SetChildIndex($child: FairyGUI.DisplayObject, $index: number):void;
  3788. public SwapChildren($child1: FairyGUI.DisplayObject, $child2: FairyGUI.DisplayObject):void;
  3789. public SwapChildrenAt($index1: number, $index2: number):void;
  3790. public ChangeChildrenOrder($indice: System.Collections.Generic.IList$1<number>, $objs: System.Collections.Generic.IList$1<FairyGUI.DisplayObject>):void;
  3791. public GetDescendants($backward: boolean):System.Collections.Generic.IEnumerator$1<FairyGUI.DisplayObject>;
  3792. public CreateGraphics():void;
  3793. public GetRenderCamera():UnityEngine.Camera;
  3794. public HitTest($stagePoint: UnityEngine.Vector2, $forTouch: boolean):FairyGUI.DisplayObject;
  3795. public IsAncestorOf($obj: FairyGUI.DisplayObject):boolean;
  3796. public InvalidateBatchingState($childrenChanged: boolean):void;
  3797. public SetChildrenLayer($value: number):void;
  3798. public InvalidateBatchingState():void;
  3799. }
  3800. class TextFormat extends System.Object {
  3801. public size: number;
  3802. public font: string;
  3803. public color: UnityEngine.Color;
  3804. public lineSpacing: number;
  3805. public letterSpacing: number;
  3806. public bold: boolean;
  3807. public underline: boolean;
  3808. public italic: boolean;
  3809. public strikethrough: boolean;
  3810. public gradientColor: System.Array$1<UnityEngine.Color32>;
  3811. public align: FairyGUI.AlignType;
  3812. public specialStyle: FairyGUI.TextFormat.SpecialStyle;
  3813. public outline: number;
  3814. public outlineColor: UnityEngine.Color;
  3815. public shadowOffset: UnityEngine.Vector2;
  3816. public shadowColor: UnityEngine.Color;
  3817. public faceDilate: number;
  3818. public outlineSoftness: number;
  3819. public underlaySoftness: number;
  3820. public constructor();
  3821. public SetColor($value: number):void;
  3822. public EqualStyle($aFormat: FairyGUI.TextFormat):boolean;
  3823. public CopyFrom($source: FairyGUI.TextFormat):void;
  3824. public FillVertexColors($vertexColors: System.Array$1<UnityEngine.Color32>):void;
  3825. }
  3826. class GTweener extends System.Object {
  3827. public delay: number;
  3828. public duration: number;
  3829. public repeat: number;
  3830. public target: any;
  3831. public userData: any;
  3832. public startValue: FairyGUI.TweenValue;
  3833. public endValue: FairyGUI.TweenValue;
  3834. public value: FairyGUI.TweenValue;
  3835. public deltaValue: FairyGUI.TweenValue;
  3836. public normalizedTime: number;
  3837. public completed: boolean;
  3838. public allCompleted: boolean;
  3839. public constructor();
  3840. public SetDelay($value: number):FairyGUI.GTweener;
  3841. public SetDuration($value: number):FairyGUI.GTweener;
  3842. public SetBreakpoint($value: number):FairyGUI.GTweener;
  3843. public SetEase($value: FairyGUI.EaseType):FairyGUI.GTweener;
  3844. public SetEase($value: FairyGUI.EaseType, $customEase: FairyGUI.CustomEase):FairyGUI.GTweener;
  3845. public SetEasePeriod($value: number):FairyGUI.GTweener;
  3846. public SetEaseOvershootOrAmplitude($value: number):FairyGUI.GTweener;
  3847. public SetRepeat($times: number, $yoyo?: boolean):FairyGUI.GTweener;
  3848. public SetTimeScale($value: number):FairyGUI.GTweener;
  3849. public SetIgnoreEngineTimeScale($value: boolean):FairyGUI.GTweener;
  3850. public SetSnapping($value: boolean):FairyGUI.GTweener;
  3851. public SetPath($value: FairyGUI.GPath):FairyGUI.GTweener;
  3852. public SetTarget($value: any):FairyGUI.GTweener;
  3853. public SetTarget($value: any, $propType: FairyGUI.TweenPropType):FairyGUI.GTweener;
  3854. public SetUserData($value: any):FairyGUI.GTweener;
  3855. public OnUpdate($callback: FairyGUI.GTweenCallback):FairyGUI.GTweener;
  3856. public OnStart($callback: FairyGUI.GTweenCallback):FairyGUI.GTweener;
  3857. public OnComplete($callback: FairyGUI.GTweenCallback):FairyGUI.GTweener;
  3858. public OnUpdate($callback: FairyGUI.GTweenCallback1):FairyGUI.GTweener;
  3859. public OnStart($callback: FairyGUI.GTweenCallback1):FairyGUI.GTweener;
  3860. public OnComplete($callback: FairyGUI.GTweenCallback1):FairyGUI.GTweener;
  3861. public SetListener($value: FairyGUI.ITweenListener):FairyGUI.GTweener;
  3862. public SetPaused($paused: boolean):FairyGUI.GTweener;
  3863. public Seek($time: number):void;
  3864. public Kill($complete?: boolean):void;
  3865. }
  3866. class GPath extends System.Object {
  3867. public length: number;
  3868. public segmentCount: number;
  3869. public constructor();
  3870. public Create($pt1: FairyGUI.GPathPoint, $pt2: FairyGUI.GPathPoint):void;
  3871. public Create($pt1: FairyGUI.GPathPoint, $pt2: FairyGUI.GPathPoint, $pt3: FairyGUI.GPathPoint):void;
  3872. public Create($pt1: FairyGUI.GPathPoint, $pt2: FairyGUI.GPathPoint, $pt3: FairyGUI.GPathPoint, $pt4: FairyGUI.GPathPoint):void;
  3873. public Create($points: System.Collections.Generic.IEnumerable$1<FairyGUI.GPathPoint>):void;
  3874. public Clear():void;
  3875. public GetPointAt($t: number):UnityEngine.Vector3;
  3876. public GetSegmentLength($segmentIndex: number):number;
  3877. public GetPointsInSegment($segmentIndex: number, $t0: number, $t1: number, $points: System.Collections.Generic.List$1<UnityEngine.Vector3>, $ts?: System.Collections.Generic.List$1<number>, $pointDensity?: number):void;
  3878. public GetAllPoints($points: System.Collections.Generic.List$1<UnityEngine.Vector3>, $pointDensity?: number):void;
  3879. }
  3880. class RichTextField extends FairyGUI.Container {
  3881. public htmlPageContext: FairyGUI.Utils.IHtmlPageContext;
  3882. public htmlParseOptions: FairyGUI.Utils.HtmlParseOptions;
  3883. public emojies: System.Collections.Generic.Dictionary$2<number, FairyGUI.Emoji>;
  3884. public textField: FairyGUI.TextField;
  3885. public text: string;
  3886. public htmlText: string;
  3887. public textFormat: FairyGUI.TextFormat;
  3888. public htmlElementCount: number;
  3889. public constructor();
  3890. public GetHtmlElement($name: string):FairyGUI.Utils.HtmlElement;
  3891. public GetHtmlElementAt($index: number):FairyGUI.Utils.HtmlElement;
  3892. public ShowHtmlObject($index: number, $show: boolean):void;
  3893. }
  3894. class InputEvent extends System.Object {
  3895. public x: number;
  3896. public y: number;
  3897. public keyCode: UnityEngine.KeyCode;
  3898. public character: number;
  3899. public modifiers: UnityEngine.EventModifiers;
  3900. public mouseWheelDelta: number;
  3901. public touchId: number;
  3902. public button: number;
  3903. public clickCount: number;
  3904. public holdTime: number;
  3905. public position: UnityEngine.Vector2;
  3906. public isDoubleClick: boolean;
  3907. public ctrlOrCmd: boolean;
  3908. public ctrl: boolean;
  3909. public shift: boolean;
  3910. public alt: boolean;
  3911. public command: boolean;
  3912. public constructor();
  3913. }
  3914. class GComboBox extends FairyGUI.GComponent {
  3915. public visibleItemCount: number;
  3916. public dropdown: FairyGUI.GComponent;
  3917. public sound: FairyGUI.NAudioClip;
  3918. public soundVolumeScale: number;
  3919. public onChanged: FairyGUI.EventListener;
  3920. public icon: string;
  3921. public title: string;
  3922. public text: string;
  3923. public titleColor: UnityEngine.Color;
  3924. public titleFontSize: number;
  3925. public items: System.Array$1<string>;
  3926. public icons: System.Array$1<string>;
  3927. public values: System.Array$1<string>;
  3928. public itemList: System.Collections.Generic.List$1<string>;
  3929. public valueList: System.Collections.Generic.List$1<string>;
  3930. public iconList: System.Collections.Generic.List$1<string>;
  3931. public selectedIndex: number;
  3932. public selectionController: FairyGUI.Controller;
  3933. public value: string;
  3934. public popupDirection: FairyGUI.PopupDirection;
  3935. public constructor();
  3936. public ApplyListChange():void;
  3937. public GetTextField():FairyGUI.GTextField;
  3938. public UpdateDropdownList():void;
  3939. }
  3940. class Shape extends FairyGUI.DisplayObject {
  3941. public color: UnityEngine.Color;
  3942. public isEmpty: boolean;
  3943. public constructor();
  3944. public DrawRect($lineSize: number, $lineColor: UnityEngine.Color, $fillColor: UnityEngine.Color):void;
  3945. public DrawRect($lineSize: number, $colors: System.Array$1<UnityEngine.Color32>):void;
  3946. public DrawRoundRect($lineSize: number, $lineColor: UnityEngine.Color, $fillColor: UnityEngine.Color, $topLeftRadius: number, $topRightRadius: number, $bottomLeftRadius: number, $bottomRightRadius: number):void;
  3947. public DrawEllipse($fillColor: UnityEngine.Color):void;
  3948. public DrawEllipse($lineSize: number, $centerColor: UnityEngine.Color, $lineColor: UnityEngine.Color, $fillColor: UnityEngine.Color, $startDegree: number, $endDegree: number):void;
  3949. public DrawPolygon($points: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $fillColor: UnityEngine.Color):void;
  3950. public DrawPolygon($points: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $colors: System.Array$1<UnityEngine.Color32>):void;
  3951. public DrawPolygon($points: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $fillColor: UnityEngine.Color, $lineSize: number, $lineColor: UnityEngine.Color):void;
  3952. public DrawRegularPolygon($sides: number, $lineSize: number, $centerColor: UnityEngine.Color, $lineColor: UnityEngine.Color, $fillColor: UnityEngine.Color, $rotation: number, $distances: System.Array$1<number>):void;
  3953. public Clear():void;
  3954. }
  3955. class VertexBuffer extends System.Object {
  3956. public contentRect: UnityEngine.Rect;
  3957. public uvRect: UnityEngine.Rect;
  3958. public vertexColor: UnityEngine.Color32;
  3959. public textureSize: UnityEngine.Vector2;
  3960. public vertices: System.Collections.Generic.List$1<UnityEngine.Vector3>;
  3961. public colors: System.Collections.Generic.List$1<UnityEngine.Color32>;
  3962. public uvs: System.Collections.Generic.List$1<UnityEngine.Vector2>;
  3963. public uvs2: System.Collections.Generic.List$1<UnityEngine.Vector2>;
  3964. public triangles: System.Collections.Generic.List$1<number>;
  3965. public static NormalizedUV: System.Array$1<UnityEngine.Vector2>;
  3966. public static NormalizedPosition: System.Array$1<UnityEngine.Vector2>;
  3967. public currentVertCount: number;
  3968. public static Begin():FairyGUI.VertexBuffer;
  3969. public static Begin($source: FairyGUI.VertexBuffer):FairyGUI.VertexBuffer;
  3970. public End():void;
  3971. public Clear():void;
  3972. public AddVert($position: UnityEngine.Vector3):void;
  3973. public AddVert($position: UnityEngine.Vector3, $color: UnityEngine.Color32):void;
  3974. public AddVert($position: UnityEngine.Vector3, $color: UnityEngine.Color32, $uv: UnityEngine.Vector2):void;
  3975. public AddQuad($vertRect: UnityEngine.Rect):void;
  3976. public AddQuad($vertRect: UnityEngine.Rect, $color: UnityEngine.Color32):void;
  3977. public AddQuad($vertRect: UnityEngine.Rect, $color: UnityEngine.Color32, $uvRect: UnityEngine.Rect):void;
  3978. public RepeatColors($value: System.Array$1<UnityEngine.Color32>, $startIndex: number, $count: number):void;
  3979. public AddTriangle($idx0: number, $idx1: number, $idx2: number):void;
  3980. public AddTriangles($idxList: System.Array$1<number>, $startVertexIndex?: number):void;
  3981. public AddTriangles($startVertexIndex?: number):void;
  3982. public GetPosition($index: number):UnityEngine.Vector3;
  3983. public GetUVAtPosition($position: UnityEngine.Vector2, $usePercent: boolean):UnityEngine.Vector2;
  3984. public Append($vb: FairyGUI.VertexBuffer):void;
  3985. public Insert($vb: FairyGUI.VertexBuffer):void;
  3986. }
  3987. class LineMesh extends System.Object {
  3988. public path: FairyGUI.GPath;
  3989. public lineWidth: number;
  3990. public lineWidthCurve: UnityEngine.AnimationCurve;
  3991. public gradient: UnityEngine.Gradient;
  3992. public roundEdge: boolean;
  3993. public fillStart: number;
  3994. public fillEnd: number;
  3995. public pointDensity: number;
  3996. public repeatFill: boolean;
  3997. public constructor();
  3998. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  3999. }
  4000. class StraightLineMesh extends System.Object {
  4001. public color: UnityEngine.Color;
  4002. public origin: UnityEngine.Vector3;
  4003. public end: UnityEngine.Vector3;
  4004. public lineWidth: number;
  4005. public repeatFill: boolean;
  4006. public constructor();
  4007. public constructor($lineWidth: number, $color: UnityEngine.Color, $repeatFill: boolean);
  4008. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4009. }
  4010. enum PopupDirection { Auto = 0, Up = 1, Down = 2 }
  4011. class GTree extends FairyGUI.GList {
  4012. public treeNodeRender: FairyGUI.GTree.TreeNodeRenderDelegate;
  4013. public treeNodeWillExpand: FairyGUI.GTree.TreeNodeWillExpandDelegate;
  4014. public rootNode: FairyGUI.GTreeNode;
  4015. public indent: number;
  4016. public clickToExpand: number;
  4017. public constructor();
  4018. public GetSelectedNode():FairyGUI.GTreeNode;
  4019. public GetSelectedNodes():System.Collections.Generic.List$1<FairyGUI.GTreeNode>;
  4020. public GetSelectedNodes($result: System.Collections.Generic.List$1<FairyGUI.GTreeNode>):System.Collections.Generic.List$1<FairyGUI.GTreeNode>;
  4021. public SelectNode($node: FairyGUI.GTreeNode):void;
  4022. public SelectNode($node: FairyGUI.GTreeNode, $scrollItToView: boolean):void;
  4023. public UnselectNode($node: FairyGUI.GTreeNode):void;
  4024. public ExpandAll():void;
  4025. public ExpandAll($folderNode: FairyGUI.GTreeNode):void;
  4026. public CollapseAll():void;
  4027. public CollapseAll($folderNode: FairyGUI.GTreeNode):void;
  4028. }
  4029. class GList extends FairyGUI.GComponent {
  4030. public defaultItem: string;
  4031. public foldInvisibleItems: boolean;
  4032. public selectionMode: FairyGUI.ListSelectionMode;
  4033. public itemRenderer: FairyGUI.ListItemRenderer;
  4034. public itemProvider: FairyGUI.ListItemProvider;
  4035. public scrollItemToViewOnClick: boolean;
  4036. public onClickItem: FairyGUI.EventListener;
  4037. public onRightClickItem: FairyGUI.EventListener;
  4038. public layout: FairyGUI.ListLayoutType;
  4039. public lineCount: number;
  4040. public columnCount: number;
  4041. public lineGap: number;
  4042. public columnGap: number;
  4043. public align: FairyGUI.AlignType;
  4044. public verticalAlign: FairyGUI.VertAlignType;
  4045. public autoResizeItem: boolean;
  4046. public defaultItemSize: UnityEngine.Vector2;
  4047. public itemPool: FairyGUI.GObjectPool;
  4048. public selectedIndex: number;
  4049. public selectionController: FairyGUI.Controller;
  4050. public touchItem: FairyGUI.GObject;
  4051. public isVirtual: boolean;
  4052. public numItems: number;
  4053. public constructor();
  4054. public GetFromPool($url: string):FairyGUI.GObject;
  4055. public AddItemFromPool():FairyGUI.GObject;
  4056. public AddItemFromPool($url: string):FairyGUI.GObject;
  4057. public RemoveChildToPoolAt($index: number):void;
  4058. public RemoveChildToPool($child: FairyGUI.GObject):void;
  4059. public RemoveChildrenToPool():void;
  4060. public RemoveChildrenToPool($beginIndex: number, $endIndex: number):void;
  4061. public GetSelection():System.Collections.Generic.List$1<number>;
  4062. public GetSelection($result: System.Collections.Generic.List$1<number>):System.Collections.Generic.List$1<number>;
  4063. public AddSelection($index: number, $scrollItToView: boolean):void;
  4064. public RemoveSelection($index: number):void;
  4065. public ClearSelection():void;
  4066. public SelectAll():void;
  4067. public SelectNone():void;
  4068. public SelectReverse():void;
  4069. public EnableSelectionFocusEvents($enabled: boolean):void;
  4070. public EnableArrowKeyNavigation($enabled: boolean):void;
  4071. public HandleArrowKey($dir: number):number;
  4072. public ResizeToFit():void;
  4073. public ResizeToFit($itemCount: number):void;
  4074. public ResizeToFit($itemCount: number, $minSize: number):void;
  4075. public ScrollToView($index: number):void;
  4076. public ScrollToView($index: number, $ani: boolean):void;
  4077. public ScrollToView($index: number, $ani: boolean, $setFirst: boolean):void;
  4078. public ChildIndexToItemIndex($index: number):number;
  4079. public ItemIndexToChildIndex($index: number):number;
  4080. public SetVirtual():void;
  4081. public SetVirtualAndLoop():void;
  4082. public RefreshVirtualList():void;
  4083. }
  4084. class GTreeNode extends System.Object {
  4085. public data: any;
  4086. public parent: FairyGUI.GTreeNode;
  4087. public tree: FairyGUI.GTree;
  4088. public cell: FairyGUI.GComponent;
  4089. public level: number;
  4090. public expanded: boolean;
  4091. public isFolder: boolean;
  4092. public text: string;
  4093. public icon: string;
  4094. public numChildren: number;
  4095. public constructor($hasChild: boolean);
  4096. public constructor($hasChild: boolean, $resURL: string);
  4097. public ExpandToRoot():void;
  4098. public AddChild($child: FairyGUI.GTreeNode):FairyGUI.GTreeNode;
  4099. public AddChildAt($child: FairyGUI.GTreeNode, $index: number):FairyGUI.GTreeNode;
  4100. public RemoveChild($child: FairyGUI.GTreeNode):FairyGUI.GTreeNode;
  4101. public RemoveChildAt($index: number):FairyGUI.GTreeNode;
  4102. public RemoveChildren($beginIndex?: number, $endIndex?: number):void;
  4103. public GetChildAt($index: number):FairyGUI.GTreeNode;
  4104. public GetChildIndex($child: FairyGUI.GTreeNode):number;
  4105. public GetPrevSibling():FairyGUI.GTreeNode;
  4106. public GetNextSibling():FairyGUI.GTreeNode;
  4107. public SetChildIndex($child: FairyGUI.GTreeNode, $index: number):void;
  4108. public SwapChildren($child1: FairyGUI.GTreeNode, $child2: FairyGUI.GTreeNode):void;
  4109. public SwapChildrenAt($index1: number, $index2: number):void;
  4110. }
  4111. class GLabel extends FairyGUI.GComponent {
  4112. public icon: string;
  4113. public title: string;
  4114. public text: string;
  4115. public editable: boolean;
  4116. public titleColor: UnityEngine.Color;
  4117. public titleFontSize: number;
  4118. public color: UnityEngine.Color;
  4119. public constructor();
  4120. public GetTextField():FairyGUI.GTextField;
  4121. }
  4122. class GButton extends FairyGUI.GComponent {
  4123. public sound: FairyGUI.NAudioClip;
  4124. public soundVolumeScale: number;
  4125. public changeStateOnClick: boolean;
  4126. public linkedPopup: FairyGUI.GObject;
  4127. public static UP: string;
  4128. public static DOWN: string;
  4129. public static OVER: string;
  4130. public static SELECTED_OVER: string;
  4131. public static DISABLED: string;
  4132. public static SELECTED_DISABLED: string;
  4133. public onChanged: FairyGUI.EventListener;
  4134. public icon: string;
  4135. public title: string;
  4136. public text: string;
  4137. public selectedIcon: string;
  4138. public selectedTitle: string;
  4139. public titleColor: UnityEngine.Color;
  4140. public color: UnityEngine.Color;
  4141. public titleFontSize: number;
  4142. public selected: boolean;
  4143. public mode: FairyGUI.ButtonMode;
  4144. public relatedController: FairyGUI.Controller;
  4145. public relatedPageId: string;
  4146. public constructor();
  4147. public FireClick($downEffect: boolean, $clickCall?: boolean):void;
  4148. public GetTextField():FairyGUI.GTextField;
  4149. }
  4150. class GTextField extends FairyGUI.GObject {
  4151. public text: string;
  4152. public templateVars: System.Collections.Generic.Dictionary$2<string, string>;
  4153. public textFormat: FairyGUI.TextFormat;
  4154. public color: UnityEngine.Color;
  4155. public align: FairyGUI.AlignType;
  4156. public verticalAlign: FairyGUI.VertAlignType;
  4157. public singleLine: boolean;
  4158. public stroke: number;
  4159. public strokeColor: UnityEngine.Color;
  4160. public shadowOffset: UnityEngine.Vector2;
  4161. public UBBEnabled: boolean;
  4162. public autoSize: FairyGUI.AutoSizeType;
  4163. public textWidth: number;
  4164. public textHeight: number;
  4165. public constructor();
  4166. public SetVar($name: string, $value: string):FairyGUI.GTextField;
  4167. public FlushVars():void;
  4168. public HasCharacter($ch: number):boolean;
  4169. }
  4170. enum GroupLayoutType { None = 0, Horizontal = 1, Vertical = 2 }
  4171. class BlendModeUtils extends System.Object {
  4172. public static Factors: System.Array$1<FairyGUI.BlendModeUtils.BlendFactor>;
  4173. public constructor();
  4174. public static Apply($mat: UnityEngine.Material, $blendMode: FairyGUI.BlendMode):void;
  4175. public static Override($blendMode: FairyGUI.BlendMode, $srcFactor: UnityEngine.Rendering.BlendMode, $dstFactor: UnityEngine.Rendering.BlendMode):void;
  4176. }
  4177. enum BlendMode { Normal = 0, None = 1, Add = 2, Multiply = 3, Screen = 4, Erase = 5, Mask = 6, Below = 7, Off = 8, One_OneMinusSrcAlpha = 9, Custom1 = 10, Custom2 = 11, Custom3 = 12 }
  4178. class CaptureCamera extends UnityEngine.MonoBehaviour {
  4179. public cachedTransform: UnityEngine.Transform;
  4180. public cachedCamera: UnityEngine.Camera;
  4181. public static Name: string;
  4182. public static LayerName: string;
  4183. public static HiddenLayerName: string;
  4184. public static layer: number;
  4185. public static hiddenLayer: number;
  4186. public constructor();
  4187. public static CheckMain():void;
  4188. public static CreateRenderTexture($width: number, $height: number, $stencilSupport: boolean):UnityEngine.RenderTexture;
  4189. public static Capture($target: FairyGUI.DisplayObject, $texture: UnityEngine.RenderTexture, $contentHeight: number, $offset: UnityEngine.Vector2):void;
  4190. }
  4191. interface IHitTest {
  4192. HitTest($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2):boolean;
  4193. }
  4194. class UpdateContext extends System.Object {
  4195. public clipped: boolean;
  4196. public clipInfo: FairyGUI.UpdateContext.ClipInfo;
  4197. public renderingOrder: number;
  4198. public batchingDepth: number;
  4199. public rectMaskDepth: number;
  4200. public stencilReferenceValue: number;
  4201. public stencilCompareValue: number;
  4202. public alpha: number;
  4203. public grayed: boolean;
  4204. public static current: FairyGUI.UpdateContext;
  4205. public static working: boolean;
  4206. public constructor();
  4207. public static add_OnBegin($value: System.Action):void;
  4208. public static remove_OnBegin($value: System.Action):void;
  4209. public static add_OnEnd($value: System.Action):void;
  4210. public static remove_OnEnd($value: System.Action):void;
  4211. public Begin():void;
  4212. public End():void;
  4213. public EnterClipping($clipId: number, $clipRect: UnityEngine.Rect, $softness: System.Nullable$1<UnityEngine.Vector4>):void;
  4214. public EnterClipping($clipId: number, $reversedMask: boolean):void;
  4215. public LeaveClipping():void;
  4216. public EnterPaintingMode():void;
  4217. public LeavePaintingMode():void;
  4218. public ApplyClippingProperties($mat: UnityEngine.Material, $isStdMaterial: boolean):void;
  4219. public ApplyAlphaMaskProperties($mat: UnityEngine.Material, $erasing: boolean):void;
  4220. }
  4221. class NGraphics extends System.Object {
  4222. public blendMode: FairyGUI.BlendMode;
  4223. public dontClip: boolean;
  4224. public gameObject: UnityEngine.GameObject;
  4225. public meshFilter: UnityEngine.MeshFilter;
  4226. public meshRenderer: UnityEngine.MeshRenderer;
  4227. public mesh: UnityEngine.Mesh;
  4228. public meshFactory: FairyGUI.IMeshFactory;
  4229. public contentRect: UnityEngine.Rect;
  4230. public flip: FairyGUI.FlipType;
  4231. public texture: FairyGUI.NTexture;
  4232. public shader: string;
  4233. public material: UnityEngine.Material;
  4234. public materialKeywords: System.Array$1<string>;
  4235. public enabled: boolean;
  4236. public sortingOrder: number;
  4237. public color: UnityEngine.Color;
  4238. public vertexMatrix: FairyGUI.NGraphics.VertexMatrix;
  4239. public materialPropertyBlock: UnityEngine.MaterialPropertyBlock;
  4240. public constructor($gameObject: UnityEngine.GameObject);
  4241. public add_meshModifier($value: System.Action):void;
  4242. public remove_meshModifier($value: System.Action):void;
  4243. public SetShaderAndTexture($shader: string, $texture: FairyGUI.NTexture):void;
  4244. public SetMaterial($material: UnityEngine.Material):void;
  4245. public ToggleKeyword($keyword: string, $enabled: boolean):void;
  4246. public Tint():void;
  4247. public SetMeshDirty():void;
  4248. public UpdateMesh():boolean;
  4249. public Dispose():void;
  4250. public Update($context: FairyGUI.UpdateContext, $alpha: number, $grayed: boolean):void;
  4251. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4252. }
  4253. class Stage extends FairyGUI.Container {
  4254. public soundVolume: number;
  4255. public static inst: FairyGUI.Stage;
  4256. public static touchScreen: boolean;
  4257. public static keyboardInput: boolean;
  4258. public static isTouchOnUI: boolean;
  4259. public static devicePixelRatio: number;
  4260. public onStageResized: FairyGUI.EventListener;
  4261. public touchTarget: FairyGUI.DisplayObject;
  4262. public focus: FairyGUI.DisplayObject;
  4263. public touchPosition: UnityEngine.Vector2;
  4264. public touchCount: number;
  4265. public keyboard: FairyGUI.IKeyboard;
  4266. public activeCursor: string;
  4267. public constructor();
  4268. public add_beforeUpdate($value: System.Action):void;
  4269. public remove_beforeUpdate($value: System.Action):void;
  4270. public add_afterUpdate($value: System.Action):void;
  4271. public remove_afterUpdate($value: System.Action):void;
  4272. public static Instantiate():void;
  4273. public SetFous($newFocus: FairyGUI.DisplayObject, $byKey?: boolean):void;
  4274. public DoKeyNavigate($backward: boolean):void;
  4275. public GetTouchPosition($touchId: number):UnityEngine.Vector2;
  4276. public GetTouchTarget($touchId: number):FairyGUI.DisplayObject;
  4277. public GetAllTouch($result: System.Array$1<number>):System.Array$1<number>;
  4278. public ResetInputState():void;
  4279. public CancelClick($touchId: number):void;
  4280. public EnableSound():void;
  4281. public DisableSound():void;
  4282. public PlayOneShotSound($clip: UnityEngine.AudioClip, $volumeScale: number):void;
  4283. public PlayOneShotSound($clip: UnityEngine.AudioClip):void;
  4284. public OpenKeyboard($text: string, $autocorrection: boolean, $multiline: boolean, $secure: boolean, $alert: boolean, $textPlaceholder: string, $keyboardType: number, $hideInput: boolean):void;
  4285. public CloseKeyboard():void;
  4286. public InputString($value: string):void;
  4287. public SetCustomInput($screenPos: UnityEngine.Vector2, $buttonDown: boolean):void;
  4288. public SetCustomInput($screenPos: UnityEngine.Vector2, $buttonDown: boolean, $buttonUp: boolean):void;
  4289. public SetCustomInput($hit: $Ref<UnityEngine.RaycastHit>, $buttonDown: boolean):void;
  4290. public SetCustomInput($hit: $Ref<UnityEngine.RaycastHit>, $buttonDown: boolean, $buttonUp: boolean):void;
  4291. public ForceUpdate():void;
  4292. public ApplyPanelOrder($target: FairyGUI.Container):void;
  4293. public SortWorldSpacePanelsByZOrder($panelSortingOrder: number):void;
  4294. public MonitorTexture($texture: FairyGUI.NTexture):void;
  4295. public AddTouchMonitor($touchId: number, $target: FairyGUI.EventDispatcher):void;
  4296. public RemoveTouchMonitor($target: FairyGUI.EventDispatcher):void;
  4297. public IsTouchMonitoring($target: FairyGUI.EventDispatcher):boolean;
  4298. public RegisterCursor($cursorName: string, $texture: UnityEngine.Texture2D, $hotspot: UnityEngine.Vector2):void;
  4299. }
  4300. class Margin extends System.ValueType {
  4301. public left: number;
  4302. public right: number;
  4303. public top: number;
  4304. public bottom: number;
  4305. }
  4306. interface IFilter {
  4307. target: FairyGUI.DisplayObject;
  4308. Update():void;
  4309. Dispose():void;
  4310. }
  4311. class DisplayObjectInfo extends UnityEngine.MonoBehaviour {
  4312. public displayObject: FairyGUI.DisplayObject;
  4313. public constructor();
  4314. }
  4315. class GoWrapper extends FairyGUI.DisplayObject {
  4316. public wrapTarget: UnityEngine.GameObject;
  4317. public renderingOrder: number;
  4318. public constructor();
  4319. public constructor($go: UnityEngine.GameObject);
  4320. public add_onUpdate($value: System.Action$1<FairyGUI.UpdateContext>):void;
  4321. public remove_onUpdate($value: System.Action$1<FairyGUI.UpdateContext>):void;
  4322. public SetWrapTarget($target: UnityEngine.GameObject, $cloneMaterial: boolean):void;
  4323. public CacheRenderers():void;
  4324. }
  4325. class ColliderHitTest extends System.Object {
  4326. public collider: UnityEngine.Collider;
  4327. public constructor();
  4328. public HitTest($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2):boolean;
  4329. }
  4330. class HitTestContext extends System.Object {
  4331. public static screenPoint: UnityEngine.Vector3;
  4332. public static worldPoint: UnityEngine.Vector3;
  4333. public static direction: UnityEngine.Vector3;
  4334. public static forTouch: boolean;
  4335. public static camera: UnityEngine.Camera;
  4336. public static layerMask: number;
  4337. public static maxDistance: number;
  4338. public static cachedMainCamera: UnityEngine.Camera;
  4339. public constructor();
  4340. public static GetRaycastHitFromCache($camera: UnityEngine.Camera, $hit: $Ref<UnityEngine.RaycastHit>):boolean;
  4341. public static CacheRaycastHit($camera: UnityEngine.Camera, $hit: $Ref<UnityEngine.RaycastHit>):void;
  4342. public static ClearRaycastHitCache():void;
  4343. }
  4344. class MeshColliderHitTest extends FairyGUI.ColliderHitTest {
  4345. public lastHit: UnityEngine.Vector2;
  4346. public constructor($collider: UnityEngine.MeshCollider);
  4347. }
  4348. class PixelHitTestData extends System.Object {
  4349. public pixelWidth: number;
  4350. public scale: number;
  4351. public pixels: System.Array$1<number>;
  4352. public pixelsLength: number;
  4353. public pixelsOffset: number;
  4354. public constructor();
  4355. public Load($ba: FairyGUI.Utils.ByteBuffer):void;
  4356. }
  4357. class PixelHitTest extends System.Object {
  4358. public offsetX: number;
  4359. public offsetY: number;
  4360. public sourceWidth: number;
  4361. public sourceHeight: number;
  4362. public constructor($data: FairyGUI.PixelHitTestData, $offsetX: number, $offsetY: number, $sourceWidth: number, $sourceHeight: number);
  4363. public HitTest($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2):boolean;
  4364. }
  4365. class RectHitTest extends System.Object {
  4366. public rect: UnityEngine.Rect;
  4367. public constructor();
  4368. public HitTest($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2):boolean;
  4369. }
  4370. class ShapeHitTest extends System.Object {
  4371. public shape: FairyGUI.DisplayObject;
  4372. public constructor($obj: FairyGUI.DisplayObject);
  4373. public HitTest($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2):boolean;
  4374. }
  4375. class MaterialManager extends System.Object {
  4376. public firstMaterialInFrame: boolean;
  4377. public add_onCreateNewMaterial($value: System.Action$1<UnityEngine.Material>):void;
  4378. public remove_onCreateNewMaterial($value: System.Action$1<UnityEngine.Material>):void;
  4379. public GetFlagsByKeywords($keywords: System.Collections.Generic.IList$1<string>):number;
  4380. public GetMaterial($flags: number, $blendMode: FairyGUI.BlendMode, $group: number):UnityEngine.Material;
  4381. public DestroyMaterials():void;
  4382. public RefreshMaterials():void;
  4383. }
  4384. class CompositeMesh extends System.Object {
  4385. public elements: System.Collections.Generic.List$1<FairyGUI.IMeshFactory>;
  4386. public activeIndex: number;
  4387. public constructor();
  4388. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4389. public HitTest($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2):boolean;
  4390. }
  4391. interface IMeshFactory {
  4392. OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4393. }
  4394. class EllipseMesh extends System.Object {
  4395. public drawRect: System.Nullable$1<UnityEngine.Rect>;
  4396. public lineWidth: number;
  4397. public lineColor: UnityEngine.Color32;
  4398. public centerColor: System.Nullable$1<UnityEngine.Color32>;
  4399. public fillColor: System.Nullable$1<UnityEngine.Color32>;
  4400. public startDegree: number;
  4401. public endDegreee: number;
  4402. public constructor();
  4403. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4404. public HitTest($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2):boolean;
  4405. }
  4406. class FillMesh extends System.Object {
  4407. public method: FairyGUI.FillMethod;
  4408. public origin: number;
  4409. public amount: number;
  4410. public clockwise: boolean;
  4411. public constructor();
  4412. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4413. }
  4414. class PlaneMesh extends System.Object {
  4415. public gridSize: number;
  4416. public constructor();
  4417. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4418. }
  4419. class PolygonMesh extends System.Object {
  4420. public points: System.Collections.Generic.List$1<UnityEngine.Vector2>;
  4421. public texcoords: System.Collections.Generic.List$1<UnityEngine.Vector2>;
  4422. public lineWidth: number;
  4423. public lineColor: UnityEngine.Color32;
  4424. public fillColor: System.Nullable$1<UnityEngine.Color32>;
  4425. public colors: System.Array$1<UnityEngine.Color32>;
  4426. public usePercentPositions: boolean;
  4427. public constructor();
  4428. public Add($point: UnityEngine.Vector2):void;
  4429. public Add($point: UnityEngine.Vector2, $texcoord: UnityEngine.Vector2):void;
  4430. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4431. public HitTest($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2):boolean;
  4432. }
  4433. class RectMesh extends System.Object {
  4434. public drawRect: System.Nullable$1<UnityEngine.Rect>;
  4435. public lineWidth: number;
  4436. public lineColor: UnityEngine.Color32;
  4437. public fillColor: System.Nullable$1<UnityEngine.Color32>;
  4438. public colors: System.Array$1<UnityEngine.Color32>;
  4439. public constructor();
  4440. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4441. public HitTest($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2):boolean;
  4442. }
  4443. class RegularPolygonMesh extends System.Object {
  4444. public drawRect: System.Nullable$1<UnityEngine.Rect>;
  4445. public sides: number;
  4446. public lineWidth: number;
  4447. public lineColor: UnityEngine.Color32;
  4448. public centerColor: System.Nullable$1<UnityEngine.Color32>;
  4449. public fillColor: System.Nullable$1<UnityEngine.Color32>;
  4450. public distances: System.Array$1<number>;
  4451. public rotation: number;
  4452. public constructor();
  4453. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4454. public HitTest($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2):boolean;
  4455. }
  4456. class RoundedRectMesh extends System.Object {
  4457. public drawRect: System.Nullable$1<UnityEngine.Rect>;
  4458. public lineWidth: number;
  4459. public lineColor: UnityEngine.Color32;
  4460. public fillColor: System.Nullable$1<UnityEngine.Color32>;
  4461. public topLeftRadius: number;
  4462. public topRightRadius: number;
  4463. public bottomLeftRadius: number;
  4464. public bottomRightRadius: number;
  4465. public constructor();
  4466. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4467. public HitTest($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2):boolean;
  4468. }
  4469. class MovieClip extends FairyGUI.Image {
  4470. public interval: number;
  4471. public swing: boolean;
  4472. public repeatDelay: number;
  4473. public timeScale: number;
  4474. public ignoreEngineTimeScale: boolean;
  4475. public onPlayEnd: FairyGUI.EventListener;
  4476. public frames: System.Array$1<FairyGUI.MovieClip.Frame>;
  4477. public playing: boolean;
  4478. public frame: number;
  4479. public constructor();
  4480. public Rewind():void;
  4481. public SyncStatus($anotherMc: FairyGUI.MovieClip):void;
  4482. public Advance($time: number):void;
  4483. public SetPlaySettings():void;
  4484. public SetPlaySettings($start: number, $end: number, $times: number, $endAt: number):void;
  4485. }
  4486. class NAudioClip extends System.Object {
  4487. public static CustomDestroyMethod: System.Action$1<UnityEngine.AudioClip>;
  4488. public destroyMethod: FairyGUI.DestroyMethod;
  4489. public nativeClip: UnityEngine.AudioClip;
  4490. public constructor($audioClip: UnityEngine.AudioClip);
  4491. public Unload():void;
  4492. public Reload($audioClip: UnityEngine.AudioClip):void;
  4493. }
  4494. enum DestroyMethod { Destroy = 0, Unload = 1, None = 2, ReleaseTemp = 3, Custom = 4 }
  4495. class ShaderConfig extends System.Object {
  4496. public static Get: FairyGUI.ShaderConfig.GetFunction;
  4497. public static imageShader: string;
  4498. public static textShader: string;
  4499. public static bmFontShader: string;
  4500. public static TMPFontShader: string;
  4501. public static ID_ClipBox: number;
  4502. public static ID_ClipSoftness: number;
  4503. public static ID_AlphaTex: number;
  4504. public static ID_StencilComp: number;
  4505. public static ID_Stencil: number;
  4506. public static ID_StencilOp: number;
  4507. public static ID_StencilReadMask: number;
  4508. public static ID_ColorMask: number;
  4509. public static ID_ColorMatrix: number;
  4510. public static ID_ColorOffset: number;
  4511. public static ID_BlendSrcFactor: number;
  4512. public static ID_BlendDstFactor: number;
  4513. public static ID_ColorOption: number;
  4514. public static ID_Stencil2: number;
  4515. public static GetShader($name: string):UnityEngine.Shader;
  4516. }
  4517. interface IKeyboard {
  4518. done: boolean;
  4519. supportsCaret: boolean;
  4520. GetInput():string;
  4521. Open($text: string, $autocorrection: boolean, $multiline: boolean, $secure: boolean, $alert: boolean, $textPlaceholder: string, $keyboardType: number, $hideInput: boolean):void;
  4522. Close():void;
  4523. }
  4524. class StageCamera extends UnityEngine.MonoBehaviour {
  4525. public constantSize: boolean;
  4526. public unitsPerPixel: number;
  4527. public cachedTransform: UnityEngine.Transform;
  4528. public cachedCamera: UnityEngine.Camera;
  4529. public static main: UnityEngine.Camera;
  4530. public static screenSizeVer: number;
  4531. public static Name: string;
  4532. public static LayerName: string;
  4533. public static DefaultCameraSize: number;
  4534. public static DefaultUnitsPerPixel: number;
  4535. public constructor();
  4536. public ApplyModifiedProperties():void;
  4537. public static CheckMainCamera():void;
  4538. public static CheckCaptureCamera():void;
  4539. public static CreateCamera($name: string, $cullingMask: number):UnityEngine.Camera;
  4540. }
  4541. class StageEngine extends UnityEngine.MonoBehaviour {
  4542. public ObjectsOnStage: number;
  4543. public GraphicsOnStage: number;
  4544. public static beingQuit: boolean;
  4545. public constructor();
  4546. }
  4547. class Stats extends System.Object {
  4548. public static ObjectCount: number;
  4549. public static GraphicsCount: number;
  4550. public static LatestObjectCreation: number;
  4551. public static LatestGraphicsCreation: number;
  4552. public constructor();
  4553. }
  4554. class DynamicFont extends FairyGUI.BaseFont {
  4555. public nativeFont: UnityEngine.Font;
  4556. public constructor();
  4557. public constructor($name: string, $font: UnityEngine.Font);
  4558. }
  4559. class Emoji extends System.Object {
  4560. public url: string;
  4561. public width: number;
  4562. public height: number;
  4563. public constructor($url: string, $width: number, $height: number);
  4564. public constructor($url: string);
  4565. }
  4566. class FontManager extends System.Object {
  4567. public static sFontFactory: System.Collections.Generic.Dictionary$2<string, FairyGUI.BaseFont>;
  4568. public constructor();
  4569. public static RegisterFont($font: FairyGUI.BaseFont, $alias?: string):void;
  4570. public static UnregisterFont($font: FairyGUI.BaseFont):void;
  4571. public static GetFont($name: string):FairyGUI.BaseFont;
  4572. public static Clear():void;
  4573. }
  4574. class InputTextField extends FairyGUI.RichTextField {
  4575. public static onCopy: System.Action$2<FairyGUI.InputTextField, string>;
  4576. public static onPaste: System.Action$1<FairyGUI.InputTextField>;
  4577. public static contextMenu: FairyGUI.PopupMenu;
  4578. public maxLength: number;
  4579. public keyboardInput: boolean;
  4580. public keyboardType: number;
  4581. public hideInput: boolean;
  4582. public disableIME: boolean;
  4583. public mouseWheelEnabled: boolean;
  4584. public onChanged: FairyGUI.EventListener;
  4585. public onSubmit: FairyGUI.EventListener;
  4586. public text: string;
  4587. public textFormat: FairyGUI.TextFormat;
  4588. public restrict: string;
  4589. public caretPosition: number;
  4590. public selectionBeginIndex: number;
  4591. public selectionEndIndex: number;
  4592. public promptText: string;
  4593. public displayAsPassword: boolean;
  4594. public editable: boolean;
  4595. public border: number;
  4596. public corner: number;
  4597. public borderColor: UnityEngine.Color;
  4598. public backgroundColor: UnityEngine.Color;
  4599. public constructor();
  4600. public SetSelection($start: number, $length: number):void;
  4601. public ReplaceSelection($value: string):void;
  4602. public ReplaceText($value: string):void;
  4603. public GetSelection():string;
  4604. }
  4605. class PopupMenu extends FairyGUI.EventDispatcher {
  4606. public visibleItemCount: number;
  4607. public hideOnClickItem: boolean;
  4608. public autoSize: boolean;
  4609. public onPopup: FairyGUI.EventListener;
  4610. public onClose: FairyGUI.EventListener;
  4611. public itemCount: number;
  4612. public contentPane: FairyGUI.GComponent;
  4613. public list: FairyGUI.GList;
  4614. public constructor();
  4615. public constructor($resourceURL: string);
  4616. public AddItem($caption: string, $callback: FairyGUI.EventCallback0):FairyGUI.GButton;
  4617. public AddItem($caption: string, $callback: FairyGUI.EventCallback1):FairyGUI.GButton;
  4618. public AddItemAt($caption: string, $index: number, $callback: FairyGUI.EventCallback1):FairyGUI.GButton;
  4619. public AddItemAt($caption: string, $index: number, $callback: FairyGUI.EventCallback0):FairyGUI.GButton;
  4620. public AddSeperator():void;
  4621. public AddSeperator($index: number):void;
  4622. public GetItemName($index: number):string;
  4623. public SetItemText($name: string, $caption: string):void;
  4624. public SetItemVisible($name: string, $visible: boolean):void;
  4625. public SetItemGrayed($name: string, $grayed: boolean):void;
  4626. public SetItemCheckable($name: string, $checkable: boolean):void;
  4627. public SetItemChecked($name: string, $check: boolean):void;
  4628. public IsItemChecked($name: string):boolean;
  4629. public RemoveItem($name: string):void;
  4630. public ClearItems():void;
  4631. public Dispose():void;
  4632. public Show():void;
  4633. public Show($target: FairyGUI.GObject):void;
  4634. public Show($target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection):void;
  4635. public Show($target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection, $parentMenu: FairyGUI.PopupMenu):void;
  4636. public Hide():void;
  4637. }
  4638. class TextField extends FairyGUI.DisplayObject {
  4639. public textFormat: FairyGUI.TextFormat;
  4640. public align: FairyGUI.AlignType;
  4641. public verticalAlign: FairyGUI.VertAlignType;
  4642. public text: string;
  4643. public htmlText: string;
  4644. public parsedText: string;
  4645. public autoSize: FairyGUI.AutoSizeType;
  4646. public wordWrap: boolean;
  4647. public singleLine: boolean;
  4648. public stroke: number;
  4649. public strokeColor: UnityEngine.Color;
  4650. public shadowOffset: UnityEngine.Vector2;
  4651. public textWidth: number;
  4652. public textHeight: number;
  4653. public maxWidth: number;
  4654. public htmlElements: System.Collections.Generic.List$1<FairyGUI.Utils.HtmlElement>;
  4655. public lines: System.Collections.Generic.List$1<FairyGUI.TextField.LineInfo>;
  4656. public charPositions: System.Collections.Generic.List$1<FairyGUI.TextField.CharPosition>;
  4657. public richTextField: FairyGUI.RichTextField;
  4658. public constructor();
  4659. public EnableCharPositionSupport():void;
  4660. public ApplyFormat():void;
  4661. public Redraw():boolean;
  4662. public HasCharacter($ch: number):boolean;
  4663. public GetLinesShape($startLine: number, $startCharX: number, $endLine: number, $endCharX: number, $clipped: boolean, $resultRects: System.Collections.Generic.List$1<UnityEngine.Rect>):void;
  4664. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4665. }
  4666. class RTLSupport extends System.Object {
  4667. public static BaseDirection: FairyGUI.RTLSupport.DirectionType;
  4668. public constructor();
  4669. public static IsArabicLetter($ch: number):boolean;
  4670. public static ConvertNumber($strNumber: string):string;
  4671. public static ContainsArabicLetters($text: string):boolean;
  4672. public static DetectTextDirection($text: string):FairyGUI.RTLSupport.DirectionType;
  4673. public static DoMapping($input: string):string;
  4674. public static ConvertLineL($source: string):string;
  4675. public static ConvertLineR($source: string):string;
  4676. }
  4677. class SelectionShape extends FairyGUI.DisplayObject {
  4678. public rects: System.Collections.Generic.List$1<UnityEngine.Rect>;
  4679. public color: UnityEngine.Color;
  4680. public constructor();
  4681. public Refresh():void;
  4682. public Clear():void;
  4683. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  4684. }
  4685. class TouchScreenKeyboard extends System.Object {
  4686. public done: boolean;
  4687. public supportsCaret: boolean;
  4688. public constructor();
  4689. public GetInput():string;
  4690. public Open($text: string, $autocorrection: boolean, $multiline: boolean, $secure: boolean, $alert: boolean, $textPlaceholder: string, $keyboardType: number, $hideInput: boolean):void;
  4691. public Close():void;
  4692. }
  4693. class TypingEffect extends System.Object {
  4694. public constructor($textField: FairyGUI.TextField);
  4695. public constructor($textField: FairyGUI.GTextField);
  4696. public Start():void;
  4697. public Print():boolean;
  4698. public Print($interval: number):System.Collections.IEnumerator;
  4699. public PrintAll($interval: number):void;
  4700. public Cancel():void;
  4701. }
  4702. type EventCallback0 = () => void;
  4703. var EventCallback0: {new (func: () => void): EventCallback0;}
  4704. interface IEventDispatcher {
  4705. AddEventListener($strType: string, $callback: FairyGUI.EventCallback0):void;
  4706. AddEventListener($strType: string, $callback: FairyGUI.EventCallback1):void;
  4707. RemoveEventListener($strType: string, $callback: FairyGUI.EventCallback0):void;
  4708. RemoveEventListener($strType: string, $callback: FairyGUI.EventCallback1):void;
  4709. DispatchEvent($context: FairyGUI.EventContext):boolean;
  4710. DispatchEvent($strType: string):boolean;
  4711. DispatchEvent($strType: string, $data: any):boolean;
  4712. DispatchEvent($strType: string, $data: any, $initiator: any):boolean;
  4713. }
  4714. class GLoader3D extends FairyGUI.GObject {
  4715. public armatureComponent: DragonBones.UnityArmatureComponent;
  4716. public spineAnimation: Spine.Unity.SkeletonAnimation;
  4717. public url: string;
  4718. public icon: string;
  4719. public align: FairyGUI.AlignType;
  4720. public verticalAlign: FairyGUI.VertAlignType;
  4721. public fill: FairyGUI.FillType;
  4722. public shrinkOnly: boolean;
  4723. public autoSize: boolean;
  4724. public playing: boolean;
  4725. public frame: number;
  4726. public timeScale: number;
  4727. public ignoreEngineTimeScale: boolean;
  4728. public loop: boolean;
  4729. public animationName: string;
  4730. public skinName: string;
  4731. public material: UnityEngine.Material;
  4732. public shader: string;
  4733. public color: UnityEngine.Color;
  4734. public wrapTarget: UnityEngine.GameObject;
  4735. public filter: FairyGUI.IFilter;
  4736. public blendMode: FairyGUI.BlendMode;
  4737. public constructor();
  4738. public SetDragonBones($asset: DragonBones.DragonBonesData, $width: number, $height: number, $anchor: UnityEngine.Vector2):void;
  4739. public SetSpine($asset: Spine.Unity.SkeletonDataAsset, $width: number, $height: number, $anchor: UnityEngine.Vector2):void;
  4740. public Advance($time: number):void;
  4741. public SetWrapTarget($gameObject: UnityEngine.GameObject, $cloneMaterial: boolean, $width: number, $height: number):void;
  4742. }
  4743. enum FillType { None = 0, Scale = 1, ScaleMatchHeight = 2, ScaleMatchWidth = 3, ScaleFree = 4, ScaleNoBorder = 5 }
  4744. class ExternalFont extends FairyGUI.BaseFont {
  4745. public samplePointSize: number;
  4746. public renderMode: UnityEngine.TextCore.LowLevel.GlyphRenderMode;
  4747. public constructor();
  4748. public Load($file: string):void;
  4749. }
  4750. class ExternalTMPFont extends FairyGUI.TMPFont {
  4751. public constructor();
  4752. public Load($file: string, $samplePointSize: number):void;
  4753. }
  4754. class TMPFont extends FairyGUI.BaseFont {
  4755. public fontAsset: TMPro.TMP_FontAsset;
  4756. public fontWeight: TMPro.FontWeight;
  4757. public constructor();
  4758. }
  4759. class BlurFilter extends System.Object {
  4760. public blurSize: number;
  4761. public target: FairyGUI.DisplayObject;
  4762. public constructor();
  4763. public Dispose():void;
  4764. public Update():void;
  4765. }
  4766. class ColorFilter extends System.Object {
  4767. public target: FairyGUI.DisplayObject;
  4768. public constructor();
  4769. public Dispose():void;
  4770. public Update():void;
  4771. public Invert():void;
  4772. public AdjustSaturation($sat: number):void;
  4773. public AdjustContrast($value: number):void;
  4774. public AdjustBrightness($value: number):void;
  4775. public AdjustHue($value: number):void;
  4776. public Tint($color: UnityEngine.Color, $amount?: number):void;
  4777. public Reset():void;
  4778. public ConcatValues(...values: number[]):void;
  4779. }
  4780. class LongPressGesture extends FairyGUI.EventDispatcher {
  4781. public trigger: number;
  4782. public interval: number;
  4783. public once: boolean;
  4784. public holdRangeRadius: number;
  4785. public static TRIGGER: number;
  4786. public static INTERVAL: number;
  4787. public host: FairyGUI.GObject;
  4788. public onBegin: FairyGUI.EventListener;
  4789. public onEnd: FairyGUI.EventListener;
  4790. public onAction: FairyGUI.EventListener;
  4791. public constructor($host: FairyGUI.GObject);
  4792. public Dispose():void;
  4793. public Enable($value: boolean):void;
  4794. public Cancel():void;
  4795. }
  4796. class PinchGesture extends FairyGUI.EventDispatcher {
  4797. public scale: number;
  4798. public delta: number;
  4799. public host: FairyGUI.GObject;
  4800. public onBegin: FairyGUI.EventListener;
  4801. public onEnd: FairyGUI.EventListener;
  4802. public onAction: FairyGUI.EventListener;
  4803. public constructor($host: FairyGUI.GObject);
  4804. public Dispose():void;
  4805. public Enable($value: boolean):void;
  4806. }
  4807. class RotationGesture extends FairyGUI.EventDispatcher {
  4808. public rotation: number;
  4809. public delta: number;
  4810. public snapping: boolean;
  4811. public host: FairyGUI.GObject;
  4812. public onBegin: FairyGUI.EventListener;
  4813. public onEnd: FairyGUI.EventListener;
  4814. public onAction: FairyGUI.EventListener;
  4815. public constructor($host: FairyGUI.GObject);
  4816. public Dispose():void;
  4817. public Enable($value: boolean):void;
  4818. }
  4819. class SwipeGesture extends FairyGUI.EventDispatcher {
  4820. public velocity: UnityEngine.Vector2;
  4821. public position: UnityEngine.Vector2;
  4822. public delta: UnityEngine.Vector2;
  4823. public actionDistance: number;
  4824. public snapping: boolean;
  4825. public static ACTION_DISTANCE: number;
  4826. public host: FairyGUI.GObject;
  4827. public onBegin: FairyGUI.EventListener;
  4828. public onEnd: FairyGUI.EventListener;
  4829. public onMove: FairyGUI.EventListener;
  4830. public onAction: FairyGUI.EventListener;
  4831. public constructor($host: FairyGUI.GObject);
  4832. public Dispose():void;
  4833. public Enable($value: boolean):void;
  4834. }
  4835. class EaseManager extends System.Object {
  4836. public static Evaluate($easeType: FairyGUI.EaseType, $time: number, $duration: number, $overshootOrAmplitude?: number, $period?: number, $customEase?: FairyGUI.CustomEase):number;
  4837. }
  4838. class GTween extends System.Object {
  4839. public static catchCallbackExceptions: boolean;
  4840. public constructor();
  4841. public static To($startValue: number, $endValue: number, $duration: number):FairyGUI.GTweener;
  4842. public static To($startValue: UnityEngine.Vector2, $endValue: UnityEngine.Vector2, $duration: number):FairyGUI.GTweener;
  4843. public static To($startValue: UnityEngine.Vector3, $endValue: UnityEngine.Vector3, $duration: number):FairyGUI.GTweener;
  4844. public static To($startValue: UnityEngine.Vector4, $endValue: UnityEngine.Vector4, $duration: number):FairyGUI.GTweener;
  4845. public static To($startValue: UnityEngine.Color, $endValue: UnityEngine.Color, $duration: number):FairyGUI.GTweener;
  4846. public static ToDouble($startValue: number, $endValue: number, $duration: number):FairyGUI.GTweener;
  4847. public static DelayedCall($delay: number):FairyGUI.GTweener;
  4848. public static Shake($startValue: UnityEngine.Vector3, $amplitude: number, $duration: number):FairyGUI.GTweener;
  4849. public static IsTweening($target: any):boolean;
  4850. public static IsTweening($target: any, $propType: FairyGUI.TweenPropType):boolean;
  4851. public static Kill($target: any):void;
  4852. public static Kill($target: any, $complete: boolean):void;
  4853. public static Kill($target: any, $propType: FairyGUI.TweenPropType, $complete: boolean):void;
  4854. public static GetTween($target: any):FairyGUI.GTweener;
  4855. public static GetTween($target: any, $propType: FairyGUI.TweenPropType):FairyGUI.GTweener;
  4856. public static Clean():void;
  4857. }
  4858. enum TweenPropType { None = 0, X = 1, Y = 2, Z = 3, XY = 4, Position = 5, Width = 6, Height = 7, Size = 8, ScaleX = 9, ScaleY = 10, Scale = 11, Rotation = 12, RotationX = 13, RotationY = 14, Alpha = 15, Progress = 16 }
  4859. interface ITweenListener {
  4860. OnTweenStart($tweener: FairyGUI.GTweener):void;
  4861. OnTweenUpdate($tweener: FairyGUI.GTweener):void;
  4862. OnTweenComplete($tweener: FairyGUI.GTweener):void;
  4863. }
  4864. type GTweenCallback = () => void;
  4865. var GTweenCallback: {new (func: () => void): GTweenCallback;}
  4866. type GTweenCallback1 = (tweener: FairyGUI.GTweener) => void;
  4867. var GTweenCallback1: {new (func: (tweener: FairyGUI.GTweener) => void): GTweenCallback1;}
  4868. class TweenValue extends System.Object {
  4869. public x: number;
  4870. public y: number;
  4871. public z: number;
  4872. public w: number;
  4873. public d: number;
  4874. public vec2: UnityEngine.Vector2;
  4875. public vec3: UnityEngine.Vector3;
  4876. public vec4: UnityEngine.Vector4;
  4877. public color: UnityEngine.Color;
  4878. public constructor();
  4879. public get_Item($index: number):number;
  4880. public set_Item($index: number, $value: number):void;
  4881. public SetZero():void;
  4882. }
  4883. class ChangePageAction extends FairyGUI.ControllerAction {
  4884. public objectId: string;
  4885. public controllerName: string;
  4886. public targetPage: string;
  4887. public constructor();
  4888. }
  4889. class ControllerAction extends System.Object {
  4890. public fromPage: System.Array$1<string>;
  4891. public toPage: System.Array$1<string>;
  4892. public constructor();
  4893. public static CreateAction($type: FairyGUI.ControllerAction.ActionType):FairyGUI.ControllerAction;
  4894. public Run($controller: FairyGUI.Controller, $prevPage: string, $curPage: string):void;
  4895. public Setup($buffer: FairyGUI.Utils.ByteBuffer):void;
  4896. }
  4897. class Controller extends FairyGUI.EventDispatcher {
  4898. public name: string;
  4899. public onChanged: FairyGUI.EventListener;
  4900. public selectedIndex: number;
  4901. public selectedPage: string;
  4902. public previsousIndex: number;
  4903. public previousPage: string;
  4904. public pageCount: number;
  4905. public constructor();
  4906. public Dispose():void;
  4907. public SetSelectedIndex($value: number):void;
  4908. public SetSelectedPage($value: string):void;
  4909. public GetPageName($index: number):string;
  4910. public GetPageId($index: number):string;
  4911. public GetPageIdByName($aName: string):string;
  4912. public AddPage($name: string):void;
  4913. public AddPageAt($name: string, $index: number):void;
  4914. public RemovePage($name: string):void;
  4915. public RemovePageAt($index: number):void;
  4916. public ClearPages():void;
  4917. public HasPage($aName: string):boolean;
  4918. public RunActions():void;
  4919. public Setup($buffer: FairyGUI.Utils.ByteBuffer):void;
  4920. }
  4921. class PlayTransitionAction extends FairyGUI.ControllerAction {
  4922. public transitionName: string;
  4923. public playTimes: number;
  4924. public delay: number;
  4925. public stopOnExit: boolean;
  4926. public constructor();
  4927. }
  4928. class AsyncCreationHelper extends System.Object {
  4929. public constructor();
  4930. public static CreateObject($item: FairyGUI.PackageItem, $callback: FairyGUI.UIPackage.CreateObjectCallback):void;
  4931. }
  4932. class PackageItem extends System.Object {
  4933. public owner: FairyGUI.UIPackage;
  4934. public type: FairyGUI.PackageItemType;
  4935. public objectType: FairyGUI.ObjectType;
  4936. public id: string;
  4937. public name: string;
  4938. public width: number;
  4939. public height: number;
  4940. public file: string;
  4941. public exported: boolean;
  4942. public texture: FairyGUI.NTexture;
  4943. public rawData: FairyGUI.Utils.ByteBuffer;
  4944. public branches: System.Array$1<string>;
  4945. public highResolution: System.Array$1<string>;
  4946. public scale9Grid: System.Nullable$1<UnityEngine.Rect>;
  4947. public scaleByTile: boolean;
  4948. public tileGridIndice: number;
  4949. public pixelHitTestData: FairyGUI.PixelHitTestData;
  4950. public interval: number;
  4951. public repeatDelay: number;
  4952. public swing: boolean;
  4953. public frames: System.Array$1<FairyGUI.MovieClip.Frame>;
  4954. public translated: boolean;
  4955. public extensionCreator: FairyGUI.UIObjectFactory.GComponentCreator;
  4956. public bitmapFont: FairyGUI.BitmapFont;
  4957. public audioClip: FairyGUI.NAudioClip;
  4958. public skeletonAnchor: UnityEngine.Vector2;
  4959. public skeletonAsset: any;
  4960. public constructor();
  4961. public Load():any;
  4962. public getBranch():FairyGUI.PackageItem;
  4963. public getHighResolution():FairyGUI.PackageItem;
  4964. }
  4965. class DragDropManager extends System.Object {
  4966. public static inst: FairyGUI.DragDropManager;
  4967. public dragAgent: FairyGUI.GLoader;
  4968. public dragging: boolean;
  4969. public constructor();
  4970. public StartDrag($source: FairyGUI.GObject, $icon: string, $sourceData: any, $touchPointID?: number):void;
  4971. public Cancel():void;
  4972. }
  4973. interface EMRenderTarget {
  4974. EM_sortingOrder: number;
  4975. EM_BeforeUpdate():void;
  4976. EM_Update($context: FairyGUI.UpdateContext):void;
  4977. EM_Reload():void;
  4978. }
  4979. class EMRenderSupport extends System.Object {
  4980. public static orderChanged: boolean;
  4981. public static packageListReady: boolean;
  4982. public static hasTarget: boolean;
  4983. public constructor();
  4984. public static Add($value: FairyGUI.EMRenderTarget):void;
  4985. public static Remove($value: FairyGUI.EMRenderTarget):void;
  4986. public static Update():void;
  4987. public static Reload():void;
  4988. }
  4989. enum ButtonMode { Common = 0, Check = 1, Radio = 2 }
  4990. class ScrollPane extends FairyGUI.EventDispatcher {
  4991. public static TWEEN_TIME_GO: number;
  4992. public static TWEEN_TIME_DEFAULT: number;
  4993. public static PULL_RATIO: number;
  4994. public static draggingPane: FairyGUI.ScrollPane;
  4995. public onScroll: FairyGUI.EventListener;
  4996. public onScrollEnd: FairyGUI.EventListener;
  4997. public onPullDownRelease: FairyGUI.EventListener;
  4998. public onPullUpRelease: FairyGUI.EventListener;
  4999. public owner: FairyGUI.GComponent;
  5000. public hzScrollBar: FairyGUI.GScrollBar;
  5001. public vtScrollBar: FairyGUI.GScrollBar;
  5002. public header: FairyGUI.GComponent;
  5003. public footer: FairyGUI.GComponent;
  5004. public bouncebackEffect: boolean;
  5005. public touchEffect: boolean;
  5006. public inertiaDisabled: boolean;
  5007. public softnessOnTopOrLeftSide: boolean;
  5008. public scrollStep: number;
  5009. public snapToItem: boolean;
  5010. public pageMode: boolean;
  5011. public pageController: FairyGUI.Controller;
  5012. public mouseWheelEnabled: boolean;
  5013. public decelerationRate: number;
  5014. public isDragged: boolean;
  5015. public percX: number;
  5016. public percY: number;
  5017. public posX: number;
  5018. public posY: number;
  5019. public isBottomMost: boolean;
  5020. public isRightMost: boolean;
  5021. public currentPageX: number;
  5022. public currentPageY: number;
  5023. public scrollingPosX: number;
  5024. public scrollingPosY: number;
  5025. public contentWidth: number;
  5026. public contentHeight: number;
  5027. public viewWidth: number;
  5028. public viewHeight: number;
  5029. public constructor($owner: FairyGUI.GComponent);
  5030. public Setup($buffer: FairyGUI.Utils.ByteBuffer):void;
  5031. public Dispose():void;
  5032. public SetPercX($value: number, $ani: boolean):void;
  5033. public SetPercY($value: number, $ani: boolean):void;
  5034. public SetPosX($value: number, $ani: boolean):void;
  5035. public SetPosY($value: number, $ani: boolean):void;
  5036. public SetCurrentPageX($value: number, $ani: boolean):void;
  5037. public SetCurrentPageY($value: number, $ani: boolean):void;
  5038. public ScrollTop():void;
  5039. public ScrollTop($ani: boolean):void;
  5040. public ScrollBottom():void;
  5041. public ScrollBottom($ani: boolean):void;
  5042. public ScrollUp():void;
  5043. public ScrollUp($ratio: number, $ani: boolean):void;
  5044. public ScrollDown():void;
  5045. public ScrollDown($ratio: number, $ani: boolean):void;
  5046. public ScrollLeft():void;
  5047. public ScrollLeft($ratio: number, $ani: boolean):void;
  5048. public ScrollRight():void;
  5049. public ScrollRight($ratio: number, $ani: boolean):void;
  5050. public ScrollToView($obj: FairyGUI.GObject):void;
  5051. public ScrollToView($obj: FairyGUI.GObject, $ani: boolean):void;
  5052. public ScrollToView($obj: FairyGUI.GObject, $ani: boolean, $setFirst: boolean):void;
  5053. public ScrollToView($rect: UnityEngine.Rect, $ani: boolean, $setFirst: boolean):void;
  5054. public IsChildInView($obj: FairyGUI.GObject):boolean;
  5055. public CancelDragging():void;
  5056. public LockHeader($size: number):void;
  5057. public LockFooter($size: number):void;
  5058. public UpdateScrollBarVisible():void;
  5059. }
  5060. enum ChildrenRenderOrder { Ascent = 0, Descent = 1, Arch = 2 }
  5061. class GGroup extends FairyGUI.GObject {
  5062. public layout: FairyGUI.GroupLayoutType;
  5063. public lineGap: number;
  5064. public columnGap: number;
  5065. public excludeInvisibles: boolean;
  5066. public autoSizeDisabled: boolean;
  5067. public mainGridMinSize: number;
  5068. public mainGridIndex: number;
  5069. public constructor();
  5070. public SetBoundsChangedFlag($positionChangedOnly?: boolean):void;
  5071. public EnsureBoundsCorrect():void;
  5072. }
  5073. class Transition extends System.Object {
  5074. public invalidateBatchingEveryFrame: boolean;
  5075. public name: string;
  5076. public playing: boolean;
  5077. public timeScale: number;
  5078. public ignoreEngineTimeScale: boolean;
  5079. public constructor($owner: FairyGUI.GComponent);
  5080. public Play():void;
  5081. public Play($onComplete: FairyGUI.PlayCompleteCallback):void;
  5082. public Play($times: number, $delay: number, $onComplete: FairyGUI.PlayCompleteCallback):void;
  5083. public Play($times: number, $delay: number, $startTime: number, $endTime: number, $onComplete: FairyGUI.PlayCompleteCallback):void;
  5084. public PlayReverse():void;
  5085. public PlayReverse($onComplete: FairyGUI.PlayCompleteCallback):void;
  5086. public PlayReverse($times: number, $delay: number, $onComplete: FairyGUI.PlayCompleteCallback):void;
  5087. public ChangePlayTimes($value: number):void;
  5088. public SetAutoPlay($autoPlay: boolean, $times: number, $delay: number):void;
  5089. public Stop():void;
  5090. public Stop($setToComplete: boolean, $processCallback: boolean):void;
  5091. public SetPaused($paused: boolean):void;
  5092. public Dispose():void;
  5093. public SetValue($label: string, ...aParams: any[]):void;
  5094. public SetHook($label: string, $callback: FairyGUI.TransitionHook):void;
  5095. public ClearHooks():void;
  5096. public SetTarget($label: string, $newTarget: FairyGUI.GObject):void;
  5097. public SetDuration($label: string, $value: number):void;
  5098. public GetLabelTime($label: string):number;
  5099. public OnTweenStart($tweener: FairyGUI.GTweener):void;
  5100. public OnTweenUpdate($tweener: FairyGUI.GTweener):void;
  5101. public OnTweenComplete($tweener: FairyGUI.GTweener):void;
  5102. public Setup($buffer: FairyGUI.Utils.ByteBuffer):void;
  5103. }
  5104. class GearAnimation extends FairyGUI.GearBase {
  5105. public constructor($owner: FairyGUI.GObject);
  5106. }
  5107. class GearBase extends System.Object {
  5108. public static disableAllTweenEffect: boolean;
  5109. public controller: FairyGUI.Controller;
  5110. public tweenConfig: FairyGUI.GearTweenConfig;
  5111. public Dispose():void;
  5112. public Setup($buffer: FairyGUI.Utils.ByteBuffer):void;
  5113. public UpdateFromRelations($dx: number, $dy: number):void;
  5114. public Apply():void;
  5115. public UpdateState():void;
  5116. }
  5117. class GearTweenConfig extends System.Object {
  5118. public tween: boolean;
  5119. public easeType: FairyGUI.EaseType;
  5120. public customEase: FairyGUI.CustomEase;
  5121. public duration: number;
  5122. public delay: number;
  5123. public constructor();
  5124. }
  5125. class GearColor extends FairyGUI.GearBase {
  5126. public constructor($owner: FairyGUI.GObject);
  5127. public OnTweenStart($tweener: FairyGUI.GTweener):void;
  5128. public OnTweenUpdate($tweener: FairyGUI.GTweener):void;
  5129. public OnTweenComplete($tweener: FairyGUI.GTweener):void;
  5130. }
  5131. class GearDisplay extends FairyGUI.GearBase {
  5132. public pages: System.Array$1<string>;
  5133. public connected: boolean;
  5134. public constructor($owner: FairyGUI.GObject);
  5135. public AddLock():number;
  5136. public ReleaseLock($token: number):void;
  5137. }
  5138. class GearDisplay2 extends FairyGUI.GearBase {
  5139. public condition: number;
  5140. public pages: System.Array$1<string>;
  5141. public constructor($owner: FairyGUI.GObject);
  5142. public Evaluate($connected: boolean):boolean;
  5143. }
  5144. class GearFontSize extends FairyGUI.GearBase {
  5145. public constructor($owner: FairyGUI.GObject);
  5146. }
  5147. class GearIcon extends FairyGUI.GearBase {
  5148. public constructor($owner: FairyGUI.GObject);
  5149. }
  5150. class GearLook extends FairyGUI.GearBase {
  5151. public constructor($owner: FairyGUI.GObject);
  5152. public OnTweenStart($tweener: FairyGUI.GTweener):void;
  5153. public OnTweenUpdate($tweener: FairyGUI.GTweener):void;
  5154. public OnTweenComplete($tweener: FairyGUI.GTweener):void;
  5155. }
  5156. class GearSize extends FairyGUI.GearBase {
  5157. public constructor($owner: FairyGUI.GObject);
  5158. public OnTweenStart($tweener: FairyGUI.GTweener):void;
  5159. public OnTweenUpdate($tweener: FairyGUI.GTweener):void;
  5160. public OnTweenComplete($tweener: FairyGUI.GTweener):void;
  5161. }
  5162. class GearText extends FairyGUI.GearBase {
  5163. public constructor($owner: FairyGUI.GObject);
  5164. }
  5165. class GearXY extends FairyGUI.GearBase {
  5166. public positionsInPercent: boolean;
  5167. public constructor($owner: FairyGUI.GObject);
  5168. public AddExtStatus($pageId: string, $buffer: FairyGUI.Utils.ByteBuffer):void;
  5169. public OnTweenStart($tweener: FairyGUI.GTweener):void;
  5170. public OnTweenUpdate($tweener: FairyGUI.GTweener):void;
  5171. public OnTweenComplete($tweener: FairyGUI.GTweener):void;
  5172. }
  5173. interface IAnimationGear {
  5174. playing: boolean;
  5175. frame: number;
  5176. timeScale: number;
  5177. ignoreEngineTimeScale: boolean;
  5178. Advance($time: number):void;
  5179. }
  5180. interface IColorGear {
  5181. color: UnityEngine.Color;
  5182. }
  5183. interface ITextColorGear {
  5184. strokeColor: UnityEngine.Color;
  5185. }
  5186. class GGraph extends FairyGUI.GObject {
  5187. public color: UnityEngine.Color;
  5188. public shape: FairyGUI.Shape;
  5189. public constructor();
  5190. public ReplaceMe($target: FairyGUI.GObject):void;
  5191. public AddBeforeMe($target: FairyGUI.GObject):void;
  5192. public AddAfterMe($target: FairyGUI.GObject):void;
  5193. public SetNativeObject($obj: FairyGUI.DisplayObject):void;
  5194. public DrawRect($aWidth: number, $aHeight: number, $lineSize: number, $lineColor: UnityEngine.Color, $fillColor: UnityEngine.Color):void;
  5195. public DrawRoundRect($aWidth: number, $aHeight: number, $fillColor: UnityEngine.Color, $corner: System.Array$1<number>):void;
  5196. public DrawEllipse($aWidth: number, $aHeight: number, $fillColor: UnityEngine.Color):void;
  5197. public DrawPolygon($aWidth: number, $aHeight: number, $points: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $fillColor: UnityEngine.Color):void;
  5198. public DrawPolygon($aWidth: number, $aHeight: number, $points: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $fillColor: UnityEngine.Color, $lineSize: number, $lineColor: UnityEngine.Color):void;
  5199. }
  5200. class GImage extends FairyGUI.GObject {
  5201. public color: UnityEngine.Color;
  5202. public flip: FairyGUI.FlipType;
  5203. public fillMethod: FairyGUI.FillMethod;
  5204. public fillOrigin: number;
  5205. public fillClockwise: boolean;
  5206. public fillAmount: number;
  5207. public texture: FairyGUI.NTexture;
  5208. public material: UnityEngine.Material;
  5209. public shader: string;
  5210. public constructor();
  5211. }
  5212. enum ListSelectionMode { Single = 0, Multiple = 1, Multiple_SingleClick = 2, None = 3 }
  5213. type ListItemRenderer = (index: number, item: FairyGUI.GObject) => void;
  5214. var ListItemRenderer: {new (func: (index: number, item: FairyGUI.GObject) => void): ListItemRenderer;}
  5215. type ListItemProvider = (index: number) => string;
  5216. var ListItemProvider: {new (func: (index: number) => string): ListItemProvider;}
  5217. enum ListLayoutType { SingleColumn = 0, SingleRow = 1, FlowHorizontal = 2, FlowVertical = 3, Pagination = 4 }
  5218. class GObjectPool extends System.Object {
  5219. public initCallback: FairyGUI.GObjectPool.InitCallbackDelegate;
  5220. public count: number;
  5221. public constructor($manager: UnityEngine.Transform);
  5222. public Clear():void;
  5223. public GetObject($url: string):FairyGUI.GObject;
  5224. public ReturnObject($obj: FairyGUI.GObject):void;
  5225. }
  5226. class GMovieClip extends FairyGUI.GObject {
  5227. public onPlayEnd: FairyGUI.EventListener;
  5228. public playing: boolean;
  5229. public frame: number;
  5230. public color: UnityEngine.Color;
  5231. public flip: FairyGUI.FlipType;
  5232. public material: UnityEngine.Material;
  5233. public shader: string;
  5234. public timeScale: number;
  5235. public ignoreEngineTimeScale: boolean;
  5236. public constructor();
  5237. public Rewind():void;
  5238. public SyncStatus($anotherMc: FairyGUI.GMovieClip):void;
  5239. public Advance($time: number):void;
  5240. public SetPlaySettings($start: number, $end: number, $times: number, $endAt: number):void;
  5241. }
  5242. class Relations extends System.Object {
  5243. public handling: FairyGUI.GObject;
  5244. public isEmpty: boolean;
  5245. public constructor($owner: FairyGUI.GObject);
  5246. public Add($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType):void;
  5247. public Add($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType, $usePercent: boolean):void;
  5248. public Remove($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType):void;
  5249. public Contains($target: FairyGUI.GObject):boolean;
  5250. public ClearFor($target: FairyGUI.GObject):void;
  5251. public ClearAll():void;
  5252. public CopyFrom($source: FairyGUI.Relations):void;
  5253. public Dispose():void;
  5254. public OnOwnerSizeChanged($dWidth: number, $dHeight: number, $applyPivot: boolean):void;
  5255. public Setup($buffer: FairyGUI.Utils.ByteBuffer, $parentToChild: boolean):void;
  5256. }
  5257. enum RelationType { Left_Left = 0, Left_Center = 1, Left_Right = 2, Center_Center = 3, Right_Left = 4, Right_Center = 5, Right_Right = 6, Top_Top = 7, Top_Middle = 8, Top_Bottom = 9, Middle_Middle = 10, Bottom_Top = 11, Bottom_Middle = 12, Bottom_Bottom = 13, Width = 14, Height = 15, LeftExt_Left = 16, LeftExt_Right = 17, RightExt_Left = 18, RightExt_Right = 19, TopExt_Top = 20, TopExt_Bottom = 21, BottomExt_Top = 22, BottomExt_Bottom = 23, Size = 24 }
  5258. class GProgressBar extends FairyGUI.GComponent {
  5259. public titleType: FairyGUI.ProgressTitleType;
  5260. public min: number;
  5261. public max: number;
  5262. public value: number;
  5263. public reverse: boolean;
  5264. public constructor();
  5265. public TweenValue($value: number, $duration: number):FairyGUI.GTweener;
  5266. public Update($newValue: number):void;
  5267. }
  5268. class GSlider extends FairyGUI.GComponent {
  5269. public changeOnClick: boolean;
  5270. public canDrag: boolean;
  5271. public onChanged: FairyGUI.EventListener;
  5272. public onGripTouchEnd: FairyGUI.EventListener;
  5273. public titleType: FairyGUI.ProgressTitleType;
  5274. public min: number;
  5275. public max: number;
  5276. public value: number;
  5277. public wholeNumbers: boolean;
  5278. public constructor();
  5279. }
  5280. class GRichTextField extends FairyGUI.GTextField {
  5281. public richTextField: FairyGUI.RichTextField;
  5282. public emojies: System.Collections.Generic.Dictionary$2<number, FairyGUI.Emoji>;
  5283. public constructor();
  5284. }
  5285. class GTextInput extends FairyGUI.GTextField {
  5286. public inputTextField: FairyGUI.InputTextField;
  5287. public onChanged: FairyGUI.EventListener;
  5288. public onSubmit: FairyGUI.EventListener;
  5289. public editable: boolean;
  5290. public hideInput: boolean;
  5291. public maxLength: number;
  5292. public restrict: string;
  5293. public displayAsPassword: boolean;
  5294. public caretPosition: number;
  5295. public promptText: string;
  5296. public keyboardInput: boolean;
  5297. public keyboardType: number;
  5298. public disableIME: boolean;
  5299. public emojies: System.Collections.Generic.Dictionary$2<number, FairyGUI.Emoji>;
  5300. public border: number;
  5301. public corner: number;
  5302. public borderColor: UnityEngine.Color;
  5303. public backgroundColor: UnityEngine.Color;
  5304. public mouseWheelEnabled: boolean;
  5305. public constructor();
  5306. public SetSelection($start: number, $length: number):void;
  5307. public ReplaceSelection($value: string):void;
  5308. }
  5309. enum ProgressTitleType { Percent = 0, ValueAndMax = 1, Value = 2, Max = 3 }
  5310. class GScrollBar extends FairyGUI.GComponent {
  5311. public minSize: number;
  5312. public gripDragging: boolean;
  5313. public constructor();
  5314. public SetScrollPane($target: FairyGUI.ScrollPane, $vertical: boolean):void;
  5315. public SetDisplayPerc($value: number):void;
  5316. public setScrollPerc($value: number):void;
  5317. }
  5318. interface IUISource {
  5319. fileName: string;
  5320. loaded: boolean;
  5321. Load($callback: FairyGUI.UILoadCallback):void;
  5322. }
  5323. type UILoadCallback = () => void;
  5324. var UILoadCallback: {new (func: () => void): UILoadCallback;}
  5325. class UIPackage extends System.Object {
  5326. public static unloadBundleByFGUI: boolean;
  5327. public static URL_PREFIX: string;
  5328. public id: string;
  5329. public name: string;
  5330. public static branch: string;
  5331. public assetPath: string;
  5332. public customId: string;
  5333. public resBundle: UnityEngine.AssetBundle;
  5334. public dependencies: System.Array$1<System.Collections.Generic.Dictionary$2<string, string>>;
  5335. public constructor();
  5336. public static add_onReleaseResource($value: System.Action$1<FairyGUI.PackageItem>):void;
  5337. public static remove_onReleaseResource($value: System.Action$1<FairyGUI.PackageItem>):void;
  5338. public static GetVar($key: string):string;
  5339. public static SetVar($key: string, $value: string):void;
  5340. public static GetById($id: string):FairyGUI.UIPackage;
  5341. public static GetByName($name: string):FairyGUI.UIPackage;
  5342. public static AddPackage($bundle: UnityEngine.AssetBundle):FairyGUI.UIPackage;
  5343. public static AddPackage($desc: UnityEngine.AssetBundle, $res: UnityEngine.AssetBundle):FairyGUI.UIPackage;
  5344. public static AddPackage($desc: UnityEngine.AssetBundle, $res: UnityEngine.AssetBundle, $mainAssetName: string):FairyGUI.UIPackage;
  5345. public static AddPackage($descFilePath: string):FairyGUI.UIPackage;
  5346. public static AddPackage($assetPath: string, $loadFunc: FairyGUI.UIPackage.LoadResource):FairyGUI.UIPackage;
  5347. public static AddPackage($descData: System.Array$1<number>, $assetNamePrefix: string, $loadFunc: FairyGUI.UIPackage.LoadResource):FairyGUI.UIPackage;
  5348. public static AddPackage($descData: System.Array$1<number>, $assetNamePrefix: string, $loadFunc: FairyGUI.UIPackage.LoadResourceAsync):FairyGUI.UIPackage;
  5349. public static RemovePackage($packageIdOrName: string):void;
  5350. public static RemoveAllPackages():void;
  5351. public static GetPackages():System.Collections.Generic.List$1<FairyGUI.UIPackage>;
  5352. public static CreateObject($pkgName: string, $resName: string):FairyGUI.GObject;
  5353. public static CreateObject($pkgName: string, $resName: string, $userClass: System.Type):FairyGUI.GObject;
  5354. public static CreateObjectFromURL($url: string):FairyGUI.GObject;
  5355. public static CreateObjectFromURL($url: string, $userClass: System.Type):FairyGUI.GObject;
  5356. public static CreateObjectAsync($pkgName: string, $resName: string, $callback: FairyGUI.UIPackage.CreateObjectCallback):void;
  5357. public static CreateObjectFromURL($url: string, $callback: FairyGUI.UIPackage.CreateObjectCallback):void;
  5358. public static GetItemAsset($pkgName: string, $resName: string):any;
  5359. public static GetItemAssetByURL($url: string):any;
  5360. public static GetItemURL($pkgName: string, $resName: string):string;
  5361. public static GetItemByURL($url: string):FairyGUI.PackageItem;
  5362. public static NormalizeURL($url: string):string;
  5363. public static SetStringsSource($source: FairyGUI.Utils.XML):void;
  5364. public LoadAllAssets():void;
  5365. public UnloadAssets():void;
  5366. public ReloadAssets():void;
  5367. public ReloadAssets($resBundle: UnityEngine.AssetBundle):void;
  5368. public CreateObject($resName: string):FairyGUI.GObject;
  5369. public CreateObject($resName: string, $userClass: System.Type):FairyGUI.GObject;
  5370. public CreateObjectAsync($resName: string, $callback: FairyGUI.UIPackage.CreateObjectCallback):void;
  5371. public GetItemAsset($resName: string):any;
  5372. public GetItems():System.Collections.Generic.List$1<FairyGUI.PackageItem>;
  5373. public GetItem($itemId: string):FairyGUI.PackageItem;
  5374. public GetItemByName($itemName: string):FairyGUI.PackageItem;
  5375. public GetItemAsset($item: FairyGUI.PackageItem):any;
  5376. public SetItemAsset($item: FairyGUI.PackageItem, $asset: any, $destroyMethod: FairyGUI.DestroyMethod):void;
  5377. }
  5378. enum PackageItemType { Image = 0, MovieClip = 1, Sound = 2, Component = 3, Atlas = 4, Font = 5, Swf = 6, Misc = 7, Unknown = 8, Spine = 9, DragoneBones = 10 }
  5379. enum ObjectType { Image = 0, MovieClip = 1, Swf = 2, Graph = 3, Loader = 4, Group = 5, Text = 6, RichText = 7, InputText = 8, Component = 9, List = 10, Label = 11, Button = 12, ComboBox = 13, ProgressBar = 14, Slider = 15, ScrollBar = 16, Tree = 17, Loader3D = 18 }
  5380. type PlayCompleteCallback = () => void;
  5381. var PlayCompleteCallback: {new (func: () => void): PlayCompleteCallback;}
  5382. type TransitionHook = () => void;
  5383. var TransitionHook: {new (func: () => void): TransitionHook;}
  5384. class TranslationHelper extends System.Object {
  5385. public static strings: System.Collections.Generic.Dictionary$2<string, System.Collections.Generic.Dictionary$2<string, string>>;
  5386. public constructor();
  5387. public static LoadFromXML($source: FairyGUI.Utils.XML):void;
  5388. public static TranslateComponent($item: FairyGUI.PackageItem):void;
  5389. }
  5390. class TreeNode extends System.Object {
  5391. public data: any;
  5392. public parent: FairyGUI.TreeNode;
  5393. public tree: FairyGUI.TreeView;
  5394. public cell: FairyGUI.GComponent;
  5395. public level: number;
  5396. public expanded: boolean;
  5397. public isFolder: boolean;
  5398. public text: string;
  5399. public numChildren: number;
  5400. public constructor($hasChild: boolean);
  5401. public AddChild($child: FairyGUI.TreeNode):FairyGUI.TreeNode;
  5402. public AddChildAt($child: FairyGUI.TreeNode, $index: number):FairyGUI.TreeNode;
  5403. public RemoveChild($child: FairyGUI.TreeNode):FairyGUI.TreeNode;
  5404. public RemoveChildAt($index: number):FairyGUI.TreeNode;
  5405. public RemoveChildren($beginIndex?: number, $endIndex?: number):void;
  5406. public GetChildAt($index: number):FairyGUI.TreeNode;
  5407. public GetChildIndex($child: FairyGUI.TreeNode):number;
  5408. public GetPrevSibling():FairyGUI.TreeNode;
  5409. public GetNextSibling():FairyGUI.TreeNode;
  5410. public SetChildIndex($child: FairyGUI.TreeNode, $index: number):void;
  5411. public SwapChildren($child1: FairyGUI.TreeNode, $child2: FairyGUI.TreeNode):void;
  5412. public SwapChildrenAt($index1: number, $index2: number):void;
  5413. }
  5414. class TreeView extends FairyGUI.EventDispatcher {
  5415. public indent: number;
  5416. public treeNodeCreateCell: FairyGUI.TreeView.TreeNodeCreateCellDelegate;
  5417. public treeNodeRender: FairyGUI.TreeView.TreeNodeRenderDelegate;
  5418. public treeNodeWillExpand: FairyGUI.TreeView.TreeNodeWillExpandDelegate;
  5419. public list: FairyGUI.GList;
  5420. public root: FairyGUI.TreeNode;
  5421. public onClickNode: FairyGUI.EventListener;
  5422. public onRightClickNode: FairyGUI.EventListener;
  5423. public constructor($list: FairyGUI.GList);
  5424. public GetSelectedNode():FairyGUI.TreeNode;
  5425. public GetSelection():System.Collections.Generic.List$1<FairyGUI.TreeNode>;
  5426. public AddSelection($node: FairyGUI.TreeNode, $scrollItToView?: boolean):void;
  5427. public RemoveSelection($node: FairyGUI.TreeNode):void;
  5428. public ClearSelection():void;
  5429. public GetNodeIndex($node: FairyGUI.TreeNode):number;
  5430. public UpdateNode($node: FairyGUI.TreeNode):void;
  5431. public UpdateNodes($nodes: System.Collections.Generic.List$1<FairyGUI.TreeNode>):void;
  5432. public ExpandAll($folderNode: FairyGUI.TreeNode):void;
  5433. public CollapseAll($folderNode: FairyGUI.TreeNode):void;
  5434. }
  5435. class UIConfig extends UnityEngine.MonoBehaviour {
  5436. public static defaultFont: string;
  5437. public static windowModalWaiting: string;
  5438. public static globalModalWaiting: string;
  5439. public static modalLayerColor: UnityEngine.Color;
  5440. public static buttonSound: FairyGUI.NAudioClip;
  5441. public static buttonSoundVolumeScale: number;
  5442. public static horizontalScrollBar: string;
  5443. public static verticalScrollBar: string;
  5444. public static defaultScrollStep: number;
  5445. public static defaultScrollDecelerationRate: number;
  5446. public static defaultScrollBarDisplay: FairyGUI.ScrollBarDisplayType;
  5447. public static defaultScrollTouchEffect: boolean;
  5448. public static defaultScrollBounceEffect: boolean;
  5449. public static popupMenu: string;
  5450. public static popupMenu_seperator: string;
  5451. public static loaderErrorSign: string;
  5452. public static tooltipsWin: string;
  5453. public static defaultComboBoxVisibleItemCount: number;
  5454. public static touchScrollSensitivity: number;
  5455. public static touchDragSensitivity: number;
  5456. public static clickDragSensitivity: number;
  5457. public static allowSoftnessOnTopOrLeftSide: boolean;
  5458. public static bringWindowToFrontOnClick: boolean;
  5459. public static inputCaretSize: number;
  5460. public static inputHighlightColor: UnityEngine.Color;
  5461. public static frameTimeForAsyncUIConstruction: number;
  5462. public static depthSupportForPaintingMode: boolean;
  5463. public static enhancedTextOutlineEffect: boolean;
  5464. public static makePixelPerfect: boolean;
  5465. public Items: System.Collections.Generic.List$1<FairyGUI.UIConfig.ConfigValue>;
  5466. public PreloadPackages: System.Collections.Generic.List$1<string>;
  5467. public static soundLoader: FairyGUI.UIConfig.SoundLoader;
  5468. public constructor();
  5469. public Load():void;
  5470. public static SetDefaultValue($key: FairyGUI.UIConfig.ConfigKey, $value: FairyGUI.UIConfig.ConfigValue):void;
  5471. public static ClearResourceRefs():void;
  5472. public ApplyModifiedProperties():void;
  5473. }
  5474. enum ScrollBarDisplayType { Default = 0, Visible = 1, Auto = 2, Hidden = 3 }
  5475. class UIContentScaler extends UnityEngine.MonoBehaviour {
  5476. public scaleMode: FairyGUI.UIContentScaler.ScaleMode;
  5477. public screenMatchMode: FairyGUI.UIContentScaler.ScreenMatchMode;
  5478. public designResolutionX: number;
  5479. public designResolutionY: number;
  5480. public fallbackScreenDPI: number;
  5481. public defaultSpriteDPI: number;
  5482. public constantScaleFactor: number;
  5483. public ignoreOrientation: boolean;
  5484. public static scaleFactor: number;
  5485. public static scaleLevel: number;
  5486. public constructor();
  5487. public ApplyModifiedProperties():void;
  5488. public ApplyChange():void;
  5489. }
  5490. class UIObjectFactory extends System.Object {
  5491. public constructor();
  5492. public static SetPackageItemExtension($url: string, $type: System.Type):void;
  5493. public static SetPackageItemExtension($url: string, $creator: FairyGUI.UIObjectFactory.GComponentCreator):void;
  5494. public static SetLoaderExtension($type: System.Type):void;
  5495. public static SetLoaderExtension($creator: FairyGUI.UIObjectFactory.GLoaderCreator):void;
  5496. public static Clear():void;
  5497. public static NewObject($pi: FairyGUI.PackageItem, $userClass?: System.Type):FairyGUI.GObject;
  5498. public static NewObject($type: FairyGUI.ObjectType):FairyGUI.GObject;
  5499. }
  5500. class UIPainter extends UnityEngine.MonoBehaviour {
  5501. public packageName: string;
  5502. public componentName: string;
  5503. public sortingOrder: number;
  5504. public container: FairyGUI.Container;
  5505. public ui: FairyGUI.GComponent;
  5506. public EM_sortingOrder: number;
  5507. public constructor();
  5508. public SetSortingOrder($value: number, $apply: boolean):void;
  5509. public CreateUI():void;
  5510. public ApplyModifiedProperties($sortingOrderChanged: boolean):void;
  5511. public OnUpdateSource($data: System.Array$1<any>):void;
  5512. public EM_BeforeUpdate():void;
  5513. public EM_Update($context: FairyGUI.UpdateContext):void;
  5514. public EM_Reload():void;
  5515. }
  5516. class UIPanel extends UnityEngine.MonoBehaviour {
  5517. public packageName: string;
  5518. public componentName: string;
  5519. public fitScreen: FairyGUI.FitScreen;
  5520. public sortingOrder: number;
  5521. public container: FairyGUI.Container;
  5522. public ui: FairyGUI.GComponent;
  5523. public EM_sortingOrder: number;
  5524. public constructor();
  5525. public CreateUI():void;
  5526. public SetSortingOrder($value: number, $apply: boolean):void;
  5527. public SetHitTestMode($value: FairyGUI.HitTestMode):void;
  5528. public CacheNativeChildrenRenderers():void;
  5529. public ApplyModifiedProperties($sortingOrderChanged: boolean, $fitScreenChanged: boolean):void;
  5530. public MoveUI($delta: UnityEngine.Vector3):void;
  5531. public GetUIWorldPosition():UnityEngine.Vector3;
  5532. public EM_BeforeUpdate():void;
  5533. public EM_Update($context: FairyGUI.UpdateContext):void;
  5534. public EM_Reload():void;
  5535. }
  5536. enum FitScreen { None = 0, FitSize = 1, FitWidthAndSetMiddle = 2, FitHeightAndSetCenter = 3 }
  5537. enum HitTestMode { Default = 0, Raycast = 1 }
  5538. class Timers extends System.Object {
  5539. public static repeat: number;
  5540. public static time: number;
  5541. public static catchCallbackExceptions: boolean;
  5542. public static inst: FairyGUI.Timers;
  5543. public constructor();
  5544. public Add($interval: number, $repeat: number, $callback: FairyGUI.TimerCallback):void;
  5545. public Add($interval: number, $repeat: number, $callback: FairyGUI.TimerCallback, $callbackParam: any):void;
  5546. public CallLater($callback: FairyGUI.TimerCallback):void;
  5547. public CallLater($callback: FairyGUI.TimerCallback, $callbackParam: any):void;
  5548. public AddUpdate($callback: FairyGUI.TimerCallback):void;
  5549. public AddUpdate($callback: FairyGUI.TimerCallback, $callbackParam: any):void;
  5550. public StartCoroutine($routine: System.Collections.IEnumerator):void;
  5551. public Exists($callback: FairyGUI.TimerCallback):boolean;
  5552. public Remove($callback: FairyGUI.TimerCallback):void;
  5553. public Update():void;
  5554. }
  5555. type TimerCallback = (param: any) => void;
  5556. var TimerCallback: {new (func: (param: any) => void): TimerCallback;}
  5557. }
  5558. namespace FairyEditor {
  5559. class App extends System.Object {
  5560. public static isMacOS: boolean;
  5561. public static language: string;
  5562. public static batchMode: boolean;
  5563. public static preferences: FairyEditor.Preferences;
  5564. public static localStore: FairyEditor.LocalStore;
  5565. public static hotkeyManager: FairyEditor.HotkeyManager;
  5566. public static externalImagePool: ExternalImagePool;
  5567. public static groot: FairyGUI.GRoot;
  5568. public static project: FairyEditor.FProject;
  5569. public static workspaceSettings: FairyEditor.WorkspaceSettings;
  5570. public static mainView: FairyEditor.View.MainView;
  5571. public static docView: FairyEditor.View.DocumentView;
  5572. public static libView: FairyEditor.View.LibraryView;
  5573. public static inspectorView: FairyEditor.View.InspectorView;
  5574. public static testView: FairyEditor.View.TestView;
  5575. public static timelineView: FairyEditor.View.TimelineView;
  5576. public static consoleView: FairyEditor.View.ConsoleView;
  5577. public static menu: FairyEditor.Component.IMenu;
  5578. public static viewManager: FairyEditor.ViewManager;
  5579. public static dragManager: FairyEditor.DragDropManager;
  5580. public static pluginManager: FairyEditor.PluginManager;
  5581. public static docFactory: FairyEditor.View.DocumentFactory;
  5582. public static activeDoc: FairyEditor.View.Document;
  5583. public static preferenceFolder: string;
  5584. public static isActive: boolean;
  5585. public constructor();
  5586. public static add_onProjectOpened($value: System.Action):void;
  5587. public static remove_onProjectOpened($value: System.Action):void;
  5588. public static add_onProjectClosed($value: System.Action):void;
  5589. public static remove_onProjectClosed($value: System.Action):void;
  5590. public static add_onUpdate($value: System.Action):void;
  5591. public static remove_onUpdate($value: System.Action):void;
  5592. public static add_onLateUpdate($value: System.Action):void;
  5593. public static remove_onLateUpdate($value: System.Action):void;
  5594. public static add_onValidate($value: System.Action):void;
  5595. public static remove_onValidate($value: System.Action):void;
  5596. public static GetString($index: number):string;
  5597. public static GetString($index: string):string;
  5598. public static GetIcon($key: string):string;
  5599. public static GetIcon($key: string, $big: boolean):string;
  5600. public static StartBackgroundJob():void;
  5601. public static EndBackgroundJob():void;
  5602. public static SetFrameRateFactor($factor: FairyEditor.App.FrameRateFactor, $enabled: boolean):void;
  5603. public static OpenProject($path: string):void;
  5604. public static CloseProject():void;
  5605. public static RefreshProject():void;
  5606. public static ShowPreview($pi: FairyEditor.FPackageItem):void;
  5607. public static FindReference($source: string):void;
  5608. public static GetActiveFolder():FairyEditor.FPackageItem;
  5609. public static QueryToClose($restart: boolean):void;
  5610. public static Close():void;
  5611. public static Alert($msg: string):void;
  5612. public static Alert($msg: string, $err: System.Exception):void;
  5613. public static Alert($msg: string, $err: System.Exception, $callback: System.Action):void;
  5614. public static Confirm($msg: string, $callback: System.Action$1<string>):void;
  5615. public static Input($msg: string, $text: string, $callback: System.Action$1<string>):void;
  5616. public static SetWaitCursor($value: boolean):void;
  5617. public static ShowWaiting():void;
  5618. public static ShowWaiting($msg: string):void;
  5619. public static ShowWaiting($msg: string, $cancelCallback: System.Action):void;
  5620. public static CloseWaiting():void;
  5621. public static SetVar($key: string, $value: any):void;
  5622. public static On($eventType: string, $callback: FairyGUI.EventCallback1):void;
  5623. public static Off($eventType: string, $callback: FairyGUI.EventCallback1):void;
  5624. public static Dispatch($eventType: string, $eventData?: any):void;
  5625. public static ChangeColorSapce($colorSpace: UnityEngine.ColorSpace):void;
  5626. }
  5627. class Preferences extends System.Object {
  5628. public language: string;
  5629. public checkNewVersion: string;
  5630. public genComPreview: boolean;
  5631. public meaningfullChildName: boolean;
  5632. public hideInvisibleChild: boolean;
  5633. public publishAction: string;
  5634. public saveBeforePublish: boolean;
  5635. public PNGCompressionToolPath: string;
  5636. public hotkeys: System.Collections.Generic.Dictionary$2<string, string>;
  5637. public constructor();
  5638. public Load():void;
  5639. public Save():void;
  5640. }
  5641. class LocalStore extends System.Object {
  5642. public constructor();
  5643. public Set($key: string, $value: any):void;
  5644. public Load():void;
  5645. public Save():void;
  5646. }
  5647. class HotkeyManager extends System.Object {
  5648. public functions: System.Collections.Generic.List$1<FairyEditor.HotkeyManager.FunctionDef>;
  5649. public constructor();
  5650. public Init():void;
  5651. public SetHotkey($funcId: string, $hotkey: string):void;
  5652. public ResetHotkey($funcId: string):void;
  5653. public ResetAll():void;
  5654. public CaptureHotkey($receiver: FairyGUI.GObject):void;
  5655. public GetFunctionDef($funcId: string):FairyEditor.HotkeyManager.FunctionDef;
  5656. public GetFunction($evt: FairyGUI.InputEvent, $code: $Ref<number>):string;
  5657. public TranslateKey($hotkey: string):number;
  5658. }
  5659. class FProject extends System.Object {
  5660. public isMain: boolean;
  5661. public _globalFontVersion: number;
  5662. public static FILE_EXT: string;
  5663. public static ASSETS_PATH: string;
  5664. public static SETTINGS_PATH: string;
  5665. public static OBJS_PATH: string;
  5666. public versionCode: number;
  5667. public serialNumberSeed: string;
  5668. public lastChanged: number;
  5669. public opened: boolean;
  5670. public id: string;
  5671. public name: string;
  5672. public type: string;
  5673. public supportAtlas: boolean;
  5674. public isH5: boolean;
  5675. public supportExtractAlpha: boolean;
  5676. public supportAlphaMask: boolean;
  5677. public zipFormatOption: boolean;
  5678. public binaryFormatOption: boolean;
  5679. public supportCustomFileExtension: boolean;
  5680. public basePath: string;
  5681. public assetsPath: string;
  5682. public objsPath: string;
  5683. public settingsPath: string;
  5684. public activeBranch: string;
  5685. public allPackages: System.Collections.Generic.List$1<FairyEditor.FPackage>;
  5686. public allBranches: System.Collections.Generic.List$1<string>;
  5687. public constructor($main?: boolean);
  5688. public SetChanged():void;
  5689. public static CreateNew($projectPath: string, $name: string, $type: string, $pkgName?: string):void;
  5690. public Open($projectDescFile: string):void;
  5691. public ScanBranches():boolean;
  5692. public Dispose():void;
  5693. public GetSettings($name: string):FairyEditor.SettingsBase;
  5694. public LoadAllSettings():void;
  5695. public Rename($newName: string):void;
  5696. public GetPackage($packageId: string):FairyEditor.FPackage;
  5697. public GetPackageByName($packageName: string):FairyEditor.FPackage;
  5698. public CreatePackage($newName: string):FairyEditor.FPackage;
  5699. public AddPackage($folder: string):FairyEditor.FPackage;
  5700. public DeletePackage($packageId: string):void;
  5701. public Save():void;
  5702. public GetItemByURL($url: string):FairyEditor.FPackageItem;
  5703. public GetItem($pkgId: string, $itemId: string):FairyEditor.FPackageItem;
  5704. public FindItemByFile($file: string):FairyEditor.FPackageItem;
  5705. public GetItemNameByURL($url: string):string;
  5706. public CreateBranch($branchName: string):void;
  5707. public RenameBranch($oldName: string, $newName: string):void;
  5708. public RemoveBranch($branchName: string):void;
  5709. public RegisterComExtension($name: string, $className: string, $superClassName: string):void;
  5710. public GetComExtension($className: string):FairyEditor.ComExtensionDef;
  5711. public GetComExtensionNames():System.Collections.Generic.List$1<string>;
  5712. public ClearComExtensions():void;
  5713. public static ValidateName($newName: string):string;
  5714. }
  5715. class WorkspaceSettings extends System.Object {
  5716. public constructor();
  5717. public Set($key: string, $value: any):void;
  5718. public Load():void;
  5719. public Save():void;
  5720. }
  5721. class ViewManager extends FairyGUI.GComponent {
  5722. public playMode: boolean;
  5723. public viewIds: System.Collections.Generic.List$1<string>;
  5724. public lastFocusedView: FairyGUI.GComponent;
  5725. public constructor();
  5726. public AddView($view: FairyGUI.GComponent, $viewId: string, $options: FairyEditor.ViewOptions):FairyGUI.GComponent;
  5727. public RemoveView($viewId: string):void;
  5728. public GetView($viewId: string):FairyGUI.GComponent;
  5729. public IsViewShowing($viewId: string):boolean;
  5730. public SetViewTitle($viewId: string, $title: string):void;
  5731. public ShowView($viewId: string):void;
  5732. public HideView($viewId: string):void;
  5733. public LoadLayout():void;
  5734. public ResetLayout():void;
  5735. public SaveLayout():void;
  5736. public ShowTabMenu($view: FairyGUI.GComponent):void;
  5737. public OnDragGridStart($grid: FairyEditor.Component.ViewGrid, $tabButton: FairyGUI.GObject):void;
  5738. }
  5739. class DragDropManager extends System.Object {
  5740. public agent: FairyGUI.GObject;
  5741. public dragging: boolean;
  5742. public constructor();
  5743. public StartDrag($source?: FairyGUI.GObject, $sourceData?: any, $icon?: any, $cursor?: string, $onComplete?: System.Action$2<FairyGUI.GObject, any>, $onCancel?: System.Action$2<FairyGUI.GObject, any>, $onMove?: System.Action$3<FairyGUI.GObject, any, FairyGUI.EventContext>):void;
  5744. public Cancel():void;
  5745. }
  5746. class PluginManager extends System.Object {
  5747. public allPlugins: System.Collections.Generic.List$1<FairyEditor.PluginManager.PluginInfo>;
  5748. public userPluginFolder: string;
  5749. public projectPluginFolder: string;
  5750. public basePath: string;
  5751. public constructor();
  5752. public Dispose():void;
  5753. public Load():void;
  5754. public LoadUIPackage($filePath: string):void;
  5755. public SetHotkey($hotkey: string, $callback: System.Action):void;
  5756. public HandleHotkey($keyCode: number):boolean;
  5757. public CreateNewPlugin($name: string, $displayName: string, $icon: string, $desc: string, $template: string):void;
  5758. }
  5759. class FPackageItem extends System.Object {
  5760. public exported: boolean;
  5761. public favorite: boolean;
  5762. public isError: boolean;
  5763. public owner: FairyEditor.FPackage;
  5764. public parent: FairyEditor.FPackageItem;
  5765. public type: string;
  5766. public id: string;
  5767. public path: string;
  5768. public branch: string;
  5769. public isRoot: boolean;
  5770. public isBranchRoot: boolean;
  5771. public name: string;
  5772. public file: string;
  5773. public fileName: string;
  5774. public modificationTime: Date;
  5775. public sortKey: string;
  5776. public version: number;
  5777. public width: number;
  5778. public height: number;
  5779. public thumbnail: FairyGUI.NTexture;
  5780. public children: System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  5781. public folderAtlas: string;
  5782. public supportAtlas: boolean;
  5783. public supportResolution: boolean;
  5784. public title: string;
  5785. public contentHash: string;
  5786. public isDisposed: boolean;
  5787. public constructor($owner: FairyEditor.FPackage, $type: string, $id: string);
  5788. public add_onChanged($value: System.Action$1<FairyEditor.FPackageItem>):void;
  5789. public remove_onChanged($value: System.Action$1<FairyEditor.FPackageItem>):void;
  5790. public add_onAlternativeAdded($value: System.Action$1<FairyEditor.FPackageItem>):void;
  5791. public remove_onAlternativeAdded($value: System.Action$1<FairyEditor.FPackageItem>):void;
  5792. public MatchName($key: string):boolean;
  5793. public GetURL():string;
  5794. public GetIcon($opened?: boolean, $big?: boolean, $thumbnail?: boolean):string;
  5795. public CopySettings($source: FairyEditor.FPackageItem):void;
  5796. public SetFile($path: string, $fileName: string, $checkStatus?: boolean):void;
  5797. public SetChanged():void;
  5798. public Touch():void;
  5799. public SetUptoDate():void;
  5800. public FileExists():boolean;
  5801. public GetAsset():FairyEditor.AssetBase;
  5802. public ReadAssetSettings($xml: FairyGUI.Utils.XML):void;
  5803. public OpenWithDefaultApplication():void;
  5804. public GetBranch($branchName: string):FairyEditor.FPackageItem;
  5805. public GetTrunk():FairyEditor.FPackageItem;
  5806. public GetHighResolution($scaleLevel: number):FairyEditor.FPackageItem;
  5807. public GetStdResolution():FairyEditor.FPackageItem;
  5808. public GetAtlasIndex():number;
  5809. public SetVar($key: string, $value: any):void;
  5810. public AddRef():void;
  5811. public ReleaseRef():void;
  5812. public UnloadAsset($timestamp?: number):void;
  5813. public Dispose():void;
  5814. public Serialize($forPublish?: boolean):FairyGUI.Utils.XML;
  5815. }
  5816. class Bootstrap extends UnityEngine.MonoBehaviour {
  5817. public constructor();
  5818. }
  5819. class LoaderExtension extends FairyGUI.GLoader {
  5820. public constructor();
  5821. }
  5822. class AniSprite extends FairyGUI.Image {
  5823. public onPlayEnd: FairyGUI.EventListener;
  5824. public animation: FairyEditor.AniData;
  5825. public playing: boolean;
  5826. public frame: number;
  5827. public frameCount: number;
  5828. public constructor();
  5829. public Rewind():void;
  5830. public Advance($time: number):void;
  5831. public SetPlaySettings():void;
  5832. public SetPlaySettings($start: number, $end: number, $times: number, $endAt: number):void;
  5833. public StepNext():void;
  5834. public StepPrev():void;
  5835. }
  5836. class AniData extends System.Object {
  5837. public version: number;
  5838. public boundsRect: UnityEngine.Rect;
  5839. public fps: number;
  5840. public speed: number;
  5841. public repeatDelay: number;
  5842. public swing: boolean;
  5843. public frameList: System.Collections.Generic.List$1<FairyEditor.AniData.Frame>;
  5844. public spriteList: System.Collections.Generic.List$1<FairyEditor.AniData.FrameSprite>;
  5845. public static FILE_MARK: string;
  5846. public frameCount: number;
  5847. public constructor();
  5848. public Load($file: string):void;
  5849. public Load($ba: FairyGUI.Utils.ByteBuffer):void;
  5850. public Save($file: string):void;
  5851. public Save():System.Array$1<number>;
  5852. public CalculateBoundsRect():void;
  5853. public CopySettings($source: FairyEditor.AniData):void;
  5854. public CopyFrom($source: FairyEditor.AniData):void;
  5855. public Reset($ownsTexture?: boolean):void;
  5856. public ImportImages($images: System.Collections.Generic.IList$1<string>, $CompressPng: boolean):void;
  5857. }
  5858. class AniAsset extends FairyEditor.AssetBase {
  5859. public smoothing: boolean;
  5860. public atlas: string;
  5861. public animation: FairyEditor.AniData;
  5862. public constructor($packageItem: FairyEditor.FPackageItem);
  5863. public Load():System.Threading.Tasks.Task;
  5864. }
  5865. class AssetBase extends System.Object {
  5866. public isLoading: boolean;
  5867. public isLoaded: boolean;
  5868. public constructor($item: FairyEditor.FPackageItem);
  5869. public ReadSettings($xml: FairyGUI.Utils.XML):void;
  5870. public WriteSettings($xml: FairyGUI.Utils.XML, $forPublish: boolean):void;
  5871. public LoadMeta():void;
  5872. public Unload():void;
  5873. public Dispose():void;
  5874. public GetThumbnail():FairyGUI.NTexture;
  5875. }
  5876. class BmFontData extends System.Object {
  5877. public face: string;
  5878. public xadvance: number;
  5879. public canTint: boolean;
  5880. public resizable: boolean;
  5881. public fontSize: number;
  5882. public lineHeight: number;
  5883. public atlasFile: string;
  5884. public pages: number;
  5885. public hasChannel: boolean;
  5886. public baseline: number;
  5887. public packed: number;
  5888. public alphaChnl: number;
  5889. public redChnl: number;
  5890. public greenChnl: number;
  5891. public blueChnl: number;
  5892. public glyphs: System.Collections.Generic.List$1<FairyEditor.BmFontData.Glyph>;
  5893. public constructor();
  5894. public Load($content: string, $lazyLoadChars?: boolean):void;
  5895. public LoadChars():void;
  5896. public Build():string;
  5897. }
  5898. class ComponentAsset extends FairyEditor.AssetBase {
  5899. public extension: string;
  5900. public xml: FairyGUI.Utils.XML;
  5901. public displayList: System.Collections.Generic.List$1<FairyEditor.ComponentAsset.DisplayListItem>;
  5902. public constructor($packageItem: FairyEditor.FPackageItem);
  5903. public GetCustomProperties():System.Collections.Generic.IList$1<FairyEditor.ComProperty>;
  5904. public GetControllerPages($name: string, $pageNames: System.Collections.Generic.List$1<string>, $pageIds: System.Collections.Generic.List$1<string>):void;
  5905. public CreateObject($item: FairyEditor.FPackageItem, $flags?: number):System.Threading.Tasks.Task$1<FairyEditor.FComponent>;
  5906. }
  5907. class ComProperty extends System.Object {
  5908. public target: string;
  5909. public propertyId: number;
  5910. public label: string;
  5911. public value: any;
  5912. public constructor();
  5913. public CopyFrom($source: FairyEditor.ComProperty):void;
  5914. }
  5915. class FComponent extends FairyEditor.FObject {
  5916. public customExtentionId: string;
  5917. public initName: string;
  5918. public designImage: string;
  5919. public designImageOffsetX: number;
  5920. public designImageOffsetY: number;
  5921. public designImageAlpha: number;
  5922. public designImageLayer: number;
  5923. public designImageForTest: boolean;
  5924. public bgColor: UnityEngine.Color;
  5925. public bgColorEnabled: boolean;
  5926. public hitTestSource: FairyEditor.FObject;
  5927. public mask: FairyEditor.FObject;
  5928. public reversedMask: boolean;
  5929. public remark: string;
  5930. public headerRes: string;
  5931. public footerRes: string;
  5932. public showSound: string;
  5933. public hideSound: string;
  5934. public numChildren: number;
  5935. public children: System.Collections.Generic.List$1<FairyEditor.FObject>;
  5936. public controllers: System.Collections.Generic.List$1<FairyEditor.FController>;
  5937. public transitions: FairyEditor.FTransitions;
  5938. public customProperties: System.Collections.Generic.List$1<FairyEditor.ComProperty>;
  5939. public bounds: UnityEngine.Rect;
  5940. public extention: FairyEditor.ComExtention;
  5941. public extentionId: string;
  5942. public scrollPane: FairyEditor.FScrollPane;
  5943. public overflow: string;
  5944. public overflow2: string;
  5945. public scroll: string;
  5946. public scrollBarFlags: number;
  5947. public scrollBarDisplay: string;
  5948. public margin: FairyEditor.FMargin;
  5949. public marginStr: string;
  5950. public scrollBarMargin: FairyEditor.FMargin;
  5951. public scrollBarMarginStr: string;
  5952. public hzScrollBarRes: string;
  5953. public vtScrollBarRes: string;
  5954. public clipSoftnessX: number;
  5955. public clipSoftnessY: number;
  5956. public viewWidth: number;
  5957. public viewHeight: number;
  5958. public opaque: boolean;
  5959. public text: string;
  5960. public icon: string;
  5961. public childrenRenderOrder: string;
  5962. public apexIndex: number;
  5963. public pageController: string;
  5964. public pageControllerObj: FairyEditor.FController;
  5965. public scriptData: FairyGUI.Utils.XML;
  5966. public constructor($flags: number);
  5967. public AddChild($child: FairyEditor.FObject):FairyEditor.FObject;
  5968. public AddChildAt($child: FairyEditor.FObject, $index: number):FairyEditor.FObject;
  5969. public RemoveChild($child: FairyEditor.FObject, $dispose?: boolean):FairyEditor.FObject;
  5970. public RemoveChildAt($index: number, $dispose?: boolean):FairyEditor.FObject;
  5971. public RemoveChildren($beginIndex?: number, $endIndex?: number, $dispose?: boolean):void;
  5972. public GetChildAt($index: number):FairyEditor.FObject;
  5973. public GetChild($name: string):FairyEditor.FObject;
  5974. public GetChildByPath($path: string):FairyEditor.FObject;
  5975. public GetChildById($id: string):FairyEditor.FObject;
  5976. public GetChildIndex($child: FairyEditor.FObject):number;
  5977. public SetChildIndex($child: FairyEditor.FObject, $index: number):void;
  5978. public SwapChildren($child1: FairyEditor.FObject, $child2: FairyEditor.FObject):void;
  5979. public SwapChildrenAt($index1: number, $index2: number):void;
  5980. public AddController($controller: FairyEditor.FController, $applyNow?: boolean):void;
  5981. public GetController($name: string):FairyEditor.FController;
  5982. public RemoveController($c: FairyEditor.FController):void;
  5983. public UpdateChildrenVisible():void;
  5984. public UpdateDisplayList($immediatelly?: boolean):void;
  5985. public GetSnappingPosition($xValue: number, $yValue: number):UnityEngine.Vector2;
  5986. public EnsureBoundsCorrect():void;
  5987. public SetBoundsChangedFlag():void;
  5988. public GetBounds():UnityEngine.Rect;
  5989. public SetBounds($ax: number, $ay: number, $aw: number, $ah: number):void;
  5990. public ApplyController($c: FairyEditor.FController):void;
  5991. public ApplyAllControllers():void;
  5992. public AdjustRadioGroupDepth($obj: FairyEditor.FObject, $c: FairyEditor.FController):void;
  5993. public GetCustomProperty($target: string, $propertyId: number):FairyEditor.ComProperty;
  5994. public ApplyCustomProperty($cp: FairyEditor.ComProperty):void;
  5995. public UpdateOverflow():void;
  5996. public Write_editMode():FairyGUI.Utils.XML;
  5997. public ValidateChildren($checkOnly?: boolean):boolean;
  5998. public CreateChild($xml: FairyGUI.Utils.XML):FairyEditor.FObject;
  5999. public GetChildrenInfo():string;
  6000. public GetNextId():string;
  6001. public IsIdInUse($val: string):boolean;
  6002. public ContainsComponent($pi: FairyEditor.FPackageItem):boolean;
  6003. public NotifyChildReplaced($source: FairyEditor.FObject, $target: FairyEditor.FObject):void;
  6004. }
  6005. class FObject extends FairyGUI.EventDispatcher {
  6006. public _parent: FairyEditor.FComponent;
  6007. public _id: string;
  6008. public _width: number;
  6009. public _height: number;
  6010. public _rawWidth: number;
  6011. public _rawHeight: number;
  6012. public _widthEnabled: boolean;
  6013. public _heightEnabled: boolean;
  6014. public _renderDepth: number;
  6015. public _outlineVersion: number;
  6016. public _opened: boolean;
  6017. public _group: FairyEditor.FGroup;
  6018. public _sizePercentInGroup: number;
  6019. public _gearLocked: boolean;
  6020. public _internalVisible: boolean;
  6021. public _hasSnapshot: boolean;
  6022. public _treeNode: FairyEditor.FTreeNode;
  6023. public _pivotFromSource: boolean;
  6024. public _pkg: FairyEditor.FPackage;
  6025. public _res: FairyEditor.ResourceRef;
  6026. public _objectType: string;
  6027. public _docElement: FairyEditor.View.DocElement;
  6028. public _flags: number;
  6029. public _underConstruct: boolean;
  6030. public sourceWidth: number;
  6031. public sourceHeight: number;
  6032. public initWidth: number;
  6033. public initHeight: number;
  6034. public customData: string;
  6035. public static loadingSnapshot: boolean;
  6036. public static MAX_GEAR_INDEX: number;
  6037. public id: string;
  6038. public name: string;
  6039. public objectType: string;
  6040. public pkg: FairyEditor.FPackage;
  6041. public docElement: FairyEditor.View.DocElement;
  6042. public touchable: boolean;
  6043. public touchDisabled: boolean;
  6044. public grayed: boolean;
  6045. public enabled: boolean;
  6046. public resourceURL: string;
  6047. public x: number;
  6048. public y: number;
  6049. public xy: UnityEngine.Vector2;
  6050. public xMin: number;
  6051. public xMax: number;
  6052. public yMin: number;
  6053. public yMax: number;
  6054. public height: number;
  6055. public width: number;
  6056. public size: UnityEngine.Vector2;
  6057. public minWidth: number;
  6058. public minHeight: number;
  6059. public maxWidth: number;
  6060. public maxHeight: number;
  6061. public actualWidth: number;
  6062. public actualHeight: number;
  6063. public scaleX: number;
  6064. public scaleY: number;
  6065. public aspectLocked: boolean;
  6066. public aspectRatio: number;
  6067. public skewX: number;
  6068. public skewY: number;
  6069. public pivotX: number;
  6070. public pivotY: number;
  6071. public anchor: boolean;
  6072. public locked: boolean;
  6073. public hideByEditor: boolean;
  6074. public useSourceSize: boolean;
  6075. public rotation: number;
  6076. public alpha: number;
  6077. public visible: boolean;
  6078. public internalVisible: boolean;
  6079. public internalVisible2: boolean;
  6080. public internalVisible3: boolean;
  6081. public groupId: string;
  6082. public tooltips: string;
  6083. public filterData: FairyEditor.FilterData;
  6084. public filter: string;
  6085. public blendMode: string;
  6086. public relations: FairyEditor.FRelations;
  6087. public displayObject: FairyEditor.FDisplayObject;
  6088. public parent: FairyEditor.FComponent;
  6089. public text: string;
  6090. public icon: string;
  6091. public errorStatus: boolean;
  6092. public topmost: FairyEditor.FComponent;
  6093. public constructor($flags: number);
  6094. public SetXY($xv: number, $yv: number):void;
  6095. public SetTopLeft($xv: number, $yv: number):void;
  6096. public SetSize($wv: number, $hv: number, $ignorePivot?: boolean, $dontCheckLock?: boolean):void;
  6097. public SetScale($sx: number, $sy: number):void;
  6098. public SetSkew($xv: number, $yv: number):void;
  6099. public SetPivot($xv: number, $yv: number, $asAnchor: boolean):void;
  6100. public InGroup($group: FairyEditor.FGroup):boolean;
  6101. public GetGear($index: number, $createIfNull?: boolean):FairyEditor.Framework.Gears.IGear;
  6102. public UpdateGear($index: number):void;
  6103. public UpdateGearFromRelations($index: number, $dx: number, $dy: number):void;
  6104. public SupportGear($index: number):boolean;
  6105. public ValidateGears():void;
  6106. public CheckGearController($index: number, $c: FairyEditor.FController):boolean;
  6107. public CheckGearsController($c: FairyEditor.FController):boolean;
  6108. public AddDisplayLock():number;
  6109. public ReleaseDisplayLock($token: number):void;
  6110. public CheckGearDisplay():void;
  6111. public RemoveFromParent():void;
  6112. public LocalToGlobal($pt: UnityEngine.Vector2):UnityEngine.Vector2;
  6113. public GlobalToLocal($pt: UnityEngine.Vector2):UnityEngine.Vector2;
  6114. public static cast($obj: FairyGUI.DisplayObject):FairyEditor.FObject;
  6115. public HandleXYChanged():void;
  6116. public HandleSizeChanged():void;
  6117. public HandleGrayedChanged():void;
  6118. public HandleAlphaChanged():void;
  6119. public HandleVisibleChanged():void;
  6120. public HandleControllerChanged($c: FairyEditor.FController):void;
  6121. public GetProperty($propName: string):any;
  6122. public SetProperty($propName: string, $value: any):void;
  6123. public GetProp($index: FairyEditor.ObjectPropID):any;
  6124. public SetProp($index: FairyEditor.ObjectPropID, $value: any):void;
  6125. public IsObsolete():boolean;
  6126. public Validate($checkOnly?: boolean):boolean;
  6127. public GetDetailString():string;
  6128. public Create():void;
  6129. public Dispose():void;
  6130. public Recreate():void;
  6131. public Read_beforeAdd($xml: FairyGUI.Utils.XML, $strings: System.Collections.Generic.Dictionary$2<string, string>):void;
  6132. public Read_afterAdd($xml: FairyGUI.Utils.XML, $strings: System.Collections.Generic.Dictionary$2<string, string>):void;
  6133. public Write():FairyGUI.Utils.XML;
  6134. public TakeSnapshot($ss: FairyEditor.ObjectSnapshot):void;
  6135. public ReadSnapshot($ss: FairyEditor.ObjectSnapshot):void;
  6136. }
  6137. class DragonBonesAsset extends FairyEditor.SkeletonAsset {
  6138. public data: DragonBones.DragonBonesData;
  6139. public constructor($packageItem: FairyEditor.FPackageItem);
  6140. public static ParseBounds($sourceFile: string, $bounds: $Ref<UnityEngine.Rect>):void;
  6141. public Load():System.Threading.Tasks.Task;
  6142. }
  6143. class SkeletonAsset extends FairyEditor.AssetBase {
  6144. public files: System.Array$1<string>;
  6145. public atlasNames: System.Array$1<string>;
  6146. public anchorX: number;
  6147. public anchorY: number;
  6148. public shader: string;
  6149. public pma: boolean;
  6150. public constructor($packageItem: FairyEditor.FPackageItem);
  6151. }
  6152. class FBitmapFont extends FairyGUI.BitmapFont {
  6153. public fontData: FairyEditor.BmFontData;
  6154. public usingAtlas: boolean;
  6155. public branch: string;
  6156. public constructor($packageItem: FairyEditor.FPackageItem);
  6157. public constructor($parent: FairyEditor.FBitmapFont, $branch: string, $scaleLevel: number);
  6158. public GetSubFont($branch: string, $scaleLevel: number):FairyEditor.FBitmapFont;
  6159. }
  6160. class FontAsset extends FairyEditor.AssetBase {
  6161. public texture: string;
  6162. public samplePointSize: number;
  6163. public renderMode: string;
  6164. public italicStyle: number;
  6165. public boldWeight: number;
  6166. public static DefaultItalicStyle: number;
  6167. public static DefaultBoldWeight: number;
  6168. public fontType: FairyEditor.FontAsset.FontType;
  6169. public constructor($packageItem: FairyEditor.FPackageItem);
  6170. public static IsTTF($file: string):boolean;
  6171. public GetFont($flags: number):FairyGUI.BaseFont;
  6172. public GetFont($branch: string, $scaleLevel: number):FairyGUI.BaseFont;
  6173. public static ParseRenderMode($str: string):UnityEngine.TextCore.LowLevel.GlyphRenderMode;
  6174. }
  6175. class ImageAsset extends FairyEditor.AssetBase {
  6176. public scale9Grid: UnityEngine.Rect;
  6177. public scaleOption: string;
  6178. public qualityOption: string;
  6179. public quality: number;
  6180. public smoothing: boolean;
  6181. public gridTile: number;
  6182. public atlas: string;
  6183. public duplicatePadding: boolean;
  6184. public disableTrim: boolean;
  6185. public svgWidth: number;
  6186. public svgHeight: number;
  6187. public static QUALITY_DEFAULT: string;
  6188. public static QUALITY_SOURCE: string;
  6189. public static QUALITY_CUSTOM: string;
  6190. public static SCALE_9GRID: string;
  6191. public static SCALE_TILE: string;
  6192. public texture: FairyGUI.NTexture;
  6193. public converting: boolean;
  6194. public format: string;
  6195. public targetQuality: number;
  6196. public file: string;
  6197. public constructor($packageItem: FairyEditor.FPackageItem);
  6198. public LoadTexture():System.Threading.Tasks.Task;
  6199. public LoadForPublish($trim: boolean):System.Threading.Tasks.Task;
  6200. }
  6201. class SoundAsset extends FairyEditor.AssetBase {
  6202. public audio: UnityEngine.AudioClip;
  6203. public constructor($packageItem: FairyEditor.FPackageItem);
  6204. public Play($volumeScale?: number):void;
  6205. }
  6206. class SpineAsset extends FairyEditor.SkeletonAsset {
  6207. public data: Spine.Unity.SkeletonDataAsset;
  6208. public constructor($packageItem: FairyEditor.FPackageItem);
  6209. public Load():System.Threading.Tasks.Task;
  6210. public static ParseBounds($sourceFile: string, $bounds: $Ref<UnityEngine.Rect>):void;
  6211. }
  6212. class ComExtensionDef extends System.Object {
  6213. public name: string;
  6214. public className: string;
  6215. public superClassName: string;
  6216. public constructor();
  6217. }
  6218. class ComExtention extends FairyGUI.EventDispatcher {
  6219. public _type: string;
  6220. public owner: FairyEditor.FComponent;
  6221. public text: string;
  6222. public icon: string;
  6223. public constructor();
  6224. public Create():void;
  6225. public Dispose():void;
  6226. public Read_editMode($xml: FairyGUI.Utils.XML):void;
  6227. public Write_editMode():FairyGUI.Utils.XML;
  6228. public Read($xml: FairyGUI.Utils.XML, $strings: System.Collections.Generic.Dictionary$2<string, string>):void;
  6229. public Write():FairyGUI.Utils.XML;
  6230. public HandleControllerChanged($c: FairyEditor.FController):void;
  6231. public GetProp($index: FairyEditor.ObjectPropID):any;
  6232. public SetProp($index: FairyEditor.ObjectPropID, $value: any):void;
  6233. public GetProperty($propName: string):any;
  6234. public SetProperty($propName: string, $value: any):void;
  6235. }
  6236. class FController extends FairyGUI.EventDispatcher {
  6237. public name: string;
  6238. public autoRadioGroupDepth: boolean;
  6239. public exported: boolean;
  6240. public alias: string;
  6241. public homePageType: string;
  6242. public homePage: string;
  6243. public parent: FairyEditor.FComponent;
  6244. public changing: boolean;
  6245. public selectedIndex: number;
  6246. public previsousIndex: number;
  6247. public selectedPage: string;
  6248. public selectedPageId: string;
  6249. public oppositePageId: string;
  6250. public previousPage: string;
  6251. public previousPageId: string;
  6252. public pageCount: number;
  6253. public constructor();
  6254. public SetSelectedIndex($value: number):void;
  6255. public GetPages():System.Collections.Generic.List$1<FairyEditor.FControllerPage>;
  6256. public GetPageIds($ret?: System.Collections.Generic.List$1<string>):System.Collections.Generic.List$1<string>;
  6257. public GetPageNames($ret?: System.Collections.Generic.List$1<string>):System.Collections.Generic.List$1<string>;
  6258. public HasPageId($value: string):boolean;
  6259. public HasPageName($value: string):boolean;
  6260. public GetNameById($id: string, $emptyMsg: string):string;
  6261. public GetNamesByIds($ids: System.Collections.IList, $emptyMsg: string):string;
  6262. public AddPage($name: string):FairyEditor.FControllerPage;
  6263. public AddPageAt($name: string, $index: number):FairyEditor.FControllerPage;
  6264. public RemovePageAt($index: number):void;
  6265. public SetPages($pages: System.Collections.Generic.IList$1<string>):void;
  6266. public SwapPage($index1: number, $index2: number):void;
  6267. public GetActions():System.Collections.Generic.List$1<FairyEditor.FControllerAction>;
  6268. public AddAction($type: string):FairyEditor.FControllerAction;
  6269. public RemoveAction($action: FairyEditor.FControllerAction):void;
  6270. public SwapAction($index1: number, $index2: number):void;
  6271. public RunActions():void;
  6272. public Read($xml: FairyGUI.Utils.XML):void;
  6273. public Write():FairyGUI.Utils.XML;
  6274. public Reset():void;
  6275. }
  6276. enum ObjectPropID { Text = 0, Icon = 1, Color = 2, OutlineColor = 3, Playing = 4, Frame = 5, DeltaTime = 6, TimeScale = 7, FontSize = 8, Selected = 9 }
  6277. class FEvents extends System.Object {
  6278. public static POS_CHANGED: string;
  6279. public static SIZE_CHANGED: string;
  6280. public static CHANGED: string;
  6281. public static PLAY_END: string;
  6282. public static SUBMIT: string;
  6283. public static ADDED: string;
  6284. public static REMOVED: string;
  6285. public static CLICK_ITEM: string;
  6286. }
  6287. class AlignConst extends System.Object {
  6288. public static LEFT: string;
  6289. public static CENTER: string;
  6290. public static RIGHT: string;
  6291. public static Parse($str: string):FairyGUI.AlignType;
  6292. public static ToString($type: FairyGUI.AlignType):string;
  6293. public ToString():string;
  6294. }
  6295. class VerticalAlignConst extends System.Object {
  6296. public static TOP: string;
  6297. public static MIDDLE: string;
  6298. public static BOTTOM: string;
  6299. public static Parse($str: string):FairyGUI.VertAlignType;
  6300. public static ToString($type: FairyGUI.VertAlignType):string;
  6301. public ToString():string;
  6302. }
  6303. class AutoSizeConst extends System.Object {
  6304. public static NONE: string;
  6305. public static HEIGHT: string;
  6306. public static BOTH: string;
  6307. public static SHRINK: string;
  6308. public static Parse($str: string):FairyGUI.AutoSizeType;
  6309. public static ToString($type: FairyGUI.AutoSizeType):string;
  6310. public ToString():string;
  6311. }
  6312. class OverflowConst extends System.Object {
  6313. public static VISIBLE: string;
  6314. public static HIDDEN: string;
  6315. public static SCROLL: string;
  6316. }
  6317. class ScrollBarDisplayConst extends System.Object {
  6318. public static DEFAULT: string;
  6319. public static VISIBLE: string;
  6320. public static AUTO: string;
  6321. public static HIDDEN: string;
  6322. }
  6323. class ScrollConst extends System.Object {
  6324. public static HORIZONTAL: string;
  6325. public static VERTICAL: string;
  6326. public static BOTH: string;
  6327. }
  6328. class FlipConst extends System.Object {
  6329. public static NONE: string;
  6330. public static HZ: string;
  6331. public static VT: string;
  6332. public static BOTH: string;
  6333. public static Parse($str: string):FairyGUI.FlipType;
  6334. }
  6335. class LoaderFillConst extends System.Object {
  6336. public static NONE: string;
  6337. public static SCALE_SHOW_ALL: string;
  6338. public static SCALE_NO_BORDER: string;
  6339. public static SCALE_MATCH_HEIGHT: string;
  6340. public static SCALE_MATCH_WIDTH: string;
  6341. public static SCALE_FREE: string;
  6342. }
  6343. class FillMethodConst extends System.Object {
  6344. public static Parse($str: string):FairyGUI.FillMethod;
  6345. }
  6346. class EaseTypeConst extends System.Object {
  6347. public static easeType: System.Array$1<string>;
  6348. public static easeInOutType: System.Array$1<string>;
  6349. public static Parse($value: string):FairyGUI.EaseType;
  6350. }
  6351. class FButton extends FairyEditor.ComExtention {
  6352. public changeStageOnClick: boolean;
  6353. public static COMMON: string;
  6354. public static CHECK: string;
  6355. public static RADIO: string;
  6356. public static UP: string;
  6357. public static DOWN: string;
  6358. public static OVER: string;
  6359. public static SELECTED_OVER: string;
  6360. public static DISABLED: string;
  6361. public static SELECTED_DISABLED: string;
  6362. public icon: string;
  6363. public selectedIcon: string;
  6364. public title: string;
  6365. public text: string;
  6366. public selectedTitle: string;
  6367. public titleColor: UnityEngine.Color;
  6368. public titleColorSet: boolean;
  6369. public titleFontSize: number;
  6370. public titleFontSizeSet: boolean;
  6371. public sound: string;
  6372. public volume: number;
  6373. public baseSound: string;
  6374. public baseVolume: number;
  6375. public soundSet: boolean;
  6376. public downEffect: string;
  6377. public downEffectValue: number;
  6378. public selected: boolean;
  6379. public mode: string;
  6380. public controller: string;
  6381. public controllerObj: FairyEditor.FController;
  6382. public page: string;
  6383. public constructor();
  6384. public GetTextField():FairyEditor.FTextField;
  6385. public HandleGrayChanged():boolean;
  6386. }
  6387. class FTextField extends FairyEditor.FObject {
  6388. public clearOnPublish: boolean;
  6389. public text: string;
  6390. public textFormat: FairyGUI.TextFormat;
  6391. public supportProEffect: boolean;
  6392. public font: string;
  6393. public fontSize: number;
  6394. public color: UnityEngine.Color;
  6395. public align: string;
  6396. public verticalAlign: string;
  6397. public leading: number;
  6398. public letterSpacing: number;
  6399. public underline: boolean;
  6400. public bold: boolean;
  6401. public italic: boolean;
  6402. public strike: boolean;
  6403. public stroke: boolean;
  6404. public strokeColor: UnityEngine.Color;
  6405. public strokeSize: number;
  6406. public shadowY: number;
  6407. public shadowX: number;
  6408. public shadow: boolean;
  6409. public shadowColor: UnityEngine.Color;
  6410. public outlineSoftness: number;
  6411. public underlaySoftness: number;
  6412. public faceDilate: number;
  6413. public ubbEnabled: boolean;
  6414. public varsEnabled: boolean;
  6415. public autoSize: string;
  6416. public singleLine: boolean;
  6417. public constructor($flags: number);
  6418. public InitFrom($other: FairyEditor.FTextField):void;
  6419. public CopyTextFormat($source: FairyEditor.FTextField):void;
  6420. }
  6421. class FComboBox extends FairyEditor.ComExtention {
  6422. public clearOnPublish: boolean;
  6423. public title: string;
  6424. public text: string;
  6425. public icon: string;
  6426. public titleColor: UnityEngine.Color;
  6427. public titleColorSet: boolean;
  6428. public dropdown: string;
  6429. public visibleItemCount: number;
  6430. public direction: string;
  6431. public items: System.Array$1<System.Array$1<string>>;
  6432. public selectedIndex: number;
  6433. public selectionController: string;
  6434. public selectionControllerObj: FairyEditor.FController;
  6435. public sound: string;
  6436. public volume: number;
  6437. public constructor();
  6438. public GetTextField():FairyEditor.FTextField;
  6439. }
  6440. class FTransitions extends System.Object {
  6441. public _loadingSnapshot: boolean;
  6442. public items: System.Collections.Generic.List$1<FairyEditor.FTransition>;
  6443. public isEmpty: boolean;
  6444. public constructor($owner: FairyEditor.FComponent);
  6445. public AddItem($name?: string):FairyEditor.FTransition;
  6446. public RemoveItem($item: FairyEditor.FTransition):void;
  6447. public GetItem($name: string):FairyEditor.FTransition;
  6448. public Read($xml: FairyGUI.Utils.XML):void;
  6449. public Write($xml?: FairyGUI.Utils.XML):FairyGUI.Utils.XML;
  6450. public Dispose():void;
  6451. public ClearSnapshot():void;
  6452. public TakeSnapshot():void;
  6453. public ReadSnapshot($readController?: boolean):void;
  6454. public OnOwnerAddedToStage():void;
  6455. public OnOwnerRemovedFromStage():void;
  6456. }
  6457. class FScrollPane extends System.Object {
  6458. public static DISPLAY_ON_LEFT: number;
  6459. public static SNAP_TO_ITEM: number;
  6460. public static DISPLAY_IN_DEMAND: number;
  6461. public static PAGE_MODE: number;
  6462. public static TOUCH_EFFECT_ON: number;
  6463. public static TOUCH_EFFECT_OFF: number;
  6464. public static BOUNCE_BACK_EFFECT_ON: number;
  6465. public static BOUNCE_BACK_EFFECT_OFF: number;
  6466. public static INERTIA_DISABLED: number;
  6467. public static MASK_DISABLED: number;
  6468. public static FLOATING: number;
  6469. public static DONT_CLIP_MARGIN: number;
  6470. public vtScrollBar: FairyEditor.FScrollBar;
  6471. public hzScrollBar: FairyEditor.FScrollBar;
  6472. public owner: FairyEditor.FComponent;
  6473. public percX: number;
  6474. public percY: number;
  6475. public posX: number;
  6476. public posY: number;
  6477. public contentWidth: number;
  6478. public contentHeight: number;
  6479. public viewWidth: number;
  6480. public viewHeight: number;
  6481. public pageX: number;
  6482. public pageY: number;
  6483. public constructor($owner: FairyEditor.FComponent);
  6484. public Dispose():void;
  6485. public Install():void;
  6486. public Uninstall():void;
  6487. public SetPercX($value: number, $ani?: boolean):void;
  6488. public SetPercY($value: number, $ani?: boolean):void;
  6489. public SetPosX($value: number, $ani?: boolean):void;
  6490. public SetPosY($value: number, $ani?: boolean):void;
  6491. public SetPageX($value: number, $ani?: boolean):void;
  6492. public SetPageY($value: number, $ani?: boolean):void;
  6493. public ScrollTop($ani?: boolean):void;
  6494. public ScrollBottom($ani?: boolean):void;
  6495. public ScrollUp($ratio?: number, $ani?: boolean):void;
  6496. public ScrollDown($ratio?: number, $ani?: boolean):void;
  6497. public ScrollLeft($ratio?: number, $ani?: boolean):void;
  6498. public ScrollRight($ratio?: number, $ani?: boolean):void;
  6499. public ScrollToView($obj: FairyEditor.FObject, $ani?: boolean, $setFirst?: boolean):void;
  6500. public ScrollToView($rect: UnityEngine.Rect, $ani?: boolean, $setFirst?: boolean):void;
  6501. public OnOwnerSizeChanged():void;
  6502. public OnFlagsChanged($forceReceate?: boolean):void;
  6503. public Validate($checkOnly?: boolean):boolean;
  6504. public UpdateScrollRect():void;
  6505. public SetContentSize($aWidth: number, $aHeight: number):void;
  6506. public HandleControllerChanged($c: FairyEditor.FController):void;
  6507. public UpdateScrollBarVisible():void;
  6508. }
  6509. class FMargin extends System.Object {
  6510. public left: number;
  6511. public right: number;
  6512. public top: number;
  6513. public bottom: number;
  6514. public empty: boolean;
  6515. public constructor();
  6516. public Parse($str: string):void;
  6517. public Reset():void;
  6518. public Copy($source: FairyEditor.FMargin):void;
  6519. }
  6520. class FControllerPage extends System.Object {
  6521. public id: string;
  6522. public name: string;
  6523. public remark: string;
  6524. public constructor();
  6525. }
  6526. class FControllerAction extends System.Object {
  6527. public type: string;
  6528. public fromPage: System.Array$1<string>;
  6529. public toPage: System.Array$1<string>;
  6530. public transitionName: string;
  6531. public repeat: number;
  6532. public delay: number;
  6533. public stopOnExit: boolean;
  6534. public objectId: string;
  6535. public controllerName: string;
  6536. public targetPage: string;
  6537. public constructor();
  6538. public Run($controller: FairyEditor.FController, $prevPage: string, $curPage: string):void;
  6539. public Reset():void;
  6540. public GetFullControllerName($gcom: FairyEditor.FComponent):string;
  6541. public GetControllerObj($gcom: FairyEditor.FComponent):FairyEditor.FController;
  6542. public Read($xml: FairyGUI.Utils.XML):void;
  6543. public Write():FairyGUI.Utils.XML;
  6544. }
  6545. class FCustomEase extends FairyGUI.CustomEase {
  6546. public points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>;
  6547. public constructor();
  6548. public Update():void;
  6549. }
  6550. class FDisplayObject extends FairyGUI.Container {
  6551. public owner: FairyEditor.FObject;
  6552. public container: FairyGUI.Container;
  6553. public content: FairyGUI.DisplayObject;
  6554. public errorStatus: boolean;
  6555. public constructor($owner: FairyEditor.FObject);
  6556. public Reset():void;
  6557. public HandleSizeChanged():void;
  6558. public SetLoading($value: boolean):void;
  6559. public ApplyBlendMode():void;
  6560. public ApplyFilter():void;
  6561. }
  6562. class FGraph extends FairyEditor.FObject {
  6563. public static EMPTY: string;
  6564. public static RECT: string;
  6565. public static ELLIPSE: string;
  6566. public static POLYGON: string;
  6567. public static REGULAR_POLYGON: string;
  6568. public type: string;
  6569. public isVerticesEditable: boolean;
  6570. public shapeLocked: boolean;
  6571. public cornerRadius: string;
  6572. public lineColor: UnityEngine.Color;
  6573. public lineSize: number;
  6574. public fillColor: UnityEngine.Color;
  6575. public polygonPoints: System.Collections.Generic.List$1<UnityEngine.Vector2>;
  6576. public verticesDistance: System.Collections.Generic.List$1<number>;
  6577. public sides: number;
  6578. public startAngle: number;
  6579. public polygonData: any;
  6580. public constructor($flags: number);
  6581. public AddVertex($vx: number, $vy: number, $near: boolean):void;
  6582. public RemoveVertex($index: number):void;
  6583. public UpdateVertex($index: number, $xv: number, $yv: number):void;
  6584. public UpdateVertexDistance($index: number, $value: number):void;
  6585. public CalculatePolygonBounds():UnityEngine.Rect;
  6586. public UpdateGraph():void;
  6587. public HitTest($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2):boolean;
  6588. }
  6589. class FGroup extends FairyEditor.FObject {
  6590. public _updating: number;
  6591. public _childrenDirty: boolean;
  6592. public static HORIZONTAL: string;
  6593. public static VERTICAL: string;
  6594. public advanced: boolean;
  6595. public excludeInvisibles: boolean;
  6596. public autoSizeDisabled: boolean;
  6597. public mainGridMinSize: number;
  6598. public mainGridIndex: number;
  6599. public hasMainGrid: boolean;
  6600. public collapsed: boolean;
  6601. public layout: string;
  6602. public lineGap: number;
  6603. public columnGap: number;
  6604. public boundsChanged: boolean;
  6605. public children: System.Collections.Generic.List$1<FairyEditor.FObject>;
  6606. public empty: boolean;
  6607. public constructor($flags: number);
  6608. public Refresh($positionChangedOnly?: boolean):void;
  6609. public FreeChildrenArray():void;
  6610. public GetStartIndex():number;
  6611. public UpdateImmdediately($param?: any):void;
  6612. public MoveChildren($dx: number, $dy: number):void;
  6613. public ResizeChildren($dw: number, $dh: number):void;
  6614. }
  6615. class FilterData extends System.Object {
  6616. public type: string;
  6617. public brightness: number;
  6618. public contrast: number;
  6619. public saturation: number;
  6620. public hue: number;
  6621. public constructor();
  6622. public Read($xml: FairyGUI.Utils.XML):void;
  6623. public Write($xml: FairyGUI.Utils.XML):void;
  6624. public CopyFrom($source: FairyEditor.FilterData):void;
  6625. public Clone():FairyEditor.FilterData;
  6626. }
  6627. class FImage extends FairyEditor.FObject {
  6628. public color: UnityEngine.Color;
  6629. public flip: string;
  6630. public fillOrigin: number;
  6631. public fillClockwise: boolean;
  6632. public fillMethod: string;
  6633. public fillAmount: number;
  6634. public bitmap: FairyGUI.Image;
  6635. public constructor($flags: number);
  6636. public HitTest($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2):boolean;
  6637. }
  6638. class FLabel extends FairyEditor.ComExtention {
  6639. public restrict: string;
  6640. public maxLength: number;
  6641. public keyboardType: number;
  6642. public icon: string;
  6643. public title: string;
  6644. public text: string;
  6645. public titleColor: UnityEngine.Color;
  6646. public titleColorSet: boolean;
  6647. public titleFontSize: number;
  6648. public titleFontSizeSet: boolean;
  6649. public input: boolean;
  6650. public password: boolean;
  6651. public promptText: string;
  6652. public sound: string;
  6653. public volume: number;
  6654. public constructor();
  6655. public GetTextField():FairyEditor.FTextField;
  6656. }
  6657. class FList extends FairyEditor.FComponent {
  6658. public clearOnPublish: boolean;
  6659. public scrollItemToViewOnClick: boolean;
  6660. public foldInvisibleItems: boolean;
  6661. public clickToExpand: number;
  6662. public static SINGLE_COLUMN: string;
  6663. public static SINGLE_ROW: string;
  6664. public static FLOW_HZ: string;
  6665. public static FLOW_VT: string;
  6666. public static PAGINATION: string;
  6667. public layout: string;
  6668. public selectionMode: string;
  6669. public lineGap: number;
  6670. public columnGap: number;
  6671. public repeatX: number;
  6672. public repeatY: number;
  6673. public defaultItem: string;
  6674. public autoResizeItem: boolean;
  6675. public autoResizeItem1: boolean;
  6676. public autoResizeItem2: boolean;
  6677. public treeViewEnabled: boolean;
  6678. public indent: number;
  6679. public items: System.Collections.Generic.List$1<FairyEditor.ListItemData>;
  6680. public align: string;
  6681. public verticalAlign: string;
  6682. public selectionController: string;
  6683. public selectionControllerObj: FairyEditor.FController;
  6684. public selectedIndex: number;
  6685. public constructor($flags: number);
  6686. public GetSelection($result?: System.Collections.Generic.List$1<number>):System.Collections.Generic.List$1<number>;
  6687. public AddSelection($index: number, $scrollItToView?: boolean):void;
  6688. public RemoveSelection($index: number):void;
  6689. public ClearSelection():void;
  6690. public AddItem($url: string):FairyEditor.FObject;
  6691. public AddItemAt($url: string, $index: number):FairyEditor.FObject;
  6692. public ResizeToFit($itemCount?: number, $minSize?: number):void;
  6693. }
  6694. class ListItemData extends System.Object {
  6695. public url: string;
  6696. public name: string;
  6697. public title: string;
  6698. public icon: string;
  6699. public selectedTitle: string;
  6700. public selectedIcon: string;
  6701. public level: number;
  6702. public properties: System.Collections.Generic.List$1<FairyEditor.ComProperty>;
  6703. public constructor();
  6704. public CopyFrom($source: FairyEditor.ListItemData):void;
  6705. }
  6706. class FLoader extends FairyEditor.FObject {
  6707. public clearOnPublish: boolean;
  6708. public url: string;
  6709. public texture: FairyGUI.NTexture;
  6710. public icon: string;
  6711. public align: string;
  6712. public verticalAlign: string;
  6713. public fill: string;
  6714. public shrinkOnly: boolean;
  6715. public autoSize: boolean;
  6716. public playing: boolean;
  6717. public frame: number;
  6718. public showErrorSign: boolean;
  6719. public color: UnityEngine.Color;
  6720. public fillOrigin: number;
  6721. public fillClockwise: boolean;
  6722. public fillMethod: string;
  6723. public fillAmount: number;
  6724. public contentRes: FairyEditor.ResourceRef;
  6725. public constructor($flags: number);
  6726. }
  6727. class ResourceRef extends System.Object {
  6728. public packageItem: FairyEditor.FPackageItem;
  6729. public displayItem: FairyEditor.FPackageItem;
  6730. public displayFont: FairyGUI.BaseFont;
  6731. public name: string;
  6732. public desc: string;
  6733. public isMissing: boolean;
  6734. public missingInfo: FairyEditor.MissingInfo;
  6735. public sourceWidth: number;
  6736. public sourceHeight: number;
  6737. public constructor($pi?: FairyEditor.FPackageItem, $missingInfo?: FairyEditor.MissingInfo, $ownerFlags?: number);
  6738. public SetPackageItem($res: FairyEditor.FPackageItem, $ownerFlags?: number):void;
  6739. public IsObsolete():boolean;
  6740. public GetURL():string;
  6741. public Update():void;
  6742. public Release():void;
  6743. }
  6744. class FLoader3D extends FairyEditor.FObject {
  6745. public clearOnPublish: boolean;
  6746. public url: string;
  6747. public icon: string;
  6748. public autoSize: boolean;
  6749. public fill: string;
  6750. public shrinkOnly: boolean;
  6751. public align: string;
  6752. public verticalAlign: string;
  6753. public playing: boolean;
  6754. public frame: number;
  6755. public animationName: string;
  6756. public skinName: string;
  6757. public loop: boolean;
  6758. public color: UnityEngine.Color;
  6759. public spineObj: Spine.Unity.SkeletonAnimation;
  6760. public dbObj: DragonBones.UnityArmatureComponent;
  6761. public contentRes: FairyEditor.ResourceRef;
  6762. public constructor($flags: number);
  6763. }
  6764. class FMovieClip extends FairyEditor.FObject {
  6765. public playing: boolean;
  6766. public frame: number;
  6767. public color: UnityEngine.Color;
  6768. public constructor($flags: number);
  6769. public Advance($time: number):void;
  6770. }
  6771. class FTreeNode extends System.Object {
  6772. public expanded: boolean;
  6773. public isFolder: boolean;
  6774. public parent: FairyEditor.FTreeNode;
  6775. public data: any;
  6776. public text: string;
  6777. public cell: FairyEditor.FComponent;
  6778. public level: number;
  6779. public numChildren: number;
  6780. public tree: FairyEditor.FTree;
  6781. public constructor($hasChild: boolean, $resURL?: string);
  6782. public AddChild($child: FairyEditor.FTreeNode):FairyEditor.FTreeNode;
  6783. public AddChildAt($child: FairyEditor.FTreeNode, $index: number):FairyEditor.FTreeNode;
  6784. public RemoveChild($child: FairyEditor.FTreeNode):FairyEditor.FTreeNode;
  6785. public RemoveChildAt($index: number):FairyEditor.FTreeNode;
  6786. public RemoveChildren($beginIndex?: number, $endIndex?: number):void;
  6787. public GetChildAt($index: number):FairyEditor.FTreeNode;
  6788. public GetChildIndex($child: FairyEditor.FTreeNode):number;
  6789. public GetPrevSibling():FairyEditor.FTreeNode;
  6790. public GetNextSibling():FairyEditor.FTreeNode;
  6791. public SetChildIndex($child: FairyEditor.FTreeNode, $index: number):void;
  6792. public SwapChildren($child1: FairyEditor.FTreeNode, $child2: FairyEditor.FTreeNode):void;
  6793. public SwapChildrenAt($index1: number, $index2: number):void;
  6794. public ExpandToRoot():void;
  6795. }
  6796. class FPackage extends System.Object {
  6797. public opened: boolean;
  6798. public project: FairyEditor.FProject;
  6799. public id: string;
  6800. public name: string;
  6801. public basePath: string;
  6802. public cacheFolder: string;
  6803. public metaFolder: string;
  6804. public items: System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  6805. public publishSettings: FairyEditor.PublishSettings;
  6806. public rootItem: FairyEditor.FPackageItem;
  6807. public strings: System.Collections.Generic.Dictionary$2<string, System.Collections.Generic.Dictionary$2<string, string>>;
  6808. public constructor($project: FairyEditor.FProject, $folder: string);
  6809. public GetBranchRootItem($branch: string):FairyEditor.FPackageItem;
  6810. public BeginBatch():void;
  6811. public EndBatch():void;
  6812. public Open():void;
  6813. public Save():void;
  6814. public SetChanged():void;
  6815. public Touch():void;
  6816. public Dispose():void;
  6817. public EnsureOpen():void;
  6818. public FreeUnusedResources($ignoreTimeStamp: boolean):void;
  6819. public GetNextId():string;
  6820. public GetSequenceName($resName: string):string;
  6821. public GetUniqueName($folder: FairyEditor.FPackageItem, $fileName: string):string;
  6822. public GetItemListing($folder: FairyEditor.FPackageItem, $filters?: System.Array$1<string>, $sorted?: boolean, $recursive?: boolean, $result?: System.Collections.Generic.List$1<FairyEditor.FPackageItem>):System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  6823. public GetFavoriteItems($result?: System.Collections.Generic.List$1<FairyEditor.FPackageItem>):System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  6824. public GetItem($itemId: string):FairyEditor.FPackageItem;
  6825. public FindItemByName($itemName: string):FairyEditor.FPackageItem;
  6826. public GetItemByPath($path: string):FairyEditor.FPackageItem;
  6827. public GetItemByName($folder: FairyEditor.FPackageItem, $itemName: string):FairyEditor.FPackageItem;
  6828. public GetItemByFileName($folder: FairyEditor.FPackageItem, $fileName: string):FairyEditor.FPackageItem;
  6829. public GetItemPath($pi: FairyEditor.FPackageItem, $result?: System.Collections.Generic.List$1<FairyEditor.FPackageItem>):System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  6830. public AddItem($pi: FairyEditor.FPackageItem):void;
  6831. public RenameItem($pi: FairyEditor.FPackageItem, $newName: string):void;
  6832. public MoveItem($pi: FairyEditor.FPackageItem, $path: string):void;
  6833. public DeleteItem($pi: FairyEditor.FPackageItem):number;
  6834. public DuplicateItem($pi: FairyEditor.FPackageItem, $newName: string):FairyEditor.FPackageItem;
  6835. public EnsurePathExists($path: string, $allowCreateDirectory: boolean):FairyEditor.FPackageItem;
  6836. public GetBranchPath($branch: string):string;
  6837. public CreateBranch($branch: string):void;
  6838. public CreateFolder($cname: string, $path?: string, $autoRename?: boolean):FairyEditor.FPackageItem;
  6839. public CreatePath($path: string):FairyEditor.FPackageItem;
  6840. public CreateComponentItem($cname: string, $width: number, $height: number, $path?: string, $extentionId?: string, $exported?: boolean, $autoRename?: boolean):FairyEditor.FPackageItem;
  6841. public CreateFontItem($cname: string, $path?: string, $autoRename?: boolean):FairyEditor.FPackageItem;
  6842. public CreateMovieClipItem($cname: string, $path?: string, $autoRename?: boolean):FairyEditor.FPackageItem;
  6843. public ImportResource($sourceFile: string, $toPath: string, $resName: string):System.Threading.Tasks.Task$1<FairyEditor.FPackageItem>;
  6844. public UpdateResource($pi: FairyEditor.FPackageItem, $sourceFile: string):System.Threading.Tasks.Task;
  6845. }
  6846. class FRelations extends System.Object {
  6847. public handling: FairyEditor.FObject;
  6848. public widthLocked: boolean;
  6849. public heightLocked: boolean;
  6850. public items: System.Collections.Generic.List$1<FairyEditor.FRelationItem>;
  6851. public isEmpty: boolean;
  6852. public constructor($owner: FairyEditor.FObject);
  6853. public AddItem($target: FairyEditor.FObject, $type: number, $usePercent?: boolean):FairyEditor.FRelationItem;
  6854. public AddItem($target: FairyEditor.FObject, $sidePair: string):FairyEditor.FRelationItem;
  6855. public RemoveItem($item: FairyEditor.FRelationItem):void;
  6856. public ReplaceItem($index: number, $target: FairyEditor.FObject, $sidePair: string):void;
  6857. public GetItem($target: FairyEditor.FObject):FairyEditor.FRelationItem;
  6858. public HasTarget($target: FairyEditor.FObject):boolean;
  6859. public RemoveTarget($target: FairyEditor.FObject):void;
  6860. public ReplaceTarget($originTarget: FairyEditor.FObject, $newTarget: FairyEditor.FObject):void;
  6861. public OnOwnerSizeChanged($dWidth: number, $dHeight: number, $applyPivot: boolean):void;
  6862. public Reset():void;
  6863. public Read($xml: FairyGUI.Utils.XML, $inSource?: boolean):void;
  6864. public Write($xml?: FairyGUI.Utils.XML):FairyGUI.Utils.XML;
  6865. }
  6866. class ObjectSnapshot extends System.Object {
  6867. public x: number;
  6868. public y: number;
  6869. public width: number;
  6870. public height: number;
  6871. public scaleX: number;
  6872. public scaleY: number;
  6873. public skewX: number;
  6874. public skewY: number;
  6875. public pivotX: number;
  6876. public pivotY: number;
  6877. public anchor: boolean;
  6878. public alpha: number;
  6879. public rotation: number;
  6880. public color: UnityEngine.Color;
  6881. public playing: boolean;
  6882. public frame: number;
  6883. public visible: boolean;
  6884. public filterData: FairyEditor.FilterData;
  6885. public text: string;
  6886. public icon: string;
  6887. public constructor();
  6888. public static GetFromPool($obj: FairyEditor.FObject):FairyEditor.ObjectSnapshot;
  6889. public static ReturnToPool($col: System.Collections.Generic.List$1<FairyEditor.ObjectSnapshot>):void;
  6890. public Take():void;
  6891. public Load():void;
  6892. }
  6893. class FObjectFactory extends System.Object {
  6894. public static constructingDepth: number;
  6895. public constructor();
  6896. public static CreateObject($pi: FairyEditor.FPackageItem, $flags?: number):FairyEditor.FObject;
  6897. public static CreateObject($pkg: FairyEditor.FPackage, $type: string, $missingInfo?: FairyEditor.MissingInfo, $flags?: number):FairyEditor.FObject;
  6898. public static CreateObject($di: FairyEditor.ComponentAsset.DisplayListItem, $flags?: number):FairyEditor.FObject;
  6899. public static NewObject($pi: FairyEditor.FPackageItem, $flags?: number):FairyEditor.FObject;
  6900. public static NewObject($pkg: FairyEditor.FPackage, $type: string, $missingInfo?: FairyEditor.MissingInfo, $flags?: number):FairyEditor.FObject;
  6901. public static NewObject($di: FairyEditor.ComponentAsset.DisplayListItem, $flags?: number):FairyEditor.FObject;
  6902. public static NewExtention($pkg: FairyEditor.FPackage, $type: string):FairyEditor.ComExtention;
  6903. public static GetClassByType($type: string):System.Type;
  6904. }
  6905. class MissingInfo extends System.Object {
  6906. public pkgName: string;
  6907. public pkgId: string;
  6908. public itemId: string;
  6909. public fileName: string;
  6910. public constructor($pkgId: string, $itemId: string, $fileName: string);
  6911. public constructor($url: string);
  6912. }
  6913. class FObjectFlags extends System.Object {
  6914. public static IN_DOC: number;
  6915. public static IN_TEST: number;
  6916. public static IN_PREVIEW: number;
  6917. public static INSPECTING: number;
  6918. public static ROOT: number;
  6919. public constructor();
  6920. public static IsDocRoot($flags: number):boolean;
  6921. public static GetScaleLevel($flags: number):number;
  6922. }
  6923. class FObjectType extends System.Object {
  6924. public static PACKAGE: string;
  6925. public static FOLDER: string;
  6926. public static IMAGE: string;
  6927. public static GRAPH: string;
  6928. public static LIST: string;
  6929. public static LOADER: string;
  6930. public static TEXT: string;
  6931. public static RICHTEXT: string;
  6932. public static INPUTTEXT: string;
  6933. public static GROUP: string;
  6934. public static SWF: string;
  6935. public static MOVIECLIP: string;
  6936. public static COMPONENT: string;
  6937. public static Loader3D: string;
  6938. public static EXT_BUTTON: string;
  6939. public static EXT_LABEL: string;
  6940. public static EXT_COMBOBOX: string;
  6941. public static EXT_PROGRESS_BAR: string;
  6942. public static EXT_SLIDER: string;
  6943. public static EXT_SCROLLBAR: string;
  6944. public static NAME_PREFIX: System.Collections.Generic.Dictionary$2<string, string>;
  6945. public constructor();
  6946. }
  6947. class PublishSettings extends System.Object {
  6948. public path: string;
  6949. public fileName: string;
  6950. public packageCount: number;
  6951. public genCode: boolean;
  6952. public codePath: string;
  6953. public branchPath: string;
  6954. public useGlobalAtlasSettings: boolean;
  6955. public atlasList: System.Collections.Generic.List$1<FairyEditor.AtlasSettings>;
  6956. public excludedList: System.Collections.Generic.List$1<string>;
  6957. public constructor();
  6958. public FillCombo($cb: FairyGUI.GComboBox):void;
  6959. }
  6960. class FPackageItemType extends System.Object {
  6961. public static FOLDER: string;
  6962. public static IMAGE: string;
  6963. public static SWF: string;
  6964. public static MOVIECLIP: string;
  6965. public static SOUND: string;
  6966. public static COMPONENT: string;
  6967. public static FONT: string;
  6968. public static MISC: string;
  6969. public static ATLAS: string;
  6970. public static SPINE: string;
  6971. public static DRAGONBONES: string;
  6972. public static fileExtensionMap: System.Collections.Generic.Dictionary$2<string, string>;
  6973. public constructor();
  6974. public static GetFileType($file: string):string;
  6975. }
  6976. class FProgressBar extends FairyEditor.ComExtention {
  6977. public static TITLE_PERCENT: string;
  6978. public static TITLE_VALUE_AND_MAX: string;
  6979. public static TITLE_VALUE_ONLY: string;
  6980. public static TITLE_MAX_ONLY: string;
  6981. public titleType: string;
  6982. public min: number;
  6983. public max: number;
  6984. public value: number;
  6985. public reverse: boolean;
  6986. public sound: string;
  6987. public volume: number;
  6988. public constructor();
  6989. public Update():void;
  6990. }
  6991. class SettingsBase extends System.Object {
  6992. public fileName: string;
  6993. public Touch($forced?: boolean):void;
  6994. public Save():void;
  6995. }
  6996. class FRelationDef extends System.Object {
  6997. public affectBySelfSizeChanged: boolean;
  6998. public percent: boolean;
  6999. public type: number;
  7000. public constructor();
  7001. }
  7002. class FRelationItem extends System.Object {
  7003. public owner: FairyEditor.FObject;
  7004. public readOnly: boolean;
  7005. public target: FairyEditor.FObject;
  7006. public containsWidthRelated: boolean;
  7007. public containsHeightRelated: boolean;
  7008. public defs: System.Collections.Generic.List$1<FairyEditor.FRelationDef>;
  7009. public desc: string;
  7010. public constructor($owner: FairyEditor.FObject);
  7011. public Set($target: FairyEditor.FObject, $sidePairs: string, $readOnly?: boolean):void;
  7012. public Dispose():void;
  7013. public AddDef($type: number, $usePercent?: boolean, $checkDuplicated?: boolean):void;
  7014. public AddDefs($sidePairs: string, $checkDuplicated?: boolean):void;
  7015. public HasDef($type: number):boolean;
  7016. public ApplySelfSizeChanged($dWidth: number, $dHeight: number, $applyPivot: boolean):void;
  7017. }
  7018. class FRelationType extends System.Object {
  7019. public static Left_Left: number;
  7020. public static Left_Center: number;
  7021. public static Left_Right: number;
  7022. public static Center_Center: number;
  7023. public static Right_Left: number;
  7024. public static Right_Center: number;
  7025. public static Right_Right: number;
  7026. public static LeftExt_Left: number;
  7027. public static LeftExt_Right: number;
  7028. public static RightExt_Left: number;
  7029. public static RightExt_Right: number;
  7030. public static Width: number;
  7031. public static Top_Top: number;
  7032. public static Top_Middle: number;
  7033. public static Top_Bottom: number;
  7034. public static Middle_Middle: number;
  7035. public static Bottom_Top: number;
  7036. public static Bottom_Middle: number;
  7037. public static Bottom_Bottom: number;
  7038. public static TopExt_Top: number;
  7039. public static TopExt_Bottom: number;
  7040. public static BottomExt_Top: number;
  7041. public static BottomExt_Bottom: number;
  7042. public static Height: number;
  7043. public static Size: number;
  7044. public static Names: System.Array$1<string>;
  7045. public constructor();
  7046. }
  7047. class FRichTextField extends FairyEditor.FTextField {
  7048. public constructor($flags: number);
  7049. }
  7050. class FScrollBar extends FairyEditor.ComExtention {
  7051. public minSize: number;
  7052. public fixedGripSize: boolean;
  7053. public gripDragging: boolean;
  7054. public constructor();
  7055. public SetScrollPane($scrollPane: FairyEditor.FScrollPane, $vertical: boolean):void;
  7056. public SetDisplayPerc($value: number):void;
  7057. public SetScrollPerc($val: number):void;
  7058. }
  7059. class FSlider extends FairyEditor.ComExtention {
  7060. public changeOnClick: boolean;
  7061. public static TITLE_PERCENT: string;
  7062. public static TITLE_VALUE_AND_MAX: string;
  7063. public static TITLE_VALUE_ONLY: string;
  7064. public static TITLE_MAX_ONLY: string;
  7065. public titleType: string;
  7066. public min: number;
  7067. public max: number;
  7068. public value: number;
  7069. public reverse: boolean;
  7070. public wholeNumbers: boolean;
  7071. public constructor();
  7072. public Update():void;
  7073. }
  7074. class FSwfObject extends FairyEditor.FObject {
  7075. public playing: boolean;
  7076. public frame: number;
  7077. public constructor($flags: number);
  7078. public Advance($timeInMiniseconds: number):void;
  7079. }
  7080. class FTextInput extends FairyEditor.FTextField {
  7081. public password: boolean;
  7082. public keyboardType: number;
  7083. public maxLength: number;
  7084. public restrict: string;
  7085. public promptText: string;
  7086. public constructor($flags: number);
  7087. }
  7088. class FTransition extends System.Object {
  7089. public static OPTION_IGNORE_DISPLAY_CONTROLLER: number;
  7090. public static OPTION_AUTO_STOP_DISABLED: number;
  7091. public static OPTION_AUTO_STOP_AT_END: number;
  7092. public owner: FairyEditor.FComponent;
  7093. public name: string;
  7094. public options: number;
  7095. public autoPlay: boolean;
  7096. public autoPlayDelay: number;
  7097. public autoPlayRepeat: number;
  7098. public frameRate: number;
  7099. public items: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>;
  7100. public maxFrame: number;
  7101. public playing: boolean;
  7102. public playTimes: number;
  7103. public constructor($owner: FairyEditor.FComponent);
  7104. public Dispose():void;
  7105. public CreateItem($targetId: string, $type: string, $frame: number):FairyEditor.FTransitionItem;
  7106. public FindItem($frame: number, $targetId: string, $type: string):FairyEditor.FTransitionItem;
  7107. public FindItems($frameStart: number, $frameEnd: number, $targetId: string, $type: string, $result: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>):void;
  7108. public GetItemWithPath($frame: number, $targetId: string):FairyEditor.FTransitionItem;
  7109. public AddItem($transItem: FairyEditor.FTransitionItem):void;
  7110. public AddItems($items: System.Collections.Generic.IEnumerable$1<FairyEditor.FTransitionItem>):void;
  7111. public DeleteItem($item: FairyEditor.FTransitionItem):void;
  7112. public DeleteItems($targetId: string, $type: string):System.Array$1<FairyEditor.FTransitionItem>;
  7113. public CopyItems($targetId: string, $type: string):FairyGUI.Utils.XML;
  7114. public CopyItems($items: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>):FairyGUI.Utils.XML;
  7115. public static GetAllowType($obj: FairyEditor.FObject, $type: string):boolean;
  7116. public static SupportTween($type: string):boolean;
  7117. public UpdateFromRelations($targetId: string, $dx: number, $dy: number):void;
  7118. public Validate():void;
  7119. public Read($xml: FairyGUI.Utils.XML):void;
  7120. public Write($forSaving: boolean):FairyGUI.Utils.XML;
  7121. public OnExit():void;
  7122. public OnOwnerAddedToStage():void;
  7123. public OnOwnerRemovedFromStage():void;
  7124. public Play($onComplete?: System.Action, $times?: number, $delay?: number, $startFrame?: number, $endFrame?: number, $editMode?: boolean):void;
  7125. public Stop($setToComplete?: boolean, $processCallback?: boolean):void;
  7126. public GetProperty($propName: string):any;
  7127. public SetProperty($propName: string, $value: any):void;
  7128. public static ReadItems($owner: FairyEditor.FTransition, $col: System.Collections.Generic.List$1<FairyGUI.Utils.XML>, $result: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>):void;
  7129. public static WriteItems($items: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>, $xml: FairyGUI.Utils.XML, $forSaving: boolean):void;
  7130. }
  7131. class FTransitionItem extends System.Object {
  7132. public easeType: string;
  7133. public easeInOutType: string;
  7134. public repeat: number;
  7135. public yoyo: boolean;
  7136. public label: string;
  7137. public value: FairyEditor.FTransitionValue;
  7138. public tweenValue: FairyEditor.FTransitionValue;
  7139. public pathOffsetX: number;
  7140. public pathOffsetY: number;
  7141. public target: FairyEditor.FObject;
  7142. public owner: FairyEditor.FTransition;
  7143. public tweener: FairyGUI.GTweener;
  7144. public innerTrans: FairyEditor.FTransition;
  7145. public nextItem: FairyEditor.FTransitionItem;
  7146. public prevItem: FairyEditor.FTransitionItem;
  7147. public displayLockToken: number;
  7148. public type: string;
  7149. public targetId: string;
  7150. public frame: number;
  7151. public tween: boolean;
  7152. public easeName: string;
  7153. public usePath: boolean;
  7154. public path: FairyEditor.GPathExt;
  7155. public pathPoints: System.Collections.Generic.List$1<FairyGUI.GPathPoint>;
  7156. public customEase: FairyEditor.FCustomEase;
  7157. public pathData: string;
  7158. public customEaseData: string;
  7159. public encodedValue: string;
  7160. public constructor($owner: FairyEditor.FTransition);
  7161. public SetPathToTweener():void;
  7162. public AddPathPoint($px: number, $py: number, $near: boolean):void;
  7163. public RemovePathPoint($pointIndex: number):void;
  7164. public UpdatePathPoint($pointIndex: number, $x: number, $y: number):void;
  7165. public UpdateControlPoint($pointIndex: number, $controlIndex: number, $x: number, $y: number):void;
  7166. public GetProperty($propName: string):any;
  7167. public SetProperty($propName: string, $value: any):void;
  7168. }
  7169. class FTransitionValue extends System.Object {
  7170. public f1: number;
  7171. public f2: number;
  7172. public f3: number;
  7173. public f4: number;
  7174. public iu: UnityEngine.Color;
  7175. public i: number;
  7176. public s: string;
  7177. public b1: boolean;
  7178. public b2: boolean;
  7179. public b3: boolean;
  7180. public constructor();
  7181. public CopyFrom($source: FairyEditor.FTransitionValue):void;
  7182. public Reset():void;
  7183. public Equals($other: FairyEditor.FTransitionValue):boolean;
  7184. public Decode($type: string, $str: string):void;
  7185. public Encode($type: string):string;
  7186. public Equals($obj: any):boolean;
  7187. }
  7188. class GPathExt extends FairyGUI.GPath {
  7189. public points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>;
  7190. public constructor();
  7191. public Update():void;
  7192. public GetSegmentType($segmentIndex: number):FairyGUI.GPathPoint.CurveType;
  7193. public GetAnchorsInSegment($segmentIndex: number, $result?: System.Collections.Generic.List$1<UnityEngine.Vector2>):System.Collections.Generic.List$1<UnityEngine.Vector2>;
  7194. public FindSegmentNear($pt: UnityEngine.Vector3):number;
  7195. public static PointLineDistance($pointX: number, $pointY: number, $startX: number, $startY: number, $endX: number, $endY: number, $isSegment: boolean):number;
  7196. }
  7197. class FTree extends FairyEditor.FTreeNode {
  7198. public treeNodeRender: FairyEditor.FTree.TreeNodeRenderDelegate;
  7199. public treeNodeWillExpand: FairyEditor.FTree.TreeNodeWillExpandDelegate;
  7200. public indent: number;
  7201. public constructor($list: FairyEditor.FList);
  7202. public GetSelectedNode():FairyEditor.FTreeNode;
  7203. public GetSelectedNodes($result?: System.Collections.Generic.List$1<FairyEditor.FTreeNode>):System.Collections.Generic.List$1<FairyEditor.FTreeNode>;
  7204. public SelectNode($node: FairyEditor.FTreeNode, $scrollItToView?: boolean):void;
  7205. public UnselectNode($node: FairyEditor.FTreeNode):void;
  7206. public GetNodeIndex($node: FairyEditor.FTreeNode):number;
  7207. public UpdateNode($node: FairyEditor.FTreeNode):void;
  7208. public UpdateNodes($nodes: System.Collections.Generic.List$1<FairyEditor.FTreeNode>):void;
  7209. public ExpandAll($folderNode?: FairyEditor.FTreeNode):void;
  7210. public CollapseAll($folderNode?: FairyEditor.FTreeNode):void;
  7211. public CreateCell($node: FairyEditor.FTreeNode):void;
  7212. }
  7213. class FHtmlImage extends System.Object {
  7214. public loader: FairyEditor.FLoader;
  7215. public displayObject: FairyGUI.DisplayObject;
  7216. public element: FairyGUI.Utils.HtmlElement;
  7217. public width: number;
  7218. public height: number;
  7219. public constructor();
  7220. public Create($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement):void;
  7221. public SetPosition($x: number, $y: number):void;
  7222. public Add():void;
  7223. public Remove():void;
  7224. public Release():void;
  7225. public Dispose():void;
  7226. }
  7227. class FHtmlPageContext extends System.Object {
  7228. public static inst: FairyGUI.Utils.HtmlPageContext;
  7229. public constructor();
  7230. public CreateObject($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement):FairyGUI.Utils.IHtmlObject;
  7231. public FreeObject($obj: FairyGUI.Utils.IHtmlObject):void;
  7232. public GetImageTexture($image: FairyGUI.Utils.HtmlImage):FairyGUI.NTexture;
  7233. public FreeImageTexture($image: FairyGUI.Utils.HtmlImage, $texture: FairyGUI.NTexture):void;
  7234. }
  7235. class ProjectType extends System.Object {
  7236. public static Flash: string;
  7237. public static Starling: string;
  7238. public static Unity: string;
  7239. public static Egret: string;
  7240. public static Layabox: string;
  7241. public static Haxe: string;
  7242. public static PIXI: string;
  7243. public static Cocos2dx: string;
  7244. public static CryEngine: string;
  7245. public static Vision: string;
  7246. public static MonoGame: string;
  7247. public static CocosCreator: string;
  7248. public static LibGDX: string;
  7249. public static Unreal: string;
  7250. public static Corona: string;
  7251. public static ThreeJS: string;
  7252. public static IDs: System.Array$1<string>;
  7253. public static Names: System.Array$1<string>;
  7254. public constructor();
  7255. }
  7256. class PublishHandler extends System.Object {
  7257. public static CODE_FILE_MARK: string;
  7258. public genCodeHandler: System.Action$1<FairyEditor.PublishHandler>;
  7259. public pkg: FairyEditor.FPackage;
  7260. public project: FairyEditor.FProject;
  7261. public isSuccess: boolean;
  7262. public publishDescOnly: boolean;
  7263. public exportPath: string;
  7264. public exportCodePath: string;
  7265. public useAtlas: boolean;
  7266. public fileName: string;
  7267. public fileExtension: string;
  7268. public genCode: boolean;
  7269. public items: System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  7270. public paused: boolean;
  7271. public constructor($pkg: FairyEditor.FPackage, $branch: string);
  7272. public ExportBinaryDesc($descFile: string):void;
  7273. public ExportDescZip($zipArchive: System.IO.Compression.ZipStorer):void;
  7274. public ExportResZip($zipArchive: System.IO.Compression.ZipStorer, $compress: boolean):void;
  7275. public ExportResFiles($resPrefix: string):System.Threading.Tasks.Task;
  7276. public ClearOldResFiles($folder: string):void;
  7277. public CollectClasses($stripMember: boolean, $stripClass: boolean, $fguiNamespace: string):System.Collections.Generic.List$1<FairyEditor.PublishHandler.ClassInfo>;
  7278. public SetupCodeFolder($path: string, $codeFileExtensions: string):void;
  7279. public SetupCodeFolder($path: string, $codeFileExtensions: string, $fileMark: string):void;
  7280. public ToFilename($source: string):string;
  7281. public add_onComplete($value: System.Action):void;
  7282. public remove_onComplete($value: System.Action):void;
  7283. public IsInList($item: FairyEditor.FPackageItem):boolean;
  7284. public GetItemDesc($item: FairyEditor.FPackageItem):any;
  7285. public GetScriptData($item: FairyEditor.FPackageItem):FairyGUI.Utils.XML;
  7286. public Run():System.Threading.Tasks.Task;
  7287. }
  7288. class Clipboard extends System.Object {
  7289. public static TEXT: string;
  7290. public static OBJECT_KEY: string;
  7291. public static ITEM_KEY: string;
  7292. public static TIMELINE_KEY: string;
  7293. public static SetText($value: string):void;
  7294. public static GetText():string;
  7295. public static GetValue($key: string):any;
  7296. public static SetValue($key: string, $value: any):void;
  7297. public static HasFormat($key: string):boolean;
  7298. }
  7299. class ComponentTemplates extends System.Object {
  7300. public constructor($pkg: FairyEditor.FPackage);
  7301. public CreateLabelItem($cname: string, $width: number, $height: number, $path: string):FairyEditor.FPackageItem;
  7302. public CreateButtonItem($cname: string, $extentionId: string, $mode: string, $images: System.Array$1<string>, $width: number, $height: number, $asListItem: boolean, $createRelations: boolean, $createText: boolean, $createIcon: boolean, $exported: boolean, $path: string):FairyEditor.FPackageItem;
  7303. public CreateComboBoxItem($cname: string, $buttonImages: System.Array$1<string>, $bgImage: string, $itemImages: System.Array$1<string>, $path: string):FairyEditor.FPackageItem;
  7304. public CreateScrollBarItem($cname: string, $type: number, $createArrows: boolean, $arrow1Images: System.Array$1<string>, $arrow2Images: System.Array$1<string>, $bgImage: string, $gripImages: System.Array$1<string>, $path: string):FairyEditor.FPackageItem;
  7305. public CreateProgressBarItem($cname: string, $bgImage: string, $barImage: string, $titleType: string, $reverse: boolean, $path: string):FairyEditor.FPackageItem;
  7306. public CreateSliderItem($cname: string, $type: number, $bgImage: string, $barImage: string, $gripImages: System.Array$1<string>, $titleType: string, $path: string):FairyEditor.FPackageItem;
  7307. public CreatePopupMenuItem($cname: string, $bgImage: string, $itemImages: System.Array$1<string>, $path: string):FairyEditor.FPackageItem;
  7308. public CreateWindowFrameItem($cname: string, $bgImage: string, $closeButton: string, $createTitle: boolean, $createIcon: boolean, $path: string):FairyEditor.FPackageItem;
  7309. }
  7310. class CopyHandler extends System.Object {
  7311. public resultList: System.Collections.Generic.List$1<FairyEditor.DepItem>;
  7312. public existsItemCount: number;
  7313. public constructor();
  7314. public InitWithItems($items: System.Collections.Generic.IList$1<FairyEditor.FPackageItem>, $targetPkg: FairyEditor.FPackage, $targetPath: string, $seekLevel: FairyEditor.DependencyQuery.SeekLevel):void;
  7315. public InitWithObject($sourcePkg: FairyEditor.FPackage, $xml: FairyGUI.Utils.XML, $targetPkg: FairyEditor.FPackage, $targetPath: string, $ignoreExported?: boolean):void;
  7316. public Copy($targetPkg: FairyEditor.FPackage, $overrideOption: FairyEditor.CopyHandler.OverrideOption, $isMove?: boolean):void;
  7317. }
  7318. class DepItem extends System.Object {
  7319. public item: FairyEditor.FPackageItem;
  7320. public content: any;
  7321. public isSource: boolean;
  7322. public analysed: boolean;
  7323. public targetPath: string;
  7324. public refCount: number;
  7325. public constructor();
  7326. }
  7327. class CursorType extends System.Object {
  7328. public static H_RESIZE: string;
  7329. public static V_RESIZE: string;
  7330. public static TL_RESIZE: string;
  7331. public static TR_RESIZE: string;
  7332. public static BL_RESIZE: string;
  7333. public static BR_RESIZE: string;
  7334. public static SELECT: string;
  7335. public static HAND: string;
  7336. public static DRAG: string;
  7337. public static ADJUST: string;
  7338. public static FINGER: string;
  7339. public static COLOR_PICKER: string;
  7340. public static WAIT: string;
  7341. public constructor();
  7342. }
  7343. class DependencyQuery extends System.Object {
  7344. public resultList: System.Collections.Generic.List$1<FairyEditor.DepItem>;
  7345. public references: System.Collections.Generic.List$1<FairyEditor.ReferenceInfo>;
  7346. public constructor();
  7347. public QueryDependencies($items: System.Collections.Generic.IList$1<FairyEditor.FPackageItem>, $seekLevel: FairyEditor.DependencyQuery.SeekLevel):void;
  7348. public QueryDependencies($project: FairyEditor.FProject, $url: string, $seekLevel: FairyEditor.DependencyQuery.SeekLevel):void;
  7349. public QueryDependencies($pkg: FairyEditor.FPackage, $xml: FairyGUI.Utils.XML, $seekLevel: FairyEditor.DependencyQuery.SeekLevel):void;
  7350. public QueryReferences($project: FairyEditor.FProject, $url: string):void;
  7351. public ReplaceReferences($newItem: FairyEditor.FPackageItem):void;
  7352. }
  7353. class ReferenceInfo extends System.Object {
  7354. public ownerPkg: FairyEditor.FPackage;
  7355. public pkgId: string;
  7356. public itemId: string;
  7357. public content: any;
  7358. public propKey: string;
  7359. public arrayIndex: number;
  7360. public valueType: FairyEditor.ReferenceInfo.ValueType;
  7361. public constructor();
  7362. public Update($newItem: FairyEditor.FPackageItem):boolean;
  7363. }
  7364. class EditorEvents extends System.Object {
  7365. public static SelectionChanged: string;
  7366. public static DocumentActivated: string;
  7367. public static DocumentDeactivated: string;
  7368. public static TestStart: string;
  7369. public static TestStop: string;
  7370. public static PackageListChanged: string;
  7371. public static PackageReloaded: string;
  7372. public static PackageTreeChanged: string;
  7373. public static PackageItemChanged: string;
  7374. public static HierarchyChanged: string;
  7375. public static ProjectRefreshStart: string;
  7376. public static ProjectRefreshEnd: string;
  7377. public static BackgroundChanged: string;
  7378. public static PluginListChanged: string;
  7379. public constructor();
  7380. }
  7381. class ExportStringsHandler extends System.Object {
  7382. public constructor();
  7383. public Parse($pkgs: System.Collections.Generic.IList$1<FairyEditor.FPackage>, $ignoreDiscarded?: boolean):void;
  7384. public Export($file: string, $merge: boolean):void;
  7385. }
  7386. class FindDuplicateResource extends System.Object {
  7387. public result: System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  7388. public constructor();
  7389. public GetGroup($index: number, $result: System.Collections.Generic.List$1<FairyEditor.FPackageItem>):void;
  7390. public Start($pkgs: System.Collections.Generic.List$1<FairyEditor.FPackage>, $onProgress: System.Action$1<number>, $onComplete: System.Action):void;
  7391. public Cancel():void;
  7392. }
  7393. class FindUnusedResource extends System.Object {
  7394. public result: System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  7395. public constructor();
  7396. public Start($pkgs: System.Collections.Generic.List$1<FairyEditor.FPackage>, $onProgress: System.Action$1<number>, $onComplete: System.Action):void;
  7397. public Cancel():void;
  7398. }
  7399. class FullSearch extends System.Object {
  7400. public result: System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  7401. public constructor();
  7402. public Start($strName: string, $strTypes: string, $includeBrances: boolean):void;
  7403. }
  7404. class ImportStringsHandler extends System.Object {
  7405. public strings: System.Collections.Generic.Dictionary$2<string, System.Collections.Generic.Dictionary$2<string, System.Collections.Generic.Dictionary$2<string, string>>>;
  7406. public constructor();
  7407. public Parse($file: string):void;
  7408. public Import():void;
  7409. }
  7410. class ProjectRefreshHandler extends System.Object {
  7411. public constructor();
  7412. public Dispose():void;
  7413. public Run():void;
  7414. }
  7415. class ResourceImportQueue extends System.Object {
  7416. public static Create($toPkg: FairyEditor.FPackage):FairyEditor.ResourceImportQueue;
  7417. public Add($file: string, $targetPath?: string, $resName?: string):FairyEditor.ResourceImportQueue;
  7418. public AddRelative($file: string, $targetPath?: string, $basePath?: string, $resName?: string):FairyEditor.ResourceImportQueue;
  7419. public Process($callback?: System.Action$1<System.Collections.Generic.IList$1<FairyEditor.FPackageItem>>, $dropToDocument?: boolean, $dropPos?: System.Nullable$1<UnityEngine.Vector2>):void;
  7420. }
  7421. class ViewOptions extends System.Object {
  7422. public title: string;
  7423. public icon: string;
  7424. public hResizePriority: number;
  7425. public vResizePriority: number;
  7426. public location: string;
  7427. public constructor();
  7428. }
  7429. class AdaptationSettings extends FairyEditor.SettingsBase {
  7430. public scaleMode: string;
  7431. public screenMathMode: string;
  7432. public designResolutionX: number;
  7433. public designResolutionY: number;
  7434. public devices: System.Collections.Generic.List$1<FairyEditor.AdaptationSettings.DeviceInfo>;
  7435. public defaultDevices: System.Collections.Generic.List$1<FairyEditor.AdaptationSettings.DeviceInfo>;
  7436. public constructor($project: FairyEditor.FProject);
  7437. public GetDeviceResolution($device: string):FairyEditor.AdaptationSettings.DeviceInfo;
  7438. public FillCombo($cb: FairyGUI.GComboBox):void;
  7439. }
  7440. class AtlasSettings extends System.Object {
  7441. public name: string;
  7442. public compression: boolean;
  7443. public extractAlpha: boolean;
  7444. public packSettings: FairyEditor.PackSettings;
  7445. public constructor();
  7446. public CopyFrom($source: FairyEditor.AtlasSettings):void;
  7447. }
  7448. class PackSettings extends System.Object {
  7449. public pot: boolean;
  7450. public mof: boolean;
  7451. public padding: number;
  7452. public rotation: boolean;
  7453. public minWidth: number;
  7454. public minHeight: number;
  7455. public maxWidth: number;
  7456. public maxHeight: number;
  7457. public square: boolean;
  7458. public fast: boolean;
  7459. public edgePadding: boolean;
  7460. public duplicatePadding: boolean;
  7461. public multiPage: boolean;
  7462. public constructor();
  7463. public CopyFrom($source: FairyEditor.PackSettings):void;
  7464. }
  7465. class CommonSettings extends FairyEditor.SettingsBase {
  7466. public font: string;
  7467. public fontSize: number;
  7468. public textColor: UnityEngine.Color;
  7469. public fontAdjustment: boolean;
  7470. public colorScheme: System.Collections.Generic.List$1<string>;
  7471. public fontSizeScheme: System.Collections.Generic.List$1<string>;
  7472. public fontScheme: System.Collections.Generic.List$1<string>;
  7473. public scrollBars: FairyEditor.CommonSettings.ScrollBarConfig;
  7474. public tipsRes: string;
  7475. public buttonClickSound: string;
  7476. public pivot: string;
  7477. public constructor($project: FairyEditor.FProject);
  7478. }
  7479. class CustomProps extends FairyEditor.SettingsBase {
  7480. public elements: System.Collections.Generic.Dictionary$2<string, string>;
  7481. public constructor($project: FairyEditor.FProject);
  7482. public FillCombo($cb: FairyGUI.GComboBox):void;
  7483. }
  7484. class GlobalPublishSettings extends FairyEditor.SettingsBase {
  7485. public path: string;
  7486. public branchPath: string;
  7487. public fileExtension: string;
  7488. public packageCount: number;
  7489. public compressDesc: boolean;
  7490. public binaryFormat: boolean;
  7491. public jpegQuality: number;
  7492. public compressPNG: boolean;
  7493. public codeGeneration: FairyEditor.GlobalPublishSettings.CodeGenerationConfig;
  7494. public includeHighResolution: number;
  7495. public branchProcessing: number;
  7496. public seperatedAtlasForBranch: boolean;
  7497. public atlasSetting: FairyEditor.GlobalPublishSettings.AtlasSetting;
  7498. public include2x: boolean;
  7499. public include3x: boolean;
  7500. public include4x: boolean;
  7501. public constructor($project: FairyEditor.FProject);
  7502. }
  7503. class I18nSettings extends FairyEditor.SettingsBase {
  7504. public langFiles: System.Collections.Generic.List$1<FairyEditor.I18nSettings.LanguageFile>;
  7505. public langFileName: string;
  7506. public langFile: string;
  7507. public constructor($project: FairyEditor.FProject);
  7508. public LoadStrings():void;
  7509. public FillCombo($cb: FairyGUI.GComboBox):void;
  7510. }
  7511. class PackageGroupSettings extends FairyEditor.SettingsBase {
  7512. public groups: System.Collections.Generic.List$1<FairyEditor.PackageGroupSettings.PackageGroup>;
  7513. public constructor($project: FairyEditor.FProject);
  7514. public GetGroup($name: string):FairyEditor.PackageGroupSettings.PackageGroup;
  7515. }
  7516. class ArrowKeyHelper extends System.Object {
  7517. public static direction: number;
  7518. public static shift: boolean;
  7519. public static ctrlOrCmd: boolean;
  7520. public static OnKeyDown($evt: FairyGUI.InputEvent):void;
  7521. public static OnKeyUp($evt: FairyGUI.InputEvent):void;
  7522. public static Reset():void;
  7523. }
  7524. class AssetSizeUtil extends System.Object {
  7525. public static GetSize($file: string):FairyEditor.AssetSizeUtil.Result;
  7526. }
  7527. class BuilderUtil extends System.Object {
  7528. public static TimeBase: Date;
  7529. public static GenerateUID():string;
  7530. public static GenDevCode():string;
  7531. public static ToStringBase36($num: bigint):string;
  7532. public static ToNumberBase36($str: string):number;
  7533. public static Encrypt_MD5($input: string, $encode?: System.Text.Encoding):string;
  7534. public static GetMD5HashFromFile($filePath: string):string;
  7535. public static Decrypt_DES16($base64String: string, $key: string):string;
  7536. public static Encrypt_DES16($source: string, $key: string):string;
  7537. public static Union($rect1: UnityEngine.Rect, $rect2: UnityEngine.Rect):UnityEngine.Rect;
  7538. public static GetNameFromId($aId: string):string;
  7539. public static GetFileExtension($fileName: string, $keepCase?: boolean):string;
  7540. public static PointLineDistance($pointX: number, $pointY: number, $startX: number, $startY: number, $endX: number, $endY: number, $isSegment: boolean):number;
  7541. public static GetSizeName($val: number, $digits?: number):string;
  7542. public static OpenURL($url: string):void;
  7543. public static OpenWithDefaultApp($file: string):void;
  7544. public static RevealInExplorer($file: string):void;
  7545. public static ToUnixTimestamp($dateTime: Date):bigint;
  7546. public static WaitForNextFrame():System.Threading.Tasks.Task;
  7547. public static CreateZip($zipFile: string, $dir: string):void;
  7548. public static Unzip($zipFile: string, $dir: string):void;
  7549. }
  7550. class BytesWriter extends System.Object {
  7551. public littleEndian: boolean;
  7552. public length: number;
  7553. public position: number;
  7554. public constructor();
  7555. public ReadByte($pos: number):number;
  7556. public WriteByte($value: number):void;
  7557. public WriteBoolean($value: boolean):void;
  7558. public WriteShort($value: number):void;
  7559. public WriteInt($value: number):void;
  7560. public WriteFloat($value: number):void;
  7561. public WriteUTF($str: string):void;
  7562. public WriteUTFBytes($str: string):void;
  7563. public WriteBytes($bytes: System.Array$1<number>):void;
  7564. public WriteBytes($ba: FairyEditor.BytesWriter):void;
  7565. public WriteColor($c: UnityEngine.Color32):void;
  7566. public ToBytes():System.Array$1<number>;
  7567. }
  7568. class ColorUtil extends System.Object {
  7569. public static ToHexString($color: UnityEngine.Color, $includeAlpha?: boolean):string;
  7570. public static FromHexString($str: string, $hasAlpha?: boolean):UnityEngine.Color;
  7571. public static FromARGB($argb: number):UnityEngine.Color;
  7572. public static FromRGB($rgb: number):UnityEngine.Color;
  7573. public static ToRGB($color: UnityEngine.Color):number;
  7574. public static ToARGB($color: UnityEngine.Color):number;
  7575. }
  7576. class FontUtil extends System.Object {
  7577. public static GetOSInstalledFontNames($forceRefresh: boolean):System.Collections.Generic.List$1<FairyEditor.FontUtil.FontInfo>;
  7578. public static RequestFont($family: string):void;
  7579. public static GetFontName($fontFile: string):FairyEditor.FontUtil.FontName;
  7580. public static GetPreviewTexture($fontInfo: FairyEditor.FontUtil.FontInfo):FairyGUI.NTexture;
  7581. }
  7582. class ImageUtil extends System.Object {
  7583. public static ToolAvailable: boolean;
  7584. public static Init():void;
  7585. public static Quantize($image: FairyEditor.VImage):System.Array$1<number>;
  7586. public static Quantize($pngFile: string, $targetFile: string):boolean;
  7587. public static Quantize($pngFile: string):string;
  7588. }
  7589. class VImage extends System.Object {
  7590. public width: number;
  7591. public height: number;
  7592. public transparent: boolean;
  7593. public bandCount: number;
  7594. public static New($width: number, $height: number, $transparent: boolean):FairyEditor.VImage;
  7595. public static New($width: number, $height: number, $transparent: boolean, $fillColor: UnityEngine.Color):FairyEditor.VImage;
  7596. public static New($file: string):FairyEditor.VImage;
  7597. public static New($data: System.Array$1<number>):FairyEditor.VImage;
  7598. public static New($file: string, $width: number, $height: number):FairyEditor.VImage;
  7599. public static Thumbnail($file: string, $width: number):FairyEditor.VImage;
  7600. public static GetImageSize($file: string, $width: $Ref<number>, $height: $Ref<number>):boolean;
  7601. public Dispose():void;
  7602. public Resize($width: number, $height: number, $kernel?: FairyEditor.VImage.Kernel):void;
  7603. public ResizeBy($hscale: number, $vscale: number, $kernel?: FairyEditor.VImage.Kernel):void;
  7604. public Rotate($angle: number):void;
  7605. public FindTrim():UnityEngine.Rect;
  7606. public Crop($rect: UnityEngine.Rect):void;
  7607. public Embed($x: number, $y: number, $width: number, $height: number, $extend: FairyEditor.VImage.Extend, $background: UnityEngine.Color):void;
  7608. public AlphaBlend($another: FairyEditor.VImage, $x: number, $y: number):void;
  7609. public CopyPixels($another: FairyEditor.VImage, $x: number, $y: number):void;
  7610. public CopyPixels($another: FairyEditor.VImage, $sourceRect: UnityEngine.Rect, $destPoint: UnityEngine.Vector2):void;
  7611. public Composite($another: FairyEditor.VImage, $x: number, $y: number, $blendMode: FairyEditor.VImage.BlendMode, $premultiplied: boolean):void;
  7612. public Composite($images: System.Collections.Generic.IList$1<FairyEditor.VImage>, $pos: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $blendMode: FairyEditor.VImage.BlendMode, $premultiplied: boolean):void;
  7613. public ExtractAlpha($returnAlpha: boolean):FairyEditor.VImage;
  7614. public Clear($color: UnityEngine.Color):void;
  7615. public DrawRect($x: number, $y: number, $width: number, $height: number, $color: UnityEngine.Color, $fill: boolean):void;
  7616. public GetRawData():System.IntPtr;
  7617. public GetRawDataSize():number;
  7618. public GetPixels():System.Array$1<number>;
  7619. public ToTexture($smoothing: boolean, $makeNoLongerReadable: boolean):UnityEngine.Texture2D;
  7620. public GetAnimation():FairyEditor.VImage.Animation;
  7621. public Save($file: string):void;
  7622. public Save($file: string, $format: string):void;
  7623. public Save($file: string, $format: string, $quality: number):void;
  7624. public Clone():FairyEditor.VImage;
  7625. public static InitLibrary():void;
  7626. }
  7627. class IOUtil extends System.Object {
  7628. public static DeleteFile($file: string, $toTrash?: boolean):void;
  7629. public static CopyFile($sourceFile: string, $destFile: string):void;
  7630. public static BrowseForDirectory($title: string, $callback: System.Action$1<string>):void;
  7631. public static BrowseForOpen($title: string, $directory: string, $extensions: System.Array$1<SFB.ExtensionFilter>, $callback: System.Action$1<string>):void;
  7632. public static BrowseForOpenMultiple($title: string, $directory: string, $extensions: System.Array$1<SFB.ExtensionFilter>, $callback: System.Action$1<System.Array$1<string>>):void;
  7633. public static BrowseForSave($title: string, $directory: string, $extension: SFB.ExtensionFilter, $callback: System.Action$1<string>):void;
  7634. public static BrowseForSave($title: string, $directory: string, $defaultName: string, $defaultExt: string, $callback: System.Action$1<string>):void;
  7635. }
  7636. class JsonUtil extends System.Object {
  7637. public static ColorHexFormat: boolean;
  7638. public static DecodeJson($content: string):any;
  7639. public static EncodeJson($obj: any):string;
  7640. public static EncodeJson($obj: any, $indent: boolean):string;
  7641. }
  7642. class NativeDragDrop extends System.Object {
  7643. public static Init():void;
  7644. public static Dispose():void;
  7645. }
  7646. class UserActionException extends System.Exception {
  7647. public constructor($message: string);
  7648. }
  7649. class PathPointsUtil extends System.Object {
  7650. public static InsertPoint($pos: UnityEngine.Vector3, $index: number, $points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>):void;
  7651. public static RemovePoint($index: number, $points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>):void;
  7652. public static UpdatePoint($index: number, $pos: UnityEngine.Vector3, $points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>):void;
  7653. public static UpdateControlPoint($pointIndex: number, $controlIndex: number, $pos: UnityEngine.Vector3, $points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>):void;
  7654. public static SerializeFrom($source: string, $points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>):void;
  7655. public static SerializeTo($points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>):string;
  7656. }
  7657. class PlistElement extends System.Object {
  7658. public AsString():string;
  7659. public AsInteger():number;
  7660. public AsBoolean():boolean;
  7661. public AsArray():FairyEditor.PlistElementArray;
  7662. public AsDict():FairyEditor.PlistElementDict;
  7663. public AsReal():number;
  7664. public AsDate():Date;
  7665. public get_Item($key: string):FairyEditor.PlistElement;
  7666. public set_Item($key: string, $value: FairyEditor.PlistElement):void;
  7667. }
  7668. class PlistElementArray extends FairyEditor.PlistElement {
  7669. public values: System.Collections.Generic.List$1<FairyEditor.PlistElement>;
  7670. public constructor();
  7671. public AddString($val: string):void;
  7672. public AddInteger($val: number):void;
  7673. public AddBoolean($val: boolean):void;
  7674. public AddDate($val: Date):void;
  7675. public AddReal($val: number):void;
  7676. public AddArray():FairyEditor.PlistElementArray;
  7677. public AddDict():FairyEditor.PlistElementDict;
  7678. }
  7679. class PlistElementDict extends FairyEditor.PlistElement {
  7680. public values: System.Collections.Generic.IDictionary$2<string, FairyEditor.PlistElement>;
  7681. public constructor();
  7682. public get_Item($key: string):FairyEditor.PlistElement;
  7683. public set_Item($key: string, $value: FairyEditor.PlistElement):void;
  7684. public SetInteger($key: string, $val: number):void;
  7685. public SetString($key: string, $val: string):void;
  7686. public SetBoolean($key: string, $val: boolean):void;
  7687. public SetDate($key: string, $val: Date):void;
  7688. public SetReal($key: string, $val: number):void;
  7689. public CreateArray($key: string):FairyEditor.PlistElementArray;
  7690. public CreateDict($key: string):FairyEditor.PlistElementDict;
  7691. public get_Item($key: string):FairyEditor.PlistElement;
  7692. public set_Item($key: string, $value: FairyEditor.PlistElement):void;
  7693. }
  7694. class PlistElementString extends FairyEditor.PlistElement {
  7695. public value: string;
  7696. public constructor($v: string);
  7697. }
  7698. class PlistElementInteger extends FairyEditor.PlistElement {
  7699. public value: number;
  7700. public constructor($v: number);
  7701. }
  7702. class PlistElementReal extends FairyEditor.PlistElement {
  7703. public value: number;
  7704. public constructor($v: number);
  7705. }
  7706. class PlistElementBoolean extends FairyEditor.PlistElement {
  7707. public value: boolean;
  7708. public constructor($v: boolean);
  7709. }
  7710. class PlistElementDate extends FairyEditor.PlistElement {
  7711. public value: Date;
  7712. public constructor($date: Date);
  7713. }
  7714. class PlistDocument extends System.Object {
  7715. public root: FairyEditor.PlistElementDict;
  7716. public version: string;
  7717. public constructor();
  7718. public Create():void;
  7719. public ReadFromFile($path: string):void;
  7720. public ReadFromStream($tr: System.IO.TextReader):void;
  7721. public ReadFromString($text: string):void;
  7722. public WriteToFile($path: string):void;
  7723. public WriteToStream($tw: System.IO.TextWriter):void;
  7724. public WriteToString():string;
  7725. }
  7726. class PrimitiveExtension extends System.Object {
  7727. public static FormattedString($value: number, $fractionDigits?: number):string;
  7728. }
  7729. class ProcessUtil extends System.Object {
  7730. public static LaunchApp():void;
  7731. public static Start($path: string, $args: System.Array$1<string>, $dir: string, $waitUntilExit: boolean):string;
  7732. public static GetOpenFilename():string;
  7733. public static GetUUID():string;
  7734. public static GetAppVersion():string;
  7735. }
  7736. class ReflectionUtil extends System.Object {
  7737. public static GetInfo($type: System.Type, $propName: string):any;
  7738. public static GetProperty($obj: any, $propName: string):any;
  7739. public static SetProperty($obj: any, $propName: string, $value: any):void;
  7740. }
  7741. class WindowUtil extends System.Object {
  7742. public static ChangeTitle($title: string):void;
  7743. public static ChangeIcon($icon: string):void;
  7744. public static GetScaleFactor():number;
  7745. public static BringToFront():void;
  7746. }
  7747. class XMLExtension extends System.Object {
  7748. public static Load($file: string):FairyGUI.Utils.XML;
  7749. public static LoadXMLBrief($file: string):FairyGUI.Utils.XML;
  7750. public static GetAttributeArray($xml: FairyGUI.Utils.XML, $attrName: string, $i1: $Ref<number>, $i2: $Ref<number>):boolean;
  7751. public static GetAttributeArray($xml: FairyGUI.Utils.XML, $attrName: string, $i1: $Ref<number>, $i2: $Ref<number>, $i3: $Ref<number>, $i4: $Ref<number>):boolean;
  7752. public static GetAttributeArray($xml: FairyGUI.Utils.XML, $attrName: string, $f1: $Ref<number>, $f2: $Ref<number>, $f3: $Ref<number>, $f4: $Ref<number>):boolean;
  7753. public static GetAttributeArray($xml: FairyGUI.Utils.XML, $attrName: string, $f1: $Ref<number>, $f2: $Ref<number>):boolean;
  7754. public static GetAttributeArray($xml: FairyGUI.Utils.XML, $attrName: string, $s1: $Ref<string>, $s2: $Ref<string>):boolean;
  7755. }
  7756. }
  7757. class ExternalImagePool extends System.Object {
  7758. }
  7759. namespace FairyEditor.View {
  7760. class MainView extends System.Object {
  7761. public panel: FairyGUI.GComponent;
  7762. public toolbar: FairyGUI.GComponent;
  7763. public constructor();
  7764. public UpdateUserInfo():void;
  7765. public ShowNewVersionPrompt($versionName: string):void;
  7766. public ShowRestartPrompt():void;
  7767. public ShowAlreadyUpdatedPrompt():void;
  7768. public ShowStartScene():void;
  7769. public HandleGlobalHotkey($funcId: string):boolean;
  7770. public FillLanguages():void;
  7771. public DropFiles($mousePos: UnityEngine.Vector2, $arrFiles: System.Array$1<string>):void;
  7772. }
  7773. class DocumentView extends FairyGUI.GComponent {
  7774. public docContainer: FairyGUI.GComponent;
  7775. public activeDoc: FairyEditor.View.IDocument;
  7776. public viewScale: number;
  7777. public constructor();
  7778. public AddFactory($factory: FairyEditor.View.IDocumentFactory):void;
  7779. public RemoveFactory($factory: FairyEditor.View.IDocumentFactory):void;
  7780. public FindDocument($docURL: string):FairyEditor.View.IDocument;
  7781. public CloseDocuments($pkg: FairyEditor.FPackage):void;
  7782. public OpenDocument($url: string, $activateIt?: boolean):FairyEditor.View.IDocument;
  7783. public SaveDocument($doc?: FairyEditor.View.IDocument):void;
  7784. public SaveAllDocuments():void;
  7785. public CloseDocument($doc?: FairyEditor.View.IDocument):void;
  7786. public CloseAllDocuments():void;
  7787. public QueryToCloseDocument($doc?: FairyEditor.View.IDocument):void;
  7788. public QueryToCloseOtherDocuments():void;
  7789. public QueryToCloseAllDocuments():void;
  7790. public QueryToSaveAllDocuments($callback: System.Action$1<string>):void;
  7791. public HasUnsavedDocuments():boolean;
  7792. public UpdateTab($doc: FairyEditor.View.IDocument):void;
  7793. public HandleHotkey($context: FairyGUI.EventContext):void;
  7794. }
  7795. class LibraryView extends FairyGUI.GComponent {
  7796. public contextMenu: FairyEditor.Component.IMenu;
  7797. public currentGroup: string;
  7798. public constructor();
  7799. public GetFolderUnderPoint($globalPos: UnityEngine.Vector2, $touchTarget: FairyGUI.GObject):FairyEditor.FPackageItem;
  7800. public GetSelectedResource():FairyEditor.FPackageItem;
  7801. public GetSelectedResources($includeChildren: boolean):System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  7802. public GetSelectedFolder():FairyEditor.FPackageItem;
  7803. public Highlight($pi: FairyEditor.FPackageItem, $setFocus?: boolean):void;
  7804. public MoveResources($dropTarget: FairyEditor.FPackageItem, $items: System.Collections.Generic.List$1<FairyEditor.FPackageItem>):void;
  7805. public DeleteResources($items: System.Collections.Generic.List$1<FairyEditor.FPackageItem>):void;
  7806. public SetResourcesExported($items: System.Collections.Generic.List$1<FairyEditor.FPackageItem>, $value: boolean):void;
  7807. public SetResourcesFavorite($items: System.Collections.Generic.List$1<FairyEditor.FPackageItem>, $value: boolean):void;
  7808. public OpenResource($pi: FairyEditor.FPackageItem):void;
  7809. public OpenResources($pis: System.Collections.Generic.List$1<FairyEditor.FPackageItem>):void;
  7810. public RevealInExplorer($pi: FairyEditor.FPackageItem):void;
  7811. public ShowUpdateResourceDialog($pi: FairyEditor.FPackageItem):void;
  7812. public ShowImportResourcesDialog($pkg?: FairyEditor.FPackage, $toPath?: string):void;
  7813. public AddPackageToGroup($pkg: FairyEditor.FPackage):void;
  7814. public GetPackagesInGroup($group: string, $result: System.Collections.Generic.List$1<FairyEditor.FPackage>):System.Collections.Generic.List$1<FairyEditor.FPackage>;
  7815. }
  7816. class InspectorView extends FairyGUI.GComponent {
  7817. public visibleInspectors: System.Collections.Generic.List$1<FairyEditor.View.IInspector>;
  7818. public scrollPos: number;
  7819. public constructor();
  7820. public GetInspector($name: string):FairyEditor.View.IInspector;
  7821. public AddInspector($type: System.Type, $name: string, $title: string):void;
  7822. public AddInspector($luaTable: XLua.LuaTable, $name: string, $title: string):void;
  7823. public AddInspector($factoryMethod: System.Func$1<FairyEditor.View.PluginInspector>, $name: string, $title: string):void;
  7824. public RemoveInspector($name: string):void;
  7825. public RemoveAllPluginInspectors():void;
  7826. public SetTitle($name: string, $title: string):void;
  7827. public Show($name: string):void;
  7828. public Show($names: System.Array$1<string>):void;
  7829. public Show($names: System.Collections.Generic.List$1<string>):void;
  7830. public UpdateInspector($inst: FairyEditor.View.IInspector):void;
  7831. public ShowPopup($name: string, $target: FairyGUI.GObject, $dir?: FairyGUI.PopupDirection, $closeUntilMouseUp?: boolean):void;
  7832. public Refresh($name: string):void;
  7833. public Clear():void;
  7834. }
  7835. class TestView extends FairyGUI.GComponent {
  7836. public running: boolean;
  7837. public constructor();
  7838. public Start():void;
  7839. public Reload():void;
  7840. public Stop():void;
  7841. public PlayTransition($name: string):void;
  7842. public TogglePopup($popup: FairyEditor.FObject, $target?: FairyEditor.FObject, $direction?: string):void;
  7843. public ShowPopup($popup: FairyEditor.FObject, $target?: FairyEditor.FObject, $direction?: string):void;
  7844. public HidePopup():void;
  7845. public ShowTooltips($msg: string):void;
  7846. public HideTooltips():void;
  7847. }
  7848. class TimelineView extends FairyGUI.GComponent {
  7849. public constructor();
  7850. public Refresh($transItem?: FairyEditor.FTransitionItem):void;
  7851. public SelectKeyFrame($transItem: FairyEditor.FTransitionItem):void;
  7852. public GetSelection():FairyEditor.FTransitionItem;
  7853. public GetSelections($result: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>):void;
  7854. }
  7855. class ConsoleView extends FairyGUI.GComponent {
  7856. public constructor();
  7857. public Log($msg: string):void;
  7858. public Log($logType: UnityEngine.LogType, $msg: string):void;
  7859. public LogError($msg: string):void;
  7860. public LogError($msg: string, $err?: System.Exception):void;
  7861. public LogWarning($msg: string):void;
  7862. public Clear():void;
  7863. }
  7864. class DocumentFactory extends System.Object {
  7865. public contextMenu: FairyEditor.Component.IMenu;
  7866. public constructor();
  7867. public CreateDocument($docURL: string):FairyEditor.View.IDocument;
  7868. public InvokeDocumentMethod($methodName: string, $args?: System.Array$1<any>):void;
  7869. public ConnectInspector($inspectorName: string):void;
  7870. public ConnectInspector($inspectorName: string, $forObjectType: string, $forEmptySelection: boolean, $forTimelineMode: boolean):void;
  7871. public disconnectInspector($inspectorName: string):void;
  7872. }
  7873. class Document extends System.Object {
  7874. public panel: FairyGUI.GComponent;
  7875. public selectionLayer: FairyGUI.Container;
  7876. public inspectingTarget: FairyEditor.FObject;
  7877. public inspectingTargets: System.Collections.Generic.IList$1<FairyEditor.FObject>;
  7878. public inspectingObjectType: string;
  7879. public packageItem: FairyEditor.FPackageItem;
  7880. public content: FairyEditor.FComponent;
  7881. public displayTitle: string;
  7882. public displayIcon: string;
  7883. public history: FairyEditor.View.ActionHistory;
  7884. public docURL: string;
  7885. public isModified: boolean;
  7886. public savedVersion: number;
  7887. public openedGroup: FairyEditor.FObject;
  7888. public isPickingObject: boolean;
  7889. public timelineMode: boolean;
  7890. public editingTransition: FairyEditor.FTransition;
  7891. public head: number;
  7892. public constructor();
  7893. public Open($pi: FairyEditor.FPackageItem):void;
  7894. public OnEnable():void;
  7895. public OnDisable():void;
  7896. public OnDestroy():void;
  7897. public OnValidate():void;
  7898. public SetMeta($key: string, $value: any):void;
  7899. public OnUpdate():void;
  7900. public GetInspectingTargetCount($objectType: string):number;
  7901. public SetModified($value?: boolean):void;
  7902. public Serialize():FairyGUI.Utils.XML;
  7903. public Save():void;
  7904. public OnViewSizeChanged():void;
  7905. public OnViewScaleChanged():void;
  7906. public OnViewBackgroundChanged():void;
  7907. public SelectObject($obj: FairyEditor.FObject, $scrollToView?: boolean, $allowOpenGroups?: boolean):void;
  7908. public SelectAll():void;
  7909. public GetSelection():System.Collections.Generic.IList$1<FairyEditor.FObject>;
  7910. public UnselectObject($obj: FairyEditor.FObject):void;
  7911. public UnselectAll():void;
  7912. public SetSelection($obj: FairyEditor.FObject):void;
  7913. public SetSelection($objs: System.Collections.Generic.IList$1<FairyEditor.FObject>):void;
  7914. public CopySelection():void;
  7915. public DeleteSelection():void;
  7916. public DeleteGroupContent($group: FairyEditor.FGroup):void;
  7917. public MoveSelection($dx: number, $dy: number):void;
  7918. public GlobalToCanvas($stagePos: UnityEngine.Vector2):UnityEngine.Vector2;
  7919. public GetCenterPos():UnityEngine.Vector2;
  7920. public Paste($pos?: System.Nullable$1<UnityEngine.Vector2>, $pasteToCenter?: boolean):void;
  7921. public ReplaceSelection($url: string):void;
  7922. public OpenChild($target: FairyEditor.FObject):void;
  7923. public StartInlineEdit($target: FairyEditor.FTextField):void;
  7924. public ShowContextMenu():void;
  7925. public UpdateEditMenu($editMeu: FairyEditor.Component.IMenu):void;
  7926. public InsertObject($url: string, $pos?: System.Nullable$1<UnityEngine.Vector2>, $insertIndex?: number):FairyEditor.FObject;
  7927. public RemoveObject($obj: FairyEditor.FObject):void;
  7928. public AdjustDepth($index: number):void;
  7929. public CreateGroup():void;
  7930. public DestroyGroup():void;
  7931. public OpenGroup($group: FairyEditor.FObject):void;
  7932. public CloseGroup($depth?: number):void;
  7933. public NotifyGroupRemoved($group: FairyEditor.FGroup):void;
  7934. public HandleHotkey($hotkeyId: string):void;
  7935. public PickObject($initValue: FairyEditor.FObject, $callback: System.Action$1<FairyEditor.FObject>, $validator?: System.Func$2<FairyEditor.FObject, boolean>, $cancelCallback?: System.Action):void;
  7936. public CancelPickObject():void;
  7937. public EnterTimelineMode($name: string):void;
  7938. public ExitTimelineMode():void;
  7939. public RefreshTransition():void;
  7940. public RefreshInspectors($flag?: number):void;
  7941. public GetOutlineLocks($obj: FairyEditor.FObject):number;
  7942. public SetTransitionProperty($trans: FairyEditor.FTransition, $propName: string, $propValue: any):void;
  7943. public SetKeyFrameProperty($item: FairyEditor.FTransitionItem, $propName: string, $propValue: any):void;
  7944. public SetKeyFrameValue($item: FairyEditor.FTransitionItem, ...values: any[]):void;
  7945. public SetKeyFramePathPos($item: FairyEditor.FTransitionItem, $pointIndex: number, $x: number, $y: number):void;
  7946. public SetKeyFrameControlPointPos($item: FairyEditor.FTransitionItem, $pointIndex: number, $controlIndex: number, $x: number, $y: number):void;
  7947. public SetKeyFrameControlPointSmooth($item: FairyEditor.FTransitionItem, $pointIndex: number, $smooth: boolean):void;
  7948. public SetKeyFrame($targetId: string, $type: string, $frame: number):void;
  7949. public AddKeyFrames($keyFrames: System.Collections.Generic.IEnumerable$1<FairyEditor.FTransitionItem>):void;
  7950. public CreateKeyFrame($transType: string):void;
  7951. public CreateKeyFrame($child: FairyEditor.FObject, $type: string):FairyEditor.FTransitionItem;
  7952. public AddKeyFrame($item: FairyEditor.FTransitionItem):void;
  7953. public AddKeyFrames($items: System.Array$1<FairyEditor.FTransitionItem>):void;
  7954. public RemoveKeyFrame($item: FairyEditor.FTransitionItem):void;
  7955. public RemoveKeyFrames($targetId: string, $type: string):void;
  7956. public UpdateTransition($xml: FairyGUI.Utils.XML):void;
  7957. public AddTransition($name?: string):FairyEditor.FTransition;
  7958. public RemoveTransition($name: string):void;
  7959. public DuplicateTransition($name: string, $newInstanceName?: string):FairyEditor.FTransition;
  7960. public UpdateTransitions($data: FairyGUI.Utils.XML):void;
  7961. public AddController($data: FairyGUI.Utils.XML):void;
  7962. public UpdateController($controllerName: string, $data: FairyGUI.Utils.XML):void;
  7963. public RemoveController($controllerName: string):void;
  7964. public SwitchPage($controllerName: string, $index: number):number;
  7965. }
  7966. class DocElement extends System.Object {
  7967. public owner: FairyEditor.View.Document;
  7968. public isRoot: boolean;
  7969. public isValid: boolean;
  7970. public relationsDisabled: boolean;
  7971. public displayIcon: string;
  7972. public selected: boolean;
  7973. public gizmo: FairyEditor.View.Gizmo;
  7974. public constructor($doc: FairyEditor.View.Document, $obj: FairyEditor.FObject, $isRoot?: boolean);
  7975. public SetProperty($propName: string, $propValue: any):void;
  7976. public SetGearProperty($gearIndex: number, $propName: string, $propValue: any):void;
  7977. public SetRelation($target: FairyEditor.FObject, $desc: string):void;
  7978. public RemoveRelation($target: FairyEditor.FObject):void;
  7979. public UpdateRelations($data: FairyGUI.Utils.XML):void;
  7980. public SetExtensionProperty($propName: string, $propValue: any):void;
  7981. public SetChildProperty($target: string, $propertyId: number, $propValue: any):void;
  7982. public SetVertexPosition($pointIndex: number, $x: number, $y: number):void;
  7983. public SetVertexDistance($pointIndex: number, $distance: number):void;
  7984. public SetScriptData($name: string, $value: string):void;
  7985. }
  7986. interface IActionHistoryItem {
  7987. isPersists: boolean;
  7988. Process($owner: FairyEditor.View.Document):boolean;
  7989. }
  7990. class ActionHistory extends System.Object {
  7991. public processing: boolean;
  7992. public constructor($doc: FairyEditor.View.Document);
  7993. public CanUndo():boolean;
  7994. public CanRedo():boolean;
  7995. public Add($item: FairyEditor.View.IActionHistoryItem):void;
  7996. public GetPendingList():System.Collections.Generic.List$1<FairyEditor.View.IActionHistoryItem>;
  7997. public Reset():void;
  7998. public PushHistory():void;
  7999. public PopHistory():void;
  8000. public Undo():boolean;
  8001. public Redo():boolean;
  8002. }
  8003. class Gizmo extends FairyGUI.Container {
  8004. public static RESIZE_HANDLE: number;
  8005. public static VERTEX_HANDLE: number;
  8006. public static PATH_HANDLE: number;
  8007. public static CONTROL_HANDLE: number;
  8008. public static HANDLE_SIZE: number;
  8009. public static OUTLINE_COLOR: UnityEngine.Color;
  8010. public static OUTLINE_COLOR_COM: UnityEngine.Color;
  8011. public static OUTLINE_COLOR_GROUP: UnityEngine.Color;
  8012. public static PATH_COLOR: UnityEngine.Color;
  8013. public static TANGENT_COLOR: UnityEngine.Color;
  8014. public static VERTEX_HANDLE_COLOR: UnityEngine.Color;
  8015. public static PATH_HANDLE_COLOR: UnityEngine.Color;
  8016. public static CONTROLL_HANDLE_COLOR: UnityEngine.Color;
  8017. public owner: FairyEditor.FObject;
  8018. public activeHandleIndex: number;
  8019. public activeHandleType: number;
  8020. public verticesEditing: boolean;
  8021. public keyFrame: FairyEditor.FTransitionItem;
  8022. public activeHandle: FairyEditor.View.GizmoHandle;
  8023. public constructor($doc: FairyEditor.View.Document, $owner: FairyEditor.FObject);
  8024. public EditVertices():void;
  8025. public EditPath($keyFrame: FairyEditor.FTransitionItem):void;
  8026. public EditComplete():void;
  8027. public Refresh($immediately?: boolean):void;
  8028. public ShowDecorations($visible: boolean):void;
  8029. public SetSelected($value: boolean):void;
  8030. public OnUpdate():void;
  8031. public OnDragStart($context: FairyGUI.EventContext):void;
  8032. public OnDragMove($context: FairyGUI.EventContext):void;
  8033. public OnDragEnd($context: FairyGUI.EventContext):void;
  8034. }
  8035. interface IDocument {
  8036. panel: FairyGUI.GComponent;
  8037. packageItem: FairyEditor.FPackageItem;
  8038. docURL: string;
  8039. displayTitle: string;
  8040. displayIcon: string;
  8041. isModified: boolean;
  8042. Save():void;
  8043. UpdateEditMenu($editMenu: FairyEditor.Component.IMenu):void;
  8044. HandleHotkey($hotkeyId: string):void;
  8045. OnEnable():void;
  8046. OnDisable():void;
  8047. OnValidate():void;
  8048. OnUpdate():void;
  8049. OnDestroy():void;
  8050. OnViewSizeChanged():void;
  8051. OnViewScaleChanged():void;
  8052. OnViewBackgroundChanged():void;
  8053. }
  8054. class GizmoHandle extends FairyGUI.Shape {
  8055. public index: number;
  8056. public type: number;
  8057. public selected: boolean;
  8058. public constructor($type: number, $color: UnityEngine.Color, $shape?: number);
  8059. }
  8060. class GizmoHandleSet extends System.Object {
  8061. public constructor($manager: FairyGUI.DisplayObject, $type: number, $color: UnityEngine.Color, $shape?: number);
  8062. public ResetIndex():void;
  8063. public GetHandle():FairyEditor.View.GizmoHandle;
  8064. public RemoveSpares():void;
  8065. }
  8066. class GridMesh extends System.Object {
  8067. public gridSize: number;
  8068. public offset: UnityEngine.Vector2;
  8069. public constructor();
  8070. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  8071. }
  8072. class InspectorUpdateFlags extends System.Object {
  8073. public static COMMON: number;
  8074. public static TRANSFORM: number;
  8075. public static GEAR: number;
  8076. public static RELATION: number;
  8077. public static GIZMO: number;
  8078. public static FlagsByName: System.Collections.Generic.Dictionary$2<string, number>;
  8079. }
  8080. class PathLineMesh extends System.Object {
  8081. public pathLine: FairyGUI.LineMesh;
  8082. public controlLines: System.Collections.Generic.List$1<FairyGUI.StraightLineMesh>;
  8083. public controlLineCount: number;
  8084. public constructor();
  8085. public GetControlLine():FairyGUI.StraightLineMesh;
  8086. public OnPopulateMesh($vb: FairyGUI.VertexBuffer):void;
  8087. }
  8088. class DocCamera extends UnityEngine.MonoBehaviour {
  8089. public cachedTransform: UnityEngine.Transform;
  8090. public cachedCamera: UnityEngine.Camera;
  8091. public owner: FairyGUI.GComponent;
  8092. public constructor();
  8093. }
  8094. interface IDocumentFactory {
  8095. CreateDocument($url: string):FairyEditor.View.IDocument;
  8096. }
  8097. class FavoritesView extends FairyGUI.GComponent {
  8098. public constructor();
  8099. }
  8100. class HierarchyView extends FairyGUI.GComponent {
  8101. public constructor();
  8102. }
  8103. interface IInspector {
  8104. panel: FairyGUI.GComponent;
  8105. UpdateUI():boolean;
  8106. Dispose():void;
  8107. }
  8108. class PluginInspector extends System.Object {
  8109. public updateAction: System.Func$1<boolean>;
  8110. public disposeAction: System.Action;
  8111. public panel: FairyGUI.GComponent;
  8112. public constructor();
  8113. public UpdateUI():boolean;
  8114. public Dispose():void;
  8115. }
  8116. class MainMenu extends System.Object {
  8117. public root: FairyEditor.Component.IMenu;
  8118. public constructor($root: FairyEditor.Component.IMenu);
  8119. public AddStartSceneMenu():void;
  8120. public AddProjectMenu():void;
  8121. }
  8122. class PlugInView extends FairyGUI.GComponent {
  8123. public constructor();
  8124. }
  8125. class PreviewView extends FairyGUI.GComponent {
  8126. public constructor();
  8127. public Show($pi?: FairyEditor.FPackageItem):void;
  8128. }
  8129. class ProjectView extends System.Object {
  8130. public onContextMenu: FairyEditor.View.ProjectView.OnContextMenuDelegate;
  8131. public onGetItemListing: FairyEditor.View.ProjectView.OnGetItemListingDelegate;
  8132. public allowDrag: boolean;
  8133. public project: FairyEditor.FProject;
  8134. public treeView: FairyGUI.GTree;
  8135. public listView: FairyGUI.GList;
  8136. public showListView: boolean;
  8137. public constructor($proj: FairyEditor.FProject, $tree: FairyGUI.GTree, $sep?: FairyGUI.GObject, $list?: FairyGUI.GList);
  8138. public SetChanged($pi: FairyEditor.FPackageItem):boolean;
  8139. public SetTreeChanged($pi: FairyEditor.FPackageItem, $recursive?: boolean, $applyImmediately?: boolean):void;
  8140. public GetSelectedPackage():FairyEditor.FPackage;
  8141. public GetSelectedFolder():FairyEditor.FPackageItem;
  8142. public GetSelectedResource():FairyEditor.FPackageItem;
  8143. public GetSelectedResources($result?: System.Collections.Generic.List$1<FairyEditor.FPackageItem>):System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  8144. public GetFolderUnderPoint($globalPos: UnityEngine.Vector2, $touchTarget: FairyGUI.GObject):FairyEditor.FPackageItem;
  8145. public GetExpandedFolders($parentNode?: FairyGUI.GTreeNode, $result?: System.Collections.Generic.List$1<string>):System.Collections.Generic.List$1<string>;
  8146. public SetExpanedFolders($arr: System.Collections.IList):void;
  8147. public IsInView($pi: FairyEditor.FPackageItem):boolean;
  8148. public Select($pi: FairyEditor.FPackageItem):boolean;
  8149. public SelectNextTo($pi: FairyEditor.FPackageItem):void;
  8150. public Expand($pi: FairyEditor.FPackageItem):void;
  8151. public Rename($pi?: FairyEditor.FPackageItem):void;
  8152. public Open():void;
  8153. public ChangeIconSize($scale: number):void;
  8154. }
  8155. class ReferenceView extends FairyGUI.GComponent {
  8156. public constructor();
  8157. public Open($source: string):void;
  8158. public FillMenuTargets():void;
  8159. }
  8160. class ResourceMenu extends System.Object {
  8161. public realMenu: FairyEditor.Component.IMenu;
  8162. public targetItems: System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  8163. public constructor();
  8164. public Show():void;
  8165. }
  8166. class SearchView extends FairyGUI.GComponent {
  8167. public constructor();
  8168. public FillMenuTargets():void;
  8169. }
  8170. class TransitionListView extends FairyGUI.GComponent {
  8171. public constructor();
  8172. public Refresh():void;
  8173. }
  8174. }
  8175. namespace FairyEditor.Component {
  8176. interface IMenu {
  8177. AddItem($caption: string, $name: string, $selectCallback: System.Action$1<string>):void;
  8178. AddItem($caption: string, $name: string, $atIndex: number, $isSubMenu: boolean, $selectCallback: System.Action$1<string>):void;
  8179. AddSeperator():void;
  8180. AddSeperator($atIndex: number):void;
  8181. RemoveItem($name: string):void;
  8182. SetItemEnabled($name: string, $enabled: boolean):void;
  8183. SetItemChecked($name: string, $checked: boolean):void;
  8184. IsItemChecked($name: string):boolean;
  8185. SetItemText($name: string, $text: string):void;
  8186. ClearItems():void;
  8187. GetSubMenu($name: string):FairyEditor.Component.IMenu;
  8188. Invoke($name: string):void;
  8189. Dispose():void;
  8190. }
  8191. class ViewGrid extends FairyGUI.GComponent {
  8192. public uid: string;
  8193. public showTabs: boolean;
  8194. public numViews: number;
  8195. public selectedIndex: number;
  8196. public selectedView: FairyGUI.GComponent;
  8197. public constructor();
  8198. public GetViewAt($index: number):FairyGUI.GComponent;
  8199. public AddView($view: FairyGUI.GComponent):void;
  8200. public AddViewAt($view: FairyGUI.GComponent, $index: number):void;
  8201. public RemoveView($view: FairyGUI.GComponent):void;
  8202. public RemoveViewAt($index: number):void;
  8203. public SetViewIndex($view: FairyGUI.GComponent, $index: number):void;
  8204. public GetViewIndex($view: FairyGUI.GComponent):number;
  8205. public GetViewIndexById($viewId: string):number;
  8206. public ContainsView($ids: System.Array$1<string>):boolean;
  8207. public MoveViews($anotherGrid: FairyEditor.Component.ViewGrid):void;
  8208. public Clear():void;
  8209. public Refresh():void;
  8210. public SetViewTitle($index: number, $title: string):void;
  8211. }
  8212. class ChildObjectInput extends FairyGUI.GLabel {
  8213. public typeFilter: System.Array$1<string>;
  8214. public value: FairyEditor.FObject;
  8215. public constructor();
  8216. public Start():void;
  8217. }
  8218. class ColorInput extends FairyGUI.GButton {
  8219. public showAlpha: boolean;
  8220. public colorValue: UnityEngine.Color;
  8221. public constructor();
  8222. }
  8223. class ColorPicker extends System.Object {
  8224. public isShowing: boolean;
  8225. public constructor();
  8226. public Show($input: FairyEditor.Component.ColorInput, $popupTarget: FairyGUI.GObject, $color: UnityEngine.Color, $showAlpha: boolean):void;
  8227. public Hide():void;
  8228. }
  8229. class ComPropertyInput extends FairyGUI.GLabel {
  8230. public value: any;
  8231. public constructor();
  8232. public Update($cp: FairyEditor.ComProperty, $pagesSupplier: any):void;
  8233. }
  8234. class ControllerInput extends FairyGUI.GLabel {
  8235. public prompt: string;
  8236. public includeChildren: boolean;
  8237. public owner: FairyEditor.FComponent;
  8238. public value: string;
  8239. public constructor();
  8240. }
  8241. class ControllerMultiPageInput extends FairyGUI.GLabel {
  8242. public prompt: string;
  8243. public controller: FairyEditor.FController;
  8244. public value: System.Array$1<string>;
  8245. public constructor();
  8246. }
  8247. class ControllerPageInput extends FairyGUI.GLabel {
  8248. public prompt: string;
  8249. public nullPageOption: boolean;
  8250. public additionalOptions: boolean;
  8251. public controller: FairyEditor.FController;
  8252. public value: string;
  8253. public constructor();
  8254. }
  8255. class EditableListItem extends FairyEditor.Component.ListItem {
  8256. public sign: FairyGUI.GLoader;
  8257. public editable: boolean;
  8258. public toggleClickCount: number;
  8259. public constructor();
  8260. public StartEditing($text?: string):void;
  8261. }
  8262. class ListItem extends FairyGUI.GButton {
  8263. public titleObj: FairyGUI.GTextField;
  8264. public iconObj: FairyGUI.GLoader;
  8265. public constructor();
  8266. }
  8267. class EditableTreeItem extends FairyGUI.GButton {
  8268. public toggleClickCount: number;
  8269. public editable: boolean;
  8270. public constructor();
  8271. public StartEditing($text?: string):void;
  8272. }
  8273. class FontInput extends FairyGUI.GLabel {
  8274. public constructor();
  8275. }
  8276. class FontSizeInput extends FairyGUI.GLabel {
  8277. public value: number;
  8278. public max: number;
  8279. public constructor();
  8280. }
  8281. class InputElement extends System.ValueType {
  8282. public name: string;
  8283. public type: string;
  8284. public prop: string;
  8285. public dummy: boolean;
  8286. public extData: any;
  8287. public min: FairyEditor.Component.InputElement.OptionalValue$1<number>;
  8288. public max: FairyEditor.Component.InputElement.OptionalValue$1<number>;
  8289. public step: FairyEditor.Component.InputElement.OptionalValue$1<number>;
  8290. public precision: FairyEditor.Component.InputElement.OptionalValue$1<number>;
  8291. public items: System.Array$1<string>;
  8292. public values: System.Array$1<string>;
  8293. public visibleItemCount: FairyEditor.Component.InputElement.OptionalValue$1<number>;
  8294. public valueName: string;
  8295. public inverted: boolean;
  8296. public showAlpha: boolean;
  8297. public filter: System.Array$1<string>;
  8298. public pages: string;
  8299. public includeChildren: boolean;
  8300. public prompt: string;
  8301. public readonly: boolean;
  8302. public disableIME: boolean;
  8303. public trim: boolean;
  8304. }
  8305. class FormHelper extends System.Object {
  8306. public onPropChanged: FairyEditor.Component.FormHelper.OnPropChangedDelegate;
  8307. public owner: FairyGUI.GComponent;
  8308. public constructor($owner: FairyGUI.GComponent);
  8309. public BindControls($data: System.Collections.Generic.IList$1<FairyEditor.Component.InputElement>):void;
  8310. public GetControl($controlName: string):FairyGUI.GObject;
  8311. public UpdateValuesFrom($obj: any, $controlNames?: System.Collections.IList):void;
  8312. public SetValue($controlName: string, $value: any):void;
  8313. public GetValue($controlName: string):any;
  8314. public UpdateUI():void;
  8315. }
  8316. class InlineSearchBar extends FairyGUI.GButton {
  8317. public pattern: System.Text.RegularExpressions.Regex;
  8318. public constructor();
  8319. public Reset():void;
  8320. public HandleKeyEvent($evt: FairyGUI.InputEvent):boolean;
  8321. }
  8322. class LinkButton extends FairyGUI.GButton {
  8323. public constructor();
  8324. }
  8325. class ListHelper extends System.Object {
  8326. public onInsert: System.Action$2<number, FairyGUI.GComponent>;
  8327. public onRemove: System.Action$1<number>;
  8328. public onSwap: System.Action$2<number, number>;
  8329. public constructor($list: FairyGUI.GList, $indexColumn?: string);
  8330. public Add($context?: FairyGUI.EventContext):void;
  8331. public Insert($context?: FairyGUI.EventContext):void;
  8332. public Remove($context?: FairyGUI.EventContext):void;
  8333. public MoveUp($context?: FairyGUI.EventContext):void;
  8334. public MoveDown($context?: FairyGUI.EventContext):void;
  8335. }
  8336. class ListItemInput extends FairyGUI.GLabel {
  8337. public toggleClickCount: number;
  8338. public editable: boolean;
  8339. public constructor();
  8340. public StartEditing($text?: string):void;
  8341. }
  8342. class ListItemResourceInput extends FairyEditor.Component.ResourceInput {
  8343. public toggleClickCount: number;
  8344. public constructor();
  8345. public StartEditing():void;
  8346. }
  8347. class ResourceInput extends FairyGUI.GLabel {
  8348. public promptText: string;
  8349. public isFontInput: boolean;
  8350. public text: string;
  8351. public constructor();
  8352. }
  8353. class MenuBar extends System.Object {
  8354. public constructor($panel: FairyGUI.GComponent);
  8355. public Dispose():void;
  8356. public AddItem($caption: string, $name: string, $selectCallback: System.Action$1<string>):void;
  8357. public AddItem($caption: string, $name: string, $atIndex: number, $isSubMenu: boolean, $selectCallback: System.Action$1<string>):void;
  8358. public GetSubMenu($name: string):FairyEditor.Component.IMenu;
  8359. public RemoveItem($name: string):void;
  8360. public AddSeperator():void;
  8361. public AddSeperator($atIndex: number):void;
  8362. public SetItemEnabled($name: string, $enabled: boolean):void;
  8363. public SetItemChecked($name: string, $checked: boolean):void;
  8364. public IsItemChecked($name: string):boolean;
  8365. public SetItemText($name: string, $text: string):void;
  8366. public ClearItems():void;
  8367. public Invoke($name: string):void;
  8368. }
  8369. class NativeMenu extends System.Object {
  8370. public static applicationMenu: FairyEditor.Component.NativeMenu;
  8371. public static dockIconMenu: FairyEditor.Component.NativeMenu;
  8372. public Dispose():void;
  8373. public AddItem($caption: string, $name: string, $selectCallback: System.Action$1<string>):void;
  8374. public AddItem($caption: string, $name: string, $atIndex: number, $isSubMenu: boolean, $selectCallback: System.Action$1<string>):void;
  8375. public AddSeperator():void;
  8376. public AddSeperator($atIndex: number):void;
  8377. public SetItemEnabled($name: string, $enabled: boolean):void;
  8378. public SetItemChecked($name: string, $checked: boolean):void;
  8379. public IsItemChecked($name: string):boolean;
  8380. public SetItemText($name: string, $text: string):void;
  8381. public GetSubMenu($name: string):FairyEditor.Component.IMenu;
  8382. public RemoveItem($name: string):void;
  8383. public ClearItems():void;
  8384. public Invoke($name: string):void;
  8385. }
  8386. class NumericInput extends FairyGUI.GLabel {
  8387. public max: number;
  8388. public min: number;
  8389. public value: number;
  8390. public step: number;
  8391. public fractionDigits: number;
  8392. public text: string;
  8393. public constructor();
  8394. }
  8395. class SelectPivotMenu extends System.Object {
  8396. public constructor();
  8397. public static GetInstance():FairyEditor.Component.SelectPivotMenu;
  8398. public Show($input1: FairyGUI.GObject, $input2: FairyGUI.GObject, $popupTarget?: FairyGUI.GObject):void;
  8399. }
  8400. class TextArea extends FairyGUI.GLabel {
  8401. public constructor();
  8402. }
  8403. class TextInput extends FairyGUI.GLabel {
  8404. public text: string;
  8405. public constructor();
  8406. }
  8407. class TransitionInput extends FairyGUI.GLabel {
  8408. public prompt: string;
  8409. public includeChildren: boolean;
  8410. public owner: FairyEditor.FComponent;
  8411. public value: string;
  8412. public constructor();
  8413. }
  8414. class ViewGridGroup extends FairyGUI.GComponent {
  8415. public uid: string;
  8416. public layout: FairyGUI.GroupLayoutType;
  8417. public numGrids: number;
  8418. public constructor($layout: FairyGUI.GroupLayoutType);
  8419. public AddGrid($child: FairyGUI.GObject):void;
  8420. public AddGridAt($child: FairyGUI.GObject, $index: number):void;
  8421. public ResetChildrenSize():void;
  8422. public RemoveGrid($child: FairyGUI.GObject, $dispose?: boolean):void;
  8423. public ReplaceGrid($oldChild: FairyGUI.GObject, $newChild: FairyGUI.GObject):void;
  8424. public MoveGrids($anotherGroup: FairyEditor.Component.ViewGridGroup, $index: number):void;
  8425. public GetGridAt($index: number):FairyGUI.GObject;
  8426. public GetGridIndex($grid: FairyGUI.GObject):number;
  8427. public FindGrid($view: FairyGUI.GComponent, $recursive?: boolean):FairyEditor.Component.ViewGrid;
  8428. public FindGridById($id: string, $recursive?: boolean):FairyEditor.Component.ViewGrid;
  8429. public FindGridByIds($ids: System.Array$1<string>, $recursive?: boolean):FairyEditor.Component.ViewGrid;
  8430. public FindGroup($id: string):FairyEditor.Component.ViewGridGroup;
  8431. public static EachGrid($grp: FairyEditor.Component.ViewGridGroup, $recursive: boolean, $callback: FairyEditor.Component.ViewGridGroup.EachGridCallback):FairyEditor.Component.ViewGrid;
  8432. }
  8433. }
  8434. namespace FairyEditor.App {
  8435. enum FrameRateFactor { BackgroundJob = 1, NativeDragDrop = 2, DraggingObject = 256, Testing = 512 }
  8436. }
  8437. namespace FairyGUI.Utils {
  8438. class XML extends System.Object {
  8439. public name: string;
  8440. public text: string;
  8441. public attributes: System.Collections.Generic.Dictionary$2<string, string>;
  8442. public elements: FairyGUI.Utils.XMLList;
  8443. public constructor($XmlString: string);
  8444. public static Create($tag: string):FairyGUI.Utils.XML;
  8445. public HasAttribute($attrName: string):boolean;
  8446. public GetAttribute($attrName: string):string;
  8447. public GetAttribute($attrName: string, $defValue: string):string;
  8448. public GetAttributeInt($attrName: string):number;
  8449. public GetAttributeInt($attrName: string, $defValue: number):number;
  8450. public GetAttributeFloat($attrName: string):number;
  8451. public GetAttributeFloat($attrName: string, $defValue: number):number;
  8452. public GetAttributeBool($attrName: string):boolean;
  8453. public GetAttributeBool($attrName: string, $defValue: boolean):boolean;
  8454. public GetAttributeArray($attrName: string):System.Array$1<string>;
  8455. public GetAttributeArray($attrName: string, $seperator: number):System.Array$1<string>;
  8456. public GetAttributeColor($attrName: string, $defValue: UnityEngine.Color):UnityEngine.Color;
  8457. public GetAttributeVector($attrName: string):UnityEngine.Vector2;
  8458. public SetAttribute($attrName: string, $attrValue: string):void;
  8459. public SetAttribute($attrName: string, $attrValue: boolean):void;
  8460. public SetAttribute($attrName: string, $attrValue: number):void;
  8461. public SetAttribute($attrName: string, $attrValue: number):void;
  8462. public RemoveAttribute($attrName: string):void;
  8463. public GetNode($selector: string):FairyGUI.Utils.XML;
  8464. public Elements():FairyGUI.Utils.XMLList;
  8465. public Elements($selector: string):FairyGUI.Utils.XMLList;
  8466. public GetEnumerator():FairyGUI.Utils.XMLList.Enumerator;
  8467. public GetEnumerator($selector: string):FairyGUI.Utils.XMLList.Enumerator;
  8468. public AppendChild($child: FairyGUI.Utils.XML):void;
  8469. public RemoveChild($child: FairyGUI.Utils.XML):void;
  8470. public RemoveChildren($selector: string):void;
  8471. public Parse($aSource: string):void;
  8472. public Reset():void;
  8473. public ToXMLString($includeHeader: boolean):string;
  8474. }
  8475. interface XML {
  8476. GetAttributeArray($attrName: string, $i1: $Ref<number>, $i2: $Ref<number>):boolean;
  8477. GetAttributeArray($attrName: string, $i1: $Ref<number>, $i2: $Ref<number>, $i3: $Ref<number>, $i4: $Ref<number>):boolean;
  8478. GetAttributeArray($attrName: string, $f1: $Ref<number>, $f2: $Ref<number>, $f3: $Ref<number>, $f4: $Ref<number>):boolean;
  8479. GetAttributeArray($attrName: string, $f1: $Ref<number>, $f2: $Ref<number>):boolean;
  8480. GetAttributeArray($attrName: string, $s1: $Ref<string>, $s2: $Ref<string>):boolean;
  8481. }
  8482. class ByteBuffer extends System.Object {
  8483. public littleEndian: boolean;
  8484. public stringTable: System.Array$1<string>;
  8485. public version: number;
  8486. public position: number;
  8487. public length: number;
  8488. public bytesAvailable: boolean;
  8489. public buffer: System.Array$1<number>;
  8490. public constructor($data: System.Array$1<number>, $offset?: number, $length?: number);
  8491. public Skip($count: number):number;
  8492. public ReadByte():number;
  8493. public ReadBytes($output: System.Array$1<number>, $destIndex: number, $count: number):System.Array$1<number>;
  8494. public ReadBytes($count: number):System.Array$1<number>;
  8495. public ReadBuffer():FairyGUI.Utils.ByteBuffer;
  8496. public ReadChar():number;
  8497. public ReadBool():boolean;
  8498. public ReadShort():number;
  8499. public ReadUshort():number;
  8500. public ReadInt():number;
  8501. public ReadUint():number;
  8502. public ReadFloat():number;
  8503. public ReadLong():bigint;
  8504. public ReadDouble():number;
  8505. public ReadString():string;
  8506. public ReadString($len: number):string;
  8507. public ReadS():string;
  8508. public ReadSArray($cnt: number):System.Array$1<string>;
  8509. public ReadPath():System.Collections.Generic.List$1<FairyGUI.GPathPoint>;
  8510. public WriteS($value: string):void;
  8511. public ReadColor():UnityEngine.Color;
  8512. public Seek($indexTablePos: number, $blockIndex: number):boolean;
  8513. }
  8514. class HtmlElement extends System.Object {
  8515. public type: FairyGUI.Utils.HtmlElementType;
  8516. public name: string;
  8517. public text: string;
  8518. public format: FairyGUI.TextFormat;
  8519. public charIndex: number;
  8520. public htmlObject: FairyGUI.Utils.IHtmlObject;
  8521. public status: number;
  8522. public space: number;
  8523. public position: UnityEngine.Vector2;
  8524. public isEntity: boolean;
  8525. public constructor();
  8526. public Get($attrName: string):any;
  8527. public Set($attrName: string, $attrValue: any):void;
  8528. public GetString($attrName: string):string;
  8529. public GetString($attrName: string, $defValue: string):string;
  8530. public GetInt($attrName: string):number;
  8531. public GetInt($attrName: string, $defValue: number):number;
  8532. public GetFloat($attrName: string):number;
  8533. public GetFloat($attrName: string, $defValue: number):number;
  8534. public GetBool($attrName: string):boolean;
  8535. public GetBool($attrName: string, $defValue: boolean):boolean;
  8536. public GetColor($attrName: string, $defValue: UnityEngine.Color):UnityEngine.Color;
  8537. public FetchAttributes():void;
  8538. public static GetElement($type: FairyGUI.Utils.HtmlElementType):FairyGUI.Utils.HtmlElement;
  8539. public static ReturnElement($element: FairyGUI.Utils.HtmlElement):void;
  8540. public static ReturnElements($elements: System.Collections.Generic.List$1<FairyGUI.Utils.HtmlElement>):void;
  8541. }
  8542. class HtmlPageContext extends System.Object {
  8543. public static inst: FairyGUI.Utils.HtmlPageContext;
  8544. public constructor();
  8545. public CreateObject($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement):FairyGUI.Utils.IHtmlObject;
  8546. public FreeObject($obj: FairyGUI.Utils.IHtmlObject):void;
  8547. public GetImageTexture($image: FairyGUI.Utils.HtmlImage):FairyGUI.NTexture;
  8548. public FreeImageTexture($image: FairyGUI.Utils.HtmlImage, $texture: FairyGUI.NTexture):void;
  8549. }
  8550. interface IHtmlObject {
  8551. width: number;
  8552. height: number;
  8553. displayObject: FairyGUI.DisplayObject;
  8554. element: FairyGUI.Utils.HtmlElement;
  8555. Create($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement):void;
  8556. SetPosition($x: number, $y: number):void;
  8557. Add():void;
  8558. Remove():void;
  8559. Release():void;
  8560. Dispose():void;
  8561. }
  8562. class HtmlImage extends System.Object {
  8563. public loader: FairyGUI.GLoader;
  8564. public displayObject: FairyGUI.DisplayObject;
  8565. public element: FairyGUI.Utils.HtmlElement;
  8566. public width: number;
  8567. public height: number;
  8568. public constructor();
  8569. public Create($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement):void;
  8570. public SetPosition($x: number, $y: number):void;
  8571. public Add():void;
  8572. public Remove():void;
  8573. public Release():void;
  8574. public Dispose():void;
  8575. }
  8576. interface IHtmlPageContext {
  8577. CreateObject($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement):FairyGUI.Utils.IHtmlObject;
  8578. FreeObject($obj: FairyGUI.Utils.IHtmlObject):void;
  8579. GetImageTexture($image: FairyGUI.Utils.HtmlImage):FairyGUI.NTexture;
  8580. FreeImageTexture($image: FairyGUI.Utils.HtmlImage, $texture: FairyGUI.NTexture):void;
  8581. }
  8582. class HtmlParseOptions extends System.Object {
  8583. public linkUnderline: boolean;
  8584. public linkColor: UnityEngine.Color;
  8585. public linkBgColor: UnityEngine.Color;
  8586. public linkHoverBgColor: UnityEngine.Color;
  8587. public ignoreWhiteSpace: boolean;
  8588. public static DefaultLinkUnderline: boolean;
  8589. public static DefaultLinkColor: UnityEngine.Color;
  8590. public static DefaultLinkBgColor: UnityEngine.Color;
  8591. public static DefaultLinkHoverBgColor: UnityEngine.Color;
  8592. public constructor();
  8593. }
  8594. class HtmlButton extends System.Object {
  8595. public static CLICK_EVENT: string;
  8596. public static resource: string;
  8597. public button: FairyGUI.GComponent;
  8598. public displayObject: FairyGUI.DisplayObject;
  8599. public element: FairyGUI.Utils.HtmlElement;
  8600. public width: number;
  8601. public height: number;
  8602. public constructor();
  8603. public Create($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement):void;
  8604. public SetPosition($x: number, $y: number):void;
  8605. public Add():void;
  8606. public Remove():void;
  8607. public Release():void;
  8608. public Dispose():void;
  8609. }
  8610. enum HtmlElementType { Text = 0, Link = 1, Image = 2, Input = 3, Select = 4, Object = 5, LinkEnd = 6 }
  8611. class HtmlInput extends System.Object {
  8612. public static defaultBorderSize: number;
  8613. public static defaultBorderColor: UnityEngine.Color;
  8614. public static defaultBackgroundColor: UnityEngine.Color;
  8615. public textInput: FairyGUI.GTextInput;
  8616. public displayObject: FairyGUI.DisplayObject;
  8617. public element: FairyGUI.Utils.HtmlElement;
  8618. public width: number;
  8619. public height: number;
  8620. public constructor();
  8621. public Create($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement):void;
  8622. public SetPosition($x: number, $y: number):void;
  8623. public Add():void;
  8624. public Remove():void;
  8625. public Release():void;
  8626. public Dispose():void;
  8627. }
  8628. class HtmlLink extends System.Object {
  8629. public displayObject: FairyGUI.DisplayObject;
  8630. public element: FairyGUI.Utils.HtmlElement;
  8631. public width: number;
  8632. public height: number;
  8633. public constructor();
  8634. public Create($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement):void;
  8635. public SetArea($startLine: number, $startCharX: number, $endLine: number, $endCharX: number):void;
  8636. public SetPosition($x: number, $y: number):void;
  8637. public Add():void;
  8638. public Remove():void;
  8639. public Release():void;
  8640. public Dispose():void;
  8641. }
  8642. class HtmlParser extends System.Object {
  8643. public static inst: FairyGUI.Utils.HtmlParser;
  8644. public constructor();
  8645. public Parse($aSource: string, $defaultFormat: FairyGUI.TextFormat, $elements: System.Collections.Generic.List$1<FairyGUI.Utils.HtmlElement>, $parseOptions: FairyGUI.Utils.HtmlParseOptions):void;
  8646. }
  8647. class HtmlSelect extends System.Object {
  8648. public static CHANGED_EVENT: string;
  8649. public static resource: string;
  8650. public comboBox: FairyGUI.GComboBox;
  8651. public displayObject: FairyGUI.DisplayObject;
  8652. public element: FairyGUI.Utils.HtmlElement;
  8653. public width: number;
  8654. public height: number;
  8655. public constructor();
  8656. public Create($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement):void;
  8657. public SetPosition($x: number, $y: number):void;
  8658. public Add():void;
  8659. public Remove():void;
  8660. public Release():void;
  8661. public Dispose():void;
  8662. }
  8663. class ToolSet extends System.Object {
  8664. public static ConvertFromHtmlColor($str: string):UnityEngine.Color;
  8665. public static ColorFromRGB($value: number):UnityEngine.Color;
  8666. public static ColorFromRGBA($value: number):UnityEngine.Color;
  8667. public static CharToHex($c: number):number;
  8668. public static Intersection($rect1: $Ref<UnityEngine.Rect>, $rect2: $Ref<UnityEngine.Rect>):UnityEngine.Rect;
  8669. public static Union($rect1: $Ref<UnityEngine.Rect>, $rect2: $Ref<UnityEngine.Rect>):UnityEngine.Rect;
  8670. public static SkewMatrix($matrix: $Ref<UnityEngine.Matrix4x4>, $skewX: number, $skewY: number):void;
  8671. public static RotateUV($uv: System.Array$1<UnityEngine.Vector2>, $baseUVRect: $Ref<UnityEngine.Rect>):void;
  8672. }
  8673. class UBBParser extends System.Object {
  8674. public static inst: FairyGUI.Utils.UBBParser;
  8675. public defaultTagHandler: FairyGUI.Utils.UBBParser.TagHandler;
  8676. public handlers: System.Collections.Generic.Dictionary$2<string, FairyGUI.Utils.UBBParser.TagHandler>;
  8677. public defaultImgWidth: number;
  8678. public defaultImgHeight: number;
  8679. public constructor();
  8680. public GetTagText($remove: boolean):string;
  8681. public Parse($text: string):string;
  8682. }
  8683. class XMLList extends System.Object {
  8684. public rawList: System.Collections.Generic.List$1<FairyGUI.Utils.XML>;
  8685. public Count: number;
  8686. public constructor();
  8687. public constructor($list: System.Collections.Generic.List$1<FairyGUI.Utils.XML>);
  8688. public Add($xml: FairyGUI.Utils.XML):void;
  8689. public Clear():void;
  8690. public get_Item($index: number):FairyGUI.Utils.XML;
  8691. public GetEnumerator():FairyGUI.Utils.XMLList.Enumerator;
  8692. public GetEnumerator($selector: string):FairyGUI.Utils.XMLList.Enumerator;
  8693. public Filter($selector: string):FairyGUI.Utils.XMLList;
  8694. public Find($selector: string):FairyGUI.Utils.XML;
  8695. public RemoveAll($selector: string):void;
  8696. }
  8697. class XMLIterator extends System.Object {
  8698. public static tagName: string;
  8699. public static tagType: FairyGUI.Utils.XMLTagType;
  8700. public static lastTagName: string;
  8701. public constructor();
  8702. public static Begin($source: string, $lowerCaseName?: boolean):void;
  8703. public static NextTag():boolean;
  8704. public static GetTagSource():string;
  8705. public static GetRawText($trim?: boolean):string;
  8706. public static GetText($trim?: boolean):string;
  8707. public static HasAttribute($attrName: string):boolean;
  8708. public static GetAttribute($attrName: string):string;
  8709. public static GetAttribute($attrName: string, $defValue: string):string;
  8710. public static GetAttributeInt($attrName: string):number;
  8711. public static GetAttributeInt($attrName: string, $defValue: number):number;
  8712. public static GetAttributeFloat($attrName: string):number;
  8713. public static GetAttributeFloat($attrName: string, $defValue: number):number;
  8714. public static GetAttributeBool($attrName: string):boolean;
  8715. public static GetAttributeBool($attrName: string, $defValue: boolean):boolean;
  8716. public static GetAttributes($result: System.Collections.Generic.Dictionary$2<string, string>):System.Collections.Generic.Dictionary$2<string, string>;
  8717. public static GetAttributes($result: System.Collections.Hashtable):System.Collections.Hashtable;
  8718. }
  8719. enum XMLTagType { Start = 0, End = 1, Void = 2, CDATA = 3, Comment = 4, Instruction = 5 }
  8720. class XMLUtils extends System.Object {
  8721. public constructor();
  8722. public static DecodeString($aSource: string):string;
  8723. public static EncodeString($sb: System.Text.StringBuilder, $start: number, $isAttribute?: boolean):void;
  8724. public static EncodeString($str: string, $isAttribute?: boolean):string;
  8725. }
  8726. class ZipReader extends System.Object {
  8727. public entryCount: number;
  8728. public constructor($data: System.Array$1<number>);
  8729. public GetNextEntry($entry: FairyGUI.Utils.ZipReader.ZipEntry):boolean;
  8730. public GetEntryData($entry: FairyGUI.Utils.ZipReader.ZipEntry):System.Array$1<number>;
  8731. }
  8732. }
  8733. namespace System.Threading.Tasks {
  8734. class Task extends System.Object {
  8735. }
  8736. class Task$1<TResult> extends System.Threading.Tasks.Task {
  8737. }
  8738. }
  8739. namespace FairyEditor.AniData {
  8740. class Frame extends System.Object {
  8741. public rect: UnityEngine.Rect;
  8742. public spriteIndex: number;
  8743. public delay: number;
  8744. public constructor();
  8745. }
  8746. class FrameSprite extends System.Object {
  8747. public texture: FairyGUI.NTexture;
  8748. public frameIndex: number;
  8749. public raw: System.Array$1<number>;
  8750. public constructor();
  8751. }
  8752. }
  8753. namespace FairyEditor.BmFontData {
  8754. class Glyph extends System.ValueType {
  8755. public id: number;
  8756. public x: number;
  8757. public y: number;
  8758. public xoffset: number;
  8759. public yoffset: number;
  8760. public width: number;
  8761. public height: number;
  8762. public xadvance: number;
  8763. public img: string;
  8764. public channel: number;
  8765. }
  8766. }
  8767. namespace FairyEditor.ComponentAsset {
  8768. class DisplayListItem extends System.Object {
  8769. public packageItem: FairyEditor.FPackageItem;
  8770. public pkg: FairyEditor.FPackage;
  8771. public type: string;
  8772. public desc: FairyGUI.Utils.XML;
  8773. public missingInfo: FairyEditor.MissingInfo;
  8774. public existingInstance: FairyEditor.FObject;
  8775. public constructor();
  8776. }
  8777. }
  8778. namespace DragonBones {
  8779. class DragonBonesData extends DragonBones.BaseObject {
  8780. }
  8781. class BaseObject extends System.Object {
  8782. }
  8783. class UnityArmatureComponent extends DragonBones.DragonBoneEventDispatcher {
  8784. }
  8785. class DragonBoneEventDispatcher extends DragonBones.UnityEventDispatcher$1<DragonBones.EventObject> {
  8786. }
  8787. class EventObject extends DragonBones.BaseObject {
  8788. }
  8789. class UnityEventDispatcher$1<T> extends UnityEngine.MonoBehaviour {
  8790. }
  8791. }
  8792. namespace FairyEditor.FontAsset {
  8793. enum FontType { Sprites = 0, Fnt = 1, TTF = 2 }
  8794. }
  8795. namespace UnityEngine.TextCore.LowLevel {
  8796. enum GlyphRenderMode { SMOOTH_HINTED = 4121, SMOOTH = 4117, RASTER_HINTED = 4122, RASTER = 4118, SDF = 4138, SDF8 = 8234, SDF16 = 16426, SDF32 = 32810, SDFAA_HINTED = 4169, SDFAA = 4165 }
  8797. }
  8798. namespace Spine.Unity {
  8799. class SkeletonDataAsset extends UnityEngine.ScriptableObject {
  8800. }
  8801. class SkeletonAnimation extends Spine.Unity.SkeletonRenderer {
  8802. }
  8803. class SkeletonRenderer extends UnityEngine.MonoBehaviour {
  8804. }
  8805. }
  8806. namespace FairyEditor.Framework.Gears {
  8807. interface IGear {
  8808. }
  8809. }
  8810. namespace FairyEditor.FTree {
  8811. type TreeNodeRenderDelegate = (node: FairyEditor.FTreeNode, obj: FairyEditor.FComponent) => void;
  8812. var TreeNodeRenderDelegate: {new (func: (node: FairyEditor.FTreeNode, obj: FairyEditor.FComponent) => void): TreeNodeRenderDelegate;}
  8813. type TreeNodeWillExpandDelegate = (node: FairyEditor.FTreeNode, expand: boolean) => void;
  8814. var TreeNodeWillExpandDelegate: {new (func: (node: FairyEditor.FTreeNode, expand: boolean) => void): TreeNodeWillExpandDelegate;}
  8815. }
  8816. namespace FairyGUI.GPathPoint {
  8817. enum CurveType { CRSpline = 0, Bezier = 1, CubicBezier = 2, Straight = 3 }
  8818. }
  8819. namespace System.IO.Compression {
  8820. class ZipStorer extends System.Object {
  8821. }
  8822. }
  8823. namespace FairyEditor.PublishHandler {
  8824. class ClassInfo extends System.Object {
  8825. public className: string;
  8826. public superClassName: string;
  8827. public resId: string;
  8828. public resName: string;
  8829. public res: FairyEditor.FPackageItem;
  8830. public members: System.Collections.Generic.List$1<FairyEditor.PublishHandler.MemberInfo>;
  8831. public references: System.Collections.Generic.List$1<string>;
  8832. public constructor();
  8833. }
  8834. class MemberInfo extends System.Object {
  8835. public name: string;
  8836. public varName: string;
  8837. public type: string;
  8838. public index: number;
  8839. public group: number;
  8840. public res: FairyEditor.FPackageItem;
  8841. public constructor();
  8842. }
  8843. }
  8844. namespace FairyEditor.DependencyQuery {
  8845. enum SeekLevel { SELECTION = 0, SAME_PACKAGE_BUT_NOT_EXPORTED = 1, SAME_PACKAGE = 2, ALL = 3 }
  8846. }
  8847. namespace FairyEditor.CopyHandler {
  8848. enum OverrideOption { RENAME = 0, REPLACE = 1, SKIP = 2 }
  8849. }
  8850. namespace FairyEditor.HotkeyManager {
  8851. class FunctionDef extends System.Object {
  8852. public id: string;
  8853. public hotkey: string;
  8854. public desc: string;
  8855. public isCustomized: boolean;
  8856. public constructor($id: string, $hotkey: string, $desc: string);
  8857. }
  8858. }
  8859. namespace FairyEditor.PluginManager {
  8860. class PluginInfo extends System.Object {
  8861. public name: string;
  8862. public displayName: string;
  8863. public description: string;
  8864. public version: string;
  8865. public author: FairyEditor.PluginManager.PluginInfo.Author;
  8866. public icon: string;
  8867. public main: string;
  8868. public onPublish: System.Action$1<FairyEditor.PublishHandler>;
  8869. public onDestroy: System.Action;
  8870. public constructor();
  8871. }
  8872. }
  8873. namespace FairyEditor.ReferenceInfo {
  8874. enum ValueType { ID = 0, URL = 1, URL_COMPLEX = 2, CHAR_IMG = 3, ASSET_PROP = 4 }
  8875. }
  8876. namespace FairyEditor.AdaptationSettings {
  8877. class DeviceInfo extends System.ValueType {
  8878. public name: string;
  8879. public resolutionX: number;
  8880. public resolutionY: number;
  8881. }
  8882. }
  8883. namespace FairyEditor.CommonSettings {
  8884. class ScrollBarConfig extends System.Object {
  8885. public horizontal: string;
  8886. public vertical: string;
  8887. public defaultDisplay: string;
  8888. public constructor();
  8889. }
  8890. }
  8891. namespace FairyEditor.GlobalPublishSettings {
  8892. class CodeGenerationConfig extends System.Object {
  8893. public allowGenCode: boolean;
  8894. public codePath: string;
  8895. public classNamePrefix: string;
  8896. public memberNamePrefix: string;
  8897. public packageName: string;
  8898. public ignoreNoname: boolean;
  8899. public getMemberByName: boolean;
  8900. public codeType: string;
  8901. public constructor();
  8902. }
  8903. class AtlasSetting extends System.Object {
  8904. public maxSize: number;
  8905. public paging: boolean;
  8906. public sizeOption: string;
  8907. public forceSquare: boolean;
  8908. public allowRotation: boolean;
  8909. public trimImage: boolean;
  8910. public constructor();
  8911. }
  8912. }
  8913. namespace FairyEditor.I18nSettings {
  8914. class LanguageFile extends System.Object {
  8915. public name: string;
  8916. public path: string;
  8917. public modificationDate: Date;
  8918. public constructor();
  8919. }
  8920. }
  8921. namespace FairyEditor.PackageGroupSettings {
  8922. class PackageGroup extends System.Object {
  8923. public name: string;
  8924. public pkgs: System.Collections.Generic.List$1<string>;
  8925. public constructor();
  8926. }
  8927. }
  8928. namespace FairyEditor.AssetSizeUtil {
  8929. class Result extends System.ValueType {
  8930. public width: number;
  8931. public height: number;
  8932. public type: string;
  8933. public bitDepth: number;
  8934. public colorType: number;
  8935. }
  8936. }
  8937. namespace FairyEditor.FontUtil {
  8938. class FontInfo extends System.Object {
  8939. public family: string;
  8940. public localeFamily: string;
  8941. public file: string;
  8942. public externalLoad: boolean;
  8943. public constructor();
  8944. }
  8945. class FontName extends System.Object {
  8946. public family: string;
  8947. public localeFamily: string;
  8948. public constructor();
  8949. }
  8950. }
  8951. namespace SFB {
  8952. class ExtensionFilter extends System.ValueType {
  8953. }
  8954. }
  8955. namespace FairyEditor.VImage {
  8956. enum Kernel { NEAREST = 0, LINEAR = 1, CUBIC = 2, MITCHELL = 3, LANCZOS2 = 4, LANCZOS3 = 5, LAST = 6 }
  8957. enum Extend { BLACK = 0, COPY = 1, REPEAT = 2, MIRROR = 3, WHITE = 4, BACKGROUND = 5, LAST = 6 }
  8958. enum BlendMode { CLEAR = 0, SOURCE = 1, OVER = 2, IN = 3, OUT = 4, ATOP = 5, DEST = 6, DEST_OVER = 7, DEST_IN = 8, DEST_OUT = 9, DEST_ATOP = 10, XOR = 11, ADD = 12, SATURATE = 13, MULTIPLY = 14, SCREEN = 15, OVERLAY = 16, DARKEN = 17, LIGHTEN = 18, COLOUR_DODGE = 19, COLOUR_BURN = 20, HARD_LIGHT = 21, SOFT_LIGHT = 22, DIFFERENCE = 23, EXCLUSION = 24, LAST = 25 }
  8959. class Animation extends System.ValueType {
  8960. public frames: System.Array$1<FairyEditor.VImage>;
  8961. public frameDelays: System.Array$1<number>;
  8962. public loopDelay: number;
  8963. }
  8964. }
  8965. namespace XLua {
  8966. class LuaTable extends XLua.LuaBase {
  8967. }
  8968. class LuaBase extends System.Object {
  8969. }
  8970. }
  8971. namespace FairyEditor.View.ProjectView {
  8972. type OnContextMenuDelegate = (pi: FairyEditor.FPackageItem, context: FairyGUI.EventContext) => void;
  8973. var OnContextMenuDelegate: {new (func: (pi: FairyEditor.FPackageItem, context: FairyGUI.EventContext) => void): OnContextMenuDelegate;}
  8974. type OnGetItemListingDelegate = (folder: FairyEditor.FPackageItem, filters: System.Array$1<string>, result: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) => System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  8975. var OnGetItemListingDelegate: {new (func: (folder: FairyEditor.FPackageItem, filters: System.Array$1<string>, result: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) => System.Collections.Generic.List$1<FairyEditor.FPackageItem>): OnGetItemListingDelegate;}
  8976. }
  8977. namespace FairyEditor.Component.InputElement {
  8978. class OptionalValue$1<T> extends System.ValueType {
  8979. }
  8980. }
  8981. namespace FairyEditor.Component.FormHelper {
  8982. type OnPropChangedDelegate = (propName: string, propValue: any, extData: any) => boolean;
  8983. var OnPropChangedDelegate: {new (func: (propName: string, propValue: any, extData: any) => boolean): OnPropChangedDelegate;}
  8984. }
  8985. namespace System.Text.RegularExpressions {
  8986. class Regex extends System.Object {
  8987. }
  8988. }
  8989. namespace FairyEditor.Component.ViewGridGroup {
  8990. type EachGridCallback = (grid: FairyEditor.Component.ViewGrid) => boolean;
  8991. var EachGridCallback: {new (func: (grid: FairyEditor.Component.ViewGrid) => boolean): EachGridCallback;}
  8992. }
  8993. namespace FairyEditor.PluginManager.PluginInfo {
  8994. class Author extends System.Object {
  8995. public name: string;
  8996. public constructor();
  8997. }
  8998. }
  8999. namespace FairyGUI.BlendModeUtils {
  9000. class BlendFactor extends System.Object {
  9001. public srcFactor: UnityEngine.Rendering.BlendMode;
  9002. public dstFactor: UnityEngine.Rendering.BlendMode;
  9003. public pma: boolean;
  9004. public constructor($srcFactor: UnityEngine.Rendering.BlendMode, $dstFactor: UnityEngine.Rendering.BlendMode, $pma?: boolean);
  9005. }
  9006. }
  9007. namespace FairyGUI.MovieClip {
  9008. class Frame extends System.Object {
  9009. public texture: FairyGUI.NTexture;
  9010. public addDelay: number;
  9011. public constructor();
  9012. }
  9013. }
  9014. namespace FairyGUI.NGraphics {
  9015. class VertexMatrix extends System.Object {
  9016. public cameraPos: UnityEngine.Vector3;
  9017. public matrix: UnityEngine.Matrix4x4;
  9018. public constructor();
  9019. }
  9020. }
  9021. namespace FairyGUI.ShaderConfig {
  9022. type GetFunction = (name: string) => UnityEngine.Shader;
  9023. var GetFunction: {new (func: (name: string) => UnityEngine.Shader): GetFunction;}
  9024. }
  9025. namespace FairyGUI.BitmapFont {
  9026. class BMGlyph extends System.Object {
  9027. public x: number;
  9028. public y: number;
  9029. public width: number;
  9030. public height: number;
  9031. public advance: number;
  9032. public lineHeight: number;
  9033. public uv: System.Array$1<UnityEngine.Vector2>;
  9034. public channel: number;
  9035. public constructor();
  9036. }
  9037. }
  9038. namespace FairyGUI.RTLSupport {
  9039. enum DirectionType { UNKNOW = 0, LTR = 1, RTL = 2, NEUTRAL = 3 }
  9040. }
  9041. namespace FairyGUI.TextField {
  9042. class LineInfo extends System.Object {
  9043. public width: number;
  9044. public height: number;
  9045. public baseline: number;
  9046. public charIndex: number;
  9047. public charCount: number;
  9048. public y: number;
  9049. public constructor();
  9050. public static Borrow():FairyGUI.TextField.LineInfo;
  9051. public static Return($value: FairyGUI.TextField.LineInfo):void;
  9052. public static Return($values: System.Collections.Generic.List$1<FairyGUI.TextField.LineInfo>):void;
  9053. }
  9054. class CharPosition extends System.ValueType {
  9055. public charIndex: number;
  9056. public lineIndex: number;
  9057. public offsetX: number;
  9058. public vertCount: number;
  9059. public width: number;
  9060. public imgIndex: number;
  9061. }
  9062. class LineCharInfo extends System.ValueType {
  9063. public width: number;
  9064. public height: number;
  9065. public baseline: number;
  9066. }
  9067. }
  9068. namespace FairyGUI.TextFormat {
  9069. enum SpecialStyle { None = 0, Superscript = 1, Subscript = 2 }
  9070. }
  9071. namespace FairyGUI.UpdateContext {
  9072. class ClipInfo extends System.ValueType {
  9073. public rect: UnityEngine.Rect;
  9074. public clipBox: UnityEngine.Vector4;
  9075. public soft: boolean;
  9076. public softness: UnityEngine.Vector4;
  9077. public clipId: number;
  9078. public rectMaskDepth: number;
  9079. public referenceValue: number;
  9080. public reversed: boolean;
  9081. }
  9082. }
  9083. namespace TMPro {
  9084. class TMP_FontAsset extends TMPro.TMP_Asset {
  9085. }
  9086. class TMP_Asset extends UnityEngine.ScriptableObject {
  9087. }
  9088. enum FontWeight { Thin = 100, ExtraLight = 200, Light = 300, Regular = 400, Medium = 500, SemiBold = 600, Bold = 700, Heavy = 800, Black = 900 }
  9089. }
  9090. namespace FairyGUI.ControllerAction {
  9091. enum ActionType { PlayTransition = 0, ChangePage = 1 }
  9092. }
  9093. namespace FairyGUI.UIPackage {
  9094. type CreateObjectCallback = (result: FairyGUI.GObject) => void;
  9095. var CreateObjectCallback: {new (func: (result: FairyGUI.GObject) => void): CreateObjectCallback;}
  9096. type LoadResource = (name: string, extension: string, type: System.Type, destroyMethod: $Ref<FairyGUI.DestroyMethod>) => any;
  9097. var LoadResource: {new (func: (name: string, extension: string, type: System.Type, destroyMethod: $Ref<FairyGUI.DestroyMethod>) => any): LoadResource;}
  9098. type LoadResourceAsync = (name: string, extension: string, type: System.Type, item: FairyGUI.PackageItem) => void;
  9099. var LoadResourceAsync: {new (func: (name: string, extension: string, type: System.Type, item: FairyGUI.PackageItem) => void): LoadResourceAsync;}
  9100. }
  9101. namespace FairyGUI.GObjectPool {
  9102. type InitCallbackDelegate = (obj: FairyGUI.GObject) => void;
  9103. var InitCallbackDelegate: {new (func: (obj: FairyGUI.GObject) => void): InitCallbackDelegate;}
  9104. }
  9105. namespace FairyGUI.UIContentScaler {
  9106. enum ScreenMatchMode { MatchWidthOrHeight = 0, MatchWidth = 1, MatchHeight = 2 }
  9107. enum ScaleMode { ConstantPixelSize = 0, ScaleWithScreenSize = 1, ConstantPhysicalSize = 2 }
  9108. }
  9109. namespace FairyGUI.GTree {
  9110. type TreeNodeRenderDelegate = (node: FairyGUI.GTreeNode, obj: FairyGUI.GComponent) => void;
  9111. var TreeNodeRenderDelegate: {new (func: (node: FairyGUI.GTreeNode, obj: FairyGUI.GComponent) => void): TreeNodeRenderDelegate;}
  9112. type TreeNodeWillExpandDelegate = (node: FairyGUI.GTreeNode, expand: boolean) => void;
  9113. var TreeNodeWillExpandDelegate: {new (func: (node: FairyGUI.GTreeNode, expand: boolean) => void): TreeNodeWillExpandDelegate;}
  9114. }
  9115. namespace FairyGUI.UIObjectFactory {
  9116. type GComponentCreator = () => FairyGUI.GComponent;
  9117. var GComponentCreator: {new (func: () => FairyGUI.GComponent): GComponentCreator;}
  9118. type GLoaderCreator = () => FairyGUI.GLoader;
  9119. var GLoaderCreator: {new (func: () => FairyGUI.GLoader): GLoaderCreator;}
  9120. }
  9121. namespace FairyGUI.TreeView {
  9122. type TreeNodeCreateCellDelegate = (node: FairyGUI.TreeNode) => FairyGUI.GComponent;
  9123. var TreeNodeCreateCellDelegate: {new (func: (node: FairyGUI.TreeNode) => FairyGUI.GComponent): TreeNodeCreateCellDelegate;}
  9124. type TreeNodeRenderDelegate = (node: FairyGUI.TreeNode) => void;
  9125. var TreeNodeRenderDelegate: {new (func: (node: FairyGUI.TreeNode) => void): TreeNodeRenderDelegate;}
  9126. type TreeNodeWillExpandDelegate = (node: FairyGUI.TreeNode, expand: boolean) => void;
  9127. var TreeNodeWillExpandDelegate: {new (func: (node: FairyGUI.TreeNode, expand: boolean) => void): TreeNodeWillExpandDelegate;}
  9128. }
  9129. namespace FairyGUI.UIConfig {
  9130. class ConfigValue extends System.Object {
  9131. public valid: boolean;
  9132. public s: string;
  9133. public i: number;
  9134. public f: number;
  9135. public b: boolean;
  9136. public c: UnityEngine.Color;
  9137. public constructor();
  9138. public Reset():void;
  9139. }
  9140. type SoundLoader = (url: string) => FairyGUI.NAudioClip;
  9141. var SoundLoader: {new (func: (url: string) => FairyGUI.NAudioClip): SoundLoader;}
  9142. enum ConfigKey { DefaultFont = 0, ButtonSound = 1, ButtonSoundVolumeScale = 2, HorizontalScrollBar = 3, VerticalScrollBar = 4, DefaultScrollStep = 5, DefaultScrollBarDisplay = 6, DefaultScrollTouchEffect = 7, DefaultScrollBounceEffect = 8, TouchScrollSensitivity = 9, WindowModalWaiting = 10, GlobalModalWaiting = 11, PopupMenu = 12, PopupMenu_seperator = 13, LoaderErrorSign = 14, TooltipsWin = 15, DefaultComboBoxVisibleItemCount = 16, TouchDragSensitivity = 17, ClickDragSensitivity = 18, ModalLayerColor = 19, RenderingTextBrighterOnDesktop = 20, AllowSoftnessOnTopOrLeftSide = 21, InputCaretSize = 22, InputHighlightColor = 23, EnhancedTextOutlineEffect = 24, DepthSupportForPaintingMode = 25, RichTextRowVerticalAlign = 26, Branch = 27, PleaseSelect = 100 }
  9143. }
  9144. namespace FairyGUI.Utils.UBBParser {
  9145. type TagHandler = (tagName: string, end: boolean, attr: string) => string;
  9146. var TagHandler: {new (func: (tagName: string, end: boolean, attr: string) => string): TagHandler;}
  9147. }
  9148. namespace FairyGUI.Utils.XMLList {
  9149. class Enumerator extends System.ValueType {
  9150. public Current: FairyGUI.Utils.XML;
  9151. public constructor($source: System.Collections.Generic.List$1<FairyGUI.Utils.XML>, $selector: string);
  9152. public MoveNext():boolean;
  9153. public Erase():void;
  9154. public Reset():void;
  9155. }
  9156. }
  9157. namespace FairyGUI.Utils.ZipReader {
  9158. class ZipEntry extends System.Object {
  9159. public name: string;
  9160. public compress: number;
  9161. public crc: number;
  9162. public size: number;
  9163. public sourceSize: number;
  9164. public offset: number;
  9165. public isDirectory: boolean;
  9166. public constructor();
  9167. }
  9168. }
  9169. }