editor.d.ts 1.3 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749
  1. 
  2. declare namespace CS {
  3. //keep type incompatibility / 此属性保持类型不兼容
  4. const __keep_incompatibility: unique symbol;
  5. interface $Ref<T> {
  6. value: T
  7. }
  8. namespace System {
  9. interface Array$1<T> extends System.Array {
  10. get_Item(index: number):T;
  11. set_Item(index: number, value: T):void;
  12. }
  13. }
  14. type $Task<T> = System.Threading.Tasks.Task$1<T>
  15. namespace System {
  16. class Object
  17. {
  18. protected [__keep_incompatibility]: never;
  19. public Equals ($obj: any) : boolean
  20. public static Equals ($objA: any, $objB: any) : boolean
  21. public GetHashCode () : number
  22. public GetType () : System.Type
  23. public ToString () : string
  24. public static ReferenceEquals ($objA: any, $objB: any) : boolean
  25. public constructor ()
  26. }
  27. class ValueType extends System.Object
  28. {
  29. protected [__keep_incompatibility]: never;
  30. }
  31. class Int32 extends System.ValueType implements System.IEquatable$1<number>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<number>, System.IConvertible
  32. {
  33. protected [__keep_incompatibility]: never;
  34. }
  35. interface IEquatable$1<T>
  36. {
  37. }
  38. interface IFormattable
  39. {
  40. }
  41. interface ISpanFormattable
  42. {
  43. }
  44. interface IComparable
  45. {
  46. }
  47. interface IComparable$1<T>
  48. {
  49. }
  50. interface IConvertible
  51. {
  52. }
  53. class Void extends System.ValueType
  54. {
  55. protected [__keep_incompatibility]: never;
  56. }
  57. class Boolean extends System.ValueType implements System.IEquatable$1<boolean>, System.IComparable, System.IComparable$1<boolean>, System.IConvertible
  58. {
  59. protected [__keep_incompatibility]: never;
  60. }
  61. class Delegate extends System.Object implements System.ICloneable, System.Runtime.Serialization.ISerializable
  62. {
  63. protected [__keep_incompatibility]: never;
  64. public get Method(): System.Reflection.MethodInfo;
  65. public get Target(): any;
  66. public static CreateDelegate ($type: System.Type, $firstArgument: any, $method: System.Reflection.MethodInfo, $throwOnBindFailure: boolean) : Function
  67. public static CreateDelegate ($type: System.Type, $firstArgument: any, $method: System.Reflection.MethodInfo) : Function
  68. public static CreateDelegate ($type: System.Type, $method: System.Reflection.MethodInfo, $throwOnBindFailure: boolean) : Function
  69. public static CreateDelegate ($type: System.Type, $method: System.Reflection.MethodInfo) : Function
  70. public static CreateDelegate ($type: System.Type, $target: any, $method: string) : Function
  71. public static CreateDelegate ($type: System.Type, $target: System.Type, $method: string, $ignoreCase: boolean, $throwOnBindFailure: boolean) : Function
  72. public static CreateDelegate ($type: System.Type, $target: System.Type, $method: string) : Function
  73. public static CreateDelegate ($type: System.Type, $target: System.Type, $method: string, $ignoreCase: boolean) : Function
  74. public static CreateDelegate ($type: System.Type, $target: any, $method: string, $ignoreCase: boolean, $throwOnBindFailure: boolean) : Function
  75. public static CreateDelegate ($type: System.Type, $target: any, $method: string, $ignoreCase: boolean) : Function
  76. public DynamicInvoke (...args: any[]) : any
  77. public Clone () : any
  78. public GetObjectData ($info: System.Runtime.Serialization.SerializationInfo, $context: System.Runtime.Serialization.StreamingContext) : void
  79. public GetInvocationList () : System.Array$1<Function>
  80. public static Combine ($a: Function, $b: Function) : Function
  81. public static Combine (...delegates: Function[]) : Function
  82. public static Remove ($source: Function, $value: Function) : Function
  83. public static RemoveAll ($source: Function, $value: Function) : Function
  84. public static op_Equality ($d1: Function, $d2: Function) : boolean
  85. public static op_Inequality ($d1: Function, $d2: Function) : boolean
  86. }
  87. interface ICloneable
  88. {
  89. }
  90. interface MulticastDelegate
  91. {
  92. (...args:any[]) : any;
  93. Invoke?: (...args:any[]) => any;
  94. }
  95. var MulticastDelegate: { new (func: (...args:any[]) => any): MulticastDelegate; }
  96. interface Converter$2<TInput, TOutput>
  97. {
  98. (input: TInput) : TOutput;
  99. Invoke?: (input: TInput) => TOutput;
  100. }
  101. class Array extends System.Object implements System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.Collections.ICollection, System.ICloneable, System.Collections.IEnumerable, System.Collections.IList
  102. {
  103. protected [__keep_incompatibility]: never;
  104. public get LongLength(): bigint;
  105. public get IsFixedSize(): boolean;
  106. public get IsReadOnly(): boolean;
  107. public get IsSynchronized(): boolean;
  108. public get SyncRoot(): any;
  109. public get Length(): number;
  110. public get Rank(): number;
  111. public static CreateInstance ($elementType: System.Type, ...lengths: bigint[]) : System.Array
  112. public CopyTo ($array: System.Array, $index: number) : void
  113. public Clone () : any
  114. public static BinarySearch ($array: System.Array, $value: any) : number
  115. public static Copy ($sourceArray: System.Array, $destinationArray: System.Array, $length: bigint) : void
  116. public static Copy ($sourceArray: System.Array, $sourceIndex: bigint, $destinationArray: System.Array, $destinationIndex: bigint, $length: bigint) : void
  117. public CopyTo ($array: System.Array, $index: bigint) : void
  118. public GetLongLength ($dimension: number) : bigint
  119. public GetValue ($index: bigint) : any
  120. public GetValue ($index1: bigint, $index2: bigint) : any
  121. public GetValue ($index1: bigint, $index2: bigint, $index3: bigint) : any
  122. public GetValue (...indices: bigint[]) : any
  123. public static BinarySearch ($array: System.Array, $index: number, $length: number, $value: any) : number
  124. public static BinarySearch ($array: System.Array, $value: any, $comparer: System.Collections.IComparer) : number
  125. public static BinarySearch ($array: System.Array, $index: number, $length: number, $value: any, $comparer: System.Collections.IComparer) : number
  126. public static IndexOf ($array: System.Array, $value: any) : number
  127. public static IndexOf ($array: System.Array, $value: any, $startIndex: number) : number
  128. public static IndexOf ($array: System.Array, $value: any, $startIndex: number, $count: number) : number
  129. public static LastIndexOf ($array: System.Array, $value: any) : number
  130. public static LastIndexOf ($array: System.Array, $value: any, $startIndex: number) : number
  131. public static LastIndexOf ($array: System.Array, $value: any, $startIndex: number, $count: number) : number
  132. public static Reverse ($array: System.Array) : void
  133. public static Reverse ($array: System.Array, $index: number, $length: number) : void
  134. public SetValue ($value: any, $index: bigint) : void
  135. public SetValue ($value: any, $index1: bigint, $index2: bigint) : void
  136. public SetValue ($value: any, $index1: bigint, $index2: bigint, $index3: bigint) : void
  137. public SetValue ($value: any, ...indices: bigint[]) : void
  138. public static Sort ($array: System.Array) : void
  139. public static Sort ($array: System.Array, $index: number, $length: number) : void
  140. public static Sort ($array: System.Array, $comparer: System.Collections.IComparer) : void
  141. public static Sort ($array: System.Array, $index: number, $length: number, $comparer: System.Collections.IComparer) : void
  142. public static Sort ($keys: System.Array, $items: System.Array) : void
  143. public static Sort ($keys: System.Array, $items: System.Array, $comparer: System.Collections.IComparer) : void
  144. public static Sort ($keys: System.Array, $items: System.Array, $index: number, $length: number) : void
  145. public static Sort ($keys: System.Array, $items: System.Array, $index: number, $length: number, $comparer: System.Collections.IComparer) : void
  146. public GetEnumerator () : System.Collections.IEnumerator
  147. public GetLength ($dimension: number) : number
  148. public GetLowerBound ($dimension: number) : number
  149. public GetValue (...indices: number[]) : any
  150. public SetValue ($value: any, ...indices: number[]) : void
  151. public GetUpperBound ($dimension: number) : number
  152. public GetValue ($index: number) : any
  153. public GetValue ($index1: number, $index2: number) : any
  154. public GetValue ($index1: number, $index2: number, $index3: number) : any
  155. public SetValue ($value: any, $index: number) : void
  156. public SetValue ($value: any, $index1: number, $index2: number) : void
  157. public SetValue ($value: any, $index1: number, $index2: number, $index3: number) : void
  158. public static CreateInstance ($elementType: System.Type, $length: number) : System.Array
  159. public static CreateInstance ($elementType: System.Type, $length1: number, $length2: number) : System.Array
  160. public static CreateInstance ($elementType: System.Type, $length1: number, $length2: number, $length3: number) : System.Array
  161. public static CreateInstance ($elementType: System.Type, ...lengths: number[]) : System.Array
  162. public static CreateInstance ($elementType: System.Type, $lengths: System.Array$1<number>, $lowerBounds: System.Array$1<number>) : System.Array
  163. public static Clear ($array: System.Array, $index: number, $length: number) : void
  164. public static Copy ($sourceArray: System.Array, $destinationArray: System.Array, $length: number) : void
  165. public static Copy ($sourceArray: System.Array, $sourceIndex: number, $destinationArray: System.Array, $destinationIndex: number, $length: number) : void
  166. public static ConstrainedCopy ($sourceArray: System.Array, $sourceIndex: number, $destinationArray: System.Array, $destinationIndex: number, $length: number) : void
  167. public Initialize () : void
  168. }
  169. interface Predicate$1<T>
  170. {
  171. (obj: T) : boolean;
  172. Invoke?: (obj: T) => boolean;
  173. }
  174. interface Action$1<T>
  175. {
  176. (obj: T) : void;
  177. Invoke?: (obj: T) => void;
  178. }
  179. interface IDisposable
  180. {
  181. }
  182. interface Comparison$1<T>
  183. {
  184. (x: T, y: T) : number;
  185. Invoke?: (x: T, y: T) => number;
  186. }
  187. class Type extends System.Reflection.MemberInfo implements System.Reflection.ICustomAttributeProvider, System.Reflection.IReflect, System.Runtime.InteropServices._MemberInfo, System.Runtime.InteropServices._Type
  188. {
  189. protected [__keep_incompatibility]: never;
  190. public static Delimiter : number
  191. public static EmptyTypes : System.Array$1<System.Type>
  192. public static Missing : any
  193. public static FilterAttribute : System.Reflection.MemberFilter
  194. public static FilterName : System.Reflection.MemberFilter
  195. public static FilterNameIgnoreCase : System.Reflection.MemberFilter
  196. public get IsSerializable(): boolean;
  197. public get ContainsGenericParameters(): boolean;
  198. public get IsVisible(): boolean;
  199. public get MemberType(): System.Reflection.MemberTypes;
  200. public get Namespace(): string;
  201. public get AssemblyQualifiedName(): string;
  202. public get FullName(): string;
  203. public get Assembly(): System.Reflection.Assembly;
  204. public get Module(): System.Reflection.Module;
  205. public get IsNested(): boolean;
  206. public get DeclaringType(): System.Type;
  207. public get DeclaringMethod(): System.Reflection.MethodBase;
  208. public get ReflectedType(): System.Type;
  209. public get UnderlyingSystemType(): System.Type;
  210. public get IsTypeDefinition(): boolean;
  211. public get IsArray(): boolean;
  212. public get IsByRef(): boolean;
  213. public get IsPointer(): boolean;
  214. public get IsConstructedGenericType(): boolean;
  215. public get IsGenericParameter(): boolean;
  216. public get IsGenericTypeParameter(): boolean;
  217. public get IsGenericMethodParameter(): boolean;
  218. public get IsGenericType(): boolean;
  219. public get IsGenericTypeDefinition(): boolean;
  220. public get IsVariableBoundArray(): boolean;
  221. public get IsByRefLike(): boolean;
  222. public get HasElementType(): boolean;
  223. public get GenericTypeArguments(): System.Array$1<System.Type>;
  224. public get GenericParameterPosition(): number;
  225. public get GenericParameterAttributes(): System.Reflection.GenericParameterAttributes;
  226. public get Attributes(): System.Reflection.TypeAttributes;
  227. public get IsAbstract(): boolean;
  228. public get IsImport(): boolean;
  229. public get IsSealed(): boolean;
  230. public get IsSpecialName(): boolean;
  231. public get IsClass(): boolean;
  232. public get IsNestedAssembly(): boolean;
  233. public get IsNestedFamANDAssem(): boolean;
  234. public get IsNestedFamily(): boolean;
  235. public get IsNestedFamORAssem(): boolean;
  236. public get IsNestedPrivate(): boolean;
  237. public get IsNestedPublic(): boolean;
  238. public get IsNotPublic(): boolean;
  239. public get IsPublic(): boolean;
  240. public get IsAutoLayout(): boolean;
  241. public get IsExplicitLayout(): boolean;
  242. public get IsLayoutSequential(): boolean;
  243. public get IsAnsiClass(): boolean;
  244. public get IsAutoClass(): boolean;
  245. public get IsUnicodeClass(): boolean;
  246. public get IsCOMObject(): boolean;
  247. public get IsContextful(): boolean;
  248. public get IsCollectible(): boolean;
  249. public get IsEnum(): boolean;
  250. public get IsMarshalByRef(): boolean;
  251. public get IsPrimitive(): boolean;
  252. public get IsValueType(): boolean;
  253. public get IsSignatureType(): boolean;
  254. public get IsSecurityCritical(): boolean;
  255. public get IsSecuritySafeCritical(): boolean;
  256. public get IsSecurityTransparent(): boolean;
  257. public get StructLayoutAttribute(): System.Runtime.InteropServices.StructLayoutAttribute;
  258. public get TypeInitializer(): System.Reflection.ConstructorInfo;
  259. public get TypeHandle(): System.RuntimeTypeHandle;
  260. public get GUID(): System.Guid;
  261. public get BaseType(): System.Type;
  262. public static get DefaultBinder(): System.Reflection.Binder;
  263. public get IsInterface(): boolean;
  264. public IsEnumDefined ($value: any) : boolean
  265. public GetEnumName ($value: any) : string
  266. public GetEnumNames () : System.Array$1<string>
  267. public FindInterfaces ($filter: System.Reflection.TypeFilter, $filterCriteria: any) : System.Array$1<System.Type>
  268. public FindMembers ($memberType: System.Reflection.MemberTypes, $bindingAttr: System.Reflection.BindingFlags, $filter: System.Reflection.MemberFilter, $filterCriteria: any) : System.Array$1<System.Reflection.MemberInfo>
  269. public IsSubclassOf ($c: System.Type) : boolean
  270. public IsAssignableFrom ($c: System.Type) : boolean
  271. public GetType () : System.Type
  272. public GetElementType () : System.Type
  273. public GetArrayRank () : number
  274. public GetGenericTypeDefinition () : System.Type
  275. public GetGenericArguments () : System.Array$1<System.Type>
  276. public GetGenericParameterConstraints () : System.Array$1<System.Type>
  277. public GetConstructor ($types: System.Array$1<System.Type>) : System.Reflection.ConstructorInfo
  278. 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
  279. 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
  280. public GetConstructors () : System.Array$1<System.Reflection.ConstructorInfo>
  281. public GetConstructors ($bindingAttr: System.Reflection.BindingFlags) : System.Array$1<System.Reflection.ConstructorInfo>
  282. public GetEvent ($name: string) : System.Reflection.EventInfo
  283. public GetEvent ($name: string, $bindingAttr: System.Reflection.BindingFlags) : System.Reflection.EventInfo
  284. public GetEvents () : System.Array$1<System.Reflection.EventInfo>
  285. public GetEvents ($bindingAttr: System.Reflection.BindingFlags) : System.Array$1<System.Reflection.EventInfo>
  286. public GetField ($name: string) : System.Reflection.FieldInfo
  287. public GetField ($name: string, $bindingAttr: System.Reflection.BindingFlags) : System.Reflection.FieldInfo
  288. public GetFields () : System.Array$1<System.Reflection.FieldInfo>
  289. public GetFields ($bindingAttr: System.Reflection.BindingFlags) : System.Array$1<System.Reflection.FieldInfo>
  290. public GetMember ($name: string) : System.Array$1<System.Reflection.MemberInfo>
  291. public GetMember ($name: string, $bindingAttr: System.Reflection.BindingFlags) : System.Array$1<System.Reflection.MemberInfo>
  292. public GetMember ($name: string, $type: System.Reflection.MemberTypes, $bindingAttr: System.Reflection.BindingFlags) : System.Array$1<System.Reflection.MemberInfo>
  293. public GetMembers () : System.Array$1<System.Reflection.MemberInfo>
  294. public GetMembers ($bindingAttr: System.Reflection.BindingFlags) : System.Array$1<System.Reflection.MemberInfo>
  295. public GetMethod ($name: string) : System.Reflection.MethodInfo
  296. public GetMethod ($name: string, $bindingAttr: System.Reflection.BindingFlags) : System.Reflection.MethodInfo
  297. public GetMethod ($name: string, $types: System.Array$1<System.Type>) : System.Reflection.MethodInfo
  298. public GetMethod ($name: string, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>) : System.Reflection.MethodInfo
  299. 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
  300. 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
  301. public GetMethod ($name: string, $genericParameterCount: number, $types: System.Array$1<System.Type>) : System.Reflection.MethodInfo
  302. public GetMethod ($name: string, $genericParameterCount: number, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>) : System.Reflection.MethodInfo
  303. public GetMethod ($name: string, $genericParameterCount: number, $bindingAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>) : System.Reflection.MethodInfo
  304. public GetMethod ($name: string, $genericParameterCount: number, $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
  305. public GetMethods () : System.Array$1<System.Reflection.MethodInfo>
  306. public GetMethods ($bindingAttr: System.Reflection.BindingFlags) : System.Array$1<System.Reflection.MethodInfo>
  307. public GetNestedType ($name: string) : System.Type
  308. public GetNestedType ($name: string, $bindingAttr: System.Reflection.BindingFlags) : System.Type
  309. public GetNestedTypes () : System.Array$1<System.Type>
  310. public GetNestedTypes ($bindingAttr: System.Reflection.BindingFlags) : System.Array$1<System.Type>
  311. public GetProperty ($name: string) : System.Reflection.PropertyInfo
  312. public GetProperty ($name: string, $bindingAttr: System.Reflection.BindingFlags) : System.Reflection.PropertyInfo
  313. public GetProperty ($name: string, $returnType: System.Type) : System.Reflection.PropertyInfo
  314. public GetProperty ($name: string, $types: System.Array$1<System.Type>) : System.Reflection.PropertyInfo
  315. public GetProperty ($name: string, $returnType: System.Type, $types: System.Array$1<System.Type>) : System.Reflection.PropertyInfo
  316. public GetProperty ($name: string, $returnType: System.Type, $types: System.Array$1<System.Type>, $modifiers: System.Array$1<System.Reflection.ParameterModifier>) : System.Reflection.PropertyInfo
  317. 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
  318. public GetProperties () : System.Array$1<System.Reflection.PropertyInfo>
  319. public GetProperties ($bindingAttr: System.Reflection.BindingFlags) : System.Array$1<System.Reflection.PropertyInfo>
  320. public GetDefaultMembers () : System.Array$1<System.Reflection.MemberInfo>
  321. public static GetTypeHandle ($o: any) : System.RuntimeTypeHandle
  322. public static GetTypeArray ($args: System.Array$1<any>) : System.Array$1<System.Type>
  323. public static GetTypeCode ($type: System.Type) : System.TypeCode
  324. public static GetTypeFromCLSID ($clsid: System.Guid) : System.Type
  325. public static GetTypeFromCLSID ($clsid: System.Guid, $throwOnError: boolean) : System.Type
  326. public static GetTypeFromCLSID ($clsid: System.Guid, $server: string) : System.Type
  327. public static GetTypeFromProgID ($progID: string) : System.Type
  328. public static GetTypeFromProgID ($progID: string, $throwOnError: boolean) : System.Type
  329. public static GetTypeFromProgID ($progID: string, $server: string) : System.Type
  330. public InvokeMember ($name: string, $invokeAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $target: any, $args: System.Array$1<any>) : any
  331. public InvokeMember ($name: string, $invokeAttr: System.Reflection.BindingFlags, $binder: System.Reflection.Binder, $target: any, $args: System.Array$1<any>, $culture: System.Globalization.CultureInfo) : any
  332. 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
  333. public GetInterface ($name: string) : System.Type
  334. public GetInterface ($name: string, $ignoreCase: boolean) : System.Type
  335. public GetInterfaces () : System.Array$1<System.Type>
  336. public GetInterfaceMap ($interfaceType: System.Type) : System.Reflection.InterfaceMapping
  337. public IsInstanceOfType ($o: any) : boolean
  338. public IsEquivalentTo ($other: System.Type) : boolean
  339. public GetEnumUnderlyingType () : System.Type
  340. public GetEnumValues () : System.Array
  341. public MakeArrayType () : System.Type
  342. public MakeArrayType ($rank: number) : System.Type
  343. public MakeByRefType () : System.Type
  344. public MakeGenericType (...typeArguments: System.Type[]) : System.Type
  345. public MakePointerType () : System.Type
  346. public static MakeGenericSignatureType ($genericTypeDefinition: System.Type, ...typeArguments: System.Type[]) : System.Type
  347. public static MakeGenericMethodParameter ($position: number) : System.Type
  348. public Equals ($o: any) : boolean
  349. public Equals ($o: System.Type) : boolean
  350. public static GetTypeFromHandle ($handle: System.RuntimeTypeHandle) : System.Type
  351. public static GetType ($typeName: string, $throwOnError: boolean, $ignoreCase: boolean) : System.Type
  352. public static GetType ($typeName: string, $throwOnError: boolean) : System.Type
  353. public static GetType ($typeName: string) : System.Type
  354. 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
  355. 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
  356. 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
  357. public static op_Equality ($left: System.Type, $right: System.Type) : boolean
  358. public static op_Inequality ($left: System.Type, $right: System.Type) : boolean
  359. public static ReflectionOnlyGetType ($typeName: string, $throwIfNotFound: boolean, $ignoreCase: boolean) : System.Type
  360. public static GetTypeFromCLSID ($clsid: System.Guid, $server: string, $throwOnError: boolean) : System.Type
  361. public static GetTypeFromProgID ($progID: string, $server: string, $throwOnError: boolean) : System.Type
  362. public Equals ($obj: any) : boolean
  363. public static Equals ($objA: any, $objB: any) : boolean
  364. }
  365. class String extends System.Object implements System.IEquatable$1<string>, System.ICloneable, System.Collections.Generic.IEnumerable$1<number>, System.IComparable, System.IComparable$1<string>, System.Collections.IEnumerable, System.IConvertible
  366. {
  367. protected [__keep_incompatibility]: never;
  368. }
  369. class Char extends System.ValueType implements System.IEquatable$1<number>, System.IComparable, System.IComparable$1<number>, System.IConvertible
  370. {
  371. protected [__keep_incompatibility]: never;
  372. }
  373. class Int64 extends System.ValueType implements System.IEquatable$1<bigint>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<bigint>, System.IConvertible
  374. {
  375. protected [__keep_incompatibility]: never;
  376. }
  377. class Enum extends System.ValueType implements System.IFormattable, System.IComparable, System.IConvertible
  378. {
  379. protected [__keep_incompatibility]: never;
  380. }
  381. class Attribute extends System.Object implements System.Runtime.InteropServices._Attribute
  382. {
  383. protected [__keep_incompatibility]: never;
  384. }
  385. class RuntimeTypeHandle extends System.ValueType implements System.Runtime.Serialization.ISerializable
  386. {
  387. protected [__keep_incompatibility]: never;
  388. }
  389. enum TypeCode
  390. { 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 }
  391. class Guid extends System.ValueType implements System.IEquatable$1<System.Guid>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<System.Guid>
  392. {
  393. protected [__keep_incompatibility]: never;
  394. }
  395. interface IFormatProvider
  396. {
  397. }
  398. interface Func$2<T, TResult>
  399. {
  400. (arg: T) : TResult;
  401. Invoke?: (arg: T) => TResult;
  402. }
  403. interface Func$4<T1, T2, T3, TResult>
  404. {
  405. (arg1: T1, arg2: T2, arg3: T3) : TResult;
  406. Invoke?: (arg1: T1, arg2: T2, arg3: T3) => TResult;
  407. }
  408. class MarshalByRefObject extends System.Object
  409. {
  410. protected [__keep_incompatibility]: never;
  411. }
  412. interface IAsyncDisposable
  413. {
  414. }
  415. class DateTime extends System.ValueType implements System.IEquatable$1<System.DateTime>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<System.DateTime>, System.IConvertible, System.Runtime.Serialization.ISerializable
  416. {
  417. protected [__keep_incompatibility]: never;
  418. }
  419. class Byte extends System.ValueType implements System.IEquatable$1<number>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<number>, System.IConvertible
  420. {
  421. protected [__keep_incompatibility]: never;
  422. }
  423. interface IAsyncResult
  424. {
  425. }
  426. class ReadOnlySpan$1<T> extends System.ValueType
  427. {
  428. protected [__keep_incompatibility]: never;
  429. }
  430. class Span$1<T> extends System.ValueType
  431. {
  432. protected [__keep_incompatibility]: never;
  433. }
  434. class Single extends System.ValueType implements System.IEquatable$1<number>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<number>, System.IConvertible
  435. {
  436. protected [__keep_incompatibility]: never;
  437. }
  438. interface Single {
  439. FormattedString ($fractionDigits?: number) : string;
  440. }
  441. class UInt64 extends System.ValueType implements System.IEquatable$1<bigint>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<bigint>, System.IConvertible
  442. {
  443. protected [__keep_incompatibility]: never;
  444. }
  445. class UInt32 extends System.ValueType implements System.IEquatable$1<number>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<number>, System.IConvertible
  446. {
  447. protected [__keep_incompatibility]: never;
  448. }
  449. class Double extends System.ValueType implements System.IEquatable$1<number>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<number>, System.IConvertible
  450. {
  451. protected [__keep_incompatibility]: never;
  452. }
  453. class IntPtr extends System.ValueType implements System.IEquatable$1<System.IntPtr>, System.Runtime.Serialization.ISerializable
  454. {
  455. protected [__keep_incompatibility]: never;
  456. }
  457. interface Func$1<TResult>
  458. {
  459. () : TResult;
  460. Invoke?: () => TResult;
  461. }
  462. interface Action
  463. {
  464. () : void;
  465. Invoke?: () => void;
  466. }
  467. var Action: { new (func: () => void): Action; }
  468. class Exception extends System.Object implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  469. {
  470. protected [__keep_incompatibility]: never;
  471. }
  472. class Nullable$1<T> extends System.ValueType
  473. {
  474. protected [__keep_incompatibility]: never;
  475. }
  476. class UInt16 extends System.ValueType implements System.IEquatable$1<number>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<number>, System.IConvertible
  477. {
  478. protected [__keep_incompatibility]: never;
  479. }
  480. interface Action$2<T1, T2>
  481. {
  482. (arg1: T1, arg2: T2) : void;
  483. Invoke?: (arg1: T1, arg2: T2) => void;
  484. }
  485. class Uri extends System.Object implements System.Runtime.Serialization.ISerializable
  486. {
  487. protected [__keep_incompatibility]: never;
  488. }
  489. class TimeSpan extends System.ValueType implements System.IEquatable$1<System.TimeSpan>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<System.TimeSpan>
  490. {
  491. protected [__keep_incompatibility]: never;
  492. }
  493. class Version extends System.Object implements System.IEquatable$1<System.Version>, System.ICloneable, System.ISpanFormattable, System.IComparable, System.IComparable$1<System.Version>
  494. {
  495. protected [__keep_incompatibility]: never;
  496. }
  497. class Int16 extends System.ValueType implements System.IEquatable$1<number>, System.IFormattable, System.ISpanFormattable, System.IComparable, System.IComparable$1<number>, System.IConvertible
  498. {
  499. protected [__keep_incompatibility]: never;
  500. }
  501. interface AsyncCallback
  502. {
  503. (ar: System.IAsyncResult) : void;
  504. Invoke?: (ar: System.IAsyncResult) => void;
  505. }
  506. var AsyncCallback: { new (func: (ar: System.IAsyncResult) => void): AsyncCallback; }
  507. class EventArgs extends System.Object
  508. {
  509. protected [__keep_incompatibility]: never;
  510. }
  511. class SystemException extends System.Exception implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  512. {
  513. protected [__keep_incompatibility]: never;
  514. }
  515. class InvalidOperationException extends System.SystemException implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  516. {
  517. protected [__keep_incompatibility]: never;
  518. }
  519. class FormatException extends System.SystemException implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  520. {
  521. protected [__keep_incompatibility]: never;
  522. }
  523. class ArraySegment$1<T> extends System.ValueType implements System.Collections.Generic.IReadOnlyList$1<T>, System.Collections.Generic.IEnumerable$1<T>, System.Collections.IEnumerable, System.Collections.Generic.IList$1<T>, System.Collections.Generic.IReadOnlyCollection$1<T>, System.Collections.Generic.ICollection$1<T>
  524. {
  525. protected [__keep_incompatibility]: never;
  526. public get_Item ($index: number) : T
  527. public set_Item ($index: number, $value: T) : void
  528. public IndexOf ($item: T) : number
  529. public Insert ($index: number, $item: T) : void
  530. public RemoveAt ($index: number) : void
  531. public [Symbol.iterator]() : IterableIterator<T>
  532. }
  533. interface Action$3<T1, T2, T3>
  534. {
  535. (arg1: T1, arg2: T2, arg3: T3) : void;
  536. Invoke?: (arg1: T1, arg2: T2, arg3: T3) => void;
  537. }
  538. interface Func$5<T1, T2, T3, T4, TResult>
  539. {
  540. (arg1: T1, arg2: T2, arg3: T3, arg4: T4) : TResult;
  541. Invoke?: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => TResult;
  542. }
  543. class ReadOnlyMemory$1<T> extends System.ValueType implements System.IEquatable$1<System.ReadOnlyMemory$1<T>>
  544. {
  545. protected [__keep_incompatibility]: never;
  546. }
  547. }
  548. namespace System.Collections.Generic {
  549. interface IList$1<T> extends System.Collections.Generic.IEnumerable$1<T>, System.Collections.IEnumerable, System.Collections.Generic.ICollection$1<T>
  550. {
  551. get_Item ($index: number) : T
  552. set_Item ($index: number, $value: T) : void
  553. IndexOf ($item: T) : number
  554. Insert ($index: number, $item: T) : void
  555. RemoveAt ($index: number) : void
  556. }
  557. interface IEnumerable$1<T> extends System.Collections.IEnumerable
  558. {
  559. }
  560. interface ICollection$1<T> extends System.Collections.Generic.IEnumerable$1<T>, System.Collections.IEnumerable
  561. {
  562. }
  563. class List$1<T> extends System.Object implements System.Collections.Generic.IReadOnlyList$1<T>, System.Collections.ICollection, System.Collections.Generic.IEnumerable$1<T>, System.Collections.IEnumerable, System.Collections.Generic.IList$1<T>, System.Collections.Generic.IReadOnlyCollection$1<T>, System.Collections.IList, System.Collections.Generic.ICollection$1<T>
  564. {
  565. protected [__keep_incompatibility]: never;
  566. public get Capacity(): number;
  567. public set Capacity(value: number);
  568. public get Count(): number;
  569. public get_Item ($index: number) : T
  570. public set_Item ($index: number, $value: T) : void
  571. public Add ($item: T) : void
  572. public AddRange ($collection: System.Collections.Generic.IEnumerable$1<T>) : void
  573. public AsReadOnly () : System.Collections.ObjectModel.ReadOnlyCollection$1<T>
  574. public BinarySearch ($index: number, $count: number, $item: T, $comparer: System.Collections.Generic.IComparer$1<T>) : number
  575. public BinarySearch ($item: T) : number
  576. public BinarySearch ($item: T, $comparer: System.Collections.Generic.IComparer$1<T>) : number
  577. public Clear () : void
  578. public Contains ($item: T) : boolean
  579. public CopyTo ($array: System.Array$1<T>) : void
  580. public CopyTo ($index: number, $array: System.Array$1<T>, $arrayIndex: number, $count: number) : void
  581. public CopyTo ($array: System.Array$1<T>, $arrayIndex: number) : void
  582. public Exists ($match: System.Predicate$1<T>) : boolean
  583. public Find ($match: System.Predicate$1<T>) : T
  584. public FindAll ($match: System.Predicate$1<T>) : System.Collections.Generic.List$1<T>
  585. public FindIndex ($match: System.Predicate$1<T>) : number
  586. public FindIndex ($startIndex: number, $match: System.Predicate$1<T>) : number
  587. public FindIndex ($startIndex: number, $count: number, $match: System.Predicate$1<T>) : number
  588. public FindLast ($match: System.Predicate$1<T>) : T
  589. public FindLastIndex ($match: System.Predicate$1<T>) : number
  590. public FindLastIndex ($startIndex: number, $match: System.Predicate$1<T>) : number
  591. public FindLastIndex ($startIndex: number, $count: number, $match: System.Predicate$1<T>) : number
  592. public ForEach ($action: System.Action$1<T>) : void
  593. public GetEnumerator () : System.Collections.Generic.List$1.Enumerator<T>
  594. public GetRange ($index: number, $count: number) : System.Collections.Generic.List$1<T>
  595. public IndexOf ($item: T) : number
  596. public IndexOf ($item: T, $index: number) : number
  597. public IndexOf ($item: T, $index: number, $count: number) : number
  598. public Insert ($index: number, $item: T) : void
  599. public InsertRange ($index: number, $collection: System.Collections.Generic.IEnumerable$1<T>) : void
  600. public LastIndexOf ($item: T) : number
  601. public LastIndexOf ($item: T, $index: number) : number
  602. public LastIndexOf ($item: T, $index: number, $count: number) : number
  603. public Remove ($item: T) : boolean
  604. public RemoveAll ($match: System.Predicate$1<T>) : number
  605. public RemoveAt ($index: number) : void
  606. public RemoveRange ($index: number, $count: number) : void
  607. public Reverse () : void
  608. public Reverse ($index: number, $count: number) : void
  609. public Sort () : void
  610. public Sort ($comparer: System.Collections.Generic.IComparer$1<T>) : void
  611. public Sort ($index: number, $count: number, $comparer: System.Collections.Generic.IComparer$1<T>) : void
  612. public Sort ($comparison: System.Comparison$1<T>) : void
  613. public ToArray () : System.Array$1<T>
  614. public TrimExcess () : void
  615. public TrueForAll ($match: System.Predicate$1<T>) : boolean
  616. public constructor ()
  617. public constructor ($capacity: number)
  618. public constructor ($collection: System.Collections.Generic.IEnumerable$1<T>)
  619. public [Symbol.iterator]() : IterableIterator<T>
  620. }
  621. interface IReadOnlyList$1<T> extends System.Collections.Generic.IEnumerable$1<T>, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection$1<T>
  622. {
  623. }
  624. interface IReadOnlyCollection$1<T> extends System.Collections.Generic.IEnumerable$1<T>, System.Collections.IEnumerable
  625. {
  626. }
  627. interface IComparer$1<T>
  628. {
  629. }
  630. interface IEnumerator$1<T> extends System.Collections.IEnumerator, System.IDisposable
  631. {
  632. }
  633. class Dictionary$2<TKey, TValue> extends System.Object implements System.Collections.Generic.IReadOnlyDictionary$2<TKey, TValue>, System.Collections.Generic.IDictionary$2<TKey, TValue>, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.Generic.IEnumerable$1<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>, System.Runtime.Serialization.IDeserializationCallback, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable, System.Collections.Generic.IReadOnlyCollection$1<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>, System.Collections.Generic.ICollection$1<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>
  634. {
  635. protected [__keep_incompatibility]: never;
  636. public get Comparer(): System.Collections.Generic.IEqualityComparer$1<TKey>;
  637. public get Count(): number;
  638. public get Keys(): System.Collections.Generic.Dictionary$2.KeyCollection<TKey, TValue>;
  639. public get Values(): System.Collections.Generic.Dictionary$2.ValueCollection<TKey, TValue>;
  640. public get_Item ($key: TKey) : TValue
  641. public set_Item ($key: TKey, $value: TValue) : void
  642. public Add ($key: TKey, $value: TValue) : void
  643. public Clear () : void
  644. public ContainsKey ($key: TKey) : boolean
  645. public ContainsValue ($value: TValue) : boolean
  646. public GetEnumerator () : System.Collections.Generic.Dictionary$2.Enumerator<TKey, TValue>
  647. public GetObjectData ($info: System.Runtime.Serialization.SerializationInfo, $context: System.Runtime.Serialization.StreamingContext) : void
  648. public OnDeserialization ($sender: any) : void
  649. public Remove ($key: TKey) : boolean
  650. public TryGetValue ($key: TKey, $value: $Ref<TValue>) : boolean
  651. public EnsureCapacity ($capacity: number) : number
  652. public TrimExcess () : void
  653. public TrimExcess ($capacity: number) : void
  654. public constructor ()
  655. public constructor ($capacity: number)
  656. public constructor ($comparer: System.Collections.Generic.IEqualityComparer$1<TKey>)
  657. public constructor ($capacity: number, $comparer: System.Collections.Generic.IEqualityComparer$1<TKey>)
  658. public constructor ($dictionary: System.Collections.Generic.IDictionary$2<TKey, TValue>)
  659. public constructor ($dictionary: System.Collections.Generic.IDictionary$2<TKey, TValue>, $comparer: System.Collections.Generic.IEqualityComparer$1<TKey>)
  660. public constructor ($collection: System.Collections.Generic.IEnumerable$1<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>)
  661. public constructor ($collection: System.Collections.Generic.IEnumerable$1<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>, $comparer: System.Collections.Generic.IEqualityComparer$1<TKey>)
  662. public [Symbol.iterator]() : IterableIterator<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>
  663. }
  664. interface IReadOnlyDictionary$2<TKey, TValue> extends System.Collections.Generic.IEnumerable$1<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection$1<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>
  665. {
  666. }
  667. class KeyValuePair$2<TKey, TValue> extends System.ValueType
  668. {
  669. protected [__keep_incompatibility]: never;
  670. }
  671. interface IDictionary$2<TKey, TValue> extends System.Collections.Generic.IEnumerable$1<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>, System.Collections.IEnumerable, System.Collections.Generic.ICollection$1<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>
  672. {
  673. Keys : System.Collections.Generic.ICollection$1<TKey>
  674. Values : System.Collections.Generic.ICollection$1<TValue>
  675. get_Item ($key: TKey) : TValue
  676. set_Item ($key: TKey, $value: TValue) : void
  677. ContainsKey ($key: TKey) : boolean
  678. Add ($key: TKey, $value: TValue) : void
  679. Remove ($key: TKey) : boolean
  680. TryGetValue ($key: TKey, $value: $Ref<TValue>) : boolean
  681. }
  682. interface IEqualityComparer$1<T>
  683. {
  684. }
  685. class HashSet$1<T> extends System.Object implements System.Collections.Generic.ISet$1<T>, System.Collections.Generic.IEnumerable$1<T>, System.Runtime.Serialization.IDeserializationCallback, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable, System.Collections.Generic.IReadOnlyCollection$1<T>, System.Collections.Generic.ICollection$1<T>
  686. {
  687. protected [__keep_incompatibility]: never;
  688. public [Symbol.iterator]() : IterableIterator<T>
  689. }
  690. interface ISet$1<T> extends System.Collections.Generic.IEnumerable$1<T>, System.Collections.IEnumerable, System.Collections.Generic.ICollection$1<T>
  691. {
  692. }
  693. }
  694. namespace System.Collections {
  695. interface IEnumerable
  696. {
  697. }
  698. interface ICollection extends System.Collections.IEnumerable
  699. {
  700. }
  701. interface IList extends System.Collections.ICollection, System.Collections.IEnumerable
  702. {
  703. }
  704. interface IStructuralComparable
  705. {
  706. }
  707. interface IStructuralEquatable
  708. {
  709. }
  710. interface IEnumerator
  711. {
  712. }
  713. interface IDictionary extends System.Collections.ICollection, System.Collections.IEnumerable
  714. {
  715. }
  716. interface IDictionaryEnumerator extends System.Collections.IEnumerator
  717. {
  718. }
  719. interface IComparer
  720. {
  721. }
  722. class CollectionBase extends System.Object implements System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList
  723. {
  724. protected [__keep_incompatibility]: never;
  725. }
  726. class ArrayList extends System.Object implements System.Collections.ICollection, System.ICloneable, System.Collections.IEnumerable, System.Collections.IList
  727. {
  728. protected [__keep_incompatibility]: never;
  729. }
  730. class ReadOnlyCollectionBase extends System.Object implements System.Collections.ICollection, System.Collections.IEnumerable
  731. {
  732. protected [__keep_incompatibility]: never;
  733. }
  734. class Hashtable extends System.Object implements System.Collections.ICollection, System.ICloneable, System.Collections.IDictionary, System.Runtime.Serialization.IDeserializationCallback, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable
  735. {
  736. protected [__keep_incompatibility]: never;
  737. }
  738. }
  739. namespace System.Collections.ObjectModel {
  740. class ReadOnlyCollection$1<T> extends System.Object implements System.Collections.Generic.IReadOnlyList$1<T>, System.Collections.ICollection, System.Collections.Generic.IEnumerable$1<T>, System.Collections.IEnumerable, System.Collections.Generic.IList$1<T>, System.Collections.Generic.IReadOnlyCollection$1<T>, System.Collections.IList, System.Collections.Generic.ICollection$1<T>
  741. {
  742. protected [__keep_incompatibility]: never;
  743. public get_Item ($index: number) : T
  744. public set_Item ($index: number, $value: T) : void
  745. public IndexOf ($item: T) : number
  746. public Insert ($index: number, $item: T) : void
  747. public RemoveAt ($index: number) : void
  748. public [Symbol.iterator]() : IterableIterator<T>
  749. }
  750. }
  751. namespace System.Runtime.Serialization {
  752. interface ISerializable
  753. {
  754. }
  755. interface IDeserializationCallback
  756. {
  757. }
  758. class SerializationInfo extends System.Object
  759. {
  760. protected [__keep_incompatibility]: never;
  761. }
  762. class StreamingContext extends System.ValueType
  763. {
  764. protected [__keep_incompatibility]: never;
  765. }
  766. }
  767. namespace System.Collections.Generic.List$1 {
  768. class Enumerator<T> extends System.ValueType implements System.Collections.Generic.IEnumerator$1<T>, System.Collections.IEnumerator, System.IDisposable
  769. {
  770. protected [__keep_incompatibility]: never;
  771. }
  772. }
  773. namespace System.Collections.Generic.Dictionary$2 {
  774. class KeyCollection<TKey, TValue> extends System.Object implements System.Collections.ICollection, System.Collections.Generic.IEnumerable$1<TKey>, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection$1<TKey>, System.Collections.Generic.ICollection$1<TKey>
  775. {
  776. protected [__keep_incompatibility]: never;
  777. public [Symbol.iterator]() : IterableIterator<TKey>
  778. }
  779. class ValueCollection<TKey, TValue> extends System.Object implements System.Collections.ICollection, System.Collections.Generic.IEnumerable$1<TValue>, System.Collections.IEnumerable, System.Collections.Generic.IReadOnlyCollection$1<TValue>, System.Collections.Generic.ICollection$1<TValue>
  780. {
  781. protected [__keep_incompatibility]: never;
  782. public [Symbol.iterator]() : IterableIterator<TValue>
  783. }
  784. class Enumerator<TKey, TValue> extends System.ValueType implements System.Collections.IDictionaryEnumerator, System.Collections.Generic.IEnumerator$1<System.Collections.Generic.KeyValuePair$2<TKey, TValue>>, System.Collections.IEnumerator, System.IDisposable
  785. {
  786. protected [__keep_incompatibility]: never;
  787. }
  788. }
  789. namespace System.Reflection {
  790. class MemberInfo extends System.Object implements System.Reflection.ICustomAttributeProvider, System.Runtime.InteropServices._MemberInfo
  791. {
  792. protected [__keep_incompatibility]: never;
  793. }
  794. interface ICustomAttributeProvider
  795. {
  796. }
  797. class MethodBase extends System.Reflection.MemberInfo implements System.Reflection.ICustomAttributeProvider, System.Runtime.InteropServices._MemberInfo, System.Runtime.InteropServices._MethodBase
  798. {
  799. protected [__keep_incompatibility]: never;
  800. }
  801. class MethodInfo extends System.Reflection.MethodBase implements System.Runtime.InteropServices._MethodInfo, System.Reflection.ICustomAttributeProvider, System.Runtime.InteropServices._MemberInfo, System.Runtime.InteropServices._MethodBase
  802. {
  803. protected [__keep_incompatibility]: never;
  804. }
  805. interface IReflect
  806. {
  807. }
  808. interface MemberFilter
  809. {
  810. (m: System.Reflection.MemberInfo, filterCriteria: any) : boolean;
  811. Invoke?: (m: System.Reflection.MemberInfo, filterCriteria: any) => boolean;
  812. }
  813. var MemberFilter: { new (func: (m: System.Reflection.MemberInfo, filterCriteria: any) => boolean): MemberFilter; }
  814. interface TypeFilter
  815. {
  816. (m: System.Type, filterCriteria: any) : boolean;
  817. Invoke?: (m: System.Type, filterCriteria: any) => boolean;
  818. }
  819. var TypeFilter: { new (func: (m: System.Type, filterCriteria: any) => boolean): TypeFilter; }
  820. enum MemberTypes
  821. { Constructor = 1, Event = 2, Field = 4, Method = 8, Property = 16, TypeInfo = 32, Custom = 64, NestedType = 128, All = 191 }
  822. enum BindingFlags
  823. { 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, DoNotWrapExceptions = 33554432 }
  824. class Assembly extends System.Object implements System.Reflection.ICustomAttributeProvider, System.Runtime.InteropServices._Assembly, System.Security.IEvidenceFactory, System.Runtime.Serialization.ISerializable
  825. {
  826. protected [__keep_incompatibility]: never;
  827. }
  828. class Module extends System.Object implements System.Runtime.InteropServices._Module, System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.ISerializable
  829. {
  830. protected [__keep_incompatibility]: never;
  831. }
  832. enum GenericParameterAttributes
  833. { None = 0, VarianceMask = 3, Covariant = 1, Contravariant = 2, SpecialConstraintMask = 28, ReferenceTypeConstraint = 4, NotNullableValueTypeConstraint = 8, DefaultConstructorConstraint = 16 }
  834. enum TypeAttributes
  835. { 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, RTSpecialName = 2048, HasSecurity = 262144, ReservedMask = 264192 }
  836. class ConstructorInfo extends System.Reflection.MethodBase implements System.Reflection.ICustomAttributeProvider, System.Runtime.InteropServices._MemberInfo, System.Runtime.InteropServices._MethodBase, System.Runtime.InteropServices._ConstructorInfo
  837. {
  838. protected [__keep_incompatibility]: never;
  839. }
  840. class Binder extends System.Object
  841. {
  842. protected [__keep_incompatibility]: never;
  843. }
  844. class ParameterModifier extends System.ValueType
  845. {
  846. protected [__keep_incompatibility]: never;
  847. }
  848. enum CallingConventions
  849. { Standard = 1, VarArgs = 2, Any = 3, HasThis = 32, ExplicitThis = 64 }
  850. class EventInfo extends System.Reflection.MemberInfo implements System.Runtime.InteropServices._EventInfo, System.Reflection.ICustomAttributeProvider, System.Runtime.InteropServices._MemberInfo
  851. {
  852. protected [__keep_incompatibility]: never;
  853. }
  854. class FieldInfo extends System.Reflection.MemberInfo implements System.Reflection.ICustomAttributeProvider, System.Runtime.InteropServices._FieldInfo, System.Runtime.InteropServices._MemberInfo
  855. {
  856. protected [__keep_incompatibility]: never;
  857. }
  858. class PropertyInfo extends System.Reflection.MemberInfo implements System.Reflection.ICustomAttributeProvider, System.Runtime.InteropServices._PropertyInfo, System.Runtime.InteropServices._MemberInfo
  859. {
  860. protected [__keep_incompatibility]: never;
  861. }
  862. class InterfaceMapping extends System.ValueType
  863. {
  864. protected [__keep_incompatibility]: never;
  865. }
  866. class AssemblyName extends System.Object implements System.ICloneable, System.Runtime.InteropServices._AssemblyName, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable
  867. {
  868. protected [__keep_incompatibility]: never;
  869. }
  870. }
  871. namespace System.Runtime.InteropServices {
  872. interface _MemberInfo
  873. {
  874. }
  875. interface _MethodBase
  876. {
  877. }
  878. interface _MethodInfo
  879. {
  880. }
  881. interface _Type
  882. {
  883. }
  884. interface _Assembly
  885. {
  886. }
  887. interface _Module
  888. {
  889. }
  890. interface _Attribute
  891. {
  892. }
  893. class StructLayoutAttribute extends System.Attribute implements System.Runtime.InteropServices._Attribute
  894. {
  895. protected [__keep_incompatibility]: never;
  896. }
  897. interface _ConstructorInfo
  898. {
  899. }
  900. interface _EventInfo
  901. {
  902. }
  903. interface _FieldInfo
  904. {
  905. }
  906. interface _PropertyInfo
  907. {
  908. }
  909. interface _AssemblyName
  910. {
  911. }
  912. interface _Exception
  913. {
  914. }
  915. class ExternalException extends System.SystemException implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  916. {
  917. protected [__keep_incompatibility]: never;
  918. }
  919. class SafeHandle extends System.Runtime.ConstrainedExecution.CriticalFinalizerObject implements System.IDisposable
  920. {
  921. protected [__keep_incompatibility]: never;
  922. }
  923. }
  924. namespace System.Security {
  925. interface IEvidenceFactory
  926. {
  927. }
  928. class SecureString extends System.Object implements System.IDisposable
  929. {
  930. protected [__keep_incompatibility]: never;
  931. }
  932. interface IPermission extends System.Security.ISecurityEncodable
  933. {
  934. }
  935. interface ISecurityEncodable
  936. {
  937. }
  938. class CodeAccessPermission extends System.Object implements System.Security.IPermission, System.Security.ISecurityEncodable, System.Security.IStackWalk
  939. {
  940. protected [__keep_incompatibility]: never;
  941. }
  942. interface IStackWalk
  943. {
  944. }
  945. class SecurityElement extends System.Object
  946. {
  947. protected [__keep_incompatibility]: never;
  948. }
  949. }
  950. namespace System.Globalization {
  951. class CultureInfo extends System.Object implements System.IFormatProvider, System.ICloneable
  952. {
  953. protected [__keep_incompatibility]: never;
  954. }
  955. }
  956. namespace System.IO {
  957. class File extends System.Object
  958. {
  959. protected [__keep_incompatibility]: never;
  960. public static OpenText ($path: string) : System.IO.StreamReader
  961. public static CreateText ($path: string) : System.IO.StreamWriter
  962. public static AppendText ($path: string) : System.IO.StreamWriter
  963. public static Copy ($sourceFileName: string, $destFileName: string) : void
  964. public static Copy ($sourceFileName: string, $destFileName: string, $overwrite: boolean) : void
  965. public static Create ($path: string) : System.IO.FileStream
  966. public static Create ($path: string, $bufferSize: number) : System.IO.FileStream
  967. public static Create ($path: string, $bufferSize: number, $options: System.IO.FileOptions) : System.IO.FileStream
  968. public static Delete ($path: string) : void
  969. public static Exists ($path: string) : boolean
  970. public static Open ($path: string, $mode: System.IO.FileMode) : System.IO.FileStream
  971. public static Open ($path: string, $mode: System.IO.FileMode, $access: System.IO.FileAccess) : System.IO.FileStream
  972. public static Open ($path: string, $mode: System.IO.FileMode, $access: System.IO.FileAccess, $share: System.IO.FileShare) : System.IO.FileStream
  973. public static SetCreationTime ($path: string, $creationTime: System.DateTime) : void
  974. public static SetCreationTimeUtc ($path: string, $creationTimeUtc: System.DateTime) : void
  975. public static GetCreationTime ($path: string) : System.DateTime
  976. public static GetCreationTimeUtc ($path: string) : System.DateTime
  977. public static SetLastAccessTime ($path: string, $lastAccessTime: System.DateTime) : void
  978. public static SetLastAccessTimeUtc ($path: string, $lastAccessTimeUtc: System.DateTime) : void
  979. public static GetLastAccessTime ($path: string) : System.DateTime
  980. public static GetLastAccessTimeUtc ($path: string) : System.DateTime
  981. public static SetLastWriteTime ($path: string, $lastWriteTime: System.DateTime) : void
  982. public static SetLastWriteTimeUtc ($path: string, $lastWriteTimeUtc: System.DateTime) : void
  983. public static GetLastWriteTime ($path: string) : System.DateTime
  984. public static GetLastWriteTimeUtc ($path: string) : System.DateTime
  985. public static GetAttributes ($path: string) : System.IO.FileAttributes
  986. public static SetAttributes ($path: string, $fileAttributes: System.IO.FileAttributes) : void
  987. public static OpenRead ($path: string) : System.IO.FileStream
  988. public static OpenWrite ($path: string) : System.IO.FileStream
  989. public static ReadAllText ($path: string) : string
  990. public static ReadAllText ($path: string, $encoding: System.Text.Encoding) : string
  991. public static WriteAllText ($path: string, $contents: string) : void
  992. public static WriteAllText ($path: string, $contents: string, $encoding: System.Text.Encoding) : void
  993. public static ReadAllBytes ($path: string) : System.Array$1<number>
  994. public static WriteAllBytes ($path: string, $bytes: System.Array$1<number>) : void
  995. public static ReadAllLines ($path: string) : System.Array$1<string>
  996. public static ReadAllLines ($path: string, $encoding: System.Text.Encoding) : System.Array$1<string>
  997. public static ReadLines ($path: string) : System.Collections.Generic.IEnumerable$1<string>
  998. public static ReadLines ($path: string, $encoding: System.Text.Encoding) : System.Collections.Generic.IEnumerable$1<string>
  999. public static WriteAllLines ($path: string, $contents: System.Array$1<string>) : void
  1000. public static WriteAllLines ($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>) : void
  1001. public static WriteAllLines ($path: string, $contents: System.Array$1<string>, $encoding: System.Text.Encoding) : void
  1002. public static WriteAllLines ($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>, $encoding: System.Text.Encoding) : void
  1003. public static AppendAllText ($path: string, $contents: string) : void
  1004. public static AppendAllText ($path: string, $contents: string, $encoding: System.Text.Encoding) : void
  1005. public static AppendAllLines ($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>) : void
  1006. public static AppendAllLines ($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>, $encoding: System.Text.Encoding) : void
  1007. public static Replace ($sourceFileName: string, $destinationFileName: string, $destinationBackupFileName: string) : void
  1008. public static Replace ($sourceFileName: string, $destinationFileName: string, $destinationBackupFileName: string, $ignoreMetadataErrors: boolean) : void
  1009. public static Move ($sourceFileName: string, $destFileName: string) : void
  1010. public static Encrypt ($path: string) : void
  1011. public static Decrypt ($path: string) : void
  1012. public static ReadAllTextAsync ($path: string, $cancellationToken?: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<string>
  1013. public static ReadAllTextAsync ($path: string, $encoding: System.Text.Encoding, $cancellationToken?: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<string>
  1014. public static WriteAllTextAsync ($path: string, $contents: string, $cancellationToken?: System.Threading.CancellationToken) : $Task<any>
  1015. public static WriteAllTextAsync ($path: string, $contents: string, $encoding: System.Text.Encoding, $cancellationToken?: System.Threading.CancellationToken) : $Task<any>
  1016. public static ReadAllBytesAsync ($path: string, $cancellationToken?: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  1017. public static WriteAllBytesAsync ($path: string, $bytes: System.Array$1<number>, $cancellationToken?: System.Threading.CancellationToken) : $Task<any>
  1018. public static ReadAllLinesAsync ($path: string, $cancellationToken?: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Array$1<string>>
  1019. public static ReadAllLinesAsync ($path: string, $encoding: System.Text.Encoding, $cancellationToken?: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Array$1<string>>
  1020. public static WriteAllLinesAsync ($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>, $cancellationToken?: System.Threading.CancellationToken) : $Task<any>
  1021. public static WriteAllLinesAsync ($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>, $encoding: System.Text.Encoding, $cancellationToken?: System.Threading.CancellationToken) : $Task<any>
  1022. public static AppendAllTextAsync ($path: string, $contents: string, $cancellationToken?: System.Threading.CancellationToken) : $Task<any>
  1023. public static AppendAllTextAsync ($path: string, $contents: string, $encoding: System.Text.Encoding, $cancellationToken?: System.Threading.CancellationToken) : $Task<any>
  1024. public static AppendAllLinesAsync ($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>, $cancellationToken?: System.Threading.CancellationToken) : $Task<any>
  1025. public static AppendAllLinesAsync ($path: string, $contents: System.Collections.Generic.IEnumerable$1<string>, $encoding: System.Text.Encoding, $cancellationToken?: System.Threading.CancellationToken) : $Task<any>
  1026. public static Create ($path: string, $bufferSize: number, $options: System.IO.FileOptions, $fileSecurity: System.Security.AccessControl.FileSecurity) : System.IO.FileStream
  1027. public static GetAccessControl ($path: string) : System.Security.AccessControl.FileSecurity
  1028. public static GetAccessControl ($path: string, $includeSections: System.Security.AccessControl.AccessControlSections) : System.Security.AccessControl.FileSecurity
  1029. public static SetAccessControl ($path: string, $fileSecurity: System.Security.AccessControl.FileSecurity) : void
  1030. }
  1031. class TextReader extends System.MarshalByRefObject implements System.IDisposable
  1032. {
  1033. protected [__keep_incompatibility]: never;
  1034. }
  1035. class StreamReader extends System.IO.TextReader implements System.IDisposable
  1036. {
  1037. protected [__keep_incompatibility]: never;
  1038. }
  1039. class TextWriter extends System.MarshalByRefObject implements System.IAsyncDisposable, System.IDisposable
  1040. {
  1041. protected [__keep_incompatibility]: never;
  1042. }
  1043. class StreamWriter extends System.IO.TextWriter implements System.IAsyncDisposable, System.IDisposable
  1044. {
  1045. protected [__keep_incompatibility]: never;
  1046. }
  1047. class Stream extends System.MarshalByRefObject implements System.IAsyncDisposable, System.IDisposable
  1048. {
  1049. protected [__keep_incompatibility]: never;
  1050. }
  1051. class FileStream extends System.IO.Stream implements System.IAsyncDisposable, System.IDisposable
  1052. {
  1053. protected [__keep_incompatibility]: never;
  1054. }
  1055. enum FileOptions
  1056. { None = 0, WriteThrough = -2147483648, Asynchronous = 1073741824, RandomAccess = 268435456, DeleteOnClose = 67108864, SequentialScan = 134217728, Encrypted = 16384 }
  1057. enum FileMode
  1058. { CreateNew = 1, Create = 2, Open = 3, OpenOrCreate = 4, Truncate = 5, Append = 6 }
  1059. enum FileAccess
  1060. { Read = 1, Write = 2, ReadWrite = 3 }
  1061. enum FileShare
  1062. { None = 0, Read = 1, Write = 2, ReadWrite = 3, Delete = 4, Inheritable = 16 }
  1063. enum FileAttributes
  1064. { ReadOnly = 1, Hidden = 2, System = 4, Directory = 16, Archive = 32, Device = 64, Normal = 128, Temporary = 256, SparseFile = 512, ReparsePoint = 1024, Compressed = 2048, Offline = 4096, NotContentIndexed = 8192, Encrypted = 16384, IntegrityStream = 32768, NoScrubData = 131072 }
  1065. class Directory extends System.Object
  1066. {
  1067. protected [__keep_incompatibility]: never;
  1068. public static GetParent ($path: string) : System.IO.DirectoryInfo
  1069. public static CreateDirectory ($path: string) : System.IO.DirectoryInfo
  1070. public static Exists ($path: string) : boolean
  1071. public static SetCreationTime ($path: string, $creationTime: System.DateTime) : void
  1072. public static SetCreationTimeUtc ($path: string, $creationTimeUtc: System.DateTime) : void
  1073. public static GetCreationTime ($path: string) : System.DateTime
  1074. public static GetCreationTimeUtc ($path: string) : System.DateTime
  1075. public static SetLastWriteTime ($path: string, $lastWriteTime: System.DateTime) : void
  1076. public static SetLastWriteTimeUtc ($path: string, $lastWriteTimeUtc: System.DateTime) : void
  1077. public static GetLastWriteTime ($path: string) : System.DateTime
  1078. public static GetLastWriteTimeUtc ($path: string) : System.DateTime
  1079. public static SetLastAccessTime ($path: string, $lastAccessTime: System.DateTime) : void
  1080. public static SetLastAccessTimeUtc ($path: string, $lastAccessTimeUtc: System.DateTime) : void
  1081. public static GetLastAccessTime ($path: string) : System.DateTime
  1082. public static GetLastAccessTimeUtc ($path: string) : System.DateTime
  1083. public static GetFiles ($path: string) : System.Array$1<string>
  1084. public static GetFiles ($path: string, $searchPattern: string) : System.Array$1<string>
  1085. public static GetFiles ($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption) : System.Array$1<string>
  1086. public static GetFiles ($path: string, $searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Array$1<string>
  1087. public static GetDirectories ($path: string) : System.Array$1<string>
  1088. public static GetDirectories ($path: string, $searchPattern: string) : System.Array$1<string>
  1089. public static GetDirectories ($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption) : System.Array$1<string>
  1090. public static GetDirectories ($path: string, $searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Array$1<string>
  1091. public static GetFileSystemEntries ($path: string) : System.Array$1<string>
  1092. public static GetFileSystemEntries ($path: string, $searchPattern: string) : System.Array$1<string>
  1093. public static GetFileSystemEntries ($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption) : System.Array$1<string>
  1094. public static GetFileSystemEntries ($path: string, $searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Array$1<string>
  1095. public static EnumerateDirectories ($path: string) : System.Collections.Generic.IEnumerable$1<string>
  1096. public static EnumerateDirectories ($path: string, $searchPattern: string) : System.Collections.Generic.IEnumerable$1<string>
  1097. public static EnumerateDirectories ($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption) : System.Collections.Generic.IEnumerable$1<string>
  1098. public static EnumerateDirectories ($path: string, $searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Collections.Generic.IEnumerable$1<string>
  1099. public static EnumerateFiles ($path: string) : System.Collections.Generic.IEnumerable$1<string>
  1100. public static EnumerateFiles ($path: string, $searchPattern: string) : System.Collections.Generic.IEnumerable$1<string>
  1101. public static EnumerateFiles ($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption) : System.Collections.Generic.IEnumerable$1<string>
  1102. public static EnumerateFiles ($path: string, $searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Collections.Generic.IEnumerable$1<string>
  1103. public static EnumerateFileSystemEntries ($path: string) : System.Collections.Generic.IEnumerable$1<string>
  1104. public static EnumerateFileSystemEntries ($path: string, $searchPattern: string) : System.Collections.Generic.IEnumerable$1<string>
  1105. public static EnumerateFileSystemEntries ($path: string, $searchPattern: string, $searchOption: System.IO.SearchOption) : System.Collections.Generic.IEnumerable$1<string>
  1106. public static EnumerateFileSystemEntries ($path: string, $searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Collections.Generic.IEnumerable$1<string>
  1107. public static GetDirectoryRoot ($path: string) : string
  1108. public static GetCurrentDirectory () : string
  1109. public static SetCurrentDirectory ($path: string) : void
  1110. public static Move ($sourceDirName: string, $destDirName: string) : void
  1111. public static Delete ($path: string) : void
  1112. public static Delete ($path: string, $recursive: boolean) : void
  1113. public static GetLogicalDrives () : System.Array$1<string>
  1114. public static CreateDirectory ($path: string, $directorySecurity: System.Security.AccessControl.DirectorySecurity) : System.IO.DirectoryInfo
  1115. public static GetAccessControl ($path: string, $includeSections: System.Security.AccessControl.AccessControlSections) : System.Security.AccessControl.DirectorySecurity
  1116. public static GetAccessControl ($path: string) : System.Security.AccessControl.DirectorySecurity
  1117. public static SetAccessControl ($path: string, $directorySecurity: System.Security.AccessControl.DirectorySecurity) : void
  1118. }
  1119. class FileSystemInfo extends System.MarshalByRefObject implements System.Runtime.Serialization.ISerializable
  1120. {
  1121. protected [__keep_incompatibility]: never;
  1122. }
  1123. class DirectoryInfo extends System.IO.FileSystemInfo implements System.Runtime.Serialization.ISerializable
  1124. {
  1125. protected [__keep_incompatibility]: never;
  1126. public get Parent(): System.IO.DirectoryInfo;
  1127. public get Root(): System.IO.DirectoryInfo;
  1128. public CreateSubdirectory ($path: string) : System.IO.DirectoryInfo
  1129. public Create () : void
  1130. public GetFiles () : System.Array$1<System.IO.FileInfo>
  1131. public GetFiles ($searchPattern: string) : System.Array$1<System.IO.FileInfo>
  1132. public GetFiles ($searchPattern: string, $searchOption: System.IO.SearchOption) : System.Array$1<System.IO.FileInfo>
  1133. public GetFiles ($searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Array$1<System.IO.FileInfo>
  1134. public GetFileSystemInfos () : System.Array$1<System.IO.FileSystemInfo>
  1135. public GetFileSystemInfos ($searchPattern: string) : System.Array$1<System.IO.FileSystemInfo>
  1136. public GetFileSystemInfos ($searchPattern: string, $searchOption: System.IO.SearchOption) : System.Array$1<System.IO.FileSystemInfo>
  1137. public GetFileSystemInfos ($searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Array$1<System.IO.FileSystemInfo>
  1138. public GetDirectories () : System.Array$1<System.IO.DirectoryInfo>
  1139. public GetDirectories ($searchPattern: string) : System.Array$1<System.IO.DirectoryInfo>
  1140. public GetDirectories ($searchPattern: string, $searchOption: System.IO.SearchOption) : System.Array$1<System.IO.DirectoryInfo>
  1141. public GetDirectories ($searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Array$1<System.IO.DirectoryInfo>
  1142. public EnumerateDirectories () : System.Collections.Generic.IEnumerable$1<System.IO.DirectoryInfo>
  1143. public EnumerateDirectories ($searchPattern: string) : System.Collections.Generic.IEnumerable$1<System.IO.DirectoryInfo>
  1144. public EnumerateDirectories ($searchPattern: string, $searchOption: System.IO.SearchOption) : System.Collections.Generic.IEnumerable$1<System.IO.DirectoryInfo>
  1145. public EnumerateDirectories ($searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Collections.Generic.IEnumerable$1<System.IO.DirectoryInfo>
  1146. public EnumerateFiles () : System.Collections.Generic.IEnumerable$1<System.IO.FileInfo>
  1147. public EnumerateFiles ($searchPattern: string) : System.Collections.Generic.IEnumerable$1<System.IO.FileInfo>
  1148. public EnumerateFiles ($searchPattern: string, $searchOption: System.IO.SearchOption) : System.Collections.Generic.IEnumerable$1<System.IO.FileInfo>
  1149. public EnumerateFiles ($searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Collections.Generic.IEnumerable$1<System.IO.FileInfo>
  1150. public EnumerateFileSystemInfos () : System.Collections.Generic.IEnumerable$1<System.IO.FileSystemInfo>
  1151. public EnumerateFileSystemInfos ($searchPattern: string) : System.Collections.Generic.IEnumerable$1<System.IO.FileSystemInfo>
  1152. public EnumerateFileSystemInfos ($searchPattern: string, $searchOption: System.IO.SearchOption) : System.Collections.Generic.IEnumerable$1<System.IO.FileSystemInfo>
  1153. public EnumerateFileSystemInfos ($searchPattern: string, $enumerationOptions: System.IO.EnumerationOptions) : System.Collections.Generic.IEnumerable$1<System.IO.FileSystemInfo>
  1154. public MoveTo ($destDirName: string) : void
  1155. public Delete () : void
  1156. public Delete ($recursive: boolean) : void
  1157. public Create ($directorySecurity: System.Security.AccessControl.DirectorySecurity) : void
  1158. public CreateSubdirectory ($path: string, $directorySecurity: System.Security.AccessControl.DirectorySecurity) : System.IO.DirectoryInfo
  1159. public GetAccessControl () : System.Security.AccessControl.DirectorySecurity
  1160. public GetAccessControl ($includeSections: System.Security.AccessControl.AccessControlSections) : System.Security.AccessControl.DirectorySecurity
  1161. public SetAccessControl ($directorySecurity: System.Security.AccessControl.DirectorySecurity) : void
  1162. public constructor ($path: string)
  1163. public constructor ()
  1164. }
  1165. enum SearchOption
  1166. { TopDirectoryOnly = 0, AllDirectories = 1 }
  1167. class EnumerationOptions extends System.Object
  1168. {
  1169. protected [__keep_incompatibility]: never;
  1170. }
  1171. class FileInfo extends System.IO.FileSystemInfo implements System.Runtime.Serialization.ISerializable
  1172. {
  1173. protected [__keep_incompatibility]: never;
  1174. public get Length(): bigint;
  1175. public get DirectoryName(): string;
  1176. public get Directory(): System.IO.DirectoryInfo;
  1177. public get IsReadOnly(): boolean;
  1178. public set IsReadOnly(value: boolean);
  1179. public get Name(): string;
  1180. public OpenText () : System.IO.StreamReader
  1181. public CreateText () : System.IO.StreamWriter
  1182. public AppendText () : System.IO.StreamWriter
  1183. public CopyTo ($destFileName: string) : System.IO.FileInfo
  1184. public CopyTo ($destFileName: string, $overwrite: boolean) : System.IO.FileInfo
  1185. public Create () : System.IO.FileStream
  1186. public Open ($mode: System.IO.FileMode) : System.IO.FileStream
  1187. public Open ($mode: System.IO.FileMode, $access: System.IO.FileAccess) : System.IO.FileStream
  1188. public Open ($mode: System.IO.FileMode, $access: System.IO.FileAccess, $share: System.IO.FileShare) : System.IO.FileStream
  1189. public OpenRead () : System.IO.FileStream
  1190. public OpenWrite () : System.IO.FileStream
  1191. public MoveTo ($destFileName: string) : void
  1192. public Replace ($destinationFileName: string, $destinationBackupFileName: string) : System.IO.FileInfo
  1193. public Replace ($destinationFileName: string, $destinationBackupFileName: string, $ignoreMetadataErrors: boolean) : System.IO.FileInfo
  1194. public Decrypt () : void
  1195. public Encrypt () : void
  1196. public GetAccessControl () : System.Security.AccessControl.FileSecurity
  1197. public GetAccessControl ($includeSections: System.Security.AccessControl.AccessControlSections) : System.Security.AccessControl.FileSecurity
  1198. public SetAccessControl ($fileSecurity: System.Security.AccessControl.FileSecurity) : void
  1199. public constructor ($fileName: string)
  1200. public constructor ()
  1201. }
  1202. class Path extends System.Object
  1203. {
  1204. protected [__keep_incompatibility]: never;
  1205. public static AltDirectorySeparatorChar : number
  1206. public static DirectorySeparatorChar : number
  1207. public static PathSeparator : number
  1208. public static VolumeSeparatorChar : number
  1209. public static ChangeExtension ($path: string, $extension: string) : string
  1210. public static Combine ($path1: string, $path2: string) : string
  1211. public static GetDirectoryName ($path: string) : string
  1212. public static GetExtension ($path: string) : string
  1213. public static GetFileName ($path: string) : string
  1214. public static GetFileNameWithoutExtension ($path: string) : string
  1215. public static GetFullPath ($path: string) : string
  1216. public static GetPathRoot ($path: string) : string
  1217. public static GetTempFileName () : string
  1218. public static GetTempPath () : string
  1219. public static HasExtension ($path: string) : boolean
  1220. public static IsPathRooted ($path: string) : boolean
  1221. public static GetInvalidFileNameChars () : System.Array$1<number>
  1222. public static GetInvalidPathChars () : System.Array$1<number>
  1223. public static GetRandomFileName () : string
  1224. public static Combine (...paths: string[]) : string
  1225. public static Combine ($path1: string, $path2: string, $path3: string) : string
  1226. public static Combine ($path1: string, $path2: string, $path3: string, $path4: string) : string
  1227. public static GetRelativePath ($relativeTo: string, $path: string) : string
  1228. public static IsPathFullyQualified ($path: string) : boolean
  1229. public static GetFullPath ($path: string, $basePath: string) : string
  1230. }
  1231. }
  1232. namespace System.Text {
  1233. class Encoding extends System.Object implements System.ICloneable
  1234. {
  1235. protected [__keep_incompatibility]: never;
  1236. }
  1237. class StringBuilder extends System.Object implements System.Runtime.Serialization.ISerializable
  1238. {
  1239. protected [__keep_incompatibility]: never;
  1240. }
  1241. }
  1242. namespace System.Threading.Tasks {
  1243. class Task extends System.Object implements System.IAsyncResult, System.Threading.IThreadPoolWorkItem, System.IDisposable
  1244. {
  1245. protected [__keep_incompatibility]: never;
  1246. }
  1247. class Task$1<TResult> extends System.Threading.Tasks.Task implements System.IAsyncResult, System.Threading.IThreadPoolWorkItem, System.IDisposable
  1248. {
  1249. protected [__keep_incompatibility]: never;
  1250. }
  1251. }
  1252. namespace System.Threading {
  1253. interface IThreadPoolWorkItem
  1254. {
  1255. }
  1256. class CancellationToken extends System.ValueType
  1257. {
  1258. protected [__keep_incompatibility]: never;
  1259. }
  1260. }
  1261. namespace System.Security.AccessControl {
  1262. class ObjectSecurity extends System.Object
  1263. {
  1264. protected [__keep_incompatibility]: never;
  1265. }
  1266. class CommonObjectSecurity extends System.Security.AccessControl.ObjectSecurity
  1267. {
  1268. protected [__keep_incompatibility]: never;
  1269. }
  1270. class NativeObjectSecurity extends System.Security.AccessControl.CommonObjectSecurity
  1271. {
  1272. protected [__keep_incompatibility]: never;
  1273. }
  1274. class FileSystemSecurity extends System.Security.AccessControl.NativeObjectSecurity
  1275. {
  1276. protected [__keep_incompatibility]: never;
  1277. }
  1278. class FileSecurity extends System.Security.AccessControl.FileSystemSecurity
  1279. {
  1280. protected [__keep_incompatibility]: never;
  1281. }
  1282. enum AccessControlSections
  1283. { None = 0, Audit = 1, Access = 2, Owner = 4, Group = 8, All = 15 }
  1284. class DirectorySecurity extends System.Security.AccessControl.FileSystemSecurity
  1285. {
  1286. protected [__keep_incompatibility]: never;
  1287. }
  1288. }
  1289. namespace UnityEngine {
  1290. /** Base class for all objects Unity can reference.
  1291. */
  1292. class Object extends System.Object
  1293. {
  1294. protected [__keep_incompatibility]: never;
  1295. /** The name of the object.
  1296. */
  1297. public get name(): string;
  1298. public set name(value: string);
  1299. /** Should the object be hidden, saved with the Scene or modifiable by the user?
  1300. */
  1301. public get hideFlags(): UnityEngine.HideFlags;
  1302. public set hideFlags(value: UnityEngine.HideFlags);
  1303. /** Gets the instance ID of the object.
  1304. * @returns Returns the instance ID of the object.
  1305. */
  1306. public GetInstanceID () : number
  1307. public static op_Implicit ($exists: UnityEngine.Object) : boolean
  1308. /** Clones the object original and returns the clone.
  1309. * @param $original An existing object that you want to make a copy of.
  1310. * @param $position Position for the new object.
  1311. * @param $rotation Orientation of the new object.
  1312. * @param $parent Parent that will be assigned to the new object.
  1313. * @param $instantiateInWorldSpace When you assign a parent Object, pass true to position the new object directly in world space. Pass false to set the Object’s position relative to its new parent.
  1314. * @returns The instantiated clone.
  1315. */
  1316. public static Instantiate ($original: UnityEngine.Object, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion) : UnityEngine.Object
  1317. /** Clones the object original and returns the clone.
  1318. * @param $original An existing object that you want to make a copy of.
  1319. * @param $position Position for the new object.
  1320. * @param $rotation Orientation of the new object.
  1321. * @param $parent Parent that will be assigned to the new object.
  1322. * @param $instantiateInWorldSpace When you assign a parent Object, pass true to position the new object directly in world space. Pass false to set the Object’s position relative to its new parent.
  1323. * @returns The instantiated clone.
  1324. */
  1325. public static Instantiate ($original: UnityEngine.Object, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $parent: UnityEngine.Transform) : UnityEngine.Object
  1326. /** Clones the object original and returns the clone.
  1327. * @param $original An existing object that you want to make a copy of.
  1328. * @param $position Position for the new object.
  1329. * @param $rotation Orientation of the new object.
  1330. * @param $parent Parent that will be assigned to the new object.
  1331. * @param $instantiateInWorldSpace When you assign a parent Object, pass true to position the new object directly in world space. Pass false to set the Object’s position relative to its new parent.
  1332. * @returns The instantiated clone.
  1333. */
  1334. public static Instantiate ($original: UnityEngine.Object) : UnityEngine.Object
  1335. /** Clones the object original and returns the clone.
  1336. * @param $original An existing object that you want to make a copy of.
  1337. * @param $position Position for the new object.
  1338. * @param $rotation Orientation of the new object.
  1339. * @param $parent Parent that will be assigned to the new object.
  1340. * @param $instantiateInWorldSpace When you assign a parent Object, pass true to position the new object directly in world space. Pass false to set the Object’s position relative to its new parent.
  1341. * @returns The instantiated clone.
  1342. */
  1343. public static Instantiate ($original: UnityEngine.Object, $parent: UnityEngine.Transform) : UnityEngine.Object
  1344. /** Clones the object original and returns the clone.
  1345. * @param $original An existing object that you want to make a copy of.
  1346. * @param $position Position for the new object.
  1347. * @param $rotation Orientation of the new object.
  1348. * @param $parent Parent that will be assigned to the new object.
  1349. * @param $instantiateInWorldSpace When you assign a parent Object, pass true to position the new object directly in world space. Pass false to set the Object’s position relative to its new parent.
  1350. * @returns The instantiated clone.
  1351. */
  1352. public static Instantiate ($original: UnityEngine.Object, $parent: UnityEngine.Transform, $instantiateInWorldSpace: boolean) : UnityEngine.Object
  1353. public static Instantiate ($original: UnityEngine.Object, $parent: UnityEngine.Transform, $worldPositionStays: boolean) : UnityEngine.Object
  1354. /** Removes a GameObject, component or asset.
  1355. * @param $obj The object to destroy.
  1356. * @param $t The optional amount of time to delay before destroying the object.
  1357. */
  1358. public static Destroy ($obj: UnityEngine.Object, $t: number) : void
  1359. /** Removes a GameObject, component or asset.
  1360. * @param $obj The object to destroy.
  1361. * @param $t The optional amount of time to delay before destroying the object.
  1362. */
  1363. public static Destroy ($obj: UnityEngine.Object) : void
  1364. /** Destroys the object obj immediately. You are strongly recommended to use Destroy instead.
  1365. * @param $obj Object to be destroyed.
  1366. * @param $allowDestroyingAssets Set to true to allow assets to be destroyed.
  1367. */
  1368. public static DestroyImmediate ($obj: UnityEngine.Object, $allowDestroyingAssets: boolean) : void
  1369. /** Destroys the object obj immediately. You are strongly recommended to use Destroy instead.
  1370. * @param $obj Object to be destroyed.
  1371. * @param $allowDestroyingAssets Set to true to allow assets to be destroyed.
  1372. */
  1373. public static DestroyImmediate ($obj: UnityEngine.Object) : void
  1374. /** Gets a list of all loaded objects of Type type.
  1375. * @param $type The type of object to find.
  1376. * @param $includeInactive If true, components attached to inactive GameObjects are also included.
  1377. * @returns The array of objects found matching the type specified.
  1378. */
  1379. public static FindObjectsOfType ($type: System.Type) : System.Array$1<UnityEngine.Object>
  1380. /** Gets a list of all loaded objects of Type type.
  1381. * @param $type The type of object to find.
  1382. * @param $includeInactive If true, components attached to inactive GameObjects are also included.
  1383. * @returns The array of objects found matching the type specified.
  1384. */
  1385. public static FindObjectsOfType ($type: System.Type, $includeInactive: boolean) : System.Array$1<UnityEngine.Object>
  1386. /** Retrieves a list of all loaded objects of Type type.
  1387. * @param $type The type of object to find.
  1388. * @param $findObjectsInactive Whether to include components attached to inactive GameObjects. If you don't specify this parameter, this function doesn't include inactive objects in the results.
  1389. * @param $sortMode Whether and how to sort the returned array. Not sorting the array makes this function run significantly faster.
  1390. * @returns The array of objects found matching the type specified.
  1391. */
  1392. public static FindObjectsByType ($type: System.Type, $sortMode: UnityEngine.FindObjectsSortMode) : System.Array$1<UnityEngine.Object>
  1393. /** Retrieves a list of all loaded objects of Type type.
  1394. * @param $type The type of object to find.
  1395. * @param $findObjectsInactive Whether to include components attached to inactive GameObjects. If you don't specify this parameter, this function doesn't include inactive objects in the results.
  1396. * @param $sortMode Whether and how to sort the returned array. Not sorting the array makes this function run significantly faster.
  1397. * @returns The array of objects found matching the type specified.
  1398. */
  1399. public static FindObjectsByType ($type: System.Type, $findObjectsInactive: UnityEngine.FindObjectsInactive, $sortMode: UnityEngine.FindObjectsSortMode) : System.Array$1<UnityEngine.Object>
  1400. /** Do not destroy the target Object when loading a new Scene.
  1401. * @param $target An Object not destroyed on Scene change.
  1402. */
  1403. public static DontDestroyOnLoad ($target: UnityEngine.Object) : void
  1404. /** Returns the first active loaded object of Type type.
  1405. * @param $type The type of object to find.
  1406. * @returns Object The first active loaded object that matches the specified type. It returns null if no Object matches the type.
  1407. */
  1408. public static FindObjectOfType ($type: System.Type) : UnityEngine.Object
  1409. /** Retrieves the first active loaded object of Type type.
  1410. * @param $type The type of object to find.
  1411. * @param $findObjectsInactive Whether to include components attached to inactive GameObjects. If you don't specify this parameter, this function doesn't include inactive objects in the results.
  1412. * @returns Returns the first active loaded object that matches the specified type. If no object matches the specified type, returns null.
  1413. */
  1414. public static FindFirstObjectByType ($type: System.Type) : UnityEngine.Object
  1415. /** Retrieves any active loaded object of Type type.
  1416. * @param $type The type of object to find.
  1417. * @param $findObjectsInactive Whether to include components attached to inactive GameObjects. If you don't specify this parameter, this function doesn't include inactive objects in the results.
  1418. * @returns Returns an arbitrary active loaded object that matches the specified type. If no object matches the specified type, returns null.
  1419. */
  1420. public static FindAnyObjectByType ($type: System.Type) : UnityEngine.Object
  1421. /** Returns the first active loaded object of Type type.
  1422. * @param $type The type of object to find.
  1423. * @returns Object The first active loaded object that matches the specified type. It returns null if no Object matches the type.
  1424. */
  1425. public static FindObjectOfType ($type: System.Type, $includeInactive: boolean) : UnityEngine.Object
  1426. /** Retrieves the first active loaded object of Type type.
  1427. * @param $type The type of object to find.
  1428. * @param $findObjectsInactive Whether to include components attached to inactive GameObjects. If you don't specify this parameter, this function doesn't include inactive objects in the results.
  1429. * @returns Returns the first active loaded object that matches the specified type. If no object matches the specified type, returns null.
  1430. */
  1431. public static FindFirstObjectByType ($type: System.Type, $findObjectsInactive: UnityEngine.FindObjectsInactive) : UnityEngine.Object
  1432. /** Retrieves any active loaded object of Type type.
  1433. * @param $type The type of object to find.
  1434. * @param $findObjectsInactive Whether to include components attached to inactive GameObjects. If you don't specify this parameter, this function doesn't include inactive objects in the results.
  1435. * @returns Returns an arbitrary active loaded object that matches the specified type. If no object matches the specified type, returns null.
  1436. */
  1437. public static FindAnyObjectByType ($type: System.Type, $findObjectsInactive: UnityEngine.FindObjectsInactive) : UnityEngine.Object
  1438. public static op_Equality ($x: UnityEngine.Object, $y: UnityEngine.Object) : boolean
  1439. public static op_Inequality ($x: UnityEngine.Object, $y: UnityEngine.Object) : boolean
  1440. public constructor ()
  1441. }
  1442. /** Representation of 3D vectors and points.
  1443. */
  1444. class Vector3 extends System.ValueType implements System.IEquatable$1<UnityEngine.Vector3>, System.IFormattable
  1445. {
  1446. protected [__keep_incompatibility]: never;
  1447. public static kEpsilon : number
  1448. public static kEpsilonNormalSqrt : number
  1449. /** X component of the vector.
  1450. */
  1451. public x : number
  1452. /** Y component of the vector.
  1453. */
  1454. public y : number
  1455. /** Z component of the vector.
  1456. */
  1457. public z : number
  1458. /** Returns this vector with a magnitude of 1 (Read Only).
  1459. */
  1460. public get normalized(): UnityEngine.Vector3;
  1461. /** Returns the length of this vector (Read Only).
  1462. */
  1463. public get magnitude(): number;
  1464. /** Returns the squared length of this vector (Read Only).
  1465. */
  1466. public get sqrMagnitude(): number;
  1467. /** Shorthand for writing Vector3(0, 0, 0).
  1468. */
  1469. public static get zero(): UnityEngine.Vector3;
  1470. /** Shorthand for writing Vector3(1, 1, 1).
  1471. */
  1472. public static get one(): UnityEngine.Vector3;
  1473. /** Shorthand for writing Vector3(0, 0, 1).
  1474. */
  1475. public static get forward(): UnityEngine.Vector3;
  1476. /** Shorthand for writing Vector3(0, 0, -1).
  1477. */
  1478. public static get back(): UnityEngine.Vector3;
  1479. /** Shorthand for writing Vector3(0, 1, 0).
  1480. */
  1481. public static get up(): UnityEngine.Vector3;
  1482. /** Shorthand for writing Vector3(0, -1, 0).
  1483. */
  1484. public static get down(): UnityEngine.Vector3;
  1485. /** Shorthand for writing Vector3(-1, 0, 0).
  1486. */
  1487. public static get left(): UnityEngine.Vector3;
  1488. /** Shorthand for writing Vector3(1, 0, 0).
  1489. */
  1490. public static get right(): UnityEngine.Vector3;
  1491. /** Shorthand for writing Vector3(float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity).
  1492. */
  1493. public static get positiveInfinity(): UnityEngine.Vector3;
  1494. /** Shorthand for writing Vector3(float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity).
  1495. */
  1496. public static get negativeInfinity(): UnityEngine.Vector3;
  1497. /** Spherically interpolates between two vectors.
  1498. */
  1499. public static Slerp ($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $t: number) : UnityEngine.Vector3
  1500. /** Spherically interpolates between two vectors.
  1501. */
  1502. public static SlerpUnclamped ($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $t: number) : UnityEngine.Vector3
  1503. /** Makes vectors normalized and orthogonal to each other.
  1504. */
  1505. public static OrthoNormalize ($normal: $Ref<UnityEngine.Vector3>, $tangent: $Ref<UnityEngine.Vector3>) : void
  1506. /** Makes vectors normalized and orthogonal to each other.
  1507. */
  1508. public static OrthoNormalize ($normal: $Ref<UnityEngine.Vector3>, $tangent: $Ref<UnityEngine.Vector3>, $binormal: $Ref<UnityEngine.Vector3>) : void
  1509. /** Rotates a vector current towards target.
  1510. * @param $current The vector being managed.
  1511. * @param $target The vector.
  1512. * @param $maxRadiansDelta The maximum angle in radians allowed for this rotation.
  1513. * @param $maxMagnitudeDelta The maximum allowed change in vector magnitude for this rotation.
  1514. * @returns The location that RotateTowards generates.
  1515. */
  1516. public static RotateTowards ($current: UnityEngine.Vector3, $target: UnityEngine.Vector3, $maxRadiansDelta: number, $maxMagnitudeDelta: number) : UnityEngine.Vector3
  1517. /** Linearly interpolates between two points.
  1518. * @param $a Start value, returned when t = 0.
  1519. * @param $b End value, returned when t = 1.
  1520. * @param $t Value used to interpolate between a and b.
  1521. * @returns Interpolated value, equals to a + (b - a) * t.
  1522. */
  1523. public static Lerp ($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $t: number) : UnityEngine.Vector3
  1524. /** Linearly interpolates between two vectors.
  1525. */
  1526. public static LerpUnclamped ($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $t: number) : UnityEngine.Vector3
  1527. /** Calculate a position between the points specified by current and target, moving no farther than the distance specified by maxDistanceDelta.
  1528. * @param $current The position to move from.
  1529. * @param $target The position to move towards.
  1530. * @param $maxDistanceDelta Distance to move current per call.
  1531. * @returns The new position.
  1532. */
  1533. public static MoveTowards ($current: UnityEngine.Vector3, $target: UnityEngine.Vector3, $maxDistanceDelta: number) : UnityEngine.Vector3
  1534. /** Gradually changes a vector towards a desired goal over time.
  1535. * @param $current The current position.
  1536. * @param $target The position we are trying to reach.
  1537. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  1538. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  1539. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  1540. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  1541. */
  1542. public static SmoothDamp ($current: UnityEngine.Vector3, $target: UnityEngine.Vector3, $currentVelocity: $Ref<UnityEngine.Vector3>, $smoothTime: number, $maxSpeed: number) : UnityEngine.Vector3
  1543. /** Gradually changes a vector towards a desired goal over time.
  1544. * @param $current The current position.
  1545. * @param $target The position we are trying to reach.
  1546. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  1547. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  1548. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  1549. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  1550. */
  1551. public static SmoothDamp ($current: UnityEngine.Vector3, $target: UnityEngine.Vector3, $currentVelocity: $Ref<UnityEngine.Vector3>, $smoothTime: number) : UnityEngine.Vector3
  1552. /** Gradually changes a vector towards a desired goal over time.
  1553. * @param $current The current position.
  1554. * @param $target The position we are trying to reach.
  1555. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  1556. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  1557. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  1558. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  1559. */
  1560. public static SmoothDamp ($current: UnityEngine.Vector3, $target: UnityEngine.Vector3, $currentVelocity: $Ref<UnityEngine.Vector3>, $smoothTime: number, $maxSpeed: number, $deltaTime: number) : UnityEngine.Vector3
  1561. public get_Item ($index: number) : number
  1562. public set_Item ($index: number, $value: number) : void
  1563. /** Set x, y and z components of an existing Vector3.
  1564. */
  1565. public Set ($newX: number, $newY: number, $newZ: number) : void
  1566. /** Multiplies two vectors component-wise.
  1567. */
  1568. public static Scale ($a: UnityEngine.Vector3, $b: UnityEngine.Vector3) : UnityEngine.Vector3
  1569. /** Multiplies every component of this vector by the same component of scale.
  1570. */
  1571. public Scale ($scale: UnityEngine.Vector3) : void
  1572. /** Cross Product of two vectors.
  1573. */
  1574. public static Cross ($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3) : UnityEngine.Vector3
  1575. /** Returns true if the given vector is exactly equal to this vector.
  1576. */
  1577. public Equals ($other: any) : boolean
  1578. public Equals ($other: UnityEngine.Vector3) : boolean
  1579. /** Reflects a vector off the plane defined by a normal.
  1580. */
  1581. public static Reflect ($inDirection: UnityEngine.Vector3, $inNormal: UnityEngine.Vector3) : UnityEngine.Vector3
  1582. /** Makes this vector have a magnitude of 1.
  1583. */
  1584. public static Normalize ($value: UnityEngine.Vector3) : UnityEngine.Vector3
  1585. public Normalize () : void
  1586. /** Dot Product of two vectors.
  1587. */
  1588. public static Dot ($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3) : number
  1589. /** Projects a vector onto another vector.
  1590. */
  1591. public static Project ($vector: UnityEngine.Vector3, $onNormal: UnityEngine.Vector3) : UnityEngine.Vector3
  1592. /** Projects a vector onto a plane defined by a normal orthogonal to the plane.
  1593. * @param $planeNormal The direction from the vector towards the plane.
  1594. * @param $vector The location of the vector above the plane.
  1595. * @returns The location of the vector on the plane.
  1596. */
  1597. public static ProjectOnPlane ($vector: UnityEngine.Vector3, $planeNormal: UnityEngine.Vector3) : UnityEngine.Vector3
  1598. /** Calculates the angle between vectors from and.
  1599. * @param $from The vector from which the angular difference is measured.
  1600. * @param $to The vector to which the angular difference is measured.
  1601. * @returns The angle in degrees between the two vectors.
  1602. */
  1603. public static Angle ($from: UnityEngine.Vector3, $to: UnityEngine.Vector3) : number
  1604. /** Calculates the signed angle between vectors from and to in relation to axis.
  1605. * @param $from The vector from which the angular difference is measured.
  1606. * @param $to The vector to which the angular difference is measured.
  1607. * @param $axis A vector around which the other vectors are rotated.
  1608. * @returns Returns the signed angle between from and to in degrees.
  1609. */
  1610. public static SignedAngle ($from: UnityEngine.Vector3, $to: UnityEngine.Vector3, $axis: UnityEngine.Vector3) : number
  1611. /** Returns the distance between a and b.
  1612. */
  1613. public static Distance ($a: UnityEngine.Vector3, $b: UnityEngine.Vector3) : number
  1614. /** Returns a copy of vector with its magnitude clamped to maxLength.
  1615. */
  1616. public static ClampMagnitude ($vector: UnityEngine.Vector3, $maxLength: number) : UnityEngine.Vector3
  1617. public static Magnitude ($vector: UnityEngine.Vector3) : number
  1618. public static SqrMagnitude ($vector: UnityEngine.Vector3) : number
  1619. /** Returns a vector that is made from the smallest components of two vectors.
  1620. */
  1621. public static Min ($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3) : UnityEngine.Vector3
  1622. /** Returns a vector that is made from the largest components of two vectors.
  1623. */
  1624. public static Max ($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3) : UnityEngine.Vector3
  1625. public static op_Addition ($a: UnityEngine.Vector3, $b: UnityEngine.Vector3) : UnityEngine.Vector3
  1626. public static op_Subtraction ($a: UnityEngine.Vector3, $b: UnityEngine.Vector3) : UnityEngine.Vector3
  1627. public static op_UnaryNegation ($a: UnityEngine.Vector3) : UnityEngine.Vector3
  1628. public static op_Multiply ($a: UnityEngine.Vector3, $d: number) : UnityEngine.Vector3
  1629. public static op_Multiply ($d: number, $a: UnityEngine.Vector3) : UnityEngine.Vector3
  1630. public static op_Division ($a: UnityEngine.Vector3, $d: number) : UnityEngine.Vector3
  1631. public static op_Equality ($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3) : boolean
  1632. public static op_Inequality ($lhs: UnityEngine.Vector3, $rhs: UnityEngine.Vector3) : boolean
  1633. /** Returns a formatted string for this vector.
  1634. * @param $format A numeric format string.
  1635. * @param $formatProvider An object that specifies culture-specific formatting.
  1636. */
  1637. public ToString () : string
  1638. /** Returns a formatted string for this vector.
  1639. * @param $format A numeric format string.
  1640. * @param $formatProvider An object that specifies culture-specific formatting.
  1641. */
  1642. public ToString ($format: string) : string
  1643. /** Returns a formatted string for this vector.
  1644. * @param $format A numeric format string.
  1645. * @param $formatProvider An object that specifies culture-specific formatting.
  1646. */
  1647. public ToString ($format: string, $formatProvider: System.IFormatProvider) : string
  1648. public constructor ($x: number, $y: number, $z: number)
  1649. public constructor ($x: number, $y: number)
  1650. public Equals ($obj: any) : boolean
  1651. public static Equals ($objA: any, $objB: any) : boolean
  1652. public constructor ()
  1653. }
  1654. /** Quaternions are used to represent rotations.
  1655. */
  1656. class Quaternion extends System.ValueType implements System.IEquatable$1<UnityEngine.Quaternion>, System.IFormattable
  1657. {
  1658. protected [__keep_incompatibility]: never;
  1659. /** X component of the Quaternion. Don't modify this directly unless you know quaternions inside out.
  1660. */
  1661. public x : number
  1662. /** Y component of the Quaternion. Don't modify this directly unless you know quaternions inside out.
  1663. */
  1664. public y : number
  1665. /** Z component of the Quaternion. Don't modify this directly unless you know quaternions inside out.
  1666. */
  1667. public z : number
  1668. /** W component of the Quaternion. Do not directly modify quaternions.
  1669. */
  1670. public w : number
  1671. public static kEpsilon : number
  1672. /** The identity rotation (Read Only).
  1673. */
  1674. public static get identity(): UnityEngine.Quaternion;
  1675. /** Returns or sets the euler angle representation of the rotation.
  1676. */
  1677. public get eulerAngles(): UnityEngine.Vector3;
  1678. public set eulerAngles(value: UnityEngine.Vector3);
  1679. /** Returns this quaternion with a magnitude of 1 (Read Only).
  1680. */
  1681. public get normalized(): UnityEngine.Quaternion;
  1682. /** Creates a rotation which rotates from fromDirection to toDirection.
  1683. */
  1684. public static FromToRotation ($fromDirection: UnityEngine.Vector3, $toDirection: UnityEngine.Vector3) : UnityEngine.Quaternion
  1685. /** Returns the Inverse of rotation.
  1686. */
  1687. public static Inverse ($rotation: UnityEngine.Quaternion) : UnityEngine.Quaternion
  1688. /** Spherically interpolates between quaternions a and b by ratio t. The parameter t is clamped to the range [0, 1].
  1689. * @param $a Start value, returned when t = 0.
  1690. * @param $b End value, returned when t = 1.
  1691. * @param $t Interpolation ratio.
  1692. * @returns A quaternion spherically interpolated between quaternions a and b.
  1693. */
  1694. public static Slerp ($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion, $t: number) : UnityEngine.Quaternion
  1695. /** Spherically interpolates between a and b by t. The parameter t is not clamped.
  1696. */
  1697. public static SlerpUnclamped ($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion, $t: number) : UnityEngine.Quaternion
  1698. /** Interpolates between a and b by t and normalizes the result afterwards. The parameter t is clamped to the range [0, 1].
  1699. * @param $a Start value, returned when t = 0.
  1700. * @param $b End value, returned when t = 1.
  1701. * @param $t Interpolation ratio.
  1702. * @returns A quaternion interpolated between quaternions a and b.
  1703. */
  1704. public static Lerp ($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion, $t: number) : UnityEngine.Quaternion
  1705. /** Interpolates between a and b by t and normalizes the result afterwards. The parameter t is not clamped.
  1706. */
  1707. public static LerpUnclamped ($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion, $t: number) : UnityEngine.Quaternion
  1708. /** Creates a rotation which rotates angle degrees around axis.
  1709. */
  1710. public static AngleAxis ($angle: number, $axis: UnityEngine.Vector3) : UnityEngine.Quaternion
  1711. /** Creates a rotation with the specified forward and upwards directions.
  1712. * @param $forward The direction to look in.
  1713. * @param $upwards The vector that defines in which direction up is.
  1714. */
  1715. public static LookRotation ($forward: UnityEngine.Vector3, $upwards: UnityEngine.Vector3) : UnityEngine.Quaternion
  1716. /** Creates a rotation with the specified forward and upwards directions.
  1717. * @param $forward The direction to look in.
  1718. * @param $upwards The vector that defines in which direction up is.
  1719. */
  1720. public static LookRotation ($forward: UnityEngine.Vector3) : UnityEngine.Quaternion
  1721. public get_Item ($index: number) : number
  1722. public set_Item ($index: number, $value: number) : void
  1723. /** Set x, y, z and w components of an existing Quaternion.
  1724. */
  1725. public Set ($newX: number, $newY: number, $newZ: number, $newW: number) : void
  1726. public static op_Multiply ($lhs: UnityEngine.Quaternion, $rhs: UnityEngine.Quaternion) : UnityEngine.Quaternion
  1727. public static op_Multiply ($rotation: UnityEngine.Quaternion, $point: UnityEngine.Vector3) : UnityEngine.Vector3
  1728. public static op_Equality ($lhs: UnityEngine.Quaternion, $rhs: UnityEngine.Quaternion) : boolean
  1729. public static op_Inequality ($lhs: UnityEngine.Quaternion, $rhs: UnityEngine.Quaternion) : boolean
  1730. /** The dot product between two rotations.
  1731. */
  1732. public static Dot ($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion) : number
  1733. /** Creates a rotation with the specified forward and upwards directions.
  1734. * @param $view The direction to look in.
  1735. * @param $up The vector that defines in which direction up is.
  1736. */
  1737. public SetLookRotation ($view: UnityEngine.Vector3) : void
  1738. /** Creates a rotation with the specified forward and upwards directions.
  1739. * @param $view The direction to look in.
  1740. * @param $up The vector that defines in which direction up is.
  1741. */
  1742. public SetLookRotation ($view: UnityEngine.Vector3, $up: UnityEngine.Vector3) : void
  1743. /** Returns the angle in degrees between two rotations a and b.
  1744. */
  1745. public static Angle ($a: UnityEngine.Quaternion, $b: UnityEngine.Quaternion) : number
  1746. /** Returns a rotation that rotates z degrees around the z axis, x degrees around the x axis, and y degrees around the y axis; applied in that order.
  1747. */
  1748. public static Euler ($x: number, $y: number, $z: number) : UnityEngine.Quaternion
  1749. /** Returns a rotation that rotates z degrees around the z axis, x degrees around the x axis, and y degrees around the y axis.
  1750. */
  1751. public static Euler ($euler: UnityEngine.Vector3) : UnityEngine.Quaternion
  1752. /** Converts a rotation to angle-axis representation (angles in degrees).
  1753. */
  1754. public ToAngleAxis ($angle: $Ref<number>, $axis: $Ref<UnityEngine.Vector3>) : void
  1755. /** Creates a rotation which rotates from fromDirection to toDirection.
  1756. */
  1757. public SetFromToRotation ($fromDirection: UnityEngine.Vector3, $toDirection: UnityEngine.Vector3) : void
  1758. /** Rotates a rotation from towards to.
  1759. */
  1760. public static RotateTowards ($from: UnityEngine.Quaternion, $to: UnityEngine.Quaternion, $maxDegreesDelta: number) : UnityEngine.Quaternion
  1761. /** Converts this quaternion to one with the same orientation but with a magnitude of 1.
  1762. */
  1763. public static Normalize ($q: UnityEngine.Quaternion) : UnityEngine.Quaternion
  1764. public Normalize () : void
  1765. public Equals ($other: any) : boolean
  1766. public Equals ($other: UnityEngine.Quaternion) : boolean
  1767. /** Returns a formatted string for this quaternion.
  1768. * @param $format A numeric format string.
  1769. * @param $formatProvider An object that specifies culture-specific formatting.
  1770. */
  1771. public ToString () : string
  1772. /** Returns a formatted string for this quaternion.
  1773. * @param $format A numeric format string.
  1774. * @param $formatProvider An object that specifies culture-specific formatting.
  1775. */
  1776. public ToString ($format: string) : string
  1777. /** Returns a formatted string for this quaternion.
  1778. * @param $format A numeric format string.
  1779. * @param $formatProvider An object that specifies culture-specific formatting.
  1780. */
  1781. public ToString ($format: string, $formatProvider: System.IFormatProvider) : string
  1782. public constructor ($x: number, $y: number, $z: number, $w: number)
  1783. public Equals ($obj: any) : boolean
  1784. public static Equals ($objA: any, $objB: any) : boolean
  1785. public constructor ()
  1786. }
  1787. /** Base class for everything attached to a GameObject.
  1788. */
  1789. class Component extends UnityEngine.Object
  1790. {
  1791. protected [__keep_incompatibility]: never;
  1792. /** The Transform attached to this GameObject.
  1793. */
  1794. public get transform(): UnityEngine.Transform;
  1795. /** The game object this component is attached to. A component is always attached to a game object.
  1796. */
  1797. public get gameObject(): UnityEngine.GameObject;
  1798. /** The tag of this game object.
  1799. */
  1800. public get tag(): string;
  1801. public set tag(value: string);
  1802. /** The non-generic version of this method.
  1803. * @param $type The type of Component to retrieve.
  1804. * @returns A Component of the matching type, otherwise null if no Component is found.
  1805. */
  1806. public GetComponent ($type: System.Type) : UnityEngine.Component
  1807. /** The non-generic version of this method.
  1808. * @param $type The type of component to search for.
  1809. * @param $component The output argument that will contain the component or null.
  1810. * @returns Returns true if the component is found, false otherwise.
  1811. */
  1812. public TryGetComponent ($type: System.Type, $component: $Ref<UnityEngine.Component>) : boolean
  1813. /** The string-based version of this method.
  1814. * @param $type The name of the type of Component to get.
  1815. * @returns A Component of the matching type, otherwise null if no Component is found.
  1816. */
  1817. public GetComponent ($type: string) : UnityEngine.Component
  1818. /** This is the non-generic version of this method.
  1819. * @param $t The type of component to search for.
  1820. * @param $includeInactive Whether to include inactive child GameObjects in the search.
  1821. * @returns A Component of the matching type, otherwise null if no Component is found.
  1822. */
  1823. public GetComponentInChildren ($t: System.Type, $includeInactive: boolean) : UnityEngine.Component
  1824. /** This is the non-generic version of this method.
  1825. * @param $t The type of component to search for.
  1826. * @param $includeInactive Whether to include inactive child GameObjects in the search.
  1827. * @returns A Component of the matching type, otherwise null if no Component is found.
  1828. */
  1829. public GetComponentInChildren ($t: System.Type) : UnityEngine.Component
  1830. /** The non-generic version of this method.
  1831. * @param $t The type of component to search for.
  1832. * @param $includeInactive Whether to include inactive child GameObjects in the search.
  1833. * @returns An array of all found components matching the specified type.
  1834. */
  1835. public GetComponentsInChildren ($t: System.Type, $includeInactive: boolean) : System.Array$1<UnityEngine.Component>
  1836. public GetComponentsInChildren ($t: System.Type) : System.Array$1<UnityEngine.Component>
  1837. /** The non-generic version of this method.
  1838. * @param $t The type of component to search for.
  1839. * @param $includeInactive Whether to include inactive parent GameObjects in the search.
  1840. * @returns A Component of the matching type, otherwise null if no Component is found.
  1841. */
  1842. public GetComponentInParent ($t: System.Type, $includeInactive: boolean) : UnityEngine.Component
  1843. /** The non-generic version of this method.
  1844. * @param $t The type of component to search for.
  1845. * @param $includeInactive Whether to include inactive parent GameObjects in the search.
  1846. * @returns A Component of the matching type, otherwise null if no Component is found.
  1847. */
  1848. public GetComponentInParent ($t: System.Type) : UnityEngine.Component
  1849. /** The non-generic version of this method.
  1850. * @param $t The type of component to search for.
  1851. * @param $includeInactive Whether to include inactive parent GameObjects in the search.
  1852. * @returns An array of all found components matching the specified type.
  1853. */
  1854. public GetComponentsInParent ($t: System.Type, $includeInactive: boolean) : System.Array$1<UnityEngine.Component>
  1855. public GetComponentsInParent ($t: System.Type) : System.Array$1<UnityEngine.Component>
  1856. /** The non-generic version of this method.
  1857. * @param $type The type of component to search for.
  1858. * @returns An array containing all matching components of type type.
  1859. */
  1860. public GetComponents ($type: System.Type) : System.Array$1<UnityEngine.Component>
  1861. public GetComponents ($type: System.Type, $results: System.Collections.Generic.List$1<UnityEngine.Component>) : void
  1862. /** Checks the GameObject's tag against the defined tag.
  1863. * @param $tag The tag to compare.
  1864. * @returns Returns true if GameObject has same tag. Returns false otherwise.
  1865. */
  1866. public CompareTag ($tag: string) : boolean
  1867. /** Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour.
  1868. * @param $methodName Name of method to call.
  1869. * @param $value Optional parameter value for the method.
  1870. * @param $options Should an error be raised if the method does not exist on the target object?
  1871. */
  1872. public SendMessageUpwards ($methodName: string, $value: any, $options: UnityEngine.SendMessageOptions) : void
  1873. /** Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour.
  1874. * @param $methodName Name of method to call.
  1875. * @param $value Optional parameter value for the method.
  1876. * @param $options Should an error be raised if the method does not exist on the target object?
  1877. */
  1878. public SendMessageUpwards ($methodName: string, $value: any) : void
  1879. /** Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour.
  1880. * @param $methodName Name of method to call.
  1881. * @param $value Optional parameter value for the method.
  1882. * @param $options Should an error be raised if the method does not exist on the target object?
  1883. */
  1884. public SendMessageUpwards ($methodName: string) : void
  1885. /** Calls the method named methodName on every MonoBehaviour in this game object and on every ancestor of the behaviour.
  1886. * @param $methodName Name of method to call.
  1887. * @param $value Optional parameter value for the method.
  1888. * @param $options Should an error be raised if the method does not exist on the target object?
  1889. */
  1890. public SendMessageUpwards ($methodName: string, $options: UnityEngine.SendMessageOptions) : void
  1891. /** Calls the method named methodName on every MonoBehaviour in this game object.
  1892. * @param $methodName Name of the method to call.
  1893. * @param $value Optional parameter for the method.
  1894. * @param $options Should an error be raised if the target object doesn't implement the method for the message?
  1895. */
  1896. public SendMessage ($methodName: string, $value: any) : void
  1897. /** Calls the method named methodName on every MonoBehaviour in this game object.
  1898. * @param $methodName Name of the method to call.
  1899. * @param $value Optional parameter for the method.
  1900. * @param $options Should an error be raised if the target object doesn't implement the method for the message?
  1901. */
  1902. public SendMessage ($methodName: string) : void
  1903. /** Calls the method named methodName on every MonoBehaviour in this game object.
  1904. * @param $methodName Name of the method to call.
  1905. * @param $value Optional parameter for the method.
  1906. * @param $options Should an error be raised if the target object doesn't implement the method for the message?
  1907. */
  1908. public SendMessage ($methodName: string, $value: any, $options: UnityEngine.SendMessageOptions) : void
  1909. /** Calls the method named methodName on every MonoBehaviour in this game object.
  1910. * @param $methodName Name of the method to call.
  1911. * @param $value Optional parameter for the method.
  1912. * @param $options Should an error be raised if the target object doesn't implement the method for the message?
  1913. */
  1914. public SendMessage ($methodName: string, $options: UnityEngine.SendMessageOptions) : void
  1915. /** Calls the method named methodName on every MonoBehaviour in this game object or any of its children.
  1916. * @param $methodName Name of the method to call.
  1917. * @param $parameter Optional parameter to pass to the method (can be any value).
  1918. * @param $options Should an error be raised if the method does not exist for a given target object?
  1919. */
  1920. public BroadcastMessage ($methodName: string, $parameter: any, $options: UnityEngine.SendMessageOptions) : void
  1921. /** Calls the method named methodName on every MonoBehaviour in this game object or any of its children.
  1922. * @param $methodName Name of the method to call.
  1923. * @param $parameter Optional parameter to pass to the method (can be any value).
  1924. * @param $options Should an error be raised if the method does not exist for a given target object?
  1925. */
  1926. public BroadcastMessage ($methodName: string, $parameter: any) : void
  1927. /** Calls the method named methodName on every MonoBehaviour in this game object or any of its children.
  1928. * @param $methodName Name of the method to call.
  1929. * @param $parameter Optional parameter to pass to the method (can be any value).
  1930. * @param $options Should an error be raised if the method does not exist for a given target object?
  1931. */
  1932. public BroadcastMessage ($methodName: string) : void
  1933. /** Calls the method named methodName on every MonoBehaviour in this game object or any of its children.
  1934. * @param $methodName Name of the method to call.
  1935. * @param $parameter Optional parameter to pass to the method (can be any value).
  1936. * @param $options Should an error be raised if the method does not exist for a given target object?
  1937. */
  1938. public BroadcastMessage ($methodName: string, $options: UnityEngine.SendMessageOptions) : void
  1939. public constructor ()
  1940. }
  1941. /** Position, rotation and scale of an object.
  1942. */
  1943. class Transform extends UnityEngine.Component implements System.Collections.IEnumerable
  1944. {
  1945. protected [__keep_incompatibility]: never;
  1946. /** The world space position of the Transform.
  1947. */
  1948. public get position(): UnityEngine.Vector3;
  1949. public set position(value: UnityEngine.Vector3);
  1950. /** Position of the transform relative to the parent transform.
  1951. */
  1952. public get localPosition(): UnityEngine.Vector3;
  1953. public set localPosition(value: UnityEngine.Vector3);
  1954. /** The rotation as Euler angles in degrees.
  1955. */
  1956. public get eulerAngles(): UnityEngine.Vector3;
  1957. public set eulerAngles(value: UnityEngine.Vector3);
  1958. /** The rotation as Euler angles in degrees relative to the parent transform's rotation.
  1959. */
  1960. public get localEulerAngles(): UnityEngine.Vector3;
  1961. public set localEulerAngles(value: UnityEngine.Vector3);
  1962. /** The red axis of the transform in world space.
  1963. */
  1964. public get right(): UnityEngine.Vector3;
  1965. public set right(value: UnityEngine.Vector3);
  1966. /** The green axis of the transform in world space.
  1967. */
  1968. public get up(): UnityEngine.Vector3;
  1969. public set up(value: UnityEngine.Vector3);
  1970. /** Returns a normalized vector representing the blue axis of the transform in world space.
  1971. */
  1972. public get forward(): UnityEngine.Vector3;
  1973. public set forward(value: UnityEngine.Vector3);
  1974. /** A Quaternion that stores the rotation of the Transform in world space.
  1975. */
  1976. public get rotation(): UnityEngine.Quaternion;
  1977. public set rotation(value: UnityEngine.Quaternion);
  1978. /** The rotation of the transform relative to the transform rotation of the parent.
  1979. */
  1980. public get localRotation(): UnityEngine.Quaternion;
  1981. public set localRotation(value: UnityEngine.Quaternion);
  1982. /** The scale of the transform relative to the GameObjects parent.
  1983. */
  1984. public get localScale(): UnityEngine.Vector3;
  1985. public set localScale(value: UnityEngine.Vector3);
  1986. /** The parent of the transform.
  1987. */
  1988. public get parent(): UnityEngine.Transform;
  1989. public set parent(value: UnityEngine.Transform);
  1990. /** Matrix that transforms a point from world space into local space (Read Only).
  1991. */
  1992. public get worldToLocalMatrix(): UnityEngine.Matrix4x4;
  1993. /** Matrix that transforms a point from local space into world space (Read Only).
  1994. */
  1995. public get localToWorldMatrix(): UnityEngine.Matrix4x4;
  1996. /** Returns the topmost transform in the hierarchy.
  1997. */
  1998. public get root(): UnityEngine.Transform;
  1999. /** The number of children the parent Transform has.
  2000. */
  2001. public get childCount(): number;
  2002. /** The global scale of the object (Read Only).
  2003. */
  2004. public get lossyScale(): UnityEngine.Vector3;
  2005. /** Has the transform changed since the last time the flag was set to 'false'?
  2006. */
  2007. public get hasChanged(): boolean;
  2008. public set hasChanged(value: boolean);
  2009. /** The transform capacity of the transform's hierarchy data structure.
  2010. */
  2011. public get hierarchyCapacity(): number;
  2012. public set hierarchyCapacity(value: number);
  2013. /** The number of transforms in the transform's hierarchy data structure.
  2014. */
  2015. public get hierarchyCount(): number;
  2016. /** Set the parent of the transform.
  2017. * @param $parent The parent Transform to use.
  2018. * @param $worldPositionStays If true, the parent-relative position, scale and rotation are modified such that the object keeps the same world space position, rotation and scale as before.
  2019. */
  2020. public SetParent ($p: UnityEngine.Transform) : void
  2021. /** Set the parent of the transform.
  2022. * @param $parent The parent Transform to use.
  2023. * @param $worldPositionStays If true, the parent-relative position, scale and rotation are modified such that the object keeps the same world space position, rotation and scale as before.
  2024. */
  2025. public SetParent ($parent: UnityEngine.Transform, $worldPositionStays: boolean) : void
  2026. /** Sets the world space position and rotation of the Transform component.
  2027. */
  2028. public SetPositionAndRotation ($position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion) : void
  2029. /** Sets the position and rotation of the Transform component in local space (i.e. relative to its parent transform).
  2030. */
  2031. public SetLocalPositionAndRotation ($localPosition: UnityEngine.Vector3, $localRotation: UnityEngine.Quaternion) : void
  2032. /** Gets the position and rotation of the Transform component in world space.
  2033. */
  2034. public GetPositionAndRotation ($position: $Ref<UnityEngine.Vector3>, $rotation: $Ref<UnityEngine.Quaternion>) : void
  2035. /** Gets the position and rotation of the Transform component in local space (that is, relative to its parent transform).
  2036. */
  2037. public GetLocalPositionAndRotation ($localPosition: $Ref<UnityEngine.Vector3>, $localRotation: $Ref<UnityEngine.Quaternion>) : void
  2038. /** Moves the transform in the direction and distance of translation.
  2039. */
  2040. public Translate ($translation: UnityEngine.Vector3, $relativeTo: UnityEngine.Space) : void
  2041. /** Moves the transform in the direction and distance of translation.
  2042. */
  2043. public Translate ($translation: UnityEngine.Vector3) : void
  2044. /** Moves the transform by x along the x axis, y along the y axis, and z along the z axis.
  2045. */
  2046. public Translate ($x: number, $y: number, $z: number, $relativeTo: UnityEngine.Space) : void
  2047. /** Moves the transform by x along the x axis, y along the y axis, and z along the z axis.
  2048. */
  2049. public Translate ($x: number, $y: number, $z: number) : void
  2050. /** Moves the transform in the direction and distance of translation.
  2051. */
  2052. public Translate ($translation: UnityEngine.Vector3, $relativeTo: UnityEngine.Transform) : void
  2053. /** Moves the transform by x along the x axis, y along the y axis, and z along the z axis.
  2054. */
  2055. public Translate ($x: number, $y: number, $z: number, $relativeTo: UnityEngine.Transform) : void
  2056. /** Applies a rotation of eulerAngles.z degrees around the z-axis, eulerAngles.x degrees around the x-axis, and eulerAngles.y degrees around the y-axis (in that order).
  2057. * @param $eulers The rotation to apply in euler angles.
  2058. * @param $relativeTo Determines whether to rotate the GameObject either locally to the GameObject or relative to the Scene in world space.
  2059. */
  2060. public Rotate ($eulers: UnityEngine.Vector3, $relativeTo: UnityEngine.Space) : void
  2061. /** Applies a rotation of eulerAngles.z degrees around the z-axis, eulerAngles.x degrees around the x-axis, and eulerAngles.y degrees around the y-axis (in that order).
  2062. * @param $eulers The rotation to apply in euler angles.
  2063. */
  2064. public Rotate ($eulers: UnityEngine.Vector3) : void
  2065. /** The implementation of this method applies a rotation of zAngle degrees around the z axis, xAngle degrees around the x axis, and yAngle degrees around the y axis (in that order).
  2066. * @param $xAngle Degrees to rotate the GameObject around the X axis.
  2067. * @param $yAngle Degrees to rotate the GameObject around the Y axis.
  2068. * @param $zAngle Degrees to rotate the GameObject around the Z axis.
  2069. * @param $relativeTo Determines whether to rotate the GameObject either locally to the GameObject or relative to the Scene in world space.
  2070. */
  2071. public Rotate ($xAngle: number, $yAngle: number, $zAngle: number, $relativeTo: UnityEngine.Space) : void
  2072. /** The implementation of this method applies a rotation of zAngle degrees around the z axis, xAngle degrees around the x axis, and yAngle degrees around the y axis (in that order).
  2073. * @param $xAngle Degrees to rotate the GameObject around the X axis.
  2074. * @param $yAngle Degrees to rotate the GameObject around the Y axis.
  2075. * @param $zAngle Degrees to rotate the GameObject around the Z axis.
  2076. */
  2077. public Rotate ($xAngle: number, $yAngle: number, $zAngle: number) : void
  2078. /** Rotates the object around the given axis by the number of degrees defined by the given angle.
  2079. * @param $axis The axis to apply rotation to.
  2080. * @param $angle The degrees of rotation to apply.
  2081. * @param $relativeTo Determines whether to rotate the GameObject either locally to the GameObject or relative to the Scene in world space.
  2082. */
  2083. public Rotate ($axis: UnityEngine.Vector3, $angle: number, $relativeTo: UnityEngine.Space) : void
  2084. /** Rotates the object around the given axis by the number of degrees defined by the given angle.
  2085. * @param $axis The axis to apply rotation to.
  2086. * @param $angle The degrees of rotation to apply.
  2087. */
  2088. public Rotate ($axis: UnityEngine.Vector3, $angle: number) : void
  2089. /** Rotates the transform about axis passing through point in world coordinates by angle degrees.
  2090. */
  2091. public RotateAround ($point: UnityEngine.Vector3, $axis: UnityEngine.Vector3, $angle: number) : void
  2092. /** Rotates the transform so the forward vector points at target's current position.
  2093. * @param $target Object to point towards.
  2094. * @param $worldUp Vector specifying the upward direction.
  2095. */
  2096. public LookAt ($target: UnityEngine.Transform, $worldUp: UnityEngine.Vector3) : void
  2097. /** Rotates the transform so the forward vector points at target's current position.
  2098. * @param $target Object to point towards.
  2099. * @param $worldUp Vector specifying the upward direction.
  2100. */
  2101. public LookAt ($target: UnityEngine.Transform) : void
  2102. /** Rotates the transform so the forward vector points at worldPosition.
  2103. * @param $worldPosition Point to look at.
  2104. * @param $worldUp Vector specifying the upward direction.
  2105. */
  2106. public LookAt ($worldPosition: UnityEngine.Vector3, $worldUp: UnityEngine.Vector3) : void
  2107. /** Rotates the transform so the forward vector points at worldPosition.
  2108. * @param $worldPosition Point to look at.
  2109. * @param $worldUp Vector specifying the upward direction.
  2110. */
  2111. public LookAt ($worldPosition: UnityEngine.Vector3) : void
  2112. /** Transforms direction from local space to world space.
  2113. */
  2114. public TransformDirection ($direction: UnityEngine.Vector3) : UnityEngine.Vector3
  2115. /** Transforms direction x, y, z from local space to world space.
  2116. */
  2117. public TransformDirection ($x: number, $y: number, $z: number) : UnityEngine.Vector3
  2118. /** Transforms a direction from world space to local space. The opposite of Transform.TransformDirection.
  2119. */
  2120. public InverseTransformDirection ($direction: UnityEngine.Vector3) : UnityEngine.Vector3
  2121. /** Transforms the direction x, y, z from world space to local space. The opposite of Transform.TransformDirection.
  2122. */
  2123. public InverseTransformDirection ($x: number, $y: number, $z: number) : UnityEngine.Vector3
  2124. /** Transforms vector from local space to world space.
  2125. */
  2126. public TransformVector ($vector: UnityEngine.Vector3) : UnityEngine.Vector3
  2127. /** Transforms vector x, y, z from local space to world space.
  2128. */
  2129. public TransformVector ($x: number, $y: number, $z: number) : UnityEngine.Vector3
  2130. /** Transforms a vector from world space to local space. The opposite of Transform.TransformVector.
  2131. */
  2132. public InverseTransformVector ($vector: UnityEngine.Vector3) : UnityEngine.Vector3
  2133. /** Transforms the vector x, y, z from world space to local space. The opposite of Transform.TransformVector.
  2134. */
  2135. public InverseTransformVector ($x: number, $y: number, $z: number) : UnityEngine.Vector3
  2136. /** Transforms position from local space to world space.
  2137. */
  2138. public TransformPoint ($position: UnityEngine.Vector3) : UnityEngine.Vector3
  2139. /** Transforms the position x, y, z from local space to world space.
  2140. */
  2141. public TransformPoint ($x: number, $y: number, $z: number) : UnityEngine.Vector3
  2142. /** Transforms position from world space to local space.
  2143. */
  2144. public InverseTransformPoint ($position: UnityEngine.Vector3) : UnityEngine.Vector3
  2145. /** Transforms the position x, y, z from world space to local space.
  2146. */
  2147. public InverseTransformPoint ($x: number, $y: number, $z: number) : UnityEngine.Vector3
  2148. /** Unparents all children.
  2149. */
  2150. public DetachChildren () : void
  2151. /** Move the transform to the start of the local transform list.
  2152. */
  2153. public SetAsFirstSibling () : void
  2154. /** Move the transform to the end of the local transform list.
  2155. */
  2156. public SetAsLastSibling () : void
  2157. /** Sets the sibling index.
  2158. * @param $index Index to set.
  2159. */
  2160. public SetSiblingIndex ($index: number) : void
  2161. /** Gets the sibling index.
  2162. */
  2163. public GetSiblingIndex () : number
  2164. /** Finds a child by name n and returns it.
  2165. * @param $n Name of child to be found.
  2166. * @returns The found child transform. Null if child with matching name isn't found.
  2167. */
  2168. public Find ($n: string) : UnityEngine.Transform
  2169. /** Is this transform a child of parent?
  2170. */
  2171. public IsChildOf ($parent: UnityEngine.Transform) : boolean
  2172. public GetEnumerator () : System.Collections.IEnumerator
  2173. /** Returns a transform child by index.
  2174. * @param $index Index of the child transform to return. Must be smaller than Transform.childCount.
  2175. * @returns Transform child by index.
  2176. */
  2177. public GetChild ($index: number) : UnityEngine.Transform
  2178. }
  2179. /** Options to specify if and how to sort objects returned by a function.
  2180. */
  2181. enum FindObjectsSortMode
  2182. { None = 0, InstanceID = 1 }
  2183. /** Options to control whether object find functions return inactive objects.
  2184. */
  2185. enum FindObjectsInactive
  2186. { Exclude = 0, Include = 1 }
  2187. /** Bit mask that controls object destruction, saving and visibility in inspectors.
  2188. */
  2189. enum HideFlags
  2190. { None = 0, HideInHierarchy = 1, HideInInspector = 2, DontSaveInEditor = 4, NotEditable = 8, DontSaveInBuild = 16, DontUnloadUnusedAsset = 32, DontSave = 52, HideAndDontSave = 61 }
  2191. /** Base class for all entities in Unity Scenes.
  2192. */
  2193. class GameObject extends UnityEngine.Object
  2194. {
  2195. protected [__keep_incompatibility]: never;
  2196. /** The Transform attached to this GameObject.
  2197. */
  2198. public get transform(): UnityEngine.Transform;
  2199. /** The layer the GameObject is in.
  2200. */
  2201. public get layer(): number;
  2202. public set layer(value: number);
  2203. /** The local active state of this GameObject. (Read Only)
  2204. */
  2205. public get activeSelf(): boolean;
  2206. /** Defines whether the GameObject is active in the Scene.
  2207. */
  2208. public get activeInHierarchy(): boolean;
  2209. /** Gets and sets the GameObject's StaticEditorFlags.
  2210. */
  2211. public get isStatic(): boolean;
  2212. public set isStatic(value: boolean);
  2213. /** The tag of this GameObject.
  2214. */
  2215. public get tag(): string;
  2216. public set tag(value: string);
  2217. /** Scene that the GameObject is part of.
  2218. */
  2219. public get scene(): UnityEngine.SceneManagement.Scene;
  2220. /** Scene culling mask Unity uses to determine which scene to render the GameObject in.
  2221. */
  2222. public get sceneCullingMask(): bigint;
  2223. public get gameObject(): UnityEngine.GameObject;
  2224. /** Creates a GameObject with a primitive mesh renderer and appropriate collider.
  2225. * @param $type The type of primitive object to create.
  2226. */
  2227. public static CreatePrimitive ($type: UnityEngine.PrimitiveType) : UnityEngine.GameObject
  2228. /** The non-generic version of this method.
  2229. * @param $type The type of Component to search for.
  2230. * @returns A Component of the matching type, otherwise null if no Component is found.
  2231. */
  2232. public GetComponent ($type: System.Type) : UnityEngine.Component
  2233. /** The string-based version of this method.
  2234. * @param $type The name of the type of Component to search for.
  2235. * @returns A Component of the matching type, otherwise null if no Component is found.
  2236. */
  2237. public GetComponent ($type: string) : UnityEngine.Component
  2238. /** This is the non-generic version of this method.
  2239. * @param $type The type of Component to retrieve.
  2240. * @param $includeInactive Whether to include inactive child GameObjects in the search.
  2241. * @returns A component of the matching type, if found.
  2242. */
  2243. public GetComponentInChildren ($type: System.Type, $includeInactive: boolean) : UnityEngine.Component
  2244. /** This is the non-generic version of this method.
  2245. * @param $type The type of Component to retrieve.
  2246. * @param $includeInactive Whether to include inactive child GameObjects in the search.
  2247. * @returns A component of the matching type, if found.
  2248. */
  2249. public GetComponentInChildren ($type: System.Type) : UnityEngine.Component
  2250. /** The non-generic version of this method.
  2251. * @param $type The type of component to search for.
  2252. * @param $includeInactive Whether to include inactive parent GameObjects in the search.
  2253. * @returns A Component of the matching type, otherwise null if no Component is found.
  2254. */
  2255. public GetComponentInParent ($type: System.Type, $includeInactive: boolean) : UnityEngine.Component
  2256. /** The non-generic version of this method.
  2257. * @param $type The type of component to search for.
  2258. * @param $includeInactive Whether to include inactive parent GameObjects in the search.
  2259. * @returns A Component of the matching type, otherwise null if no Component is found.
  2260. */
  2261. public GetComponentInParent ($type: System.Type) : UnityEngine.Component
  2262. /** The non-generic version of this method.
  2263. * @param $type The type of component to search for.
  2264. * @returns An array containing all matching components of type type.
  2265. */
  2266. public GetComponents ($type: System.Type) : System.Array$1<UnityEngine.Component>
  2267. public GetComponents ($type: System.Type, $results: System.Collections.Generic.List$1<UnityEngine.Component>) : void
  2268. /** The non-generic version of this method.
  2269. * @param $type The type of component to search for.
  2270. * @param $includeInactive Whether to include inactive child GameObjects in the search.
  2271. * @returns An array of all found components matching the specified type.
  2272. */
  2273. public GetComponentsInChildren ($type: System.Type) : System.Array$1<UnityEngine.Component>
  2274. /** The non-generic version of this method.
  2275. * @param $type The type of component to search for.
  2276. * @param $includeInactive Whether to include inactive child GameObjects in the search.
  2277. * @returns An array of all found components matching the specified type.
  2278. */
  2279. public GetComponentsInChildren ($type: System.Type, $includeInactive: boolean) : System.Array$1<UnityEngine.Component>
  2280. public GetComponentsInParent ($type: System.Type) : System.Array$1<UnityEngine.Component>
  2281. /** The non-generic version of this method.
  2282. * @param $type The type of component to search for.
  2283. * @param $includeInactive Whether to include inactive parent GameObjects in the search.
  2284. * @returns An array of all found components matching the specified type.
  2285. */
  2286. public GetComponentsInParent ($type: System.Type, $includeInactive: boolean) : System.Array$1<UnityEngine.Component>
  2287. /** The non-generic version of this method.
  2288. * @param $type The type of component to search for.
  2289. * @param $component The output argument that will contain the component or null.
  2290. * @returns Returns true if the component is found, false otherwise.
  2291. */
  2292. public TryGetComponent ($type: System.Type, $component: $Ref<UnityEngine.Component>) : boolean
  2293. /** Returns one active GameObject tagged tag. Returns null if no GameObject was found.
  2294. * @param $tag The tag to search for.
  2295. */
  2296. public static FindWithTag ($tag: string) : UnityEngine.GameObject
  2297. public SendMessageUpwards ($methodName: string, $options: UnityEngine.SendMessageOptions) : void
  2298. public SendMessage ($methodName: string, $options: UnityEngine.SendMessageOptions) : void
  2299. public BroadcastMessage ($methodName: string, $options: UnityEngine.SendMessageOptions) : void
  2300. /** Adds a component class of type componentType to the GameObject. C# Users can use a generic version.
  2301. */
  2302. public AddComponent ($componentType: System.Type) : UnityEngine.Component
  2303. /** ActivatesDeactivates the GameObject, depending on the given true or false/ value.
  2304. * @param $value Activate or deactivate the object, where true activates the GameObject and false deactivates the GameObject.
  2305. */
  2306. public SetActive ($value: boolean) : void
  2307. /** Is this GameObject tagged with tag ?
  2308. * @param $tag The tag to compare.
  2309. */
  2310. public CompareTag ($tag: string) : boolean
  2311. public static FindGameObjectWithTag ($tag: string) : UnityEngine.GameObject
  2312. /** Returns an array of active GameObjects tagged tag. Returns empty array if no GameObject was found.
  2313. * @param $tag The name of the tag to search GameObjects for.
  2314. */
  2315. public static FindGameObjectsWithTag ($tag: string) : System.Array$1<UnityEngine.GameObject>
  2316. /** Calls the method named methodName on every MonoBehaviour in this GameObject and on every ancestor of the behaviour.
  2317. * @param $methodName The name of the method to call.
  2318. * @param $value An optional parameter value to pass to the called method.
  2319. * @param $options Should an error be raised if the method doesn't exist on the target object?
  2320. */
  2321. public SendMessageUpwards ($methodName: string, $value: any, $options: UnityEngine.SendMessageOptions) : void
  2322. /** Calls the method named methodName on every MonoBehaviour in this GameObject and on every ancestor of the behaviour.
  2323. * @param $methodName The name of the method to call.
  2324. * @param $value An optional parameter value to pass to the called method.
  2325. * @param $options Should an error be raised if the method doesn't exist on the target object?
  2326. */
  2327. public SendMessageUpwards ($methodName: string, $value: any) : void
  2328. /** Calls the method named methodName on every MonoBehaviour in this GameObject and on every ancestor of the behaviour.
  2329. * @param $methodName The name of the method to call.
  2330. * @param $value An optional parameter value to pass to the called method.
  2331. * @param $options Should an error be raised if the method doesn't exist on the target object?
  2332. */
  2333. public SendMessageUpwards ($methodName: string) : void
  2334. /** Calls the method named methodName on every MonoBehaviour in this GameObject.
  2335. * @param $methodName The name of the method to call.
  2336. * @param $value An optional parameter value to pass to the called method.
  2337. * @param $options Should an error be raised if the method doesn't exist on the target object?
  2338. */
  2339. public SendMessage ($methodName: string, $value: any, $options: UnityEngine.SendMessageOptions) : void
  2340. /** Calls the method named methodName on every MonoBehaviour in this GameObject.
  2341. * @param $methodName The name of the method to call.
  2342. * @param $value An optional parameter value to pass to the called method.
  2343. * @param $options Should an error be raised if the method doesn't exist on the target object?
  2344. */
  2345. public SendMessage ($methodName: string, $value: any) : void
  2346. /** Calls the method named methodName on every MonoBehaviour in this GameObject.
  2347. * @param $methodName The name of the method to call.
  2348. * @param $value An optional parameter value to pass to the called method.
  2349. * @param $options Should an error be raised if the method doesn't exist on the target object?
  2350. */
  2351. public SendMessage ($methodName: string) : void
  2352. /** Calls the method named methodName on every MonoBehaviour in this GameObject or any of its children.
  2353. */
  2354. public BroadcastMessage ($methodName: string, $parameter: any, $options: UnityEngine.SendMessageOptions) : void
  2355. /** Calls the method named methodName on every MonoBehaviour in this GameObject or any of its children.
  2356. */
  2357. public BroadcastMessage ($methodName: string, $parameter: any) : void
  2358. /** Calls the method named methodName on every MonoBehaviour in this GameObject or any of its children.
  2359. */
  2360. public BroadcastMessage ($methodName: string) : void
  2361. /** Finds a GameObject by name and returns it.
  2362. */
  2363. public static Find ($name: string) : UnityEngine.GameObject
  2364. public static SetGameObjectsActive ($instanceIDs: Unity.Collections.NativeArray$1<number>, $active: boolean) : void
  2365. public static InstantiateGameObjects ($sourceInstanceID: number, $count: number, $newInstanceIDs: Unity.Collections.NativeArray$1<number>, $newTransformInstanceIDs: Unity.Collections.NativeArray$1<number>, $destinationScene?: UnityEngine.SceneManagement.Scene) : void
  2366. /** Returns the Scene of a GameObject given by instance ID.
  2367. * @param $instanceID The instance ID of a GameObject.
  2368. * @returns Scene of GameObject of instance ID.
  2369. */
  2370. public static GetScene ($instanceID: number) : UnityEngine.SceneManagement.Scene
  2371. public constructor ($name: string)
  2372. public constructor ()
  2373. public constructor ($name: string, ...components: System.Type[])
  2374. }
  2375. /** The various primitives that can be created using the GameObject.CreatePrimitive function.
  2376. */
  2377. enum PrimitiveType
  2378. { Sphere = 0, Capsule = 1, Cylinder = 2, Cube = 3, Plane = 4, Quad = 5 }
  2379. /** Options for how to send a message.
  2380. */
  2381. enum SendMessageOptions
  2382. { RequireReceiver = 0, DontRequireReceiver = 1 }
  2383. /** Behaviours are Components that can be enabled or disabled.
  2384. */
  2385. class Behaviour extends UnityEngine.Component
  2386. {
  2387. protected [__keep_incompatibility]: never;
  2388. /** Enabled Behaviours are Updated, disabled Behaviours are not.
  2389. */
  2390. public get enabled(): boolean;
  2391. public set enabled(value: boolean);
  2392. /** Reports whether a GameObject and its associated Behaviour is active and enabled.
  2393. */
  2394. public get isActiveAndEnabled(): boolean;
  2395. public constructor ()
  2396. }
  2397. /** A standard 4x4 transformation matrix.
  2398. */
  2399. class Matrix4x4 extends System.ValueType implements System.IEquatable$1<UnityEngine.Matrix4x4>, System.IFormattable
  2400. {
  2401. protected [__keep_incompatibility]: never;
  2402. public m00 : number
  2403. public m10 : number
  2404. public m20 : number
  2405. public m30 : number
  2406. public m01 : number
  2407. public m11 : number
  2408. public m21 : number
  2409. public m31 : number
  2410. public m02 : number
  2411. public m12 : number
  2412. public m22 : number
  2413. public m32 : number
  2414. public m03 : number
  2415. public m13 : number
  2416. public m23 : number
  2417. public m33 : number
  2418. /** Attempts to get a rotation quaternion from this matrix.
  2419. */
  2420. public get rotation(): UnityEngine.Quaternion;
  2421. /** Attempts to get a scale value from the matrix. (Read Only)
  2422. */
  2423. public get lossyScale(): UnityEngine.Vector3;
  2424. /** Checks whether this is an identity matrix. (Read Only)
  2425. */
  2426. public get isIdentity(): boolean;
  2427. /** The determinant of the matrix. (Read Only)
  2428. */
  2429. public get determinant(): number;
  2430. /** This property takes a projection matrix and returns the six plane coordinates that define a projection frustum.
  2431. */
  2432. public get decomposeProjection(): UnityEngine.FrustumPlanes;
  2433. /** The inverse of this matrix. (Read Only)
  2434. */
  2435. public get inverse(): UnityEngine.Matrix4x4;
  2436. /** Returns the transpose of this matrix (Read Only).
  2437. */
  2438. public get transpose(): UnityEngine.Matrix4x4;
  2439. /** Returns a matrix with all elements set to zero (Read Only).
  2440. */
  2441. public static get zero(): UnityEngine.Matrix4x4;
  2442. /** Returns the identity matrix (Read Only).
  2443. */
  2444. public static get identity(): UnityEngine.Matrix4x4;
  2445. /** Checks if this matrix is a valid transform matrix.
  2446. */
  2447. public ValidTRS () : boolean
  2448. public static Determinant ($m: UnityEngine.Matrix4x4) : number
  2449. /** Creates a translation, rotation and scaling matrix.
  2450. */
  2451. public static TRS ($pos: UnityEngine.Vector3, $q: UnityEngine.Quaternion, $s: UnityEngine.Vector3) : UnityEngine.Matrix4x4
  2452. /** Sets this matrix to a translation, rotation and scaling matrix.
  2453. */
  2454. public SetTRS ($pos: UnityEngine.Vector3, $q: UnityEngine.Quaternion, $s: UnityEngine.Vector3) : void
  2455. /** Computes the inverse of a 3D affine matrix.
  2456. * @param $input Input matrix to invert.
  2457. * @param $result The result of the inversion. Equal to the input matrix if the function fails.
  2458. * @returns Returns true and a valid result if the function succeeds, false and a copy of the input matrix if the function fails.
  2459. */
  2460. public static Inverse3DAffine ($input: UnityEngine.Matrix4x4, $result: $Ref<UnityEngine.Matrix4x4>) : boolean
  2461. public static Inverse ($m: UnityEngine.Matrix4x4) : UnityEngine.Matrix4x4
  2462. public static Transpose ($m: UnityEngine.Matrix4x4) : UnityEngine.Matrix4x4
  2463. /** Create an orthogonal projection matrix.
  2464. * @param $left Left-side x-coordinate.
  2465. * @param $right Right-side x-coordinate.
  2466. * @param $bottom Bottom y-coordinate.
  2467. * @param $top Top y-coordinate.
  2468. * @param $zNear Near depth clipping plane value.
  2469. * @param $zFar Far depth clipping plane value.
  2470. * @returns The projection matrix.
  2471. */
  2472. public static Ortho ($left: number, $right: number, $bottom: number, $top: number, $zNear: number, $zFar: number) : UnityEngine.Matrix4x4
  2473. /** Create a perspective projection matrix.
  2474. * @param $fov Vertical field-of-view in degrees.
  2475. * @param $aspect Aspect ratio (width divided by height).
  2476. * @param $zNear Near depth clipping plane value.
  2477. * @param $zFar Far depth clipping plane value.
  2478. * @returns The projection matrix.
  2479. */
  2480. public static Perspective ($fov: number, $aspect: number, $zNear: number, $zFar: number) : UnityEngine.Matrix4x4
  2481. /** Create a "look at" matrix.
  2482. * @param $from The source point.
  2483. * @param $to The target point.
  2484. * @param $up The vector describing the up direction (typically Vector3.up).
  2485. * @returns The resulting transformation matrix.
  2486. */
  2487. public static LookAt ($from: UnityEngine.Vector3, $to: UnityEngine.Vector3, $up: UnityEngine.Vector3) : UnityEngine.Matrix4x4
  2488. /** This function returns a projection matrix with viewing frustum that has a near plane defined by the coordinates that were passed in.
  2489. * @param $left The X coordinate of the left side of the near projection plane in view space.
  2490. * @param $right The X coordinate of the right side of the near projection plane in view space.
  2491. * @param $bottom The Y coordinate of the bottom side of the near projection plane in view space.
  2492. * @param $top The Y coordinate of the top side of the near projection plane in view space.
  2493. * @param $zNear Z distance to the near plane from the origin in view space.
  2494. * @param $zFar Z distance to the far plane from the origin in view space.
  2495. * @param $frustumPlanes Frustum planes struct that contains the view space coordinates of that define a viewing frustum.
  2496. * @returns A projection matrix with a viewing frustum defined by the plane coordinates passed in.
  2497. */
  2498. public static Frustum ($left: number, $right: number, $bottom: number, $top: number, $zNear: number, $zFar: number) : UnityEngine.Matrix4x4
  2499. /** This function returns a projection matrix with viewing frustum that has a near plane defined by the coordinates that were passed in.
  2500. * @param $left The X coordinate of the left side of the near projection plane in view space.
  2501. * @param $right The X coordinate of the right side of the near projection plane in view space.
  2502. * @param $bottom The Y coordinate of the bottom side of the near projection plane in view space.
  2503. * @param $top The Y coordinate of the top side of the near projection plane in view space.
  2504. * @param $zNear Z distance to the near plane from the origin in view space.
  2505. * @param $zFar Z distance to the far plane from the origin in view space.
  2506. * @param $frustumPlanes Frustum planes struct that contains the view space coordinates of that define a viewing frustum.
  2507. * @returns A projection matrix with a viewing frustum defined by the plane coordinates passed in.
  2508. */
  2509. public static Frustum ($fp: UnityEngine.FrustumPlanes) : UnityEngine.Matrix4x4
  2510. public get_Item ($index: number) : number
  2511. public set_Item ($index: number, $value: number) : void
  2512. public Equals ($other: any) : boolean
  2513. public Equals ($other: UnityEngine.Matrix4x4) : boolean
  2514. public static op_Multiply ($lhs: UnityEngine.Matrix4x4, $rhs: UnityEngine.Matrix4x4) : UnityEngine.Matrix4x4
  2515. public static op_Multiply ($lhs: UnityEngine.Matrix4x4, $vector: UnityEngine.Vector4) : UnityEngine.Vector4
  2516. public static op_Equality ($lhs: UnityEngine.Matrix4x4, $rhs: UnityEngine.Matrix4x4) : boolean
  2517. public static op_Inequality ($lhs: UnityEngine.Matrix4x4, $rhs: UnityEngine.Matrix4x4) : boolean
  2518. /** Get a column of the matrix.
  2519. */
  2520. public GetColumn ($index: number) : UnityEngine.Vector4
  2521. /** Returns a row of the matrix.
  2522. */
  2523. public GetRow ($index: number) : UnityEngine.Vector4
  2524. /** Get position vector from the matrix.
  2525. */
  2526. public GetPosition () : UnityEngine.Vector3
  2527. /** Sets a column of the matrix.
  2528. */
  2529. public SetColumn ($index: number, $column: UnityEngine.Vector4) : void
  2530. /** Sets a row of the matrix.
  2531. */
  2532. public SetRow ($index: number, $row: UnityEngine.Vector4) : void
  2533. /** Transforms a position by this matrix (generic).
  2534. */
  2535. public MultiplyPoint ($point: UnityEngine.Vector3) : UnityEngine.Vector3
  2536. /** Transforms a position by this matrix (fast).
  2537. */
  2538. public MultiplyPoint3x4 ($point: UnityEngine.Vector3) : UnityEngine.Vector3
  2539. /** Transforms a direction by this matrix.
  2540. */
  2541. public MultiplyVector ($vector: UnityEngine.Vector3) : UnityEngine.Vector3
  2542. /** Returns a plane that is transformed in space.
  2543. */
  2544. public TransformPlane ($plane: UnityEngine.Plane) : UnityEngine.Plane
  2545. /** Creates a scaling matrix.
  2546. */
  2547. public static Scale ($vector: UnityEngine.Vector3) : UnityEngine.Matrix4x4
  2548. /** Creates a translation matrix.
  2549. */
  2550. public static Translate ($vector: UnityEngine.Vector3) : UnityEngine.Matrix4x4
  2551. /** Creates a rotation matrix.
  2552. */
  2553. public static Rotate ($q: UnityEngine.Quaternion) : UnityEngine.Matrix4x4
  2554. /** Returns a formatted string for this matrix.
  2555. * @param $format A numeric format string.
  2556. * @param $formatProvider An object that specifies culture-specific formatting.
  2557. */
  2558. public ToString () : string
  2559. /** Returns a formatted string for this matrix.
  2560. * @param $format A numeric format string.
  2561. * @param $formatProvider An object that specifies culture-specific formatting.
  2562. */
  2563. public ToString ($format: string) : string
  2564. /** Returns a formatted string for this matrix.
  2565. * @param $format A numeric format string.
  2566. * @param $formatProvider An object that specifies culture-specific formatting.
  2567. */
  2568. public ToString ($format: string, $formatProvider: System.IFormatProvider) : string
  2569. public constructor ($column0: UnityEngine.Vector4, $column1: UnityEngine.Vector4, $column2: UnityEngine.Vector4, $column3: UnityEngine.Vector4)
  2570. public Equals ($obj: any) : boolean
  2571. public static Equals ($objA: any, $objB: any) : boolean
  2572. public constructor ()
  2573. }
  2574. /** The coordinate space in which to operate.
  2575. */
  2576. enum Space
  2577. { World = 0, Self = 1 }
  2578. /** Interface to control the Mecanim animation system.
  2579. */
  2580. class Animator extends UnityEngine.Behaviour
  2581. {
  2582. protected [__keep_incompatibility]: never;
  2583. /** Returns true if the current rig is optimizable with AnimatorUtility.OptimizeTransformHierarchy.
  2584. */
  2585. public get isOptimizable(): boolean;
  2586. /** Returns true if the current rig is humanoid, false if it is generic.
  2587. */
  2588. public get isHuman(): boolean;
  2589. /** Returns true if the current rig has root motion.
  2590. */
  2591. public get hasRootMotion(): boolean;
  2592. /** Returns the scale of the current Avatar for a humanoid rig, (1 by default if the rig is generic).
  2593. */
  2594. public get humanScale(): number;
  2595. /** Returns whether the animator is initialized successfully.
  2596. */
  2597. public get isInitialized(): boolean;
  2598. /** Gets the avatar delta position for the last evaluated frame.
  2599. */
  2600. public get deltaPosition(): UnityEngine.Vector3;
  2601. /** Gets the avatar delta rotation for the last evaluated frame.
  2602. */
  2603. public get deltaRotation(): UnityEngine.Quaternion;
  2604. /** Gets the avatar velocity for the last evaluated frame.
  2605. */
  2606. public get velocity(): UnityEngine.Vector3;
  2607. /** Gets the avatar angular velocity for the last evaluated frame.
  2608. */
  2609. public get angularVelocity(): UnityEngine.Vector3;
  2610. /** The root position, the position of the game object.
  2611. */
  2612. public get rootPosition(): UnityEngine.Vector3;
  2613. public set rootPosition(value: UnityEngine.Vector3);
  2614. /** The root rotation, the rotation of the game object.
  2615. */
  2616. public get rootRotation(): UnityEngine.Quaternion;
  2617. public set rootRotation(value: UnityEngine.Quaternion);
  2618. /** Should root motion be applied?
  2619. */
  2620. public get applyRootMotion(): boolean;
  2621. public set applyRootMotion(value: boolean);
  2622. /** Specifies the update mode of the Animator.
  2623. */
  2624. public get updateMode(): UnityEngine.AnimatorUpdateMode;
  2625. public set updateMode(value: UnityEngine.AnimatorUpdateMode);
  2626. /** Returns true if the object has a transform hierarchy.
  2627. */
  2628. public get hasTransformHierarchy(): boolean;
  2629. /** The current gravity weight based on current animations that are played.
  2630. */
  2631. public get gravityWeight(): number;
  2632. /** The position of the body center of mass.
  2633. */
  2634. public get bodyPosition(): UnityEngine.Vector3;
  2635. public set bodyPosition(value: UnityEngine.Vector3);
  2636. /** The rotation of the body center of mass.
  2637. */
  2638. public get bodyRotation(): UnityEngine.Quaternion;
  2639. public set bodyRotation(value: UnityEngine.Quaternion);
  2640. /** Automatic stabilization of feet during transition and blending.
  2641. */
  2642. public get stabilizeFeet(): boolean;
  2643. public set stabilizeFeet(value: boolean);
  2644. /** Returns the number of layers in the controller.
  2645. */
  2646. public get layerCount(): number;
  2647. /** The AnimatorControllerParameter list used by the animator. (Read Only)
  2648. */
  2649. public get parameters(): System.Array$1<UnityEngine.AnimatorControllerParameter>;
  2650. /** Returns the number of parameters in the controller.
  2651. */
  2652. public get parameterCount(): number;
  2653. /** Blends pivot point between body center of mass and feet pivot.
  2654. */
  2655. public get feetPivotActive(): number;
  2656. public set feetPivotActive(value: number);
  2657. /** Gets the pivot weight.
  2658. */
  2659. public get pivotWeight(): number;
  2660. /** Get the current position of the pivot.
  2661. */
  2662. public get pivotPosition(): UnityEngine.Vector3;
  2663. /** If automatic matching is active.
  2664. */
  2665. public get isMatchingTarget(): boolean;
  2666. /** The playback speed of the Animator. 1 is normal playback speed.
  2667. */
  2668. public get speed(): number;
  2669. public set speed(value: number);
  2670. /** Returns the position of the target specified by SetTarget.
  2671. */
  2672. public get targetPosition(): UnityEngine.Vector3;
  2673. /** Returns the rotation of the target specified by SetTarget.
  2674. */
  2675. public get targetRotation(): UnityEngine.Quaternion;
  2676. /** Returns the Avatar root Transform.
  2677. */
  2678. public get avatarRoot(): UnityEngine.Transform;
  2679. /** Controls culling of this Animator component.
  2680. */
  2681. public get cullingMode(): UnityEngine.AnimatorCullingMode;
  2682. public set cullingMode(value: UnityEngine.AnimatorCullingMode);
  2683. /** Sets the playback position in the recording buffer.
  2684. */
  2685. public get playbackTime(): number;
  2686. public set playbackTime(value: number);
  2687. /** Start time of the first frame of the buffer relative to the frame at which StartRecording was called.
  2688. */
  2689. public get recorderStartTime(): number;
  2690. public set recorderStartTime(value: number);
  2691. /** End time of the recorded clip relative to when StartRecording was called.
  2692. */
  2693. public get recorderStopTime(): number;
  2694. public set recorderStopTime(value: number);
  2695. /** Gets the mode of the Animator recorder.
  2696. */
  2697. public get recorderMode(): UnityEngine.AnimatorRecorderMode;
  2698. /** The runtime representation of AnimatorController that controls the Animator.
  2699. */
  2700. public get runtimeAnimatorController(): UnityEngine.RuntimeAnimatorController;
  2701. public set runtimeAnimatorController(value: UnityEngine.RuntimeAnimatorController);
  2702. /** Returns true if Animator has any playables assigned to it.
  2703. */
  2704. public get hasBoundPlayables(): boolean;
  2705. /** Gets/Sets the current Avatar.
  2706. */
  2707. public get avatar(): UnityEngine.Avatar;
  2708. public set avatar(value: UnityEngine.Avatar);
  2709. /** The PlayableGraph created by the Animator.
  2710. */
  2711. public get playableGraph(): UnityEngine.Playables.PlayableGraph;
  2712. /** Additional layers affects the center of mass.
  2713. */
  2714. public get layersAffectMassCenter(): boolean;
  2715. public set layersAffectMassCenter(value: boolean);
  2716. /** Get left foot bottom height.
  2717. */
  2718. public get leftFeetBottomHeight(): number;
  2719. /** Get right foot bottom height.
  2720. */
  2721. public get rightFeetBottomHeight(): number;
  2722. public get logWarnings(): boolean;
  2723. public set logWarnings(value: boolean);
  2724. /** Sets whether the Animator sends events of type AnimationEvent.
  2725. */
  2726. public get fireEvents(): boolean;
  2727. public set fireEvents(value: boolean);
  2728. /** Controls the behaviour of the Animator component when a GameObject is disabled.
  2729. */
  2730. public get keepAnimatorStateOnDisable(): boolean;
  2731. public set keepAnimatorStateOnDisable(value: boolean);
  2732. /** Specifies whether playable graph values are reset or preserved when the Animator is disabled.
  2733. */
  2734. public get writeDefaultValuesOnDisable(): boolean;
  2735. public set writeDefaultValuesOnDisable(value: boolean);
  2736. /** Returns the value of the given float parameter.
  2737. * @param $name The parameter name.
  2738. * @param $id The parameter ID.
  2739. * @returns The value of the parameter.
  2740. */
  2741. public GetFloat ($name: string) : number
  2742. /** Returns the value of the given float parameter.
  2743. * @param $name The parameter name.
  2744. * @param $id The parameter ID.
  2745. * @returns The value of the parameter.
  2746. */
  2747. public GetFloat ($id: number) : number
  2748. /** Send float values to the Animator to affect transitions.
  2749. * @param $name The parameter name.
  2750. * @param $id The parameter ID.
  2751. * @param $value The new parameter value.
  2752. * @param $dampTime The damper total time.
  2753. * @param $deltaTime The delta time to give to the damper.
  2754. */
  2755. public SetFloat ($name: string, $value: number) : void
  2756. /** Send float values to the Animator to affect transitions.
  2757. * @param $name The parameter name.
  2758. * @param $id The parameter ID.
  2759. * @param $value The new parameter value.
  2760. * @param $dampTime The damper total time.
  2761. * @param $deltaTime The delta time to give to the damper.
  2762. */
  2763. public SetFloat ($name: string, $value: number, $dampTime: number, $deltaTime: number) : void
  2764. /** Send float values to the Animator to affect transitions.
  2765. * @param $name The parameter name.
  2766. * @param $id The parameter ID.
  2767. * @param $value The new parameter value.
  2768. * @param $dampTime The damper total time.
  2769. * @param $deltaTime The delta time to give to the damper.
  2770. */
  2771. public SetFloat ($id: number, $value: number) : void
  2772. /** Send float values to the Animator to affect transitions.
  2773. * @param $name The parameter name.
  2774. * @param $id The parameter ID.
  2775. * @param $value The new parameter value.
  2776. * @param $dampTime The damper total time.
  2777. * @param $deltaTime The delta time to give to the damper.
  2778. */
  2779. public SetFloat ($id: number, $value: number, $dampTime: number, $deltaTime: number) : void
  2780. /** Returns the value of the given boolean parameter.
  2781. * @param $name The parameter name.
  2782. * @param $id The parameter ID.
  2783. * @returns The value of the parameter.
  2784. */
  2785. public GetBool ($name: string) : boolean
  2786. /** Returns the value of the given boolean parameter.
  2787. * @param $name The parameter name.
  2788. * @param $id The parameter ID.
  2789. * @returns The value of the parameter.
  2790. */
  2791. public GetBool ($id: number) : boolean
  2792. /** Sets the value of the given boolean parameter.
  2793. * @param $name The parameter name.
  2794. * @param $id The parameter ID.
  2795. * @param $value The new parameter value.
  2796. */
  2797. public SetBool ($name: string, $value: boolean) : void
  2798. /** Sets the value of the given boolean parameter.
  2799. * @param $name The parameter name.
  2800. * @param $id The parameter ID.
  2801. * @param $value The new parameter value.
  2802. */
  2803. public SetBool ($id: number, $value: boolean) : void
  2804. /** Returns the value of the given integer parameter.
  2805. * @param $name The parameter name.
  2806. * @param $id The parameter ID.
  2807. * @returns The value of the parameter.
  2808. */
  2809. public GetInteger ($name: string) : number
  2810. /** Returns the value of the given integer parameter.
  2811. * @param $name The parameter name.
  2812. * @param $id The parameter ID.
  2813. * @returns The value of the parameter.
  2814. */
  2815. public GetInteger ($id: number) : number
  2816. /** Sets the value of the given integer parameter.
  2817. * @param $name The parameter name.
  2818. * @param $id The parameter ID.
  2819. * @param $value The new parameter value.
  2820. */
  2821. public SetInteger ($name: string, $value: number) : void
  2822. /** Sets the value of the given integer parameter.
  2823. * @param $name The parameter name.
  2824. * @param $id The parameter ID.
  2825. * @param $value The new parameter value.
  2826. */
  2827. public SetInteger ($id: number, $value: number) : void
  2828. /** Sets the value of the given trigger parameter.
  2829. * @param $name The parameter name.
  2830. * @param $id The parameter ID.
  2831. */
  2832. public SetTrigger ($name: string) : void
  2833. /** Sets the value of the given trigger parameter.
  2834. * @param $name The parameter name.
  2835. * @param $id The parameter ID.
  2836. */
  2837. public SetTrigger ($id: number) : void
  2838. /** Resets the value of the given trigger parameter.
  2839. * @param $name The parameter name.
  2840. * @param $id The parameter ID.
  2841. */
  2842. public ResetTrigger ($name: string) : void
  2843. /** Resets the value of the given trigger parameter.
  2844. * @param $name The parameter name.
  2845. * @param $id The parameter ID.
  2846. */
  2847. public ResetTrigger ($id: number) : void
  2848. /** Returns true if the parameter is controlled by a curve, false otherwise.
  2849. * @param $name The parameter name.
  2850. * @param $id The parameter ID.
  2851. * @returns True if the parameter is controlled by a curve, false otherwise.
  2852. */
  2853. public IsParameterControlledByCurve ($name: string) : boolean
  2854. /** Returns true if the parameter is controlled by a curve, false otherwise.
  2855. * @param $name The parameter name.
  2856. * @param $id The parameter ID.
  2857. * @returns True if the parameter is controlled by a curve, false otherwise.
  2858. */
  2859. public IsParameterControlledByCurve ($id: number) : boolean
  2860. /** Gets the position of an IK goal.
  2861. * @param $goal The AvatarIKGoal that is queried.
  2862. * @returns Return the current position of this IK goal in world space.
  2863. */
  2864. public GetIKPosition ($goal: UnityEngine.AvatarIKGoal) : UnityEngine.Vector3
  2865. /** Sets the position of an IK goal.
  2866. * @param $goal The AvatarIKGoal that is set.
  2867. * @param $goalPosition The position in world space.
  2868. */
  2869. public SetIKPosition ($goal: UnityEngine.AvatarIKGoal, $goalPosition: UnityEngine.Vector3) : void
  2870. /** Gets the rotation of an IK goal.
  2871. * @param $goal The AvatarIKGoal that is is queried.
  2872. */
  2873. public GetIKRotation ($goal: UnityEngine.AvatarIKGoal) : UnityEngine.Quaternion
  2874. /** Sets the rotation of an IK goal.
  2875. * @param $goal The AvatarIKGoal that is set.
  2876. * @param $goalRotation The rotation in world space.
  2877. */
  2878. public SetIKRotation ($goal: UnityEngine.AvatarIKGoal, $goalRotation: UnityEngine.Quaternion) : void
  2879. /** Gets the translative weight of an IK goal (0 = at the original animation before IK, 1 = at the goal).
  2880. * @param $goal The AvatarIKGoal that is queried.
  2881. */
  2882. public GetIKPositionWeight ($goal: UnityEngine.AvatarIKGoal) : number
  2883. /** Sets the translative weight of an IK goal (0 = at the original animation before IK, 1 = at the goal).
  2884. * @param $goal The AvatarIKGoal that is set.
  2885. * @param $value The translative weight.
  2886. */
  2887. public SetIKPositionWeight ($goal: UnityEngine.AvatarIKGoal, $value: number) : void
  2888. /** Gets the rotational weight of an IK goal (0 = rotation before IK, 1 = rotation at the IK goal).
  2889. * @param $goal The AvatarIKGoal that is queried.
  2890. */
  2891. public GetIKRotationWeight ($goal: UnityEngine.AvatarIKGoal) : number
  2892. /** Sets the rotational weight of an IK goal (0 = rotation before IK, 1 = rotation at the IK goal).
  2893. * @param $goal The AvatarIKGoal that is set.
  2894. * @param $value The rotational weight.
  2895. */
  2896. public SetIKRotationWeight ($goal: UnityEngine.AvatarIKGoal, $value: number) : void
  2897. /** Gets the position of an IK hint.
  2898. * @param $hint The AvatarIKHint that is queried.
  2899. * @returns Return the current position of this IK hint in world space.
  2900. */
  2901. public GetIKHintPosition ($hint: UnityEngine.AvatarIKHint) : UnityEngine.Vector3
  2902. /** Sets the position of an IK hint.
  2903. * @param $hint The AvatarIKHint that is set.
  2904. * @param $hintPosition The position in world space.
  2905. */
  2906. public SetIKHintPosition ($hint: UnityEngine.AvatarIKHint, $hintPosition: UnityEngine.Vector3) : void
  2907. /** Gets the translative weight of an IK Hint (0 = at the original animation before IK, 1 = at the hint).
  2908. * @param $hint The AvatarIKHint that is queried.
  2909. * @returns Return translative weight.
  2910. */
  2911. public GetIKHintPositionWeight ($hint: UnityEngine.AvatarIKHint) : number
  2912. /** Sets the translative weight of an IK hint (0 = at the original animation before IK, 1 = at the hint).
  2913. * @param $hint The AvatarIKHint that is set.
  2914. * @param $value The translative weight.
  2915. */
  2916. public SetIKHintPositionWeight ($hint: UnityEngine.AvatarIKHint, $value: number) : void
  2917. /** Sets the look at position.
  2918. * @param $lookAtPosition The position to lookAt.
  2919. */
  2920. public SetLookAtPosition ($lookAtPosition: UnityEngine.Vector3) : void
  2921. /** Set look at weights.
  2922. * @param $weight (0-1) the global weight of the LookAt, multiplier for other parameters.
  2923. * @param $bodyWeight (0-1) determines how much the body is involved in the LookAt.
  2924. * @param $headWeight (0-1) determines how much the head is involved in the LookAt.
  2925. * @param $eyesWeight (0-1) determines how much the eyes are involved in the LookAt.
  2926. * @param $clampWeight (0-1) 0.0 means the character is unrestrained in motion. 1.0 means the character is clamped (look at becomes impossible). 0.5 means the character is able to move on half of the possible range (180 degrees).
  2927. */
  2928. public SetLookAtWeight ($weight: number) : void
  2929. /** Set look at weights.
  2930. * @param $weight (0-1) the global weight of the LookAt, multiplier for other parameters.
  2931. * @param $bodyWeight (0-1) determines how much the body is involved in the LookAt.
  2932. * @param $headWeight (0-1) determines how much the head is involved in the LookAt.
  2933. * @param $eyesWeight (0-1) determines how much the eyes are involved in the LookAt.
  2934. * @param $clampWeight (0-1) 0.0 means the character is unrestrained in motion. 1.0 means the character is clamped (look at becomes impossible). 0.5 means the character is able to move on half of the possible range (180 degrees).
  2935. */
  2936. public SetLookAtWeight ($weight: number, $bodyWeight: number) : void
  2937. /** Set look at weights.
  2938. * @param $weight (0-1) the global weight of the LookAt, multiplier for other parameters.
  2939. * @param $bodyWeight (0-1) determines how much the body is involved in the LookAt.
  2940. * @param $headWeight (0-1) determines how much the head is involved in the LookAt.
  2941. * @param $eyesWeight (0-1) determines how much the eyes are involved in the LookAt.
  2942. * @param $clampWeight (0-1) 0.0 means the character is unrestrained in motion. 1.0 means the character is clamped (look at becomes impossible). 0.5 means the character is able to move on half of the possible range (180 degrees).
  2943. */
  2944. public SetLookAtWeight ($weight: number, $bodyWeight: number, $headWeight: number) : void
  2945. /** Set look at weights.
  2946. * @param $weight (0-1) the global weight of the LookAt, multiplier for other parameters.
  2947. * @param $bodyWeight (0-1) determines how much the body is involved in the LookAt.
  2948. * @param $headWeight (0-1) determines how much the head is involved in the LookAt.
  2949. * @param $eyesWeight (0-1) determines how much the eyes are involved in the LookAt.
  2950. * @param $clampWeight (0-1) 0.0 means the character is unrestrained in motion. 1.0 means the character is clamped (look at becomes impossible). 0.5 means the character is able to move on half of the possible range (180 degrees).
  2951. */
  2952. public SetLookAtWeight ($weight: number, $bodyWeight: number, $headWeight: number, $eyesWeight: number) : void
  2953. /** Set look at weights.
  2954. * @param $weight (0-1) the global weight of the LookAt, multiplier for other parameters.
  2955. * @param $bodyWeight (0-1) determines how much the body is involved in the LookAt.
  2956. * @param $headWeight (0-1) determines how much the head is involved in the LookAt.
  2957. * @param $eyesWeight (0-1) determines how much the eyes are involved in the LookAt.
  2958. * @param $clampWeight (0-1) 0.0 means the character is unrestrained in motion. 1.0 means the character is clamped (look at becomes impossible). 0.5 means the character is able to move on half of the possible range (180 degrees).
  2959. */
  2960. public SetLookAtWeight ($weight: number, $bodyWeight: number, $headWeight: number, $eyesWeight: number, $clampWeight: number) : void
  2961. /** Sets local rotation of a human bone during a IK pass.
  2962. * @param $humanBoneId The human bone Id.
  2963. * @param $rotation The local rotation.
  2964. */
  2965. public SetBoneLocalRotation ($humanBoneId: UnityEngine.HumanBodyBones, $rotation: UnityEngine.Quaternion) : void
  2966. public GetBehaviours ($fullPathHash: number, $layerIndex: number) : System.Array$1<UnityEngine.StateMachineBehaviour>
  2967. /** Returns the layer name.
  2968. * @param $layerIndex The layer index.
  2969. * @returns The layer name.
  2970. */
  2971. public GetLayerName ($layerIndex: number) : string
  2972. /** Returns the index of the layer with the given name.
  2973. * @param $layerName The layer name.
  2974. * @returns The layer index.
  2975. */
  2976. public GetLayerIndex ($layerName: string) : number
  2977. /** Returns the weight of the layer at the specified index.
  2978. * @param $layerIndex The layer index.
  2979. * @returns The layer weight.
  2980. */
  2981. public GetLayerWeight ($layerIndex: number) : number
  2982. /** Sets the weight of the layer at the given index.
  2983. * @param $layerIndex The layer index.
  2984. * @param $weight The new layer weight.
  2985. */
  2986. public SetLayerWeight ($layerIndex: number, $weight: number) : void
  2987. /** Returns an AnimatorStateInfo with the information on the current state.
  2988. * @param $layerIndex The layer index.
  2989. * @returns An AnimatorStateInfo with the information on the current state.
  2990. */
  2991. public GetCurrentAnimatorStateInfo ($layerIndex: number) : UnityEngine.AnimatorStateInfo
  2992. /** Returns an AnimatorStateInfo with the information on the next state.
  2993. * @param $layerIndex The layer index.
  2994. * @returns An AnimatorStateInfo with the information on the next state.
  2995. */
  2996. public GetNextAnimatorStateInfo ($layerIndex: number) : UnityEngine.AnimatorStateInfo
  2997. /** Returns an AnimatorTransitionInfo with the informations on the current transition.
  2998. * @param $layerIndex The layer's index.
  2999. * @returns An AnimatorTransitionInfo with the informations on the current transition.
  3000. */
  3001. public GetAnimatorTransitionInfo ($layerIndex: number) : UnityEngine.AnimatorTransitionInfo
  3002. /** Returns the number of AnimatorClipInfo in the current state.
  3003. * @param $layerIndex The layer index.
  3004. * @returns The number of AnimatorClipInfo in the current state.
  3005. */
  3006. public GetCurrentAnimatorClipInfoCount ($layerIndex: number) : number
  3007. /** Returns the number of AnimatorClipInfo in the next state.
  3008. * @param $layerIndex The layer index.
  3009. * @returns The number of AnimatorClipInfo in the next state.
  3010. */
  3011. public GetNextAnimatorClipInfoCount ($layerIndex: number) : number
  3012. /** Returns an array of all the AnimatorClipInfo in the current state of the given layer.
  3013. * @param $layerIndex The layer index.
  3014. * @returns An array of all the AnimatorClipInfo in the current state.
  3015. */
  3016. public GetCurrentAnimatorClipInfo ($layerIndex: number) : System.Array$1<UnityEngine.AnimatorClipInfo>
  3017. /** Returns an array of all the AnimatorClipInfo in the next state of the given layer.
  3018. * @param $layerIndex The layer index.
  3019. * @returns An array of all the AnimatorClipInfo in the next state.
  3020. */
  3021. public GetNextAnimatorClipInfo ($layerIndex: number) : System.Array$1<UnityEngine.AnimatorClipInfo>
  3022. public GetCurrentAnimatorClipInfo ($layerIndex: number, $clips: System.Collections.Generic.List$1<UnityEngine.AnimatorClipInfo>) : void
  3023. public GetNextAnimatorClipInfo ($layerIndex: number, $clips: System.Collections.Generic.List$1<UnityEngine.AnimatorClipInfo>) : void
  3024. /** Returns true if there is a transition on the given layer, false otherwise.
  3025. * @param $layerIndex The layer index.
  3026. * @returns True if there is a transition on the given layer, false otherwise.
  3027. */
  3028. public IsInTransition ($layerIndex: number) : boolean
  3029. /** See AnimatorController.parameters.
  3030. */
  3031. public GetParameter ($index: number) : UnityEngine.AnimatorControllerParameter
  3032. public MatchTarget ($matchPosition: UnityEngine.Vector3, $matchRotation: UnityEngine.Quaternion, $targetBodyPart: UnityEngine.AvatarTarget, $weightMask: UnityEngine.MatchTargetWeightMask, $startNormalizedTime: number) : void
  3033. /** Automatically adjust the GameObject position and rotation.
  3034. * @param $matchPosition The position we want the body part to reach.
  3035. * @param $matchRotation The rotation in which we want the body part to be.
  3036. * @param $targetBodyPart The body part that is involved in the match.
  3037. * @param $weightMask Structure that contains weights for matching position and rotation.
  3038. * @param $startNormalizedTime Start time within the animation clip (0 - beginning of clip, 1 - end of clip).
  3039. * @param $targetNormalizedTime End time within the animation clip (0 - beginning of clip, 1 - end of clip), values greater than 1 can be set to trigger a match after a certain number of loops. Ex: 2.3 means at 30% of 2nd loop.
  3040. * @param $completeMatch Allows you to specify what should happen if the MatchTarget function is interrupted. A value of true causes the GameObject to immediately move to the matchPosition if interrupted. A value of false causes the GameObject to stay at its current position if interrupted.
  3041. */
  3042. public MatchTarget ($matchPosition: UnityEngine.Vector3, $matchRotation: UnityEngine.Quaternion, $targetBodyPart: UnityEngine.AvatarTarget, $weightMask: UnityEngine.MatchTargetWeightMask, $startNormalizedTime: number, $targetNormalizedTime: number) : void
  3043. public MatchTarget ($matchPosition: UnityEngine.Vector3, $matchRotation: UnityEngine.Quaternion, $targetBodyPart: UnityEngine.AvatarTarget, $weightMask: UnityEngine.MatchTargetWeightMask, $startNormalizedTime: number, $targetNormalizedTime: number, $completeMatch: boolean) : void
  3044. /** Interrupts the automatic target matching.
  3045. */
  3046. public InterruptMatchTarget () : void
  3047. /** Interrupts the automatic target matching.
  3048. */
  3049. public InterruptMatchTarget ($completeMatch: boolean) : void
  3050. public CrossFadeInFixedTime ($stateName: string, $fixedTransitionDuration: number) : void
  3051. public CrossFadeInFixedTime ($stateName: string, $fixedTransitionDuration: number, $layer: number) : void
  3052. public CrossFadeInFixedTime ($stateName: string, $fixedTransitionDuration: number, $layer: number, $fixedTimeOffset: number) : void
  3053. /** Creates a crossfade from the current state to any other state using times in seconds.
  3054. * @param $stateName The name of the state.
  3055. * @param $stateHashName The hash name of the state.
  3056. * @param $fixedTransitionDuration The duration of the transition (in seconds).
  3057. * @param $layer The layer where the crossfade occurs.
  3058. * @param $fixedTimeOffset The time of the state (in seconds).
  3059. * @param $normalizedTransitionTime The time of the transition (normalized).
  3060. */
  3061. public CrossFadeInFixedTime ($stateName: string, $fixedTransitionDuration: number, $layer: number, $fixedTimeOffset: number, $normalizedTransitionTime: number) : void
  3062. public CrossFadeInFixedTime ($stateHashName: number, $fixedTransitionDuration: number, $layer: number, $fixedTimeOffset: number) : void
  3063. public CrossFadeInFixedTime ($stateHashName: number, $fixedTransitionDuration: number, $layer: number) : void
  3064. public CrossFadeInFixedTime ($stateHashName: number, $fixedTransitionDuration: number) : void
  3065. /** Creates a crossfade from the current state to any other state using times in seconds.
  3066. * @param $stateName The name of the state.
  3067. * @param $stateHashName The hash name of the state.
  3068. * @param $fixedTransitionDuration The duration of the transition (in seconds).
  3069. * @param $layer The layer where the crossfade occurs.
  3070. * @param $fixedTimeOffset The time of the state (in seconds).
  3071. * @param $normalizedTransitionTime The time of the transition (normalized).
  3072. */
  3073. public CrossFadeInFixedTime ($stateHashName: number, $fixedTransitionDuration: number, $layer: number, $fixedTimeOffset: number, $normalizedTransitionTime: number) : void
  3074. /** Forces a write of the default values stored in the animator.
  3075. */
  3076. public WriteDefaultValues () : void
  3077. public CrossFade ($stateName: string, $normalizedTransitionDuration: number, $layer: number, $normalizedTimeOffset: number) : void
  3078. public CrossFade ($stateName: string, $normalizedTransitionDuration: number, $layer: number) : void
  3079. public CrossFade ($stateName: string, $normalizedTransitionDuration: number) : void
  3080. /** Creates a crossfade from the current state to any other state using normalized times.
  3081. * @param $stateName The name of the state.
  3082. * @param $stateHashName The hash name of the state.
  3083. * @param $normalizedTransitionDuration The duration of the transition (normalized).
  3084. * @param $layer The layer where the crossfade occurs.
  3085. * @param $normalizedTimeOffset The time of the state (normalized).
  3086. * @param $normalizedTransitionTime The time of the transition (normalized).
  3087. */
  3088. public CrossFade ($stateName: string, $normalizedTransitionDuration: number, $layer: number, $normalizedTimeOffset: number, $normalizedTransitionTime: number) : void
  3089. /** Creates a crossfade from the current state to any other state using normalized times.
  3090. * @param $stateName The name of the state.
  3091. * @param $stateHashName The hash name of the state.
  3092. * @param $normalizedTransitionDuration The duration of the transition (normalized).
  3093. * @param $layer The layer where the crossfade occurs.
  3094. * @param $normalizedTimeOffset The time of the state (normalized).
  3095. * @param $normalizedTransitionTime The time of the transition (normalized).
  3096. */
  3097. public CrossFade ($stateHashName: number, $normalizedTransitionDuration: number, $layer: number, $normalizedTimeOffset: number, $normalizedTransitionTime: number) : void
  3098. public CrossFade ($stateHashName: number, $normalizedTransitionDuration: number, $layer: number, $normalizedTimeOffset: number) : void
  3099. public CrossFade ($stateHashName: number, $normalizedTransitionDuration: number, $layer: number) : void
  3100. public CrossFade ($stateHashName: number, $normalizedTransitionDuration: number) : void
  3101. public PlayInFixedTime ($stateName: string, $layer: number) : void
  3102. public PlayInFixedTime ($stateName: string) : void
  3103. /** Plays a state.
  3104. * @param $stateName The state name.
  3105. * @param $stateNameHash The state hash name. If stateNameHash is 0, it changes the current state time.
  3106. * @param $layer The layer index. If layer is -1, it plays the first state with the given state name or hash.
  3107. * @param $fixedTime The time offset (in seconds).
  3108. */
  3109. public PlayInFixedTime ($stateName: string, $layer: number, $fixedTime: number) : void
  3110. /** Plays a state.
  3111. * @param $stateName The state name.
  3112. * @param $stateNameHash The state hash name. If stateNameHash is 0, it changes the current state time.
  3113. * @param $layer The layer index. If layer is -1, it plays the first state with the given state name or hash.
  3114. * @param $fixedTime The time offset (in seconds).
  3115. */
  3116. public PlayInFixedTime ($stateNameHash: number, $layer: number, $fixedTime: number) : void
  3117. public PlayInFixedTime ($stateNameHash: number, $layer: number) : void
  3118. public PlayInFixedTime ($stateNameHash: number) : void
  3119. public Play ($stateName: string, $layer: number) : void
  3120. public Play ($stateName: string) : void
  3121. /** Plays a state.
  3122. * @param $stateName The state name.
  3123. * @param $stateNameHash The state hash name. If stateNameHash is 0, it changes the current state time.
  3124. * @param $layer The layer index. If layer is -1, it plays the first state with the given state name or hash.
  3125. * @param $normalizedTime The time offset between zero and one.
  3126. */
  3127. public Play ($stateName: string, $layer: number, $normalizedTime: number) : void
  3128. /** Plays a state.
  3129. * @param $stateName The state name.
  3130. * @param $stateNameHash The state hash name. If stateNameHash is 0, it changes the current state time.
  3131. * @param $layer The layer index. If layer is -1, it plays the first state with the given state name or hash.
  3132. * @param $normalizedTime The time offset between zero and one.
  3133. */
  3134. public Play ($stateNameHash: number, $layer: number, $normalizedTime: number) : void
  3135. public Play ($stateNameHash: number, $layer: number) : void
  3136. public Play ($stateNameHash: number) : void
  3137. /** Sets an AvatarTarget and a targetNormalizedTime for the current state.
  3138. * @param $targetIndex The avatar body part that is queried.
  3139. * @param $targetNormalizedTime The current state Time that is queried.
  3140. */
  3141. public SetTarget ($targetIndex: UnityEngine.AvatarTarget, $targetNormalizedTime: number) : void
  3142. /** Retrieves the Transform mapped to a human bone based on its id.
  3143. * @param $humanBoneId The human bone to be queried. See the HumanBodyBones enum for a list of possible values.
  3144. * @returns Returns the Transform mapped to the human bone. Returns null if the human bone has no Transform.
  3145. */
  3146. public GetBoneTransform ($humanBoneId: UnityEngine.HumanBodyBones) : UnityEngine.Transform
  3147. /** Sets the animator in playback mode.
  3148. */
  3149. public StartPlayback () : void
  3150. /** Stops the animator playback mode. When playback stops, the avatar resumes getting control from game logic.
  3151. */
  3152. public StopPlayback () : void
  3153. /** Sets the animator in recording mode, and allocates a circular buffer of size frameCount.
  3154. * @param $frameCount The number of frames (updates) that will be recorded. If frameCount is 0, the recording will continue until the user calls StopRecording. The maximum value for frameCount is 10000.
  3155. */
  3156. public StartRecording ($frameCount: number) : void
  3157. /** Stops animator record mode.
  3158. */
  3159. public StopRecording () : void
  3160. /** Returns true if the state exists in this layer, false otherwise.
  3161. * @param $layerIndex The layer index.
  3162. * @param $stateID The state ID.
  3163. * @returns True if the state exists in this layer, false otherwise.
  3164. */
  3165. public HasState ($layerIndex: number, $stateID: number) : boolean
  3166. /** Generates an parameter id from a string.
  3167. * @param $name The string to convert to Id.
  3168. */
  3169. public static StringToHash ($name: string) : number
  3170. /** Evaluates the animator based on deltaTime.
  3171. * @param $deltaTime The time delta.
  3172. */
  3173. public Update ($deltaTime: number) : void
  3174. /** Rebind all the animated properties and mesh data with the Animator.
  3175. */
  3176. public Rebind () : void
  3177. /** Apply the default Root Motion.
  3178. */
  3179. public ApplyBuiltinRootMotion () : void
  3180. public constructor ()
  3181. }
  3182. /** Information about what animation clips is played and its weight.
  3183. */
  3184. class AnimationInfo extends System.ValueType
  3185. {
  3186. protected [__keep_incompatibility]: never;
  3187. }
  3188. /** The update mode of the Animator.
  3189. */
  3190. enum AnimatorUpdateMode
  3191. { Normal = 0, AnimatePhysics = 1, UnscaledTime = 2 }
  3192. /** IK Goal.
  3193. */
  3194. enum AvatarIKGoal
  3195. { LeftFoot = 0, RightFoot = 1, LeftHand = 2, RightHand = 3 }
  3196. /** IK Hint.
  3197. */
  3198. enum AvatarIKHint
  3199. { LeftKnee = 0, RightKnee = 1, LeftElbow = 2, RightElbow = 3 }
  3200. /** Human Body Bones.
  3201. */
  3202. enum HumanBodyBones
  3203. { 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 }
  3204. /** A class you can derive from if you want to create objects that live independently of GameObjects.
  3205. */
  3206. class ScriptableObject extends UnityEngine.Object
  3207. {
  3208. protected [__keep_incompatibility]: never;
  3209. /** Creates an instance of a scriptable object.
  3210. * @param $className The type of the ScriptableObject to create, as the name of the type.
  3211. * @param $type The type of the ScriptableObject to create, as a System.Type instance.
  3212. * @returns The created ScriptableObject.
  3213. */
  3214. public static CreateInstance ($className: string) : UnityEngine.ScriptableObject
  3215. /** Creates an instance of a scriptable object.
  3216. * @param $className The type of the ScriptableObject to create, as the name of the type.
  3217. * @param $type The type of the ScriptableObject to create, as a System.Type instance.
  3218. * @returns The created ScriptableObject.
  3219. */
  3220. public static CreateInstance ($type: System.Type) : UnityEngine.ScriptableObject
  3221. public constructor ()
  3222. }
  3223. /** StateMachineBehaviour is a component that can be added to a state machine state. It's the base class every script on a state derives from.
  3224. */
  3225. class StateMachineBehaviour extends UnityEngine.ScriptableObject
  3226. {
  3227. protected [__keep_incompatibility]: never;
  3228. }
  3229. /** Information about the current or next state.
  3230. */
  3231. class AnimatorStateInfo extends System.ValueType
  3232. {
  3233. protected [__keep_incompatibility]: never;
  3234. }
  3235. /** Information about the current transition.
  3236. */
  3237. class AnimatorTransitionInfo extends System.ValueType
  3238. {
  3239. protected [__keep_incompatibility]: never;
  3240. }
  3241. /** Information about clip being played and blended by the Animator.
  3242. */
  3243. class AnimatorClipInfo extends System.ValueType
  3244. {
  3245. protected [__keep_incompatibility]: never;
  3246. }
  3247. /** Used to communicate between scripting and the controller. Some parameters can be set in scripting and used by the controller, while other parameters are based on Custom Curves in Animation Clips and can be sampled using the scripting API.
  3248. */
  3249. class AnimatorControllerParameter extends System.Object
  3250. {
  3251. protected [__keep_incompatibility]: never;
  3252. }
  3253. /** Target.
  3254. */
  3255. enum AvatarTarget
  3256. { Root = 0, Body = 1, LeftFoot = 2, RightFoot = 3, LeftHand = 4, RightHand = 5 }
  3257. /** Use this struct to specify the position and rotation weight mask for Animator.MatchTarget.
  3258. */
  3259. class MatchTargetWeightMask extends System.ValueType
  3260. {
  3261. protected [__keep_incompatibility]: never;
  3262. }
  3263. /** Culling mode for the Animator.
  3264. */
  3265. enum AnimatorCullingMode
  3266. { AlwaysAnimate = 0, CullUpdateTransforms = 1, CullCompletely = 2, BasedOnRenderers = 1 }
  3267. /** The mode of the Animator's recorder.
  3268. */
  3269. enum AnimatorRecorderMode
  3270. { Offline = 0, Playback = 1, Record = 2 }
  3271. /** The runtime representation of the AnimatorController. Use this representation to change the Animator Controller during runtime.
  3272. */
  3273. class RuntimeAnimatorController extends UnityEngine.Object
  3274. {
  3275. protected [__keep_incompatibility]: never;
  3276. }
  3277. /** Avatar definition.
  3278. */
  3279. class Avatar extends UnityEngine.Object
  3280. {
  3281. protected [__keep_incompatibility]: never;
  3282. }
  3283. /** AssetBundles let you stream additional assets via the UnityWebRequest class and instantiate them at runtime.
  3284. */
  3285. class AssetBundle extends UnityEngine.Object
  3286. {
  3287. protected [__keep_incompatibility]: never;
  3288. /** Return true if the AssetBundle is a streamed Scene AssetBundle.
  3289. */
  3290. public get isStreamedSceneAssetBundle(): boolean;
  3291. /** Controls the size of the shared AssetBundle loading cache. Default value is 1MB.
  3292. */
  3293. public static get memoryBudgetKB(): number;
  3294. public static set memoryBudgetKB(value: number);
  3295. /** Unloads all currently loaded AssetBundles.
  3296. * @param $unloadAllObjects Determines whether the current instances of objects loaded from AssetBundles will also be unloaded.
  3297. */
  3298. public static UnloadAllAssetBundles ($unloadAllObjects: boolean) : void
  3299. /** To use when you need to get a list of all the currently loaded Asset Bundles.
  3300. * @returns Returns IEnumerable<AssetBundle> of all currently loaded Asset Bundles.
  3301. */
  3302. public static GetAllLoadedAssetBundles () : System.Collections.Generic.IEnumerable$1<UnityEngine.AssetBundle>
  3303. public static LoadFromFileAsync ($path: string) : UnityEngine.AssetBundleCreateRequest
  3304. public static LoadFromFileAsync ($path: string, $crc: number) : UnityEngine.AssetBundleCreateRequest
  3305. /** Asynchronously loads an AssetBundle from a file on disk.
  3306. * @param $path Path of the file on disk.
  3307. * @param $crc An optional CRC-32 checksum of the uncompressed content. If this is non-zero, then the content will be compared against the checksum before loading it, and give an error if it does not match.
  3308. * @param $offset An optional byte offset. This value specifies where to start reading the AssetBundle from.
  3309. * @returns Asynchronous create request for an AssetBundle. Use AssetBundleCreateRequest.assetBundle property to get an AssetBundle once it is loaded.
  3310. */
  3311. public static LoadFromFileAsync ($path: string, $crc: number, $offset: bigint) : UnityEngine.AssetBundleCreateRequest
  3312. public static LoadFromFile ($path: string) : UnityEngine.AssetBundle
  3313. public static LoadFromFile ($path: string, $crc: number) : UnityEngine.AssetBundle
  3314. /** Synchronously loads an AssetBundle from a file on disk.
  3315. * @param $path Path of the file on disk.
  3316. * @param $crc An optional CRC-32 checksum of the uncompressed content. If this is non-zero, then the content will be compared against the checksum before loading it, and give an error if it does not match.
  3317. * @param $offset An optional byte offset. This value specifies where to start reading the AssetBundle from.
  3318. * @returns Loaded AssetBundle object or null if failed.
  3319. */
  3320. public static LoadFromFile ($path: string, $crc: number, $offset: bigint) : UnityEngine.AssetBundle
  3321. public static LoadFromMemoryAsync ($binary: System.Array$1<number>) : UnityEngine.AssetBundleCreateRequest
  3322. /** Asynchronously create an AssetBundle from a memory region.
  3323. * @param $binary Array of bytes with the AssetBundle data.
  3324. * @param $crc An optional CRC-32 checksum of the uncompressed content. If this is non-zero, then the content will be compared against the checksum before loading it, and give an error if it does not match.
  3325. * @returns Asynchronous create request for an AssetBundle. Use AssetBundleCreateRequest.assetBundle property to get an AssetBundle once it is loaded.
  3326. */
  3327. public static LoadFromMemoryAsync ($binary: System.Array$1<number>, $crc: number) : UnityEngine.AssetBundleCreateRequest
  3328. public static LoadFromMemory ($binary: System.Array$1<number>) : UnityEngine.AssetBundle
  3329. /** Synchronously create an AssetBundle from a memory region.
  3330. * @param $binary Array of bytes with the AssetBundle data.
  3331. * @param $crc An optional CRC-32 checksum of the uncompressed content. If this is non-zero, then the content will be compared against the checksum before loading it, and give an error if it does not match.
  3332. * @returns Loaded AssetBundle object or null if failed.
  3333. */
  3334. public static LoadFromMemory ($binary: System.Array$1<number>, $crc: number) : UnityEngine.AssetBundle
  3335. /** Asynchronously loads an AssetBundle from a managed Stream.
  3336. * @param $stream The managed Stream object. Unity calls Read(), Seek() and the Length property on this object to load the AssetBundle data.
  3337. * @param $crc An optional CRC-32 checksum of the uncompressed content.
  3338. * @param $managedReadBufferSize You can use this to override the size of the read buffer Unity uses while loading data. The default size is 32KB.
  3339. * @returns Asynchronous create request for an AssetBundle. Use AssetBundleCreateRequest.assetBundle property to get an AssetBundle once it is loaded.
  3340. */
  3341. public static LoadFromStreamAsync ($stream: System.IO.Stream, $crc: number, $managedReadBufferSize: number) : UnityEngine.AssetBundleCreateRequest
  3342. public static LoadFromStreamAsync ($stream: System.IO.Stream, $crc: number) : UnityEngine.AssetBundleCreateRequest
  3343. public static LoadFromStreamAsync ($stream: System.IO.Stream) : UnityEngine.AssetBundleCreateRequest
  3344. /** Synchronously loads an AssetBundle from a managed Stream.
  3345. * @param $stream The managed Stream object. Unity calls Read(), Seek() and the Length property on this object to load the AssetBundle data.
  3346. * @param $crc An optional CRC-32 checksum of the uncompressed content.
  3347. * @param $managedReadBufferSize You can use this to override the size of the read buffer Unity uses while loading data. The default size is 32KB.
  3348. * @returns The loaded AssetBundle object or null when the object fails to load.
  3349. */
  3350. public static LoadFromStream ($stream: System.IO.Stream, $crc: number, $managedReadBufferSize: number) : UnityEngine.AssetBundle
  3351. public static LoadFromStream ($stream: System.IO.Stream, $crc: number) : UnityEngine.AssetBundle
  3352. public static LoadFromStream ($stream: System.IO.Stream) : UnityEngine.AssetBundle
  3353. /** Set the 16-bytes key for AssetBundle Decryption. Set NULL will remove the key from memory.
  3354. */
  3355. public static SetAssetBundleDecryptKey ($password: string) : void
  3356. /** Check if an AssetBundle contains a specific object.
  3357. */
  3358. public Contains ($name: string) : boolean
  3359. /** Loads asset with name of type T from the bundle.
  3360. */
  3361. public LoadAsset ($name: string) : UnityEngine.Object
  3362. /** Loads asset with name of a given type from the bundle.
  3363. */
  3364. public LoadAsset ($name: string, $type: System.Type) : UnityEngine.Object
  3365. /** Asynchronously loads asset with name of a given T from the bundle.
  3366. */
  3367. public LoadAssetAsync ($name: string) : UnityEngine.AssetBundleRequest
  3368. /** Asynchronously loads asset with name of a given type from the bundle.
  3369. */
  3370. public LoadAssetAsync ($name: string, $type: System.Type) : UnityEngine.AssetBundleRequest
  3371. /** Loads asset and sub assets with name of type T from the bundle.
  3372. */
  3373. public LoadAssetWithSubAssets ($name: string) : System.Array$1<UnityEngine.Object>
  3374. /** Loads asset and sub assets with name of a given type from the bundle.
  3375. */
  3376. public LoadAssetWithSubAssets ($name: string, $type: System.Type) : System.Array$1<UnityEngine.Object>
  3377. /** Loads asset with sub assets with name of type T from the bundle asynchronously.
  3378. */
  3379. public LoadAssetWithSubAssetsAsync ($name: string) : UnityEngine.AssetBundleRequest
  3380. /** Loads asset with sub assets with name of a given type from the bundle asynchronously.
  3381. */
  3382. public LoadAssetWithSubAssetsAsync ($name: string, $type: System.Type) : UnityEngine.AssetBundleRequest
  3383. /** Loads all assets contained in the asset bundle that inherit from type T.
  3384. */
  3385. public LoadAllAssets () : System.Array$1<UnityEngine.Object>
  3386. /** Loads all assets contained in the asset bundle that inherit from type.
  3387. */
  3388. public LoadAllAssets ($type: System.Type) : System.Array$1<UnityEngine.Object>
  3389. /** Loads all assets contained in the asset bundle that inherit from T asynchronously.
  3390. */
  3391. public LoadAllAssetsAsync () : UnityEngine.AssetBundleRequest
  3392. /** Loads all assets contained in the asset bundle that inherit from type asynchronously.
  3393. */
  3394. public LoadAllAssetsAsync ($type: System.Type) : UnityEngine.AssetBundleRequest
  3395. /** Unloads an AssetBundle freeing its data.
  3396. * @param $unloadAllLoadedObjects Determines whether the current instances of objects loaded from the AssetBundle will also be unloaded.
  3397. */
  3398. public Unload ($unloadAllLoadedObjects: boolean) : void
  3399. /** Unloads assets in the bundle.
  3400. * @returns Asynchronous unload request for an AssetBundle.
  3401. */
  3402. public UnloadAsync ($unloadAllLoadedObjects: boolean) : UnityEngine.AssetBundleUnloadOperation
  3403. /** Return all asset names in the AssetBundle.
  3404. */
  3405. public GetAllAssetNames () : System.Array$1<string>
  3406. /** Return all the Scene asset paths (paths to *.unity assets) in the AssetBundle.
  3407. */
  3408. public GetAllScenePaths () : System.Array$1<string>
  3409. /** Asynchronously recompress a downloaded/stored AssetBundle from one BuildCompression to another.
  3410. * @param $inputPath Path to the AssetBundle to recompress.
  3411. * @param $outputPath Path to the recompressed AssetBundle to be generated. Can be the same as inputPath.
  3412. * @param $method The compression method, level and blocksize to use during recompression. Only some BuildCompression types are supported (see note).
  3413. * @param $expectedCRC CRC of the AssetBundle to test against. Testing this requires additional file reading and computation. Pass in 0 to skip this check. Unity does not compute a CRC when the source and destination BuildCompression are the same, so no CRC verification takes place (see note).
  3414. * @param $priority The priority at which the recompression operation should run. This sets thread priority during the operation and does not effect the order in which operations are performed. Recompression operations run on a background worker thread.
  3415. */
  3416. public static RecompressAssetBundleAsync ($inputPath: string, $outputPath: string, $method: UnityEngine.BuildCompression, $expectedCRC?: number, $priority?: UnityEngine.ThreadPriority) : UnityEngine.AssetBundleRecompressOperation
  3417. }
  3418. /** Base class for all yield instructions.
  3419. */
  3420. class YieldInstruction extends System.Object
  3421. {
  3422. protected [__keep_incompatibility]: never;
  3423. }
  3424. /** Asynchronous operation coroutine.
  3425. */
  3426. class AsyncOperation extends UnityEngine.YieldInstruction
  3427. {
  3428. protected [__keep_incompatibility]: never;
  3429. /** Has the operation finished? (Read Only)
  3430. */
  3431. public get isDone(): boolean;
  3432. /** What's the operation's progress. (Read Only)
  3433. */
  3434. public get progress(): number;
  3435. /** Priority lets you tweak in which order async operation calls will be performed.
  3436. */
  3437. public get priority(): number;
  3438. public set priority(value: number);
  3439. /** Allow Scenes to be activated as soon as it is ready.
  3440. */
  3441. public get allowSceneActivation(): boolean;
  3442. public set allowSceneActivation(value: boolean);
  3443. public add_completed ($value: System.Action$1<UnityEngine.AsyncOperation>) : void
  3444. public remove_completed ($value: System.Action$1<UnityEngine.AsyncOperation>) : void
  3445. public constructor ()
  3446. }
  3447. /** Asynchronous create request for an AssetBundle.
  3448. */
  3449. class AssetBundleCreateRequest extends UnityEngine.AsyncOperation
  3450. {
  3451. protected [__keep_incompatibility]: never;
  3452. /** Asset object being loaded (Read Only).
  3453. */
  3454. public get assetBundle(): UnityEngine.AssetBundle;
  3455. public constructor ()
  3456. }
  3457. /** Asynchronous load request from the Resources bundle.
  3458. */
  3459. class ResourceRequest extends UnityEngine.AsyncOperation
  3460. {
  3461. protected [__keep_incompatibility]: never;
  3462. }
  3463. /** Asynchronous load request from an AssetBundle.
  3464. */
  3465. class AssetBundleRequest extends UnityEngine.ResourceRequest
  3466. {
  3467. protected [__keep_incompatibility]: never;
  3468. /** Asset object being loaded (Read Only).
  3469. */
  3470. public get asset(): UnityEngine.Object;
  3471. /** Asset objects with sub assets being loaded. (Read Only)
  3472. */
  3473. public get allAssets(): System.Array$1<UnityEngine.Object>;
  3474. public constructor ()
  3475. }
  3476. /** Async unload operation for an AssetBundle.
  3477. */
  3478. class AssetBundleUnloadOperation extends UnityEngine.AsyncOperation
  3479. {
  3480. protected [__keep_incompatibility]: never;
  3481. }
  3482. /** Asynchronous AssetBundle recompression from one compression method and level to another.
  3483. */
  3484. class AssetBundleRecompressOperation extends UnityEngine.AsyncOperation
  3485. {
  3486. protected [__keep_incompatibility]: never;
  3487. }
  3488. /** Contains information about compression methods, compression levels and block sizes that are supported by Asset Bundle compression at build time and recompression at runtime.
  3489. */
  3490. class BuildCompression extends System.ValueType
  3491. {
  3492. protected [__keep_incompatibility]: never;
  3493. }
  3494. /** Priority of a thread.
  3495. */
  3496. enum ThreadPriority
  3497. { Low = 0, BelowNormal = 1, Normal = 2, High = 4 }
  3498. /** A container for audio data.
  3499. */
  3500. class AudioClip extends UnityEngine.Object
  3501. {
  3502. protected [__keep_incompatibility]: never;
  3503. /** The length of the audio clip in seconds. (Read Only)
  3504. */
  3505. public get length(): number;
  3506. /** The length of the audio clip in samples. (Read Only)
  3507. */
  3508. public get samples(): number;
  3509. /** The number of channels in the audio clip. (Read Only)
  3510. */
  3511. public get channels(): number;
  3512. /** The sample frequency of the clip in Hertz. (Read Only)
  3513. */
  3514. public get frequency(): number;
  3515. /** The load type of the clip (read-only).
  3516. */
  3517. public get loadType(): UnityEngine.AudioClipLoadType;
  3518. /** Preloads audio data of the clip when the clip asset is loaded. When this flag is off, scripts have to call AudioClip.LoadAudioData() to load the data before the clip can be played. Properties like length, channels and format are available before the audio data has been loaded.
  3519. */
  3520. public get preloadAudioData(): boolean;
  3521. /** Returns true if this audio clip is ambisonic (read-only).
  3522. */
  3523. public get ambisonic(): boolean;
  3524. /** Corresponding to the "Load In Background" flag in the inspector, when this flag is set, the loading will happen delayed without blocking the main thread.
  3525. */
  3526. public get loadInBackground(): boolean;
  3527. /** Returns the current load state of the audio data associated with an AudioClip.
  3528. */
  3529. public get loadState(): UnityEngine.AudioDataLoadState;
  3530. /** Loads the audio data of a clip. Clips that have "Preload Audio Data" set will load the audio data automatically.
  3531. * @returns Returns true if loading succeeded.
  3532. */
  3533. public LoadAudioData () : boolean
  3534. /** Unloads the audio data associated with the clip. This works only for AudioClips that are based on actual sound file assets.
  3535. * @returns Returns false if unloading failed.
  3536. */
  3537. public UnloadAudioData () : boolean
  3538. /** Fills an array with sample data from the clip.
  3539. */
  3540. public GetData ($data: System.Array$1<number>, $offsetSamples: number) : boolean
  3541. /** Set sample data in a clip.
  3542. */
  3543. public SetData ($data: System.Array$1<number>, $offsetSamples: number) : boolean
  3544. /** Creates a user AudioClip with a name and with the given length in samples, channels and frequency.
  3545. * @param $name Name of clip.
  3546. * @param $lengthSamples Number of sample frames.
  3547. * @param $channels Number of channels per frame.
  3548. * @param $frequency Sample frequency of clip.
  3549. * @param $_3D Audio clip is played back in 3D.
  3550. * @param $stream True if clip is streamed, that is if the pcmreadercallback generates data on the fly.
  3551. * @param $pcmreadercallback This callback is invoked to generate a block of sample data. Non-streamed clips call this only once at creation time while streamed clips call this continuously.
  3552. * @param $pcmsetpositioncallback This callback is invoked whenever the clip loops or changes playback position.
  3553. * @returns A reference to the created AudioClip.
  3554. */
  3555. public static Create ($name: string, $lengthSamples: number, $channels: number, $frequency: number, $stream: boolean) : UnityEngine.AudioClip
  3556. public static Create ($name: string, $lengthSamples: number, $channels: number, $frequency: number, $stream: boolean, $pcmreadercallback: UnityEngine.AudioClip.PCMReaderCallback) : UnityEngine.AudioClip
  3557. public static Create ($name: string, $lengthSamples: number, $channels: number, $frequency: number, $stream: boolean, $pcmreadercallback: UnityEngine.AudioClip.PCMReaderCallback, $pcmsetpositioncallback: UnityEngine.AudioClip.PCMSetPositionCallback) : UnityEngine.AudioClip
  3558. }
  3559. /** Determines how the audio clip is loaded in.
  3560. */
  3561. enum AudioClipLoadType
  3562. { DecompressOnLoad = 0, CompressedInMemory = 1, Streaming = 2 }
  3563. /** Value describing the current load state of the audio data associated with an AudioClip.
  3564. */
  3565. enum AudioDataLoadState
  3566. { Unloaded = 0, Loading = 1, Loaded = 2, Failed = 3 }
  3567. class AudioBehaviour extends UnityEngine.Behaviour
  3568. {
  3569. protected [__keep_incompatibility]: never;
  3570. }
  3571. /** Representation of a listener in 3D space.
  3572. */
  3573. class AudioListener extends UnityEngine.AudioBehaviour
  3574. {
  3575. protected [__keep_incompatibility]: never;
  3576. /** Controls the game sound volume (0.0 to 1.0).
  3577. */
  3578. public static get volume(): number;
  3579. public static set volume(value: number);
  3580. /** The paused state of the audio system.
  3581. */
  3582. public static get pause(): boolean;
  3583. public static set pause(value: boolean);
  3584. /** This lets you set whether the Audio Listener should be updated in the fixed or dynamic update.
  3585. */
  3586. public get velocityUpdateMode(): UnityEngine.AudioVelocityUpdateMode;
  3587. public set velocityUpdateMode(value: UnityEngine.AudioVelocityUpdateMode);
  3588. /** Provides a block of the listener (master)'s output data.
  3589. * @param $samples The array to populate with audio samples. Its length must be a power of 2.
  3590. * @param $channel The channel to sample from.
  3591. */
  3592. public static GetOutputData ($samples: System.Array$1<number>, $channel: number) : void
  3593. /** Provides a block of the listener (master)'s spectrum data.
  3594. * @param $samples The array to populate with audio samples. Its length must be a power of 2.
  3595. * @param $channel The channel to sample from.
  3596. * @param $window The FFTWindow type to use when sampling.
  3597. */
  3598. public static GetSpectrumData ($samples: System.Array$1<number>, $channel: number, $window: UnityEngine.FFTWindow) : void
  3599. public constructor ()
  3600. }
  3601. /** Describes when an AudioSource or AudioListener is updated.
  3602. */
  3603. enum AudioVelocityUpdateMode
  3604. { Auto = 0, Fixed = 1, Dynamic = 2 }
  3605. /** Spectrum analysis windowing types.
  3606. */
  3607. enum FFTWindow
  3608. { Rectangular = 0, Triangle = 1, Hamming = 2, Hanning = 3, Blackman = 4, BlackmanHarris = 5 }
  3609. /** A representation of audio sources in 3D.
  3610. */
  3611. class AudioSource extends UnityEngine.AudioBehaviour
  3612. {
  3613. protected [__keep_incompatibility]: never;
  3614. /** The volume of the audio source (0.0 to 1.0).
  3615. */
  3616. public get volume(): number;
  3617. public set volume(value: number);
  3618. /** The pitch of the audio source.
  3619. */
  3620. public get pitch(): number;
  3621. public set pitch(value: number);
  3622. /** Playback position in seconds.
  3623. */
  3624. public get time(): number;
  3625. public set time(value: number);
  3626. /** Playback position in PCM samples.
  3627. */
  3628. public get timeSamples(): number;
  3629. public set timeSamples(value: number);
  3630. /** The default AudioClip to play.
  3631. */
  3632. public get clip(): UnityEngine.AudioClip;
  3633. public set clip(value: UnityEngine.AudioClip);
  3634. /** The target group to which the AudioSource should route its signal.
  3635. */
  3636. public get outputAudioMixerGroup(): UnityEngine.Audio.AudioMixerGroup;
  3637. public set outputAudioMixerGroup(value: UnityEngine.Audio.AudioMixerGroup);
  3638. /** Gets or sets the gamepad audio output type for this audio source.
  3639. */
  3640. public get gamepadSpeakerOutputType(): UnityEngine.GamepadSpeakerOutputType;
  3641. public set gamepadSpeakerOutputType(value: UnityEngine.GamepadSpeakerOutputType);
  3642. /** Is the clip playing right now (Read Only)?
  3643. */
  3644. public get isPlaying(): boolean;
  3645. /** True if all sounds played by the AudioSource (main sound started by Play() or playOnAwake as well as one-shots) are culled by the audio system.
  3646. */
  3647. public get isVirtual(): boolean;
  3648. /** Is the audio clip looping?
  3649. */
  3650. public get loop(): boolean;
  3651. public set loop(value: boolean);
  3652. /** This makes the audio source not take into account the volume of the audio listener.
  3653. */
  3654. public get ignoreListenerVolume(): boolean;
  3655. public set ignoreListenerVolume(value: boolean);
  3656. /** If set to true, the audio source will automatically start playing on awake.
  3657. */
  3658. public get playOnAwake(): boolean;
  3659. public set playOnAwake(value: boolean);
  3660. /** Allows AudioSource to play even though AudioListener.pause is set to true. This is useful for the menu element sounds or background music in pause menus.
  3661. */
  3662. public get ignoreListenerPause(): boolean;
  3663. public set ignoreListenerPause(value: boolean);
  3664. /** Whether the Audio Source should be updated in the fixed or dynamic update.
  3665. */
  3666. public get velocityUpdateMode(): UnityEngine.AudioVelocityUpdateMode;
  3667. public set velocityUpdateMode(value: UnityEngine.AudioVelocityUpdateMode);
  3668. /** Pans a playing sound in a stereo way (left or right). This only applies to sounds that are Mono or Stereo.
  3669. */
  3670. public get panStereo(): number;
  3671. public set panStereo(value: number);
  3672. /** Sets how much this AudioSource is affected by 3D spatialisation calculations (attenuation, doppler etc). 0.0 makes the sound full 2D, 1.0 makes it full 3D.
  3673. */
  3674. public get spatialBlend(): number;
  3675. public set spatialBlend(value: number);
  3676. /** Enables or disables spatialization.
  3677. */
  3678. public get spatialize(): boolean;
  3679. public set spatialize(value: boolean);
  3680. /** Determines if the spatializer effect is inserted before or after the effect filters.
  3681. */
  3682. public get spatializePostEffects(): boolean;
  3683. public set spatializePostEffects(value: boolean);
  3684. /** The amount by which the signal from the AudioSource will be mixed into the global reverb associated with the Reverb Zones.
  3685. */
  3686. public get reverbZoneMix(): number;
  3687. public set reverbZoneMix(value: number);
  3688. /** Bypass effects (Applied from filter components or global listener filters).
  3689. */
  3690. public get bypassEffects(): boolean;
  3691. public set bypassEffects(value: boolean);
  3692. /** When set global effects on the AudioListener will not be applied to the audio signal generated by the AudioSource. Does not apply if the AudioSource is playing into a mixer group.
  3693. */
  3694. public get bypassListenerEffects(): boolean;
  3695. public set bypassListenerEffects(value: boolean);
  3696. /** When set doesn't route the signal from an AudioSource into the global reverb associated with reverb zones.
  3697. */
  3698. public get bypassReverbZones(): boolean;
  3699. public set bypassReverbZones(value: boolean);
  3700. /** Sets the Doppler scale for this AudioSource.
  3701. */
  3702. public get dopplerLevel(): number;
  3703. public set dopplerLevel(value: number);
  3704. /** Sets the spread angle (in degrees) of a 3d stereo or multichannel sound in speaker space.
  3705. */
  3706. public get spread(): number;
  3707. public set spread(value: number);
  3708. /** Sets the priority of the AudioSource.
  3709. */
  3710. public get priority(): number;
  3711. public set priority(value: number);
  3712. /** Un- / Mutes the AudioSource. Mute sets the volume=0, Un-Mute restore the original volume.
  3713. */
  3714. public get mute(): boolean;
  3715. public set mute(value: boolean);
  3716. /** Within the Min distance the AudioSource will cease to grow louder in volume.
  3717. */
  3718. public get minDistance(): number;
  3719. public set minDistance(value: number);
  3720. /** (Logarithmic rolloff) MaxDistance is the distance a sound stops attenuating at.
  3721. */
  3722. public get maxDistance(): number;
  3723. public set maxDistance(value: number);
  3724. /** Sets/Gets how the AudioSource attenuates over distance.
  3725. */
  3726. public get rolloffMode(): UnityEngine.AudioRolloffMode;
  3727. public set rolloffMode(value: UnityEngine.AudioRolloffMode);
  3728. /** Enable playing of audio source though a specfic gamepad.
  3729. * @param $slot Slot number of the gamepad (0-3).
  3730. * @returns Returns TRUE if enabling audio output through this users controller was successful.
  3731. */
  3732. public PlayOnGamepad ($slot: number) : boolean
  3733. /** Disables audio output to a gamepad for this audio source.
  3734. * @returns Returns true if successful.
  3735. */
  3736. public DisableGamepadOutput () : boolean
  3737. public SetGamepadSpeakerMixLevel ($slot: number, $mixLevel: number) : boolean
  3738. public SetGamepadSpeakerMixLevelDefault ($slot: number) : boolean
  3739. public SetGamepadSpeakerRestrictedAudio ($slot: number, $restricted: boolean) : boolean
  3740. /** Check if the platform supports an audio output type on gamepads.
  3741. * @param $outputType The desired output type.
  3742. * @returns Returns true if the gamepad supports the specified audio output type.
  3743. */
  3744. public static GamepadSpeakerSupportsOutputType ($outputType: UnityEngine.GamepadSpeakerOutputType) : boolean
  3745. public Play () : void
  3746. /** Plays the clip.
  3747. * @param $delay Deprecated. Delay in number of samples, assuming a 44100Hz sample rate (meaning that Play(44100) will delay the playing by exactly 1 sec).
  3748. */
  3749. public Play ($delay: bigint) : void
  3750. /** Plays the clip with a delay specified in seconds. Users are advised to use this function instead of the old Play(delay) function that took a delay specified in samples relative to a reference rate of 44.1 kHz as an argument.
  3751. * @param $delay Delay time specified in seconds.
  3752. */
  3753. public PlayDelayed ($delay: number) : void
  3754. /** Plays the clip at a specific time on the absolute time-line that AudioSettings.dspTime reads from.
  3755. * @param $time Time in seconds on the absolute time-line that AudioSettings.dspTime refers to for when the sound should start playing.
  3756. */
  3757. public PlayScheduled ($time: number) : void
  3758. /** Plays an AudioClip, and scales the AudioSource volume by volumeScale.
  3759. * @param $clip The clip being played.
  3760. * @param $volumeScale The scale of the volume (0-1).
  3761. */
  3762. public PlayOneShot ($clip: UnityEngine.AudioClip) : void
  3763. /** Plays an AudioClip, and scales the AudioSource volume by volumeScale.
  3764. * @param $clip The clip being played.
  3765. * @param $volumeScale The scale of the volume (0-1).
  3766. */
  3767. public PlayOneShot ($clip: UnityEngine.AudioClip, $volumeScale: number) : void
  3768. /** Changes the time at which a sound that has already been scheduled to play will start.
  3769. * @param $time Time in seconds.
  3770. */
  3771. public SetScheduledStartTime ($time: number) : void
  3772. /** Changes the time at which a sound that has already been scheduled to play will end. Notice that depending on the timing not all rescheduling requests can be fulfilled.
  3773. * @param $time Time in seconds.
  3774. */
  3775. public SetScheduledEndTime ($time: number) : void
  3776. /** Stops playing the clip.
  3777. */
  3778. public Stop () : void
  3779. /** Pauses playing the clip.
  3780. */
  3781. public Pause () : void
  3782. /** Unpause the paused playback of this AudioSource.
  3783. */
  3784. public UnPause () : void
  3785. /** Plays an AudioClip at a given position in world space.
  3786. * @param $clip Audio data to play.
  3787. * @param $position Position in world space from which sound originates.
  3788. * @param $volume Playback volume.
  3789. */
  3790. public static PlayClipAtPoint ($clip: UnityEngine.AudioClip, $position: UnityEngine.Vector3) : void
  3791. /** Plays an AudioClip at a given position in world space.
  3792. * @param $clip Audio data to play.
  3793. * @param $position Position in world space from which sound originates.
  3794. * @param $volume Playback volume.
  3795. */
  3796. public static PlayClipAtPoint ($clip: UnityEngine.AudioClip, $position: UnityEngine.Vector3, $volume: number) : void
  3797. /** Set the custom curve for the given AudioSourceCurveType.
  3798. * @param $type The curve type that should be set.
  3799. * @param $curve The curve that should be applied to the given curve type.
  3800. */
  3801. public SetCustomCurve ($type: UnityEngine.AudioSourceCurveType, $curve: UnityEngine.AnimationCurve) : void
  3802. /** Get the current custom curve for the given AudioSourceCurveType.
  3803. * @param $type The curve type to get.
  3804. * @returns The custom AnimationCurve corresponding to the given curve type.
  3805. */
  3806. public GetCustomCurve ($type: UnityEngine.AudioSourceCurveType) : UnityEngine.AnimationCurve
  3807. /** Provides a block of the currently playing source's output data.
  3808. * @param $samples The array to populate with audio samples. Its length must be a power of 2.
  3809. * @param $channel The channel to sample from.
  3810. */
  3811. public GetOutputData ($samples: System.Array$1<number>, $channel: number) : void
  3812. /** Provides a block of the currently playing audio source's spectrum data.
  3813. * @param $samples The array to populate with audio samples. Its length must be a power of 2.
  3814. * @param $channel The channel to sample from.
  3815. * @param $window The FFTWindow type to use when sampling.
  3816. */
  3817. public GetSpectrumData ($samples: System.Array$1<number>, $channel: number, $window: UnityEngine.FFTWindow) : void
  3818. /** Sets a user-defined parameter of a custom spatializer effect that is attached to an AudioSource.
  3819. * @param $index Zero-based index of user-defined parameter to be set.
  3820. * @param $value New value of the user-defined parameter.
  3821. * @returns True, if the parameter could be set.
  3822. */
  3823. public SetSpatializerFloat ($index: number, $value: number) : boolean
  3824. /** Reads a user-defined parameter of a custom spatializer effect that is attached to an AudioSource.
  3825. * @param $index Zero-based index of user-defined parameter to be read.
  3826. * @param $value Return value of the user-defined parameter that is read.
  3827. * @returns True, if the parameter could be read.
  3828. */
  3829. public GetSpatializerFloat ($index: number, $value: $Ref<number>) : boolean
  3830. /** Reads a user-defined parameter of a custom ambisonic decoder effect that is attached to an AudioSource.
  3831. * @param $index Zero-based index of user-defined parameter to be read.
  3832. * @param $value Return value of the user-defined parameter that is read.
  3833. * @returns True, if the parameter could be read.
  3834. */
  3835. public GetAmbisonicDecoderFloat ($index: number, $value: $Ref<number>) : boolean
  3836. /** Sets a user-defined parameter of a custom ambisonic decoder effect that is attached to an AudioSource.
  3837. * @param $index Zero-based index of user-defined parameter to be set.
  3838. * @param $value New value of the user-defined parameter.
  3839. * @returns True, if the parameter could be set.
  3840. */
  3841. public SetAmbisonicDecoderFloat ($index: number, $value: number) : boolean
  3842. public constructor ()
  3843. }
  3844. /** Gamepad audio output types.
  3845. */
  3846. enum GamepadSpeakerOutputType
  3847. { Speaker = 0, Vibration = 1, SecondaryVibration = 2 }
  3848. /** This defines the curve type of the different custom curves that can be queried and set within the AudioSource.
  3849. */
  3850. enum AudioSourceCurveType
  3851. { CustomRolloff = 0, SpatialBlend = 1, ReverbZoneMix = 2, Spread = 3 }
  3852. /** Store a collection of Keyframes that can be evaluated over time.
  3853. */
  3854. class AnimationCurve extends System.Object implements System.IEquatable$1<UnityEngine.AnimationCurve>
  3855. {
  3856. protected [__keep_incompatibility]: never;
  3857. }
  3858. /** Rolloff modes that a 3D sound can have in an audio source.
  3859. */
  3860. enum AudioRolloffMode
  3861. { Logarithmic = 0, Linear = 1, Custom = 2 }
  3862. /** Base class for Texture handling.
  3863. */
  3864. class Texture extends UnityEngine.Object
  3865. {
  3866. protected [__keep_incompatibility]: never;
  3867. /** Can be used with Texture constructors that take a mip count to indicate that all mips should be generated. The value of this field is -1.
  3868. */
  3869. public static GenerateAllMips : number
  3870. /** How many mipmap levels are in this Texture (Read Only).
  3871. */
  3872. public get mipmapCount(): number;
  3873. public static get anisotropicFiltering(): UnityEngine.AnisotropicFiltering;
  3874. public static set anisotropicFiltering(value: UnityEngine.AnisotropicFiltering);
  3875. /** Returns the GraphicsFormat format or color format of a Texture object.
  3876. */
  3877. public get graphicsFormat(): UnityEngine.Experimental.Rendering.GraphicsFormat;
  3878. /** Width of the Texture in pixels (Read Only).
  3879. */
  3880. public get width(): number;
  3881. public set width(value: number);
  3882. /** Height of the Texture in pixels (Read Only).
  3883. */
  3884. public get height(): number;
  3885. public set height(value: number);
  3886. /** Dimensionality (type) of the Texture (Read Only).
  3887. */
  3888. public get dimension(): UnityEngine.Rendering.TextureDimension;
  3889. public set dimension(value: UnityEngine.Rendering.TextureDimension);
  3890. /** Whether Unity stores an additional copy of this texture's pixel data in CPU-addressable memory.
  3891. */
  3892. public get isReadable(): boolean;
  3893. /** Texture coordinate wrapping mode.
  3894. */
  3895. public get wrapMode(): UnityEngine.TextureWrapMode;
  3896. public set wrapMode(value: UnityEngine.TextureWrapMode);
  3897. /** Texture U coordinate wrapping mode.
  3898. */
  3899. public get wrapModeU(): UnityEngine.TextureWrapMode;
  3900. public set wrapModeU(value: UnityEngine.TextureWrapMode);
  3901. /** Texture V coordinate wrapping mode.
  3902. */
  3903. public get wrapModeV(): UnityEngine.TextureWrapMode;
  3904. public set wrapModeV(value: UnityEngine.TextureWrapMode);
  3905. /** Texture W coordinate wrapping mode for Texture3D.
  3906. */
  3907. public get wrapModeW(): UnityEngine.TextureWrapMode;
  3908. public set wrapModeW(value: UnityEngine.TextureWrapMode);
  3909. /** Filtering mode of the Texture.
  3910. */
  3911. public get filterMode(): UnityEngine.FilterMode;
  3912. public set filterMode(value: UnityEngine.FilterMode);
  3913. /** Defines the anisotropic filtering level of the Texture.
  3914. */
  3915. public get anisoLevel(): number;
  3916. public set anisoLevel(value: number);
  3917. /** The mipmap bias of the Texture.
  3918. */
  3919. public get mipMapBias(): number;
  3920. public set mipMapBias(value: number);
  3921. public get texelSize(): UnityEngine.Vector2;
  3922. /** This counter is incremented when the Texture is updated.
  3923. */
  3924. public get updateCount(): number;
  3925. /** Returns true if the texture pixel data is in sRGB color space (Read Only).
  3926. */
  3927. public get isDataSRGB(): boolean;
  3928. /** The hash value of the Texture.
  3929. */
  3930. public get imageContentsHash(): UnityEngine.Hash128;
  3931. public set imageContentsHash(value: UnityEngine.Hash128);
  3932. /** The total amount of Texture memory that Unity would use if it loads all Textures at mipmap level 0.
  3933. This is a theoretical value that does not take into account any input from the streaming system or any other input, for example when you set the`Texture2D.requestedMipmapLevel` manually.
  3934. To see a Texture memory value that takes inputs into account, use `desiredTextureMemory`.
  3935. `totalTextureMemory` only includes instances of Texture2D and CubeMap Textures. This value does not include any other Texture types, or 2D and CubeMap Textures that Unity creates internally.
  3936. */
  3937. public static get totalTextureMemory(): bigint;
  3938. /** The total size of the Textures, in bytes, that Unity loads if there were no other constraints. Before Unity loads any Textures, it applies the which reduces the loaded Texture resolution if the Texture sizes exceed its value. The desiredTextureMemory value takes into account the mipmap levels that Unity has requested or that you have set manually.
  3939. For example, if Unity does not load a Texture at full resolution because it is far away or its requested mipmap level is greater than 0, Unity reduces the desiredTextureMemory value to match the total memory needed.
  3940. The desiredTextureMemory value can be greater than the Texture.targetTextureMemory value.
  3941. */
  3942. public static get desiredTextureMemory(): bigint;
  3943. /** The total amount of Texture memory that Unity allocates to the Textures in the scene after it applies the and finishes loading Textures. `targetTextureMemory`also takes mipmap streaming settings into account. This value only includes instances of Texture2D and CubeMap Textures. This value does not include any other Texture types, or 2D and CubeMap Textures that Unity creates internally.
  3944. */
  3945. public static get targetTextureMemory(): bigint;
  3946. /** The amount of memory that all Textures in the scene use.
  3947. */
  3948. public static get currentTextureMemory(): bigint;
  3949. /** The amount of memory Unity allocates for non-streaming Textures in the scene. This only includes instances of Texture2D and CubeMap Textures. This does not include any other Texture types, or 2D and CubeMap Textures that Unity creates internally.
  3950. */
  3951. public static get nonStreamingTextureMemory(): bigint;
  3952. /** How many times has a Texture been uploaded due to Texture mipmap streaming.
  3953. */
  3954. public static get streamingMipmapUploadCount(): bigint;
  3955. /** Number of renderers registered with the Texture streaming system.
  3956. */
  3957. public static get streamingRendererCount(): bigint;
  3958. /** Number of streaming Textures.
  3959. */
  3960. public static get streamingTextureCount(): bigint;
  3961. /** The number of non-streaming Textures in the scene. This includes instances of Texture2D and CubeMap Textures. This does not include any other Texture types, or 2D and CubeMap Textures that Unity creates internally.
  3962. */
  3963. public static get nonStreamingTextureCount(): bigint;
  3964. /** Number of streaming Textures with outstanding mipmaps to be loaded.
  3965. */
  3966. public static get streamingTexturePendingLoadCount(): bigint;
  3967. /** Number of streaming Textures with mipmaps currently loading.
  3968. */
  3969. public static get streamingTextureLoadingCount(): bigint;
  3970. /** Force streaming Textures to load all mipmap levels.
  3971. */
  3972. public static get streamingTextureForceLoadAll(): boolean;
  3973. public static set streamingTextureForceLoadAll(value: boolean);
  3974. /** This property forces the streaming Texture system to discard all unused mipmaps instead of caching them until the Texture is exceeded. This is useful when you profile or write tests to keep a predictable set of Textures in memory.
  3975. */
  3976. public static get streamingTextureDiscardUnusedMips(): boolean;
  3977. public static set streamingTextureDiscardUnusedMips(value: boolean);
  3978. /** Allow Unity internals to perform Texture creation on any thread (rather than the dedicated render thread).
  3979. */
  3980. public static get allowThreadedTextureCreation(): boolean;
  3981. public static set allowThreadedTextureCreation(value: boolean);
  3982. /** Sets Anisotropic limits.
  3983. */
  3984. public static SetGlobalAnisotropicFilteringLimits ($forcedMin: number, $globalMax: number) : void
  3985. /** Retrieve a native (underlying graphics API) pointer to the Texture resource.
  3986. * @returns Pointer to an underlying graphics API Texture resource.
  3987. */
  3988. public GetNativeTexturePtr () : System.IntPtr
  3989. /** Increment the update counter.
  3990. */
  3991. public IncrementUpdateCount () : void
  3992. /** This function sets mipmap streaming debug properties on any materials that use this Texture through the mipmap streaming system.
  3993. */
  3994. public static SetStreamingTextureMaterialDebugProperties () : void
  3995. }
  3996. /** Anisotropic filtering mode.
  3997. */
  3998. enum AnisotropicFiltering
  3999. { Disable = 0, Enable = 1, ForceEnable = 2 }
  4000. /** Wrap mode for textures.
  4001. */
  4002. enum TextureWrapMode
  4003. { Repeat = 0, Clamp = 1, Mirror = 2, MirrorOnce = 3 }
  4004. /** Filtering mode for textures. Corresponds to the settings in a.
  4005. */
  4006. enum FilterMode
  4007. { Point = 0, Bilinear = 1, Trilinear = 2 }
  4008. /** Representation of 2D vectors and points.
  4009. */
  4010. class Vector2 extends System.ValueType implements System.IEquatable$1<UnityEngine.Vector2>, System.IFormattable
  4011. {
  4012. protected [__keep_incompatibility]: never;
  4013. /** X component of the vector.
  4014. */
  4015. public x : number
  4016. /** Y component of the vector.
  4017. */
  4018. public y : number
  4019. public static kEpsilon : number
  4020. public static kEpsilonNormalSqrt : number
  4021. /** Returns this vector with a magnitude of 1 (Read Only).
  4022. */
  4023. public get normalized(): UnityEngine.Vector2;
  4024. /** Returns the length of this vector (Read Only).
  4025. */
  4026. public get magnitude(): number;
  4027. /** Returns the squared length of this vector (Read Only).
  4028. */
  4029. public get sqrMagnitude(): number;
  4030. /** Shorthand for writing Vector2(0, 0).
  4031. */
  4032. public static get zero(): UnityEngine.Vector2;
  4033. /** Shorthand for writing Vector2(1, 1).
  4034. */
  4035. public static get one(): UnityEngine.Vector2;
  4036. /** Shorthand for writing Vector2(0, 1).
  4037. */
  4038. public static get up(): UnityEngine.Vector2;
  4039. /** Shorthand for writing Vector2(0, -1).
  4040. */
  4041. public static get down(): UnityEngine.Vector2;
  4042. /** Shorthand for writing Vector2(-1, 0).
  4043. */
  4044. public static get left(): UnityEngine.Vector2;
  4045. /** Shorthand for writing Vector2(1, 0).
  4046. */
  4047. public static get right(): UnityEngine.Vector2;
  4048. /** Shorthand for writing Vector2(float.PositiveInfinity, float.PositiveInfinity).
  4049. */
  4050. public static get positiveInfinity(): UnityEngine.Vector2;
  4051. /** Shorthand for writing Vector2(float.NegativeInfinity, float.NegativeInfinity).
  4052. */
  4053. public static get negativeInfinity(): UnityEngine.Vector2;
  4054. public get_Item ($index: number) : number
  4055. public set_Item ($index: number, $value: number) : void
  4056. /** Set x and y components of an existing Vector2.
  4057. */
  4058. public Set ($newX: number, $newY: number) : void
  4059. /** Linearly interpolates between vectors a and b by t.
  4060. */
  4061. public static Lerp ($a: UnityEngine.Vector2, $b: UnityEngine.Vector2, $t: number) : UnityEngine.Vector2
  4062. /** Linearly interpolates between vectors a and b by t.
  4063. */
  4064. public static LerpUnclamped ($a: UnityEngine.Vector2, $b: UnityEngine.Vector2, $t: number) : UnityEngine.Vector2
  4065. /** Moves a point current towards target.
  4066. */
  4067. public static MoveTowards ($current: UnityEngine.Vector2, $target: UnityEngine.Vector2, $maxDistanceDelta: number) : UnityEngine.Vector2
  4068. /** Multiplies two vectors component-wise.
  4069. */
  4070. public static Scale ($a: UnityEngine.Vector2, $b: UnityEngine.Vector2) : UnityEngine.Vector2
  4071. /** Multiplies every component of this vector by the same component of scale.
  4072. */
  4073. public Scale ($scale: UnityEngine.Vector2) : void
  4074. /** Makes this vector have a magnitude of 1.
  4075. */
  4076. public Normalize () : void
  4077. /** Returns a formatted string for this vector.
  4078. * @param $format A numeric format string.
  4079. * @param $formatProvider An object that specifies culture-specific formatting.
  4080. */
  4081. public ToString () : string
  4082. /** Returns a formatted string for this vector.
  4083. * @param $format A numeric format string.
  4084. * @param $formatProvider An object that specifies culture-specific formatting.
  4085. */
  4086. public ToString ($format: string) : string
  4087. /** Returns a formatted string for this vector.
  4088. * @param $format A numeric format string.
  4089. * @param $formatProvider An object that specifies culture-specific formatting.
  4090. */
  4091. public ToString ($format: string, $formatProvider: System.IFormatProvider) : string
  4092. /** Returns true if the given vector is exactly equal to this vector.
  4093. */
  4094. public Equals ($other: any) : boolean
  4095. public Equals ($other: UnityEngine.Vector2) : boolean
  4096. /** Reflects a vector off the vector defined by a normal.
  4097. */
  4098. public static Reflect ($inDirection: UnityEngine.Vector2, $inNormal: UnityEngine.Vector2) : UnityEngine.Vector2
  4099. /** Returns the 2D vector perpendicular to this 2D vector. The result is always rotated 90-degrees in a counter-clockwise direction for a 2D coordinate system where the positive Y axis goes up.
  4100. * @param $inDirection The input direction.
  4101. * @returns The perpendicular direction.
  4102. */
  4103. public static Perpendicular ($inDirection: UnityEngine.Vector2) : UnityEngine.Vector2
  4104. /** Dot Product of two vectors.
  4105. */
  4106. public static Dot ($lhs: UnityEngine.Vector2, $rhs: UnityEngine.Vector2) : number
  4107. /** Gets the unsigned angle in degrees between from and to.
  4108. * @param $from The vector from which the angular difference is measured.
  4109. * @param $to The vector to which the angular difference is measured.
  4110. * @returns The unsigned angle in degrees between the two vectors.
  4111. */
  4112. public static Angle ($from: UnityEngine.Vector2, $to: UnityEngine.Vector2) : number
  4113. /** Gets the signed angle in degrees between from and to.
  4114. * @param $from The vector from which the angular difference is measured.
  4115. * @param $to The vector to which the angular difference is measured.
  4116. * @returns The signed angle in degrees between the two vectors.
  4117. */
  4118. public static SignedAngle ($from: UnityEngine.Vector2, $to: UnityEngine.Vector2) : number
  4119. /** Returns the distance between a and b.
  4120. */
  4121. public static Distance ($a: UnityEngine.Vector2, $b: UnityEngine.Vector2) : number
  4122. /** Returns a copy of vector with its magnitude clamped to maxLength.
  4123. */
  4124. public static ClampMagnitude ($vector: UnityEngine.Vector2, $maxLength: number) : UnityEngine.Vector2
  4125. public static SqrMagnitude ($a: UnityEngine.Vector2) : number
  4126. public SqrMagnitude () : number
  4127. /** Returns a vector that is made from the smallest components of two vectors.
  4128. */
  4129. public static Min ($lhs: UnityEngine.Vector2, $rhs: UnityEngine.Vector2) : UnityEngine.Vector2
  4130. /** Returns a vector that is made from the largest components of two vectors.
  4131. */
  4132. public static Max ($lhs: UnityEngine.Vector2, $rhs: UnityEngine.Vector2) : UnityEngine.Vector2
  4133. /** Gradually changes a vector towards a desired goal over time.
  4134. * @param $current The current position.
  4135. * @param $target The position we are trying to reach.
  4136. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  4137. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  4138. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  4139. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  4140. */
  4141. public static SmoothDamp ($current: UnityEngine.Vector2, $target: UnityEngine.Vector2, $currentVelocity: $Ref<UnityEngine.Vector2>, $smoothTime: number, $maxSpeed: number) : UnityEngine.Vector2
  4142. /** Gradually changes a vector towards a desired goal over time.
  4143. * @param $current The current position.
  4144. * @param $target The position we are trying to reach.
  4145. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  4146. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  4147. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  4148. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  4149. */
  4150. public static SmoothDamp ($current: UnityEngine.Vector2, $target: UnityEngine.Vector2, $currentVelocity: $Ref<UnityEngine.Vector2>, $smoothTime: number) : UnityEngine.Vector2
  4151. /** Gradually changes a vector towards a desired goal over time.
  4152. * @param $current The current position.
  4153. * @param $target The position we are trying to reach.
  4154. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  4155. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  4156. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  4157. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  4158. */
  4159. public static SmoothDamp ($current: UnityEngine.Vector2, $target: UnityEngine.Vector2, $currentVelocity: $Ref<UnityEngine.Vector2>, $smoothTime: number, $maxSpeed: number, $deltaTime: number) : UnityEngine.Vector2
  4160. public static op_Addition ($a: UnityEngine.Vector2, $b: UnityEngine.Vector2) : UnityEngine.Vector2
  4161. public static op_Subtraction ($a: UnityEngine.Vector2, $b: UnityEngine.Vector2) : UnityEngine.Vector2
  4162. public static op_Multiply ($a: UnityEngine.Vector2, $b: UnityEngine.Vector2) : UnityEngine.Vector2
  4163. public static op_Division ($a: UnityEngine.Vector2, $b: UnityEngine.Vector2) : UnityEngine.Vector2
  4164. public static op_UnaryNegation ($a: UnityEngine.Vector2) : UnityEngine.Vector2
  4165. public static op_Multiply ($a: UnityEngine.Vector2, $d: number) : UnityEngine.Vector2
  4166. public static op_Multiply ($d: number, $a: UnityEngine.Vector2) : UnityEngine.Vector2
  4167. public static op_Division ($a: UnityEngine.Vector2, $d: number) : UnityEngine.Vector2
  4168. public static op_Equality ($lhs: UnityEngine.Vector2, $rhs: UnityEngine.Vector2) : boolean
  4169. public static op_Inequality ($lhs: UnityEngine.Vector2, $rhs: UnityEngine.Vector2) : boolean
  4170. public static op_Implicit ($v: UnityEngine.Vector3) : UnityEngine.Vector2
  4171. public static op_Implicit ($v: UnityEngine.Vector2) : UnityEngine.Vector3
  4172. public constructor ($x: number, $y: number)
  4173. public Equals ($obj: any) : boolean
  4174. public static Equals ($objA: any, $objB: any) : boolean
  4175. public constructor ()
  4176. }
  4177. /** Represents a 128-bit hash value.
  4178. */
  4179. class Hash128 extends System.ValueType implements System.IEquatable$1<UnityEngine.Hash128>, System.IComparable, System.IComparable$1<UnityEngine.Hash128>
  4180. {
  4181. protected [__keep_incompatibility]: never;
  4182. }
  4183. /** Representation of RGBA colors.
  4184. */
  4185. class Color extends System.ValueType implements System.IEquatable$1<UnityEngine.Color>, System.IFormattable
  4186. {
  4187. protected [__keep_incompatibility]: never;
  4188. /** Red component of the color.
  4189. */
  4190. public r : number
  4191. /** Green component of the color.
  4192. */
  4193. public g : number
  4194. /** Blue component of the color.
  4195. */
  4196. public b : number
  4197. /** Alpha component of the color (0 is transparent, 1 is opaque).
  4198. */
  4199. public a : number
  4200. /** Solid red. RGBA is (1, 0, 0, 1).
  4201. */
  4202. public static get red(): UnityEngine.Color;
  4203. /** Solid green. RGBA is (0, 1, 0, 1).
  4204. */
  4205. public static get green(): UnityEngine.Color;
  4206. /** Solid blue. RGBA is (0, 0, 1, 1).
  4207. */
  4208. public static get blue(): UnityEngine.Color;
  4209. /** Solid white. RGBA is (1, 1, 1, 1).
  4210. */
  4211. public static get white(): UnityEngine.Color;
  4212. /** Solid black. RGBA is (0, 0, 0, 1).
  4213. */
  4214. public static get black(): UnityEngine.Color;
  4215. /** Yellow. RGBA is (1, 0.92, 0.016, 1), but the color is nice to look at!
  4216. */
  4217. public static get yellow(): UnityEngine.Color;
  4218. /** Cyan. RGBA is (0, 1, 1, 1).
  4219. */
  4220. public static get cyan(): UnityEngine.Color;
  4221. /** Magenta. RGBA is (1, 0, 1, 1).
  4222. */
  4223. public static get magenta(): UnityEngine.Color;
  4224. /** Gray. RGBA is (0.5, 0.5, 0.5, 1).
  4225. */
  4226. public static get gray(): UnityEngine.Color;
  4227. /** English spelling for gray. RGBA is the same (0.5, 0.5, 0.5, 1).
  4228. */
  4229. public static get grey(): UnityEngine.Color;
  4230. /** Completely transparent. RGBA is (0, 0, 0, 0).
  4231. */
  4232. public static get clear(): UnityEngine.Color;
  4233. /** The grayscale value of the color. (Read Only)
  4234. */
  4235. public get grayscale(): number;
  4236. /** A linear value of an sRGB color.
  4237. */
  4238. public get linear(): UnityEngine.Color;
  4239. /** A version of the color that has had the gamma curve applied.
  4240. */
  4241. public get gamma(): UnityEngine.Color;
  4242. /** Returns the maximum color component value: Max(r,g,b).
  4243. */
  4244. public get maxColorComponent(): number;
  4245. /** Returns a formatted string of this color.
  4246. * @param $format A numeric format string.
  4247. * @param $formatProvider An object that specifies culture-specific formatting.
  4248. */
  4249. public ToString () : string
  4250. /** Returns a formatted string of this color.
  4251. * @param $format A numeric format string.
  4252. * @param $formatProvider An object that specifies culture-specific formatting.
  4253. */
  4254. public ToString ($format: string) : string
  4255. /** Returns a formatted string of this color.
  4256. * @param $format A numeric format string.
  4257. * @param $formatProvider An object that specifies culture-specific formatting.
  4258. */
  4259. public ToString ($format: string, $formatProvider: System.IFormatProvider) : string
  4260. public Equals ($other: any) : boolean
  4261. public Equals ($other: UnityEngine.Color) : boolean
  4262. public static op_Addition ($a: UnityEngine.Color, $b: UnityEngine.Color) : UnityEngine.Color
  4263. public static op_Subtraction ($a: UnityEngine.Color, $b: UnityEngine.Color) : UnityEngine.Color
  4264. public static op_Multiply ($a: UnityEngine.Color, $b: UnityEngine.Color) : UnityEngine.Color
  4265. public static op_Multiply ($a: UnityEngine.Color, $b: number) : UnityEngine.Color
  4266. public static op_Multiply ($b: number, $a: UnityEngine.Color) : UnityEngine.Color
  4267. public static op_Division ($a: UnityEngine.Color, $b: number) : UnityEngine.Color
  4268. public static op_Equality ($lhs: UnityEngine.Color, $rhs: UnityEngine.Color) : boolean
  4269. public static op_Inequality ($lhs: UnityEngine.Color, $rhs: UnityEngine.Color) : boolean
  4270. /** Linearly interpolates between colors a and b by t.
  4271. * @param $a Color a.
  4272. * @param $b Color b.
  4273. * @param $t Float for combining a and b.
  4274. */
  4275. public static Lerp ($a: UnityEngine.Color, $b: UnityEngine.Color, $t: number) : UnityEngine.Color
  4276. /** Linearly interpolates between colors a and b by t.
  4277. */
  4278. public static LerpUnclamped ($a: UnityEngine.Color, $b: UnityEngine.Color, $t: number) : UnityEngine.Color
  4279. public static op_Implicit ($c: UnityEngine.Color) : UnityEngine.Vector4
  4280. public static op_Implicit ($v: UnityEngine.Vector4) : UnityEngine.Color
  4281. public get_Item ($index: number) : number
  4282. public set_Item ($index: number, $value: number) : void
  4283. /** Calculates the hue, saturation and value of an RGB input color.
  4284. * @param $rgbColor An input color.
  4285. * @param $H Output variable for hue.
  4286. * @param $S Output variable for saturation.
  4287. * @param $V Output variable for value.
  4288. */
  4289. public static RGBToHSV ($rgbColor: UnityEngine.Color, $H: $Ref<number>, $S: $Ref<number>, $V: $Ref<number>) : void
  4290. /** Creates an RGB colour from HSV input.
  4291. * @param $H Hue [0..1].
  4292. * @param $S Saturation [0..1].
  4293. * @param $V Brightness value [0..1].
  4294. * @param $hdr Output HDR colours. If true, the returned colour will not be clamped to [0..1].
  4295. * @returns An opaque colour with HSV matching the input.
  4296. */
  4297. public static HSVToRGB ($H: number, $S: number, $V: number) : UnityEngine.Color
  4298. /** Creates an RGB colour from HSV input.
  4299. * @param $H Hue [0..1].
  4300. * @param $S Saturation [0..1].
  4301. * @param $V Brightness value [0..1].
  4302. * @param $hdr Output HDR colours. If true, the returned colour will not be clamped to [0..1].
  4303. * @returns An opaque colour with HSV matching the input.
  4304. */
  4305. public static HSVToRGB ($H: number, $S: number, $V: number, $hdr: boolean) : UnityEngine.Color
  4306. public constructor ($r: number, $g: number, $b: number, $a: number)
  4307. public constructor ($r: number, $g: number, $b: number)
  4308. public Equals ($obj: any) : boolean
  4309. public static Equals ($objA: any, $objB: any) : boolean
  4310. public constructor ()
  4311. }
  4312. /** Representation of four-dimensional vectors.
  4313. */
  4314. class Vector4 extends System.ValueType implements System.IEquatable$1<UnityEngine.Vector4>, System.IFormattable
  4315. {
  4316. protected [__keep_incompatibility]: never;
  4317. public static kEpsilon : number
  4318. /** X component of the vector.
  4319. */
  4320. public x : number
  4321. /** Y component of the vector.
  4322. */
  4323. public y : number
  4324. /** Z component of the vector.
  4325. */
  4326. public z : number
  4327. /** W component of the vector.
  4328. */
  4329. public w : number
  4330. /** Returns this vector with a magnitude of 1 (Read Only).
  4331. */
  4332. public get normalized(): UnityEngine.Vector4;
  4333. /** Returns the length of this vector (Read Only).
  4334. */
  4335. public get magnitude(): number;
  4336. /** Returns the squared length of this vector (Read Only).
  4337. */
  4338. public get sqrMagnitude(): number;
  4339. /** Shorthand for writing Vector4(0,0,0,0).
  4340. */
  4341. public static get zero(): UnityEngine.Vector4;
  4342. /** Shorthand for writing Vector4(1,1,1,1).
  4343. */
  4344. public static get one(): UnityEngine.Vector4;
  4345. /** Shorthand for writing Vector4(float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity, float.PositiveInfinity).
  4346. */
  4347. public static get positiveInfinity(): UnityEngine.Vector4;
  4348. /** Shorthand for writing Vector4(float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity, float.NegativeInfinity).
  4349. */
  4350. public static get negativeInfinity(): UnityEngine.Vector4;
  4351. public get_Item ($index: number) : number
  4352. public set_Item ($index: number, $value: number) : void
  4353. /** Set x, y, z and w components of an existing Vector4.
  4354. */
  4355. public Set ($newX: number, $newY: number, $newZ: number, $newW: number) : void
  4356. /** Linearly interpolates between two vectors.
  4357. */
  4358. public static Lerp ($a: UnityEngine.Vector4, $b: UnityEngine.Vector4, $t: number) : UnityEngine.Vector4
  4359. /** Linearly interpolates between two vectors.
  4360. */
  4361. public static LerpUnclamped ($a: UnityEngine.Vector4, $b: UnityEngine.Vector4, $t: number) : UnityEngine.Vector4
  4362. /** Moves a point current towards target.
  4363. */
  4364. public static MoveTowards ($current: UnityEngine.Vector4, $target: UnityEngine.Vector4, $maxDistanceDelta: number) : UnityEngine.Vector4
  4365. /** Multiplies two vectors component-wise.
  4366. */
  4367. public static Scale ($a: UnityEngine.Vector4, $b: UnityEngine.Vector4) : UnityEngine.Vector4
  4368. /** Multiplies every component of this vector by the same component of scale.
  4369. */
  4370. public Scale ($scale: UnityEngine.Vector4) : void
  4371. /** Returns true if the given vector is exactly equal to this vector.
  4372. */
  4373. public Equals ($other: any) : boolean
  4374. public Equals ($other: UnityEngine.Vector4) : boolean
  4375. public static Normalize ($a: UnityEngine.Vector4) : UnityEngine.Vector4
  4376. /** Makes this vector have a magnitude of 1.
  4377. */
  4378. public Normalize () : void
  4379. /** Dot Product of two vectors.
  4380. */
  4381. public static Dot ($a: UnityEngine.Vector4, $b: UnityEngine.Vector4) : number
  4382. /** Projects a vector onto another vector.
  4383. */
  4384. public static Project ($a: UnityEngine.Vector4, $b: UnityEngine.Vector4) : UnityEngine.Vector4
  4385. /** Returns the distance between a and b.
  4386. */
  4387. public static Distance ($a: UnityEngine.Vector4, $b: UnityEngine.Vector4) : number
  4388. public static Magnitude ($a: UnityEngine.Vector4) : number
  4389. /** Returns a vector that is made from the smallest components of two vectors.
  4390. */
  4391. public static Min ($lhs: UnityEngine.Vector4, $rhs: UnityEngine.Vector4) : UnityEngine.Vector4
  4392. /** Returns a vector that is made from the largest components of two vectors.
  4393. */
  4394. public static Max ($lhs: UnityEngine.Vector4, $rhs: UnityEngine.Vector4) : UnityEngine.Vector4
  4395. public static op_Addition ($a: UnityEngine.Vector4, $b: UnityEngine.Vector4) : UnityEngine.Vector4
  4396. public static op_Subtraction ($a: UnityEngine.Vector4, $b: UnityEngine.Vector4) : UnityEngine.Vector4
  4397. public static op_UnaryNegation ($a: UnityEngine.Vector4) : UnityEngine.Vector4
  4398. public static op_Multiply ($a: UnityEngine.Vector4, $d: number) : UnityEngine.Vector4
  4399. public static op_Multiply ($d: number, $a: UnityEngine.Vector4) : UnityEngine.Vector4
  4400. public static op_Division ($a: UnityEngine.Vector4, $d: number) : UnityEngine.Vector4
  4401. public static op_Equality ($lhs: UnityEngine.Vector4, $rhs: UnityEngine.Vector4) : boolean
  4402. public static op_Inequality ($lhs: UnityEngine.Vector4, $rhs: UnityEngine.Vector4) : boolean
  4403. public static op_Implicit ($v: UnityEngine.Vector3) : UnityEngine.Vector4
  4404. public static op_Implicit ($v: UnityEngine.Vector4) : UnityEngine.Vector3
  4405. public static op_Implicit ($v: UnityEngine.Vector2) : UnityEngine.Vector4
  4406. public static op_Implicit ($v: UnityEngine.Vector4) : UnityEngine.Vector2
  4407. /** Returns a formatted string for this vector.
  4408. * @param $format A numeric format string.
  4409. * @param $formatProvider An object that specifies culture-specific formatting.
  4410. */
  4411. public ToString () : string
  4412. /** Returns a formatted string for this vector.
  4413. * @param $format A numeric format string.
  4414. * @param $formatProvider An object that specifies culture-specific formatting.
  4415. */
  4416. public ToString ($format: string) : string
  4417. /** Returns a formatted string for this vector.
  4418. * @param $format A numeric format string.
  4419. * @param $formatProvider An object that specifies culture-specific formatting.
  4420. */
  4421. public ToString ($format: string, $formatProvider: System.IFormatProvider) : string
  4422. public static SqrMagnitude ($a: UnityEngine.Vector4) : number
  4423. public SqrMagnitude () : number
  4424. public constructor ($x: number, $y: number, $z: number, $w: number)
  4425. public constructor ($x: number, $y: number, $z: number)
  4426. public constructor ($x: number, $y: number)
  4427. public Equals ($obj: any) : boolean
  4428. public static Equals ($objA: any, $objB: any) : boolean
  4429. public constructor ()
  4430. }
  4431. /** Structure describing the status of a finger touching the screen.
  4432. */
  4433. class Touch extends System.ValueType
  4434. {
  4435. protected [__keep_incompatibility]: never;
  4436. /** The unique index for the touch.
  4437. */
  4438. public get fingerId(): number;
  4439. public set fingerId(value: number);
  4440. /** The position of the touch in screen space pixel coordinates.
  4441. */
  4442. public get position(): UnityEngine.Vector2;
  4443. public set position(value: UnityEngine.Vector2);
  4444. /** The first position of the touch contact in screen space pixel coordinates.
  4445. */
  4446. public get rawPosition(): UnityEngine.Vector2;
  4447. public set rawPosition(value: UnityEngine.Vector2);
  4448. /** The position delta since last change in pixel coordinates.
  4449. */
  4450. public get deltaPosition(): UnityEngine.Vector2;
  4451. public set deltaPosition(value: UnityEngine.Vector2);
  4452. /** Amount of time that has passed since the last recorded change in Touch values.
  4453. */
  4454. public get deltaTime(): number;
  4455. public set deltaTime(value: number);
  4456. /** Number of taps.
  4457. */
  4458. public get tapCount(): number;
  4459. public set tapCount(value: number);
  4460. /** Describes the phase of the touch.
  4461. */
  4462. public get phase(): UnityEngine.TouchPhase;
  4463. public set phase(value: UnityEngine.TouchPhase);
  4464. /** The current amount of pressure being applied to a touch. 1.0f is considered to be the pressure of an average touch. If Input.touchPressureSupported returns false, the value of this property will always be 1.0f.
  4465. */
  4466. public get pressure(): number;
  4467. public set pressure(value: number);
  4468. /** The maximum possible pressure value for a platform. If Input.touchPressureSupported returns false, the value of this property will always be 1.0f.
  4469. */
  4470. public get maximumPossiblePressure(): number;
  4471. public set maximumPossiblePressure(value: number);
  4472. /** A value that indicates whether a touch was of Direct, Indirect (or remote), or Stylus type.
  4473. */
  4474. public get type(): UnityEngine.TouchType;
  4475. public set type(value: UnityEngine.TouchType);
  4476. /** Value of 0 radians indicates that the stylus is parallel to the surface, pi/2 indicates that it is perpendicular.
  4477. */
  4478. public get altitudeAngle(): number;
  4479. public set altitudeAngle(value: number);
  4480. /** Value of 0 radians indicates that the stylus is pointed along the x-axis of the device.
  4481. */
  4482. public get azimuthAngle(): number;
  4483. public set azimuthAngle(value: number);
  4484. /** An estimated value of the radius of a touch. Add radiusVariance to get the maximum touch size, subtract it to get the minimum touch size.
  4485. */
  4486. public get radius(): number;
  4487. public set radius(value: number);
  4488. /** This value determines the accuracy of the touch radius. Add this value to the radius to get the maximum touch size, subtract it to get the minimum touch size.
  4489. */
  4490. public get radiusVariance(): number;
  4491. public set radiusVariance(value: number);
  4492. }
  4493. /** Describes phase of a finger touch.
  4494. */
  4495. enum TouchPhase
  4496. { Began = 0, Moved = 1, Stationary = 2, Ended = 3, Canceled = 4 }
  4497. /** Describes whether a touch is direct, indirect (or remote), or from a stylus.
  4498. */
  4499. enum TouchType
  4500. { Direct = 0, Indirect = 1, Stylus = 2 }
  4501. /** Access to application runtime data.
  4502. */
  4503. class Application extends System.Object
  4504. {
  4505. protected [__keep_incompatibility]: never;
  4506. /** Returns true when called in any kind of built Player, or when called in the Editor in Play mode (Read Only).
  4507. */
  4508. public static get isPlaying(): boolean;
  4509. /** Whether the Player currently has focus (Read-only).
  4510. */
  4511. public static get isFocused(): boolean;
  4512. /** Returns a GUID for this build (Read Only).
  4513. */
  4514. public static get buildGUID(): string;
  4515. /** Should the Player be running when the application is in the background?
  4516. */
  4517. public static get runInBackground(): boolean;
  4518. public static set runInBackground(value: boolean);
  4519. /** Returns true when Unity is launched with the -batchmode flag from the command line (Read Only).
  4520. */
  4521. public static get isBatchMode(): boolean;
  4522. /** Contains the path to the game data folder on the target device (Read Only).
  4523. */
  4524. public static get dataPath(): string;
  4525. /** The path to the StreamingAssets folder (Read Only).
  4526. */
  4527. public static get streamingAssetsPath(): string;
  4528. /** Contains the path to a persistent data directory (Read Only).
  4529. */
  4530. public static get persistentDataPath(): string;
  4531. /** Contains the path to a temporary data / cache directory (Read Only).
  4532. */
  4533. public static get temporaryCachePath(): string;
  4534. /** The URL of the document. For WebGL, this is a web URL. For Android, iOS, or Universal Windows Platform (UWP) this is a deep link URL (Read Only).
  4535. */
  4536. public static get absoluteURL(): string;
  4537. /** The version of the Unity runtime used to play the content.
  4538. */
  4539. public static get unityVersion(): string;
  4540. /** Returns application version number (Read Only).
  4541. */
  4542. public static get version(): string;
  4543. /** Returns the name of the store or package that installed the application (Read Only).
  4544. */
  4545. public static get installerName(): string;
  4546. /** Returns the application identifier at runtime.
  4547. */
  4548. public static get identifier(): string;
  4549. /** Returns application install mode (Read Only).
  4550. */
  4551. public static get installMode(): UnityEngine.ApplicationInstallMode;
  4552. /** Returns application running in sandbox (Read Only).
  4553. */
  4554. public static get sandboxType(): UnityEngine.ApplicationSandboxType;
  4555. /** Returns application product name (Read Only).
  4556. */
  4557. public static get productName(): string;
  4558. /** Returns application company name (Read Only).
  4559. */
  4560. public static get companyName(): string;
  4561. /** A unique cloud project identifier. It is unique for every project (Read Only).
  4562. */
  4563. public static get cloudProjectId(): string;
  4564. /** Specifies the frame rate at which Unity tries to render your game.
  4565. */
  4566. public static get targetFrameRate(): number;
  4567. public static set targetFrameRate(value: number);
  4568. /** Returns the path to the console log file, or an empty string if the current platform does not support log files.
  4569. */
  4570. public static get consoleLogPath(): string;
  4571. /** Priority of background loading thread.
  4572. */
  4573. public static get backgroundLoadingPriority(): UnityEngine.ThreadPriority;
  4574. public static set backgroundLoadingPriority(value: UnityEngine.ThreadPriority);
  4575. /** Returns false if application is altered in any way after it was built.
  4576. */
  4577. public static get genuine(): boolean;
  4578. /** Returns true if application integrity can be confirmed.
  4579. */
  4580. public static get genuineCheckAvailable(): boolean;
  4581. /** Returns the platform the game is running on (Read Only).
  4582. */
  4583. public static get platform(): UnityEngine.RuntimePlatform;
  4584. /** Identifies whether the current Runtime platform is a known mobile platform.
  4585. */
  4586. public static get isMobilePlatform(): boolean;
  4587. /** Is the current Runtime platform a known console platform.
  4588. */
  4589. public static get isConsolePlatform(): boolean;
  4590. /** The language the user's operating system is running in.
  4591. */
  4592. public static get systemLanguage(): UnityEngine.SystemLanguage;
  4593. /** Returns the type of internet reachability currently possible on the device.
  4594. */
  4595. public static get internetReachability(): UnityEngine.NetworkReachability;
  4596. /** Cancellation token raised on exiting Play mode (Editor) or on quitting the application (Read Only).
  4597. */
  4598. public static get exitCancellationToken(): System.Threading.CancellationToken;
  4599. /** Whether the game is running inside the Unity Editor (Read Only).
  4600. */
  4601. public static get isEditor(): boolean;
  4602. public static Quit ($exitCode: number) : void
  4603. /** Quits the player application.
  4604. * @param $exitCode An optional exit code to return when the player application terminates on Windows, Mac and Linux. Defaults to 0.
  4605. */
  4606. public static Quit () : void
  4607. /** Unloads the Unity Player.
  4608. */
  4609. public static Unload () : void
  4610. /** Checks if the streamed level can be loaded.
  4611. */
  4612. public static CanStreamedLevelBeLoaded ($levelIndex: number) : boolean
  4613. /** Checks if the streamed level can be loaded.
  4614. */
  4615. public static CanStreamedLevelBeLoaded ($levelName: string) : boolean
  4616. /** Returns true if the given object is part of the playing world either in any kind of built Player or in Play Mode.
  4617. * @param $obj The object to test.
  4618. * @returns True if the object is part of the playing world.
  4619. */
  4620. public static IsPlaying ($obj: UnityEngine.Object) : boolean
  4621. /** Is Unity activated with the Pro license?
  4622. */
  4623. public static HasProLicense () : boolean
  4624. public static RequestAdvertisingIdentifierAsync ($delegateMethod: UnityEngine.Application.AdvertisingIdentifierCallback) : boolean
  4625. /** Opens the URL specified, subject to the permissions and limitations of your app’s current platform and environment.
  4626. * @param $url The URL to open.
  4627. */
  4628. public static OpenURL ($url: string) : void
  4629. /** Get stack trace logging options. The default value is StackTraceLogType.ScriptOnly.
  4630. */
  4631. public static GetStackTraceLogType ($logType: UnityEngine.LogType) : UnityEngine.StackTraceLogType
  4632. /** Set stack trace logging options. The default value is StackTraceLogType.ScriptOnly.
  4633. */
  4634. public static SetStackTraceLogType ($logType: UnityEngine.LogType, $stackTraceType: UnityEngine.StackTraceLogType) : void
  4635. /** Request authorization to use the webcam or microphone on iOS and WebGL.
  4636. */
  4637. public static RequestUserAuthorization ($mode: UnityEngine.UserAuthorization) : UnityEngine.AsyncOperation
  4638. /** Check if the user has authorized use of the webcam or microphone on iOS and WebGL.
  4639. */
  4640. public static HasUserAuthorization ($mode: UnityEngine.UserAuthorization) : boolean
  4641. public static add_lowMemory ($value: UnityEngine.Application.LowMemoryCallback) : void
  4642. public static remove_lowMemory ($value: UnityEngine.Application.LowMemoryCallback) : void
  4643. public static add_memoryUsageChanged ($value: UnityEngine.Application.MemoryUsageChangedCallback) : void
  4644. public static remove_memoryUsageChanged ($value: UnityEngine.Application.MemoryUsageChangedCallback) : void
  4645. public static add_logMessageReceived ($value: UnityEngine.Application.LogCallback) : void
  4646. public static remove_logMessageReceived ($value: UnityEngine.Application.LogCallback) : void
  4647. public static add_logMessageReceivedThreaded ($value: UnityEngine.Application.LogCallback) : void
  4648. public static remove_logMessageReceivedThreaded ($value: UnityEngine.Application.LogCallback) : void
  4649. public static add_onBeforeRender ($value: UnityEngine.Events.UnityAction) : void
  4650. public static remove_onBeforeRender ($value: UnityEngine.Events.UnityAction) : void
  4651. public static add_focusChanged ($value: System.Action$1<boolean>) : void
  4652. public static remove_focusChanged ($value: System.Action$1<boolean>) : void
  4653. public static add_deepLinkActivated ($value: System.Action$1<string>) : void
  4654. public static remove_deepLinkActivated ($value: System.Action$1<string>) : void
  4655. public static add_wantsToQuit ($value: System.Func$1<boolean>) : void
  4656. public static remove_wantsToQuit ($value: System.Func$1<boolean>) : void
  4657. public static add_quitting ($value: System.Action) : void
  4658. public static remove_quitting ($value: System.Action) : void
  4659. public static add_unloading ($value: System.Action) : void
  4660. public static remove_unloading ($value: System.Action) : void
  4661. public constructor ()
  4662. }
  4663. /** Application installation mode (Read Only).
  4664. */
  4665. enum ApplicationInstallMode
  4666. { Unknown = 0, Store = 1, DeveloperBuild = 2, Adhoc = 3, Enterprise = 4, Editor = 5 }
  4667. /** Application sandbox type.
  4668. */
  4669. enum ApplicationSandboxType
  4670. { Unknown = 0, NotSandboxed = 1, Sandboxed = 2, SandboxBroken = 3 }
  4671. /** Stack trace logging options.
  4672. */
  4673. enum StackTraceLogType
  4674. { None = 0, ScriptOnly = 1, Full = 2 }
  4675. /** The type of the log message in Debug.unityLogger.Log or delegate registered with Application.RegisterLogCallback.
  4676. */
  4677. enum LogType
  4678. { Error = 0, Assert = 1, Warning = 2, Log = 3, Exception = 4 }
  4679. /** Constants to pass to Application.RequestUserAuthorization.
  4680. */
  4681. enum UserAuthorization
  4682. { WebCam = 1, Microphone = 2 }
  4683. /** The platform application is running. Returned by Application.platform.
  4684. */
  4685. enum RuntimePlatform
  4686. { 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, Stadia = 34, CloudRendering = 35, GameCoreScarlett = -1, GameCoreXboxSeries = 36, GameCoreXboxOne = 37, PS5 = 38, EmbeddedLinuxArm64 = 39, EmbeddedLinuxArm32 = 40, EmbeddedLinuxX64 = 41, EmbeddedLinuxX86 = 42, LinuxServer = 43, WindowsServer = 44, OSXServer = 45, QNXArm32 = 46, QNXArm64 = 47, QNXX64 = 48, QNXX86 = 49, VisionOS = 50 }
  4687. /** The language the user's operating system is running in. Returned by Application.systemLanguage.
  4688. */
  4689. enum SystemLanguage
  4690. { 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, Hindi = 42, Unknown = 43, Hungarian = 18 }
  4691. /** Describes network reachability options.
  4692. */
  4693. enum NetworkReachability
  4694. { NotReachable = 0, ReachableViaCarrierDataNetwork = 1, ReachableViaLocalAreaNetwork = 2 }
  4695. /** Contains information about a change in the application's memory usage.
  4696. */
  4697. class ApplicationMemoryUsageChange extends System.ValueType
  4698. {
  4699. protected [__keep_incompatibility]: never;
  4700. }
  4701. /** The material class.
  4702. */
  4703. class Material extends UnityEngine.Object
  4704. {
  4705. protected [__keep_incompatibility]: never;
  4706. /** The shader used by the material.
  4707. */
  4708. public get shader(): UnityEngine.Shader;
  4709. public set shader(value: UnityEngine.Shader);
  4710. /** The main color of the Material.
  4711. */
  4712. public get color(): UnityEngine.Color;
  4713. public set color(value: UnityEngine.Color);
  4714. /** The main texture.
  4715. */
  4716. public get mainTexture(): UnityEngine.Texture;
  4717. public set mainTexture(value: UnityEngine.Texture);
  4718. /** The offset of the main texture.
  4719. */
  4720. public get mainTextureOffset(): UnityEngine.Vector2;
  4721. public set mainTextureOffset(value: UnityEngine.Vector2);
  4722. /** The scale of the main texture.
  4723. */
  4724. public get mainTextureScale(): UnityEngine.Vector2;
  4725. public set mainTextureScale(value: UnityEngine.Vector2);
  4726. /** Render queue of this material.
  4727. */
  4728. public get renderQueue(): number;
  4729. public set renderQueue(value: number);
  4730. /** An array containing the local shader keywords that are currently enabled for this material.
  4731. */
  4732. public get enabledKeywords(): System.Array$1<UnityEngine.Rendering.LocalKeyword>;
  4733. public set enabledKeywords(value: System.Array$1<UnityEngine.Rendering.LocalKeyword>);
  4734. /** Defines how the material should interact with lightmaps and lightprobes.
  4735. */
  4736. public get globalIlluminationFlags(): UnityEngine.MaterialGlobalIlluminationFlags;
  4737. public set globalIlluminationFlags(value: UnityEngine.MaterialGlobalIlluminationFlags);
  4738. /** Gets and sets whether the Double Sided Global Illumination setting is enabled for this material.
  4739. */
  4740. public get doubleSidedGI(): boolean;
  4741. public set doubleSidedGI(value: boolean);
  4742. /** Gets and sets whether GPU instancing is enabled for this material.
  4743. */
  4744. public get enableInstancing(): boolean;
  4745. public set enableInstancing(value: boolean);
  4746. /** How many passes are in this material (Read Only).
  4747. */
  4748. public get passCount(): number;
  4749. /** An array containing names of the local shader keywords that are currently enabled for this material.
  4750. */
  4751. public get shaderKeywords(): System.Array$1<string>;
  4752. public set shaderKeywords(value: System.Array$1<string>);
  4753. /** Parent of this material.
  4754. */
  4755. public get parent(): UnityEngine.Material;
  4756. public set parent(value: UnityEngine.Material);
  4757. /** Returns true if this material is a material variant.
  4758. * @returns True if the material is a variant.
  4759. */
  4760. public get isVariant(): boolean;
  4761. /** Checks if the ShaderLab file assigned to the Material has a property with the given name.
  4762. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4763. * @param $name The name of the property.
  4764. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4765. */
  4766. public HasProperty ($nameID: number) : boolean
  4767. /** Checks if the ShaderLab file assigned to the Material has a property with the given name.
  4768. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4769. * @param $name The name of the property.
  4770. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4771. */
  4772. public HasProperty ($name: string) : boolean
  4773. /** Checks if the ShaderLab file assigned to the Material has a Float property with the given name. This also works with the Float Array property.
  4774. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4775. * @param $name The name of the property.
  4776. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4777. */
  4778. public HasFloat ($name: string) : boolean
  4779. /** Checks if the ShaderLab file assigned to the Material has a Float property with the given name. This also works with the Float Array property.
  4780. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4781. * @param $name The name of the property.
  4782. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4783. */
  4784. public HasFloat ($nameID: number) : boolean
  4785. /** This method is deprecated. Use HasFloat or HasInteger instead.
  4786. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4787. * @param $name The name of the property.
  4788. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4789. */
  4790. public HasInt ($name: string) : boolean
  4791. /** This method is deprecated. Use HasFloat or HasInteger instead.
  4792. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4793. * @param $name The name of the property.
  4794. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4795. */
  4796. public HasInt ($nameID: number) : boolean
  4797. /** Checks if the ShaderLab file assigned to the Material has an Integer property with the given name.
  4798. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4799. * @param $name The name of the property.
  4800. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4801. */
  4802. public HasInteger ($name: string) : boolean
  4803. /** Checks if the ShaderLab file assigned to the Material has an Integer property with the given name.
  4804. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4805. * @param $name The name of the property.
  4806. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4807. */
  4808. public HasInteger ($nameID: number) : boolean
  4809. /** Checks if the ShaderLab file assigned to the Material has a Texture property with the given name.
  4810. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4811. * @param $name The name of the property.
  4812. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4813. */
  4814. public HasTexture ($name: string) : boolean
  4815. /** Checks if the ShaderLab file assigned to the Material has a Texture property with the given name.
  4816. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4817. * @param $name The name of the property.
  4818. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4819. */
  4820. public HasTexture ($nameID: number) : boolean
  4821. /** Checks if the ShaderLab file assigned to the Material has a Matrix property with the given name. This also works with the Matrix Array property.
  4822. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4823. * @param $name The name of the property.
  4824. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4825. */
  4826. public HasMatrix ($name: string) : boolean
  4827. /** Checks if the ShaderLab file assigned to the Material has a Matrix property with the given name. This also works with the Matrix Array property.
  4828. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4829. * @param $name The name of the property.
  4830. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4831. */
  4832. public HasMatrix ($nameID: number) : boolean
  4833. /** Checks if the ShaderLab file assigned to the Material has a Vector property with the given name. This also works with the Vector Array property.
  4834. * @param $name The name of the property.
  4835. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4836. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4837. */
  4838. public HasVector ($name: string) : boolean
  4839. /** Checks if the ShaderLab file assigned to the Material has a Vector property with the given name. This also works with the Vector Array property.
  4840. * @param $name The name of the property.
  4841. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4842. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4843. */
  4844. public HasVector ($nameID: number) : boolean
  4845. /** Checks if the ShaderLab file assigned to the Material has a Color property with the given name.
  4846. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4847. * @param $name The name of the property.
  4848. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4849. */
  4850. public HasColor ($name: string) : boolean
  4851. /** Checks if the ShaderLab file assigned to the Material has a Color property with the given name.
  4852. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4853. * @param $name The name of the property.
  4854. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4855. */
  4856. public HasColor ($nameID: number) : boolean
  4857. /** Checks if the ShaderLab file assigned to the Material has a ComputeBuffer property with the given name.
  4858. * @param $name The name of the property.
  4859. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4860. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4861. */
  4862. public HasBuffer ($name: string) : boolean
  4863. /** Checks if the ShaderLab file assigned to the Material has a ComputeBuffer property with the given name.
  4864. * @param $name The name of the property.
  4865. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4866. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4867. */
  4868. public HasBuffer ($nameID: number) : boolean
  4869. /** Checks if the ShaderLab file assigned to the Material has a ConstantBuffer property with the given name.
  4870. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4871. * @param $name The name of the property.
  4872. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4873. */
  4874. public HasConstantBuffer ($name: string) : boolean
  4875. /** Checks if the ShaderLab file assigned to the Material has a ConstantBuffer property with the given name.
  4876. * @param $nameID The name ID of the property. Use Shader.PropertyToID to get this ID.
  4877. * @param $name The name of the property.
  4878. * @returns Returns true if the ShaderLab file assigned to the Material has this property.
  4879. */
  4880. public HasConstantBuffer ($nameID: number) : boolean
  4881. /** Enables a local shader keyword for this material.
  4882. * @param $keyword The name of the Rendering.LocalKeyword to enable.
  4883. */
  4884. public EnableKeyword ($keyword: string) : void
  4885. /** Disables a local shader keyword for this material.
  4886. * @param $keyword The name of the Rendering.LocalKeyword to disable.
  4887. */
  4888. public DisableKeyword ($keyword: string) : void
  4889. /** Checks whether a local shader keyword is enabled for this material.
  4890. * @param $keyword The name of the Rendering.LocalKeyword to check.
  4891. * @returns Returns true if a Rendering.LocalKeyword with the given name is enabled for this material.
  4892. */
  4893. public IsKeywordEnabled ($keyword: string) : boolean
  4894. /** Enables a local shader keyword for this material.
  4895. * @param $keyword The name of the Rendering.LocalKeyword to enable.
  4896. */
  4897. public EnableKeyword ($keyword: $Ref<UnityEngine.Rendering.LocalKeyword>) : void
  4898. /** Disables a local shader keyword for this material.
  4899. * @param $keyword The name of the Rendering.LocalKeyword to disable.
  4900. */
  4901. public DisableKeyword ($keyword: $Ref<UnityEngine.Rendering.LocalKeyword>) : void
  4902. /** Sets the state of a local shader keyword for this material.
  4903. * @param $keyword The Rendering.LocalKeyword to enable or disable.
  4904. * @param $value The desired keyword state.
  4905. */
  4906. public SetKeyword ($keyword: $Ref<UnityEngine.Rendering.LocalKeyword>, $value: boolean) : void
  4907. /** Checks whether a local shader keyword is enabled for this material.
  4908. * @param $keyword The name of the Rendering.LocalKeyword to check.
  4909. * @returns Returns true if a Rendering.LocalKeyword with the given name is enabled for this material.
  4910. */
  4911. public IsKeywordEnabled ($keyword: $Ref<UnityEngine.Rendering.LocalKeyword>) : boolean
  4912. /** Enables or disables a Shader pass on a per-Material level.
  4913. * @param $passName Shader pass name (case insensitive).
  4914. * @param $enabled Flag indicating whether this Shader pass should be enabled.
  4915. */
  4916. public SetShaderPassEnabled ($passName: string, $enabled: boolean) : void
  4917. /** Checks whether a given Shader pass is enabled on this Material.
  4918. * @param $passName Shader pass name (case insensitive).
  4919. * @returns True if the Shader pass is enabled.
  4920. */
  4921. public GetShaderPassEnabled ($passName: string) : boolean
  4922. /** Returns the name of the shader pass at index pass.
  4923. */
  4924. public GetPassName ($pass: number) : string
  4925. /** Returns the index of the pass passName.
  4926. */
  4927. public FindPass ($passName: string) : number
  4928. /** Sets an override tag/value on the material.
  4929. * @param $tag Name of the tag to set.
  4930. * @param $val Name of the value to set. Empty string to clear the override flag.
  4931. */
  4932. public SetOverrideTag ($tag: string, $val: string) : void
  4933. /** Get the value of material's shader tag.
  4934. */
  4935. public GetTag ($tag: string, $searchFallbacks: boolean, $defaultValue: string) : string
  4936. /** Get the value of material's shader tag.
  4937. */
  4938. public GetTag ($tag: string, $searchFallbacks: boolean) : string
  4939. /** Interpolate properties between two materials.
  4940. */
  4941. public Lerp ($start: UnityEngine.Material, $end: UnityEngine.Material, $t: number) : void
  4942. /** Activate the given pass for rendering.
  4943. * @param $pass Shader pass number to setup.
  4944. * @returns If false is returned, no rendering should be done.
  4945. */
  4946. public SetPass ($pass: number) : boolean
  4947. /** Copy properties from other material into this material.
  4948. */
  4949. public CopyPropertiesFromMaterial ($mat: UnityEngine.Material) : void
  4950. /** Copies properties, keyword states and settings from mat to this material, but only if they exist in both materials.
  4951. * @param $mat The Material to copy from.
  4952. */
  4953. public CopyMatchingPropertiesFromMaterial ($mat: UnityEngine.Material) : void
  4954. /** Computes a CRC hash value from the content of the material.
  4955. */
  4956. public ComputeCRC () : number
  4957. /** Returns the names of all texture properties exposed on this material.
  4958. * @param $outNames Names of all texture properties exposed on this material.
  4959. * @returns Names of all texture properties exposed on this material.
  4960. */
  4961. public GetTexturePropertyNames () : System.Array$1<string>
  4962. /** Return the name IDs of all texture properties exposed on this material.
  4963. * @param $outNames IDs of all texture properties exposed on this material.
  4964. * @returns IDs of all texture properties exposed on this material.
  4965. */
  4966. public GetTexturePropertyNameIDs () : System.Array$1<number>
  4967. public GetTexturePropertyNames ($outNames: System.Collections.Generic.List$1<string>) : void
  4968. public GetTexturePropertyNameIDs ($outNames: System.Collections.Generic.List$1<number>) : void
  4969. /** Returns True if the given material is an ancestor of this Material.
  4970. * @param $ancestor The specific ancestor to find in the hierarchy.
  4971. * @returns True if the given material is an ancestor of this Material.
  4972. */
  4973. public IsChildOf ($ancestor: UnityEngine.Material) : boolean
  4974. /** Removes all property overrides on this material.
  4975. */
  4976. public RevertAllPropertyOverrides () : void
  4977. /** Checks whether a property is overriden by this material.
  4978. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  4979. * @param $name Property name, e.g. "_SrcBlend".
  4980. * @returns Returns true if the property you pass in is overriden by this material. Otherwise, returns false.
  4981. */
  4982. public IsPropertyOverriden ($nameID: number) : boolean
  4983. /** Checks whether a property is locked by this material.
  4984. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  4985. * @param $name Property name, e.g. "_SrcBlend".
  4986. * @returns Returns true if the property you pass in is locked by this material. Otherwise, returns false.
  4987. */
  4988. public IsPropertyLocked ($nameID: number) : boolean
  4989. /** Checks whether a property is locked by any of ancestor of this material.
  4990. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  4991. * @param $name Property name, e.g. "_SrcBlend".
  4992. * @returns Returns true if the property you pass in is locked by any of ancestor of this material. Otherwise, returns false.
  4993. */
  4994. public IsPropertyLockedByAncestor ($nameID: number) : boolean
  4995. /** Checks whether a property is overriden by this material.
  4996. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  4997. * @param $name Property name, e.g. "_SrcBlend".
  4998. * @returns Returns true if the property you pass in is overriden by this material. Otherwise, returns false.
  4999. */
  5000. public IsPropertyOverriden ($name: string) : boolean
  5001. /** Checks whether a property is locked by this material.
  5002. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5003. * @param $name Property name, e.g. "_SrcBlend".
  5004. * @returns Returns true if the property you pass in is locked by this material. Otherwise, returns false.
  5005. */
  5006. public IsPropertyLocked ($name: string) : boolean
  5007. /** Checks whether a property is locked by any of ancestor of this material.
  5008. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5009. * @param $name Property name, e.g. "_SrcBlend".
  5010. * @returns Returns true if the property you pass in is locked by any of ancestor of this material. Otherwise, returns false.
  5011. */
  5012. public IsPropertyLockedByAncestor ($name: string) : boolean
  5013. /** Sets the lock state of a property for this material.
  5014. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5015. * @param $name Property name, e.g. "_SrcBlend".
  5016. * @param $value The desired lock state.
  5017. */
  5018. public SetPropertyLock ($nameID: number, $value: boolean) : void
  5019. /** Applies an override associated with a Material Variant to a target.
  5020. * @param $destination The Material to which the Editor applies the override.
  5021. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5022. * @param $name Property name, e.g. "_SrcBlend".
  5023. * @param $recordUndo Wheter the editor should record an undo operation for this action.
  5024. */
  5025. public ApplyPropertyOverride ($destination: UnityEngine.Material, $nameID: number, $recordUndo?: boolean) : void
  5026. /** Removes the override on a property.
  5027. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5028. * @param $name Property name, e.g. "_SrcBlend".
  5029. */
  5030. public RevertPropertyOverride ($nameID: number) : void
  5031. /** Sets the lock state of a property for this material.
  5032. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5033. * @param $name Property name, e.g. "_SrcBlend".
  5034. * @param $value The desired lock state.
  5035. */
  5036. public SetPropertyLock ($name: string, $value: boolean) : void
  5037. /** Applies an override associated with a Material Variant to a target.
  5038. * @param $destination The Material to which the Editor applies the override.
  5039. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5040. * @param $name Property name, e.g. "_SrcBlend".
  5041. * @param $recordUndo Wheter the editor should record an undo operation for this action.
  5042. */
  5043. public ApplyPropertyOverride ($destination: UnityEngine.Material, $name: string, $recordUndo?: boolean) : void
  5044. /** Removes the override on a property.
  5045. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5046. * @param $name Property name, e.g. "_SrcBlend".
  5047. */
  5048. public RevertPropertyOverride ($name: string) : void
  5049. /** This method is deprecated. Use SetFloat or SetInteger instead.
  5050. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5051. * @param $value Integer value to set.
  5052. * @param $name Property name, e.g. "_SrcBlend".
  5053. */
  5054. public SetInt ($name: string, $value: number) : void
  5055. /** This method is deprecated. Use SetFloat or SetInteger instead.
  5056. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5057. * @param $value Integer value to set.
  5058. * @param $name Property name, e.g. "_SrcBlend".
  5059. */
  5060. public SetInt ($nameID: number, $value: number) : void
  5061. /** Sets a named float value.
  5062. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5063. * @param $value Float value to set.
  5064. * @param $name Property name, e.g. "_Glossiness".
  5065. */
  5066. public SetFloat ($name: string, $value: number) : void
  5067. /** Sets a named float value.
  5068. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5069. * @param $value Float value to set.
  5070. * @param $name Property name, e.g. "_Glossiness".
  5071. */
  5072. public SetFloat ($nameID: number, $value: number) : void
  5073. /** Sets a named integer value.
  5074. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5075. * @param $value Integer value to set.
  5076. * @param $name Property name, e.g. "_SrcBlend".
  5077. */
  5078. public SetInteger ($name: string, $value: number) : void
  5079. /** Sets a named integer value.
  5080. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5081. * @param $value Integer value to set.
  5082. * @param $name Property name, e.g. "_SrcBlend".
  5083. */
  5084. public SetInteger ($nameID: number, $value: number) : void
  5085. /** Sets a color value.
  5086. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5087. * @param $name Property name, e.g. "_Color".
  5088. * @param $value Color value to set.
  5089. */
  5090. public SetColor ($name: string, $value: UnityEngine.Color) : void
  5091. /** Sets a color value.
  5092. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5093. * @param $name Property name, e.g. "_Color".
  5094. * @param $value Color value to set.
  5095. */
  5096. public SetColor ($nameID: number, $value: UnityEngine.Color) : void
  5097. /** Sets a named vector value.
  5098. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5099. * @param $name Property name, e.g. "_WaveAndDistance".
  5100. * @param $value Vector value to set.
  5101. */
  5102. public SetVector ($name: string, $value: UnityEngine.Vector4) : void
  5103. /** Sets a named vector value.
  5104. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5105. * @param $name Property name, e.g. "_WaveAndDistance".
  5106. * @param $value Vector value to set.
  5107. */
  5108. public SetVector ($nameID: number, $value: UnityEngine.Vector4) : void
  5109. /** Sets a named matrix for the shader.
  5110. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5111. * @param $name Property name, e.g. "_CubemapRotation".
  5112. * @param $value Matrix value to set.
  5113. */
  5114. public SetMatrix ($name: string, $value: UnityEngine.Matrix4x4) : void
  5115. /** Sets a named matrix for the shader.
  5116. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5117. * @param $name Property name, e.g. "_CubemapRotation".
  5118. * @param $value Matrix value to set.
  5119. */
  5120. public SetMatrix ($nameID: number, $value: UnityEngine.Matrix4x4) : void
  5121. /** Sets a named texture.
  5122. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5123. * @param $name Property name, e.g. "_MainTex".
  5124. * @param $value Texture to set.
  5125. * @param $element Optional parameter that specifies the type of data to set from the RenderTexture.
  5126. */
  5127. public SetTexture ($name: string, $value: UnityEngine.Texture) : void
  5128. /** Sets a named texture.
  5129. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5130. * @param $name Property name, e.g. "_MainTex".
  5131. * @param $value Texture to set.
  5132. * @param $element Optional parameter that specifies the type of data to set from the RenderTexture.
  5133. */
  5134. public SetTexture ($nameID: number, $value: UnityEngine.Texture) : void
  5135. /** Sets a named texture.
  5136. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5137. * @param $name Property name, e.g. "_MainTex".
  5138. * @param $value Texture to set.
  5139. * @param $element Optional parameter that specifies the type of data to set from the RenderTexture.
  5140. */
  5141. public SetTexture ($name: string, $value: UnityEngine.RenderTexture, $element: UnityEngine.Rendering.RenderTextureSubElement) : void
  5142. /** Sets a named texture.
  5143. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5144. * @param $name Property name, e.g. "_MainTex".
  5145. * @param $value Texture to set.
  5146. * @param $element Optional parameter that specifies the type of data to set from the RenderTexture.
  5147. */
  5148. public SetTexture ($nameID: number, $value: UnityEngine.RenderTexture, $element: UnityEngine.Rendering.RenderTextureSubElement) : void
  5149. /** Sets a named buffer value.
  5150. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5151. * @param $name Property name.
  5152. * @param $value The ComputeBuffer or GraphicsBuffer value to set.
  5153. */
  5154. public SetBuffer ($name: string, $value: UnityEngine.ComputeBuffer) : void
  5155. /** Sets a named buffer value.
  5156. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5157. * @param $name Property name.
  5158. * @param $value The ComputeBuffer or GraphicsBuffer value to set.
  5159. */
  5160. public SetBuffer ($nameID: number, $value: UnityEngine.ComputeBuffer) : void
  5161. /** Sets a named buffer value.
  5162. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5163. * @param $name Property name.
  5164. * @param $value The ComputeBuffer or GraphicsBuffer value to set.
  5165. */
  5166. public SetBuffer ($name: string, $value: UnityEngine.GraphicsBuffer) : void
  5167. /** Sets a named buffer value.
  5168. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5169. * @param $name Property name.
  5170. * @param $value The ComputeBuffer or GraphicsBuffer value to set.
  5171. */
  5172. public SetBuffer ($nameID: number, $value: UnityEngine.GraphicsBuffer) : void
  5173. /** Sets a ComputeBuffer or GraphicsBuffer as a named constant buffer for the material.
  5174. * @param $name The name of the constant buffer to override.
  5175. * @param $value The ComputeBuffer to override the constant buffer values with, or null to remove binding.
  5176. * @param $offset Offset in bytes from the beginning of the buffer to bind. Must be a multiple of SystemInfo.constantBufferOffsetAlignment, or 0 if that value is 0.
  5177. * @param $size The number of bytes to bind.
  5178. * @param $nameID The shader property ID of the constant buffer to override.
  5179. */
  5180. public SetConstantBuffer ($name: string, $value: UnityEngine.ComputeBuffer, $offset: number, $size: number) : void
  5181. /** Sets a ComputeBuffer or GraphicsBuffer as a named constant buffer for the material.
  5182. * @param $name The name of the constant buffer to override.
  5183. * @param $value The ComputeBuffer to override the constant buffer values with, or null to remove binding.
  5184. * @param $offset Offset in bytes from the beginning of the buffer to bind. Must be a multiple of SystemInfo.constantBufferOffsetAlignment, or 0 if that value is 0.
  5185. * @param $size The number of bytes to bind.
  5186. * @param $nameID The shader property ID of the constant buffer to override.
  5187. */
  5188. public SetConstantBuffer ($nameID: number, $value: UnityEngine.ComputeBuffer, $offset: number, $size: number) : void
  5189. /** Sets a ComputeBuffer or GraphicsBuffer as a named constant buffer for the material.
  5190. * @param $name The name of the constant buffer to override.
  5191. * @param $value The ComputeBuffer to override the constant buffer values with, or null to remove binding.
  5192. * @param $offset Offset in bytes from the beginning of the buffer to bind. Must be a multiple of SystemInfo.constantBufferOffsetAlignment, or 0 if that value is 0.
  5193. * @param $size The number of bytes to bind.
  5194. * @param $nameID The shader property ID of the constant buffer to override.
  5195. */
  5196. public SetConstantBuffer ($name: string, $value: UnityEngine.GraphicsBuffer, $offset: number, $size: number) : void
  5197. /** Sets a ComputeBuffer or GraphicsBuffer as a named constant buffer for the material.
  5198. * @param $name The name of the constant buffer to override.
  5199. * @param $value The ComputeBuffer to override the constant buffer values with, or null to remove binding.
  5200. * @param $offset Offset in bytes from the beginning of the buffer to bind. Must be a multiple of SystemInfo.constantBufferOffsetAlignment, or 0 if that value is 0.
  5201. * @param $size The number of bytes to bind.
  5202. * @param $nameID The shader property ID of the constant buffer to override.
  5203. */
  5204. public SetConstantBuffer ($nameID: number, $value: UnityEngine.GraphicsBuffer, $offset: number, $size: number) : void
  5205. public SetFloatArray ($name: string, $values: System.Collections.Generic.List$1<number>) : void
  5206. public SetFloatArray ($nameID: number, $values: System.Collections.Generic.List$1<number>) : void
  5207. /** Sets a float array property.
  5208. * @param $name Property name.
  5209. * @param $nameID Property name ID. Use Shader.PropertyToID to get this ID.
  5210. * @param $values Array of values to set.
  5211. */
  5212. public SetFloatArray ($name: string, $values: System.Array$1<number>) : void
  5213. /** Sets a float array property.
  5214. * @param $name Property name.
  5215. * @param $nameID Property name ID. Use Shader.PropertyToID to get this ID.
  5216. * @param $values Array of values to set.
  5217. */
  5218. public SetFloatArray ($nameID: number, $values: System.Array$1<number>) : void
  5219. public SetColorArray ($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Color>) : void
  5220. public SetColorArray ($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Color>) : void
  5221. /** Sets a color array property.
  5222. * @param $name Property name.
  5223. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5224. * @param $values Array of values to set.
  5225. */
  5226. public SetColorArray ($name: string, $values: System.Array$1<UnityEngine.Color>) : void
  5227. /** Sets a color array property.
  5228. * @param $name Property name.
  5229. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5230. * @param $values Array of values to set.
  5231. */
  5232. public SetColorArray ($nameID: number, $values: System.Array$1<UnityEngine.Color>) : void
  5233. public SetVectorArray ($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  5234. public SetVectorArray ($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  5235. /** Sets a vector array property.
  5236. * @param $name Property name.
  5237. * @param $values Array of values to set.
  5238. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5239. */
  5240. public SetVectorArray ($name: string, $values: System.Array$1<UnityEngine.Vector4>) : void
  5241. /** Sets a vector array property.
  5242. * @param $name Property name.
  5243. * @param $values Array of values to set.
  5244. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5245. */
  5246. public SetVectorArray ($nameID: number, $values: System.Array$1<UnityEngine.Vector4>) : void
  5247. public SetMatrixArray ($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>) : void
  5248. public SetMatrixArray ($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>) : void
  5249. /** Sets a matrix array property.
  5250. * @param $name Property name.
  5251. * @param $values Array of values to set.
  5252. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5253. */
  5254. public SetMatrixArray ($name: string, $values: System.Array$1<UnityEngine.Matrix4x4>) : void
  5255. /** Sets a matrix array property.
  5256. * @param $name Property name.
  5257. * @param $values Array of values to set.
  5258. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5259. */
  5260. public SetMatrixArray ($nameID: number, $values: System.Array$1<UnityEngine.Matrix4x4>) : void
  5261. /** This method is deprecated. Use GetFloat or GetInteger instead.
  5262. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5263. * @param $name The name of the property.
  5264. */
  5265. public GetInt ($name: string) : number
  5266. /** This method is deprecated. Use GetFloat or GetInteger instead.
  5267. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5268. * @param $name The name of the property.
  5269. */
  5270. public GetInt ($nameID: number) : number
  5271. /** Get a named float value.
  5272. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5273. * @param $name The name of the property.
  5274. */
  5275. public GetFloat ($name: string) : number
  5276. /** Get a named float value.
  5277. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5278. * @param $name The name of the property.
  5279. */
  5280. public GetFloat ($nameID: number) : number
  5281. /** Get a named integer value.
  5282. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5283. * @param $name The name of the property.
  5284. */
  5285. public GetInteger ($name: string) : number
  5286. /** Get a named integer value.
  5287. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5288. * @param $name The name of the property.
  5289. */
  5290. public GetInteger ($nameID: number) : number
  5291. /** Get a named color value.
  5292. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5293. * @param $name The name of the property.
  5294. */
  5295. public GetColor ($name: string) : UnityEngine.Color
  5296. /** Get a named color value.
  5297. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5298. * @param $name The name of the property.
  5299. */
  5300. public GetColor ($nameID: number) : UnityEngine.Color
  5301. /** Get a named vector value.
  5302. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5303. * @param $name The name of the property.
  5304. */
  5305. public GetVector ($name: string) : UnityEngine.Vector4
  5306. /** Get a named vector value.
  5307. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5308. * @param $name The name of the property.
  5309. */
  5310. public GetVector ($nameID: number) : UnityEngine.Vector4
  5311. /** Get a named matrix value from the shader.
  5312. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5313. * @param $name The name of the property.
  5314. */
  5315. public GetMatrix ($name: string) : UnityEngine.Matrix4x4
  5316. /** Get a named matrix value from the shader.
  5317. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5318. * @param $name The name of the property.
  5319. */
  5320. public GetMatrix ($nameID: number) : UnityEngine.Matrix4x4
  5321. /** Get a named texture.
  5322. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5323. * @param $name The name of the property.
  5324. */
  5325. public GetTexture ($name: string) : UnityEngine.Texture
  5326. /** Get a named texture.
  5327. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5328. * @param $name The name of the property.
  5329. */
  5330. public GetTexture ($nameID: number) : UnityEngine.Texture
  5331. /** Get a named Graphics Buffer value.
  5332. * @param $name The name of the graphics buffer resource property to return.
  5333. * @returns Returns the handle of the graphics buffer resource property.
  5334. */
  5335. public GetBuffer ($name: string) : UnityEngine.GraphicsBufferHandle
  5336. /** Get a named Constant Buffer value.
  5337. * @param $name The name of the constant buffer property to return.
  5338. * @returns Returns the handle of the constant buffer graphics resource.
  5339. */
  5340. public GetConstantBuffer ($name: string) : UnityEngine.GraphicsBufferHandle
  5341. /** Get a named float array.
  5342. * @param $name The name of the property.
  5343. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5344. */
  5345. public GetFloatArray ($name: string) : System.Array$1<number>
  5346. /** Get a named float array.
  5347. * @param $name The name of the property.
  5348. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5349. */
  5350. public GetFloatArray ($nameID: number) : System.Array$1<number>
  5351. /** Get a named color array.
  5352. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5353. * @param $name The name of the property.
  5354. */
  5355. public GetColorArray ($name: string) : System.Array$1<UnityEngine.Color>
  5356. /** Get a named color array.
  5357. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5358. * @param $name The name of the property.
  5359. */
  5360. public GetColorArray ($nameID: number) : System.Array$1<UnityEngine.Color>
  5361. /** Get a named vector array.
  5362. * @param $name The name of the property.
  5363. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5364. */
  5365. public GetVectorArray ($name: string) : System.Array$1<UnityEngine.Vector4>
  5366. /** Get a named vector array.
  5367. * @param $name The name of the property.
  5368. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5369. */
  5370. public GetVectorArray ($nameID: number) : System.Array$1<UnityEngine.Vector4>
  5371. /** Get a named matrix array.
  5372. * @param $name The name of the property.
  5373. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5374. */
  5375. public GetMatrixArray ($name: string) : System.Array$1<UnityEngine.Matrix4x4>
  5376. /** Get a named matrix array.
  5377. * @param $name The name of the property.
  5378. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5379. */
  5380. public GetMatrixArray ($nameID: number) : System.Array$1<UnityEngine.Matrix4x4>
  5381. public GetFloatArray ($name: string, $values: System.Collections.Generic.List$1<number>) : void
  5382. public GetFloatArray ($nameID: number, $values: System.Collections.Generic.List$1<number>) : void
  5383. public GetColorArray ($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Color>) : void
  5384. public GetColorArray ($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Color>) : void
  5385. public GetVectorArray ($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  5386. public GetVectorArray ($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  5387. public GetMatrixArray ($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>) : void
  5388. public GetMatrixArray ($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>) : void
  5389. /** Sets the placement offset of a given texture. The name parameter is defined in the shader. This method creates a new Material instance.
  5390. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5391. * @param $name The name of the texture property as defined in the shader. For example: "_MainTex".
  5392. * @param $value Texture placement offset.
  5393. */
  5394. public SetTextureOffset ($name: string, $value: UnityEngine.Vector2) : void
  5395. /** Sets the placement offset of a given texture. The name parameter is defined in the shader. This method creates a new Material instance.
  5396. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5397. * @param $name The name of the texture property as defined in the shader. For example: "_MainTex".
  5398. * @param $value Texture placement offset.
  5399. */
  5400. public SetTextureOffset ($nameID: number, $value: UnityEngine.Vector2) : void
  5401. /** Sets the placement scale of texture propertyName.
  5402. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5403. * @param $name Property name, e.g. "_MainTex".
  5404. * @param $value Texture placement scale.
  5405. */
  5406. public SetTextureScale ($name: string, $value: UnityEngine.Vector2) : void
  5407. /** Sets the placement scale of texture propertyName.
  5408. * @param $nameID Property name ID, use Shader.PropertyToID to get it.
  5409. * @param $name Property name, e.g. "_MainTex".
  5410. * @param $value Texture placement scale.
  5411. */
  5412. public SetTextureScale ($nameID: number, $value: UnityEngine.Vector2) : void
  5413. /** Gets the placement offset of texture propertyName.
  5414. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5415. * @param $name The name of the property.
  5416. */
  5417. public GetTextureOffset ($name: string) : UnityEngine.Vector2
  5418. /** Gets the placement offset of texture propertyName.
  5419. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5420. * @param $name The name of the property.
  5421. */
  5422. public GetTextureOffset ($nameID: number) : UnityEngine.Vector2
  5423. /** Gets the placement scale of texture propertyName.
  5424. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5425. * @param $name The name of the property.
  5426. */
  5427. public GetTextureScale ($name: string) : UnityEngine.Vector2
  5428. /** Gets the placement scale of texture propertyName.
  5429. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5430. * @param $name The name of the property.
  5431. */
  5432. public GetTextureScale ($nameID: number) : UnityEngine.Vector2
  5433. /** Retrieves a list of the named properties in the material that match the input property type.
  5434. * @param $type The type to use to query the material for named properties.
  5435. */
  5436. public GetPropertyNames ($type: UnityEngine.MaterialPropertyType) : System.Array$1<string>
  5437. public constructor ($shader: UnityEngine.Shader)
  5438. public constructor ($source: UnityEngine.Material)
  5439. public constructor ()
  5440. }
  5441. /** Shader scripts used for all rendering.
  5442. */
  5443. class Shader extends UnityEngine.Object
  5444. {
  5445. protected [__keep_incompatibility]: never;
  5446. /** Sets the limit on the number of shader variant chunks Unity loads and keeps in memory.
  5447. */
  5448. public static get maximumChunksOverride(): number;
  5449. public static set maximumChunksOverride(value: number);
  5450. /** Shader LOD level for this shader.
  5451. */
  5452. public get maximumLOD(): number;
  5453. public set maximumLOD(value: number);
  5454. /** Shader LOD level for all shaders.
  5455. */
  5456. public static get globalMaximumLOD(): number;
  5457. public static set globalMaximumLOD(value: number);
  5458. /** Can this shader run on the end-users graphics card? (Read Only)
  5459. */
  5460. public get isSupported(): boolean;
  5461. /** Render pipeline currently in use.
  5462. */
  5463. public static get globalRenderPipeline(): string;
  5464. public static set globalRenderPipeline(value: string);
  5465. /** An array containing the global shader keywords that are currently enabled.
  5466. */
  5467. public static get enabledGlobalKeywords(): System.Array$1<UnityEngine.Rendering.GlobalKeyword>;
  5468. /** An array containing the global shader keywords that currently exist. This includes enabled and disabled global shader keywords.
  5469. */
  5470. public static get globalKeywords(): System.Array$1<UnityEngine.Rendering.GlobalKeyword>;
  5471. /** The local keyword space of this shader.
  5472. */
  5473. public get keywordSpace(): UnityEngine.Rendering.LocalKeywordSpace;
  5474. /** Render queue of this shader. (Read Only)
  5475. */
  5476. public get renderQueue(): number;
  5477. /** Returns the number of shader passes on the active SubShader.
  5478. */
  5479. public get passCount(): number;
  5480. /** Returns the number of SubShaders in this shader.
  5481. */
  5482. public get subshaderCount(): number;
  5483. /** Finds a shader with the given name. Returns null if the shader is not found.
  5484. */
  5485. public static Find ($name: string) : UnityEngine.Shader
  5486. /** Enables a global shader keyword.
  5487. * @param $keyword The name of the Rendering.GlobalKeyword to enable.
  5488. */
  5489. public static EnableKeyword ($keyword: string) : void
  5490. /** Disables a global shader keyword.
  5491. * @param $keyword The name of the Rendering.GlobalKeyword to disable.
  5492. */
  5493. public static DisableKeyword ($keyword: string) : void
  5494. /** Checks whether a global shader keyword is enabled.
  5495. * @param $keyword The name of the Rendering.GlobalKeyword to check.
  5496. * @returns Returns true if a global shader keyword with the given name exists, and is enabled. Otherwise, returns false.
  5497. */
  5498. public static IsKeywordEnabled ($keyword: string) : boolean
  5499. /** Enables a global shader keyword.
  5500. * @param $keyword The name of the Rendering.GlobalKeyword to enable.
  5501. */
  5502. public static EnableKeyword ($keyword: $Ref<UnityEngine.Rendering.GlobalKeyword>) : void
  5503. /** Disables a global shader keyword.
  5504. * @param $keyword The name of the Rendering.GlobalKeyword to disable.
  5505. */
  5506. public static DisableKeyword ($keyword: $Ref<UnityEngine.Rendering.GlobalKeyword>) : void
  5507. /** Sets the state of a global shader keyword.
  5508. * @param $keyword The Rendering.GlobalKeyword to enable or disable.
  5509. * @param $value The desired keyword state.
  5510. */
  5511. public static SetKeyword ($keyword: $Ref<UnityEngine.Rendering.GlobalKeyword>, $value: boolean) : void
  5512. /** Checks whether a global shader keyword is enabled.
  5513. * @param $keyword The Rendering.GlobalKeyword to check.
  5514. * @returns Returns true if the given global shader keyword is enabled. Otherwise, returns false.
  5515. */
  5516. public static IsKeywordEnabled ($keyword: $Ref<UnityEngine.Rendering.GlobalKeyword>) : boolean
  5517. /** Prewarms all shader variants of all Shaders currently in memory.
  5518. */
  5519. public static WarmupAllShaders () : void
  5520. /** Gets unique identifier for a shader property name.
  5521. * @param $name Shader property name.
  5522. * @returns Unique integer for the name.
  5523. */
  5524. public static PropertyToID ($name: string) : number
  5525. /** Returns the dependency shader.
  5526. * @param $name The name of the dependency to query.
  5527. */
  5528. public GetDependency ($name: string) : UnityEngine.Shader
  5529. /** Returns the number of passes in the given SubShader.
  5530. * @param $subshaderIndex The index of the SubShader.
  5531. */
  5532. public GetPassCountInSubshader ($subshaderIndex: number) : number
  5533. /** Searches for the tag specified by tagName on the shader's active SubShader and returns the value of the tag.
  5534. * @param $passIndex The index of the pass.
  5535. * @param $tagName The name of the tag.
  5536. */
  5537. public FindPassTagValue ($passIndex: number, $tagName: UnityEngine.Rendering.ShaderTagId) : UnityEngine.Rendering.ShaderTagId
  5538. /** Searches for the tag specified by tagName on the SubShader specified by subshaderIndex and returns the value of the tag.
  5539. * @param $subshaderIndex The index of the SubShader.
  5540. * @param $passIndex The index of the pass.
  5541. * @param $tagName The name of the tag.
  5542. */
  5543. public FindPassTagValue ($subshaderIndex: number, $passIndex: number, $tagName: UnityEngine.Rendering.ShaderTagId) : UnityEngine.Rendering.ShaderTagId
  5544. /** Searches for the tag specified by tagName on the SubShader specified by subshaderIndex and returns the value of the tag.
  5545. * @param $subshaderIndex The index of the SubShader.
  5546. * @param $tagName The name of the tag.
  5547. */
  5548. public FindSubshaderTagValue ($subshaderIndex: number, $tagName: UnityEngine.Rendering.ShaderTagId) : UnityEngine.Rendering.ShaderTagId
  5549. /** This method is deprecated. Use SetGlobalFloat or SetGlobalInteger instead.
  5550. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5551. * @param $name The name of the property.
  5552. */
  5553. public static SetGlobalInt ($name: string, $value: number) : void
  5554. /** This method is deprecated. Use SetGlobalFloat or SetGlobalInteger instead.
  5555. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5556. * @param $name The name of the property.
  5557. */
  5558. public static SetGlobalInt ($nameID: number, $value: number) : void
  5559. /** Sets a global float property for all shaders.
  5560. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5561. * @param $name The name of the property.
  5562. */
  5563. public static SetGlobalFloat ($name: string, $value: number) : void
  5564. /** Sets a global float property for all shaders.
  5565. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5566. * @param $name The name of the property.
  5567. */
  5568. public static SetGlobalFloat ($nameID: number, $value: number) : void
  5569. /** Sets a global integer property for all shaders.
  5570. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5571. * @param $name The name of the property.
  5572. */
  5573. public static SetGlobalInteger ($name: string, $value: number) : void
  5574. /** Sets a global integer property for all shaders.
  5575. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5576. * @param $name The name of the property.
  5577. */
  5578. public static SetGlobalInteger ($nameID: number, $value: number) : void
  5579. /** Sets a global vector property for all shaders.
  5580. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5581. * @param $name The name of the property.
  5582. */
  5583. public static SetGlobalVector ($name: string, $value: UnityEngine.Vector4) : void
  5584. /** Sets a global vector property for all shaders.
  5585. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5586. * @param $name The name of the property.
  5587. */
  5588. public static SetGlobalVector ($nameID: number, $value: UnityEngine.Vector4) : void
  5589. /** Sets a global color property for all shaders.
  5590. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5591. * @param $name The name of the property.
  5592. */
  5593. public static SetGlobalColor ($name: string, $value: UnityEngine.Color) : void
  5594. /** Sets a global color property for all shaders.
  5595. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5596. * @param $name The name of the property.
  5597. */
  5598. public static SetGlobalColor ($nameID: number, $value: UnityEngine.Color) : void
  5599. /** Sets a global matrix property for all shaders.
  5600. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5601. * @param $name The name of the property.
  5602. */
  5603. public static SetGlobalMatrix ($name: string, $value: UnityEngine.Matrix4x4) : void
  5604. /** Sets a global matrix property for all shaders.
  5605. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5606. * @param $name The name of the property.
  5607. */
  5608. public static SetGlobalMatrix ($nameID: number, $value: UnityEngine.Matrix4x4) : void
  5609. /** Sets a global texture property for all shaders.
  5610. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5611. * @param $name The name of the property.
  5612. * @param $value The texture to set.
  5613. * @param $element Optional parameter that specifies the type of data to set from the RenderTexture.
  5614. */
  5615. public static SetGlobalTexture ($name: string, $value: UnityEngine.Texture) : void
  5616. /** Sets a global texture property for all shaders.
  5617. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5618. * @param $name The name of the property.
  5619. * @param $value The texture to set.
  5620. * @param $element Optional parameter that specifies the type of data to set from the RenderTexture.
  5621. */
  5622. public static SetGlobalTexture ($nameID: number, $value: UnityEngine.Texture) : void
  5623. /** Sets a global texture property for all shaders.
  5624. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5625. * @param $name The name of the property.
  5626. * @param $value The texture to set.
  5627. * @param $element Optional parameter that specifies the type of data to set from the RenderTexture.
  5628. */
  5629. public static SetGlobalTexture ($name: string, $value: UnityEngine.RenderTexture, $element: UnityEngine.Rendering.RenderTextureSubElement) : void
  5630. /** Sets a global texture property for all shaders.
  5631. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5632. * @param $name The name of the property.
  5633. * @param $value The texture to set.
  5634. * @param $element Optional parameter that specifies the type of data to set from the RenderTexture.
  5635. */
  5636. public static SetGlobalTexture ($nameID: number, $value: UnityEngine.RenderTexture, $element: UnityEngine.Rendering.RenderTextureSubElement) : void
  5637. /** Sets a global buffer property for all shaders.
  5638. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5639. * @param $name The name of the property.
  5640. * @param $value The buffer to set.
  5641. */
  5642. public static SetGlobalBuffer ($name: string, $value: UnityEngine.ComputeBuffer) : void
  5643. /** Sets a global buffer property for all shaders.
  5644. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5645. * @param $name The name of the property.
  5646. * @param $value The buffer to set.
  5647. */
  5648. public static SetGlobalBuffer ($nameID: number, $value: UnityEngine.ComputeBuffer) : void
  5649. /** Sets a global buffer property for all shaders.
  5650. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5651. * @param $name The name of the property.
  5652. * @param $value The buffer to set.
  5653. */
  5654. public static SetGlobalBuffer ($name: string, $value: UnityEngine.GraphicsBuffer) : void
  5655. /** Sets a global buffer property for all shaders.
  5656. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5657. * @param $name The name of the property.
  5658. * @param $value The buffer to set.
  5659. */
  5660. public static SetGlobalBuffer ($nameID: number, $value: UnityEngine.GraphicsBuffer) : void
  5661. /** Sets a ComputeBuffer or GraphicsBuffer as a named constant buffer for all shader types.
  5662. * @param $nameID The name ID of the constant buffer retrieved by Shader.PropertyToID.
  5663. * @param $name The name of the constant buffer to override.
  5664. * @param $value The buffer to override the constant buffer values with, or null to remove binding.
  5665. * @param $offset Offset in bytes from the beginning of the buffer to bind. Must be a multiple of SystemInfo.constantBufferOffsetAlignment, or 0 if that value is 0.
  5666. * @param $size The number of bytes to bind.
  5667. */
  5668. public static SetGlobalConstantBuffer ($name: string, $value: UnityEngine.ComputeBuffer, $offset: number, $size: number) : void
  5669. /** Sets a ComputeBuffer or GraphicsBuffer as a named constant buffer for all shader types.
  5670. * @param $nameID The name ID of the constant buffer retrieved by Shader.PropertyToID.
  5671. * @param $name The name of the constant buffer to override.
  5672. * @param $value The buffer to override the constant buffer values with, or null to remove binding.
  5673. * @param $offset Offset in bytes from the beginning of the buffer to bind. Must be a multiple of SystemInfo.constantBufferOffsetAlignment, or 0 if that value is 0.
  5674. * @param $size The number of bytes to bind.
  5675. */
  5676. public static SetGlobalConstantBuffer ($nameID: number, $value: UnityEngine.ComputeBuffer, $offset: number, $size: number) : void
  5677. /** Sets a ComputeBuffer or GraphicsBuffer as a named constant buffer for all shader types.
  5678. * @param $nameID The name ID of the constant buffer retrieved by Shader.PropertyToID.
  5679. * @param $name The name of the constant buffer to override.
  5680. * @param $value The buffer to override the constant buffer values with, or null to remove binding.
  5681. * @param $offset Offset in bytes from the beginning of the buffer to bind. Must be a multiple of SystemInfo.constantBufferOffsetAlignment, or 0 if that value is 0.
  5682. * @param $size The number of bytes to bind.
  5683. */
  5684. public static SetGlobalConstantBuffer ($name: string, $value: UnityEngine.GraphicsBuffer, $offset: number, $size: number) : void
  5685. /** Sets a ComputeBuffer or GraphicsBuffer as a named constant buffer for all shader types.
  5686. * @param $nameID The name ID of the constant buffer retrieved by Shader.PropertyToID.
  5687. * @param $name The name of the constant buffer to override.
  5688. * @param $value The buffer to override the constant buffer values with, or null to remove binding.
  5689. * @param $offset Offset in bytes from the beginning of the buffer to bind. Must be a multiple of SystemInfo.constantBufferOffsetAlignment, or 0 if that value is 0.
  5690. * @param $size The number of bytes to bind.
  5691. */
  5692. public static SetGlobalConstantBuffer ($nameID: number, $value: UnityEngine.GraphicsBuffer, $offset: number, $size: number) : void
  5693. public static SetGlobalFloatArray ($name: string, $values: System.Collections.Generic.List$1<number>) : void
  5694. public static SetGlobalFloatArray ($nameID: number, $values: System.Collections.Generic.List$1<number>) : void
  5695. /** Sets a global float array property for all shaders.
  5696. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5697. * @param $name The name of the property.
  5698. */
  5699. public static SetGlobalFloatArray ($name: string, $values: System.Array$1<number>) : void
  5700. /** Sets a global float array property for all shaders.
  5701. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5702. * @param $name The name of the property.
  5703. */
  5704. public static SetGlobalFloatArray ($nameID: number, $values: System.Array$1<number>) : void
  5705. public static SetGlobalVectorArray ($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  5706. public static SetGlobalVectorArray ($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  5707. /** Sets a global vector array property for all shaders.
  5708. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5709. * @param $name The name of the property.
  5710. */
  5711. public static SetGlobalVectorArray ($name: string, $values: System.Array$1<UnityEngine.Vector4>) : void
  5712. /** Sets a global vector array property for all shaders.
  5713. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5714. * @param $name The name of the property.
  5715. */
  5716. public static SetGlobalVectorArray ($nameID: number, $values: System.Array$1<UnityEngine.Vector4>) : void
  5717. public static SetGlobalMatrixArray ($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>) : void
  5718. public static SetGlobalMatrixArray ($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>) : void
  5719. /** Sets a global matrix array property for all shaders.
  5720. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5721. * @param $name The name of the property.
  5722. */
  5723. public static SetGlobalMatrixArray ($name: string, $values: System.Array$1<UnityEngine.Matrix4x4>) : void
  5724. /** Sets a global matrix array property for all shaders.
  5725. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5726. * @param $name The name of the property.
  5727. */
  5728. public static SetGlobalMatrixArray ($nameID: number, $values: System.Array$1<UnityEngine.Matrix4x4>) : void
  5729. /** This method is deprecated. Use GetGlobalFloat or GetGlobalInteger instead.
  5730. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5731. * @param $name The name of the property.
  5732. */
  5733. public static GetGlobalInt ($name: string) : number
  5734. /** This method is deprecated. Use GetGlobalFloat or GetGlobalInteger instead.
  5735. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5736. * @param $name The name of the property.
  5737. */
  5738. public static GetGlobalInt ($nameID: number) : number
  5739. /** Gets a global float property for all shaders previously set using SetGlobalFloat.
  5740. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5741. * @param $name The name of the property.
  5742. */
  5743. public static GetGlobalFloat ($name: string) : number
  5744. /** Gets a global float property for all shaders previously set using SetGlobalFloat.
  5745. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5746. * @param $name The name of the property.
  5747. */
  5748. public static GetGlobalFloat ($nameID: number) : number
  5749. /** Gets a global integer property for all shaders previously set using SetGlobalInteger.
  5750. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5751. * @param $name The name of the property.
  5752. */
  5753. public static GetGlobalInteger ($name: string) : number
  5754. /** Gets a global integer property for all shaders previously set using SetGlobalInteger.
  5755. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5756. * @param $name The name of the property.
  5757. */
  5758. public static GetGlobalInteger ($nameID: number) : number
  5759. /** Gets a global vector property for all shaders previously set using SetGlobalVector.
  5760. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5761. * @param $name The name of the property.
  5762. */
  5763. public static GetGlobalVector ($name: string) : UnityEngine.Vector4
  5764. /** Gets a global vector property for all shaders previously set using SetGlobalVector.
  5765. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5766. * @param $name The name of the property.
  5767. */
  5768. public static GetGlobalVector ($nameID: number) : UnityEngine.Vector4
  5769. /** Gets a global color property for all shaders previously set using SetGlobalColor.
  5770. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5771. * @param $name The name of the property.
  5772. */
  5773. public static GetGlobalColor ($name: string) : UnityEngine.Color
  5774. /** Gets a global color property for all shaders previously set using SetGlobalColor.
  5775. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5776. * @param $name The name of the property.
  5777. */
  5778. public static GetGlobalColor ($nameID: number) : UnityEngine.Color
  5779. /** Gets a global matrix property for all shaders previously set using SetGlobalMatrix.
  5780. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5781. * @param $name The name of the property.
  5782. */
  5783. public static GetGlobalMatrix ($name: string) : UnityEngine.Matrix4x4
  5784. /** Gets a global matrix property for all shaders previously set using SetGlobalMatrix.
  5785. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5786. * @param $name The name of the property.
  5787. */
  5788. public static GetGlobalMatrix ($nameID: number) : UnityEngine.Matrix4x4
  5789. /** Gets a global texture property for all shaders previously set using SetGlobalTexture.
  5790. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5791. * @param $name The name of the property.
  5792. */
  5793. public static GetGlobalTexture ($name: string) : UnityEngine.Texture
  5794. /** Gets a global texture property for all shaders previously set using SetGlobalTexture.
  5795. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5796. * @param $name The name of the property.
  5797. */
  5798. public static GetGlobalTexture ($nameID: number) : UnityEngine.Texture
  5799. /** Gets a global float array for all shaders previously set using SetGlobalFloatArray.
  5800. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5801. * @param $name The name of the property.
  5802. */
  5803. public static GetGlobalFloatArray ($name: string) : System.Array$1<number>
  5804. /** Gets a global float array for all shaders previously set using SetGlobalFloatArray.
  5805. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5806. * @param $name The name of the property.
  5807. */
  5808. public static GetGlobalFloatArray ($nameID: number) : System.Array$1<number>
  5809. /** Gets a global vector array for all shaders previously set using SetGlobalVectorArray.
  5810. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5811. * @param $name The name of the property.
  5812. */
  5813. public static GetGlobalVectorArray ($name: string) : System.Array$1<UnityEngine.Vector4>
  5814. /** Gets a global vector array for all shaders previously set using SetGlobalVectorArray.
  5815. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5816. * @param $name The name of the property.
  5817. */
  5818. public static GetGlobalVectorArray ($nameID: number) : System.Array$1<UnityEngine.Vector4>
  5819. /** Gets a global matrix array for all shaders previously set using SetGlobalMatrixArray.
  5820. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5821. * @param $name The name of the property.
  5822. */
  5823. public static GetGlobalMatrixArray ($name: string) : System.Array$1<UnityEngine.Matrix4x4>
  5824. /** Gets a global matrix array for all shaders previously set using SetGlobalMatrixArray.
  5825. * @param $nameID The name ID of the property retrieved by Shader.PropertyToID.
  5826. * @param $name The name of the property.
  5827. */
  5828. public static GetGlobalMatrixArray ($nameID: number) : System.Array$1<UnityEngine.Matrix4x4>
  5829. public static GetGlobalFloatArray ($name: string, $values: System.Collections.Generic.List$1<number>) : void
  5830. public static GetGlobalFloatArray ($nameID: number, $values: System.Collections.Generic.List$1<number>) : void
  5831. public static GetGlobalVectorArray ($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  5832. public static GetGlobalVectorArray ($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  5833. public static GetGlobalMatrixArray ($name: string, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>) : void
  5834. public static GetGlobalMatrixArray ($nameID: number, $values: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>) : void
  5835. /** Returns the number of properties in this Shader.
  5836. */
  5837. public GetPropertyCount () : number
  5838. /** Finds the index of a shader property by its name.
  5839. * @param $propertyName The name of the shader property.
  5840. */
  5841. public FindPropertyIndex ($propertyName: string) : number
  5842. /** Returns the name of the shader property at the specified index.
  5843. * @param $propertyIndex The index of the shader property.
  5844. */
  5845. public GetPropertyName ($propertyIndex: number) : string
  5846. /** Returns the nameId of the shader property at the specified index.
  5847. * @param $propertyIndex The index of the shader property.
  5848. */
  5849. public GetPropertyNameId ($propertyIndex: number) : number
  5850. /** Returns the ShaderPropertyType of the property at the specified index.
  5851. * @param $propertyIndex The index of the shader property.
  5852. */
  5853. public GetPropertyType ($propertyIndex: number) : UnityEngine.Rendering.ShaderPropertyType
  5854. /** Returns the description string of the shader property at the specified index.
  5855. * @param $propertyIndex The index of the shader property.
  5856. */
  5857. public GetPropertyDescription ($propertyIndex: number) : string
  5858. /** Returns the ShaderPropertyFlags of the shader property at the specified index.
  5859. * @param $propertyIndex The index of the shader property.
  5860. */
  5861. public GetPropertyFlags ($propertyIndex: number) : UnityEngine.Rendering.ShaderPropertyFlags
  5862. /** Returns an array of strings containing attributes of the shader property at the specified index.
  5863. * @param $propertyIndex The index of the shader property.
  5864. */
  5865. public GetPropertyAttributes ($propertyIndex: number) : System.Array$1<string>
  5866. /** Returns the default float value of the shader property at the specified index.
  5867. * @param $propertyIndex The index of the shader property.
  5868. */
  5869. public GetPropertyDefaultFloatValue ($propertyIndex: number) : number
  5870. /** Returns the default Vector4 value of the shader property at the specified index.
  5871. * @param $propertyIndex The index of the shader property.
  5872. */
  5873. public GetPropertyDefaultVectorValue ($propertyIndex: number) : UnityEngine.Vector4
  5874. /** Returns the min and max limits for a <a href="Rendering.ShaderPropertyType.Range.html">Range</a> property at the specified index.
  5875. * @param $propertyIndex The index of the shader property.
  5876. */
  5877. public GetPropertyRangeLimits ($propertyIndex: number) : UnityEngine.Vector2
  5878. /** Returns the default int value of the shader property at the specified index.
  5879. * @param $propertyIndex The index of the shader property.
  5880. */
  5881. public GetPropertyDefaultIntValue ($propertyIndex: number) : number
  5882. /** Returns the TextureDimension of a <a href="Rendering.ShaderPropertyType.Texture.html">Texture</a> shader property at the specified index.
  5883. * @param $propertyIndex The index of the shader property.
  5884. */
  5885. public GetPropertyTextureDimension ($propertyIndex: number) : UnityEngine.Rendering.TextureDimension
  5886. /** Returns the default Texture name of a <a href="Rendering.ShaderPropertyType.Texture.html">Texture</a> shader property at the specified index.
  5887. * @param $propertyIndex The index of the shader property.
  5888. */
  5889. public GetPropertyTextureDefaultName ($propertyIndex: number) : string
  5890. /** Find the name of a texture stack a texture belongs too.
  5891. * @param $propertyIndex Index of the property.
  5892. * @param $stackName On exit, contanis the name of the stack if one was found.
  5893. * @param $layerIndex On exit, contains the stack layer index of the texture property.
  5894. * @returns True, if a stack was found for the given texture property, false if not.
  5895. */
  5896. public FindTextureStack ($propertyIndex: number, $stackName: $Ref<string>, $layerIndex: $Ref<number>) : boolean
  5897. }
  5898. /** How the material interacts with lightmaps and lightprobes.
  5899. */
  5900. enum MaterialGlobalIlluminationFlags
  5901. { None = 0, RealtimeEmissive = 1, BakedEmissive = 2, EmissiveIsBlack = 4, AnyEmissive = 3 }
  5902. /** Render textures are textures that can be rendered to.
  5903. */
  5904. class RenderTexture extends UnityEngine.Texture
  5905. {
  5906. protected [__keep_incompatibility]: never;
  5907. /** The width of the render texture in pixels.
  5908. */
  5909. public get width(): number;
  5910. public set width(value: number);
  5911. /** The height of the render texture in pixels.
  5912. */
  5913. public get height(): number;
  5914. public set height(value: number);
  5915. /** Dimensionality (type) of the render texture.
  5916. */
  5917. public get dimension(): UnityEngine.Rendering.TextureDimension;
  5918. public set dimension(value: UnityEngine.Rendering.TextureDimension);
  5919. /** The color format of the render texture. You can set the color format to None to achieve depth-only rendering.
  5920. */
  5921. public get graphicsFormat(): UnityEngine.Experimental.Rendering.GraphicsFormat;
  5922. public set graphicsFormat(value: UnityEngine.Experimental.Rendering.GraphicsFormat);
  5923. /** Render texture has mipmaps when this flag is set.
  5924. */
  5925. public get useMipMap(): boolean;
  5926. public set useMipMap(value: boolean);
  5927. /** Does this render texture use sRGB read/write conversions? (Read Only).
  5928. */
  5929. public get sRGB(): boolean;
  5930. /** If this RenderTexture is a VR eye texture used in stereoscopic rendering, this property decides what special rendering occurs, if any.
  5931. */
  5932. public get vrUsage(): UnityEngine.VRTextureUsage;
  5933. public set vrUsage(value: UnityEngine.VRTextureUsage);
  5934. /** The render texture memoryless mode property.
  5935. */
  5936. public get memorylessMode(): UnityEngine.RenderTextureMemoryless;
  5937. public set memorylessMode(value: UnityEngine.RenderTextureMemoryless);
  5938. public get format(): UnityEngine.RenderTextureFormat;
  5939. public set format(value: UnityEngine.RenderTextureFormat);
  5940. /** The format of the stencil data that you can encapsulate within a RenderTexture.
  5941. Specifying this property creates a stencil element for the RenderTexture and sets its format.
  5942. This allows for stencil data to be bound as a Texture to all shader types for the platforms that support it.
  5943. This property does not specify the format of the stencil buffer, which is constrained by the depth buffer format specified in RenderTexture.depth.
  5944. Currently, most platforms only support R8_UInt (DirectX11, DirectX12), while PS4 also supports R8_UNorm.
  5945. */
  5946. public get stencilFormat(): UnityEngine.Experimental.Rendering.GraphicsFormat;
  5947. public set stencilFormat(value: UnityEngine.Experimental.Rendering.GraphicsFormat);
  5948. /** The format of the depth/stencil buffer.
  5949. */
  5950. public get depthStencilFormat(): UnityEngine.Experimental.Rendering.GraphicsFormat;
  5951. public set depthStencilFormat(value: UnityEngine.Experimental.Rendering.GraphicsFormat);
  5952. /** Mipmap levels are generated automatically when this flag is set.
  5953. */
  5954. public get autoGenerateMips(): boolean;
  5955. public set autoGenerateMips(value: boolean);
  5956. /** Volume extent of a 3D render texture or number of slices of array texture.
  5957. */
  5958. public get volumeDepth(): number;
  5959. public set volumeDepth(value: number);
  5960. /** The antialiasing level for the RenderTexture.
  5961. */
  5962. public get antiAliasing(): number;
  5963. public set antiAliasing(value: number);
  5964. /** If true and antiAliasing is greater than 1, the render texture will not be resolved by default. Use this if the render texture needs to be bound as a multisampled texture in a shader.
  5965. */
  5966. public get bindTextureMS(): boolean;
  5967. public set bindTextureMS(value: boolean);
  5968. /** Enable random access write into this render texture on Shader Model 5.0 level shaders.
  5969. */
  5970. public get enableRandomWrite(): boolean;
  5971. public set enableRandomWrite(value: boolean);
  5972. /** Is the render texture marked to be scaled by the.
  5973. */
  5974. public get useDynamicScale(): boolean;
  5975. public set useDynamicScale(value: boolean);
  5976. public get isPowerOfTwo(): boolean;
  5977. public set isPowerOfTwo(value: boolean);
  5978. /** Currently active render texture.
  5979. */
  5980. public static get active(): UnityEngine.RenderTexture;
  5981. public static set active(value: UnityEngine.RenderTexture);
  5982. /** Color buffer of the render texture (Read Only).
  5983. */
  5984. public get colorBuffer(): UnityEngine.RenderBuffer;
  5985. /** Depth/stencil buffer of the render texture (Read Only).
  5986. */
  5987. public get depthBuffer(): UnityEngine.RenderBuffer;
  5988. /** The precision of the render texture's depth buffer in bits (0, 16, 24 and 32 are supported).
  5989. */
  5990. public get depth(): number;
  5991. public set depth(value: number);
  5992. /** This struct contains all the information required to create a RenderTexture. It can be copied, cached, and reused to easily create RenderTextures that all share the same properties.
  5993. */
  5994. public get descriptor(): UnityEngine.RenderTextureDescriptor;
  5995. public set descriptor(value: UnityEngine.RenderTextureDescriptor);
  5996. /** Retrieve a native (underlying graphics API) pointer to the depth buffer resource.
  5997. * @returns Pointer to an underlying graphics API depth buffer resource.
  5998. */
  5999. public GetNativeDepthBufferPtr () : System.IntPtr
  6000. /** Hint the GPU driver that the contents of the RenderTexture will not be used.
  6001. * @param $discardColor Should the colour buffer be discarded?
  6002. * @param $discardDepth Should the depth buffer be discarded?
  6003. */
  6004. public DiscardContents ($discardColor: boolean, $discardDepth: boolean) : void
  6005. /** Hint the GPU driver that the contents of the RenderTexture will not be used.
  6006. * @param $discardColor Should the colour buffer be discarded?
  6007. * @param $discardDepth Should the depth buffer be discarded?
  6008. */
  6009. public DiscardContents () : void
  6010. /** Force an antialiased render texture to be resolved.
  6011. * @param $target The render texture to resolve into. If set, the target render texture must have the same dimensions and format as the source.
  6012. */
  6013. public ResolveAntiAliasedSurface () : void
  6014. /** Force an antialiased render texture to be resolved.
  6015. * @param $target The render texture to resolve into. If set, the target render texture must have the same dimensions and format as the source.
  6016. */
  6017. public ResolveAntiAliasedSurface ($target: UnityEngine.RenderTexture) : void
  6018. /** Assigns this RenderTexture as a global shader property named propertyName.
  6019. */
  6020. public SetGlobalShaderProperty ($propertyName: string) : void
  6021. /** Actually creates the RenderTexture.
  6022. * @returns True if the texture is created, else false.
  6023. */
  6024. public Create () : boolean
  6025. /** Releases the RenderTexture.
  6026. */
  6027. public Release () : void
  6028. /** Is the render texture actually created?
  6029. */
  6030. public IsCreated () : boolean
  6031. /** Generate mipmap levels of a render texture.
  6032. */
  6033. public GenerateMips () : void
  6034. public ConvertToEquirect ($equirect: UnityEngine.RenderTexture, $eye?: UnityEngine.Camera.MonoOrStereoscopicEye) : void
  6035. /** Does a RenderTexture have stencil buffer?
  6036. * @param $rt Render texture, or null for main screen.
  6037. */
  6038. public static SupportsStencil ($rt: UnityEngine.RenderTexture) : boolean
  6039. /** Release a temporary texture allocated with GetTemporary.
  6040. */
  6041. public static ReleaseTemporary ($temp: UnityEngine.RenderTexture) : void
  6042. /** Allocate a temporary render texture.
  6043. * @param $width Width in pixels.
  6044. * @param $height Height in pixels.
  6045. * @param $depthBuffer Depth buffer bits (0, 16 or 24). Note that only 24 bit depth has stencil buffer.
  6046. * @param $format Render texture format.
  6047. * @param $readWrite Color space conversion mode.
  6048. * @param $antiAliasing Number of antialiasing samples to store in the texture. Valid values are 1, 2, 4, and 8. Throws an exception if any other value is passed.
  6049. * @param $memorylessMode Render texture memoryless mode.
  6050. * @param $vrUsage How Unity uses the RenderTexture as a VR eye texture. The default is VRTextureUsage.None.
  6051. * @param $useDynamicScale Determines whether Unity scales the render texture using. The default is false.
  6052. * @param $desc Use this RenderTextureDesc for the settings when creating the temporary RenderTexture.
  6053. */
  6054. public static GetTemporary ($desc: UnityEngine.RenderTextureDescriptor) : UnityEngine.RenderTexture
  6055. public static GetTemporary ($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $antiAliasing: number, $memorylessMode: UnityEngine.RenderTextureMemoryless, $vrUsage: UnityEngine.VRTextureUsage, $useDynamicScale: boolean) : UnityEngine.RenderTexture
  6056. public static GetTemporary ($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $antiAliasing: number, $memorylessMode: UnityEngine.RenderTextureMemoryless, $vrUsage: UnityEngine.VRTextureUsage) : UnityEngine.RenderTexture
  6057. public static GetTemporary ($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $antiAliasing: number, $memorylessMode: UnityEngine.RenderTextureMemoryless) : UnityEngine.RenderTexture
  6058. public static GetTemporary ($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $antiAliasing: number) : UnityEngine.RenderTexture
  6059. public static GetTemporary ($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat) : UnityEngine.RenderTexture
  6060. /** Allocate a temporary render texture.
  6061. * @param $width Width in pixels.
  6062. * @param $height Height in pixels.
  6063. * @param $depthBuffer Depth buffer bits (0, 16 or 24). Note that only 24 bit depth has stencil buffer.
  6064. * @param $format Render texture format.
  6065. * @param $readWrite Color space conversion mode.
  6066. * @param $antiAliasing Number of antialiasing samples to store in the texture. Valid values are 1, 2, 4, and 8. Throws an exception if any other value is passed.
  6067. * @param $memorylessMode Render texture memoryless mode.
  6068. * @param $vrUsage How Unity uses the RenderTexture as a VR eye texture. The default is VRTextureUsage.None.
  6069. * @param $useDynamicScale Determines whether Unity scales the render texture using. The default is false.
  6070. * @param $desc Use this RenderTextureDesc for the settings when creating the temporary RenderTexture.
  6071. */
  6072. 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
  6073. 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
  6074. public static GetTemporary ($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.RenderTextureFormat, $readWrite: UnityEngine.RenderTextureReadWrite, $antiAliasing: number, $memorylessMode: UnityEngine.RenderTextureMemoryless) : UnityEngine.RenderTexture
  6075. public static GetTemporary ($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.RenderTextureFormat, $readWrite: UnityEngine.RenderTextureReadWrite, $antiAliasing: number) : UnityEngine.RenderTexture
  6076. public static GetTemporary ($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.RenderTextureFormat, $readWrite: UnityEngine.RenderTextureReadWrite) : UnityEngine.RenderTexture
  6077. public static GetTemporary ($width: number, $height: number, $depthBuffer: number, $format: UnityEngine.RenderTextureFormat) : UnityEngine.RenderTexture
  6078. public static GetTemporary ($width: number, $height: number, $depthBuffer: number) : UnityEngine.RenderTexture
  6079. public static GetTemporary ($width: number, $height: number) : UnityEngine.RenderTexture
  6080. public constructor ($desc: UnityEngine.RenderTextureDescriptor)
  6081. public constructor ($textureToCopy: UnityEngine.RenderTexture)
  6082. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.DefaultFormat)
  6083. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat)
  6084. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $mipCount: number)
  6085. public constructor ($width: number, $height: number, $colorFormat: UnityEngine.Experimental.Rendering.GraphicsFormat, $depthStencilFormat: UnityEngine.Experimental.Rendering.GraphicsFormat, $mipCount: number)
  6086. public constructor ($width: number, $height: number, $colorFormat: UnityEngine.Experimental.Rendering.GraphicsFormat, $depthStencilFormat: UnityEngine.Experimental.Rendering.GraphicsFormat)
  6087. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.RenderTextureFormat, $readWrite: UnityEngine.RenderTextureReadWrite)
  6088. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.RenderTextureFormat)
  6089. public constructor ($width: number, $height: number, $depth: number)
  6090. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.RenderTextureFormat, $mipCount: number)
  6091. public constructor ()
  6092. }
  6093. /** GPU data buffer, mostly for use with compute shaders.
  6094. */
  6095. class ComputeBuffer extends System.Object implements System.IDisposable
  6096. {
  6097. protected [__keep_incompatibility]: never;
  6098. }
  6099. /** GPU graphics data buffer, for working with geometry or compute shader data.
  6100. */
  6101. class GraphicsBuffer extends System.Object implements System.IDisposable
  6102. {
  6103. protected [__keep_incompatibility]: never;
  6104. }
  6105. /** Represents the internal handle/id of a GraphicsBuffer.
  6106. */
  6107. class GraphicsBufferHandle extends System.ValueType implements System.IEquatable$1<UnityEngine.GraphicsBufferHandle>
  6108. {
  6109. protected [__keep_incompatibility]: never;
  6110. }
  6111. /** The type of a given material property.
  6112. */
  6113. enum MaterialPropertyType
  6114. { Float = 0, Int = 1, Vector = 2, Matrix = 3, Texture = 4, ConstantBuffer = 5, ComputeBuffer = 6 }
  6115. /** Representation of rays.
  6116. */
  6117. class Ray extends System.ValueType implements System.IFormattable
  6118. {
  6119. protected [__keep_incompatibility]: never;
  6120. /** The origin point of the ray.
  6121. */
  6122. public get origin(): UnityEngine.Vector3;
  6123. public set origin(value: UnityEngine.Vector3);
  6124. /** The direction of the ray.
  6125. */
  6126. public get direction(): UnityEngine.Vector3;
  6127. public set direction(value: UnityEngine.Vector3);
  6128. /** Returns a point at distance units along the ray.
  6129. */
  6130. public GetPoint ($distance: number) : UnityEngine.Vector3
  6131. /** Returns a formatted string for this ray.
  6132. * @param $format A numeric format string.
  6133. * @param $formatProvider An object that specifies culture-specific formatting.
  6134. */
  6135. public ToString () : string
  6136. /** Returns a formatted string for this ray.
  6137. * @param $format A numeric format string.
  6138. * @param $formatProvider An object that specifies culture-specific formatting.
  6139. */
  6140. public ToString ($format: string) : string
  6141. /** Returns a formatted string for this ray.
  6142. * @param $format A numeric format string.
  6143. * @param $formatProvider An object that specifies culture-specific formatting.
  6144. */
  6145. public ToString ($format: string, $formatProvider: System.IFormatProvider) : string
  6146. public constructor ($origin: UnityEngine.Vector3, $direction: UnityEngine.Vector3)
  6147. public constructor ()
  6148. }
  6149. /** A Camera is a device through which the player views the world.
  6150. */
  6151. class Camera extends UnityEngine.Behaviour
  6152. {
  6153. protected [__keep_incompatibility]: never;
  6154. /** The minimum allowed aperture.
  6155. */
  6156. public static kMinAperture : number
  6157. /** The maximum allowed aperture.
  6158. */
  6159. public static kMaxAperture : number
  6160. /** The minimum blade count for the aperture diaphragm.
  6161. */
  6162. public static kMinBladeCount : number
  6163. /** The maximum blade count for the aperture diaphragm.
  6164. */
  6165. public static kMaxBladeCount : number
  6166. /** Delegate that you can use to execute custom code before a Camera culls the scene.
  6167. */
  6168. public static onPreCull : UnityEngine.Camera.CameraCallback
  6169. /** Delegate that you can use to execute custom code before a Camera renders the scene.
  6170. */
  6171. public static onPreRender : UnityEngine.Camera.CameraCallback
  6172. /** Delegate that you can use to execute custom code after a Camera renders the scene.
  6173. */
  6174. public static onPostRender : UnityEngine.Camera.CameraCallback
  6175. /** The distance of the near clipping plane from the the Camera, in world units.
  6176. */
  6177. public get nearClipPlane(): number;
  6178. public set nearClipPlane(value: number);
  6179. /** The distance of the far clipping plane from the Camera, in world units.
  6180. */
  6181. public get farClipPlane(): number;
  6182. public set farClipPlane(value: number);
  6183. /** The vertical field of view of the Camera, in degrees.
  6184. */
  6185. public get fieldOfView(): number;
  6186. public set fieldOfView(value: number);
  6187. /** The rendering path that should be used, if possible.
  6188. */
  6189. public get renderingPath(): UnityEngine.RenderingPath;
  6190. public set renderingPath(value: UnityEngine.RenderingPath);
  6191. /** The rendering path that is currently being used (Read Only).
  6192. */
  6193. public get actualRenderingPath(): UnityEngine.RenderingPath;
  6194. /** High dynamic range rendering.
  6195. */
  6196. public get allowHDR(): boolean;
  6197. public set allowHDR(value: boolean);
  6198. /** MSAA rendering.
  6199. */
  6200. public get allowMSAA(): boolean;
  6201. public set allowMSAA(value: boolean);
  6202. /** Dynamic Resolution Scaling.
  6203. */
  6204. public get allowDynamicResolution(): boolean;
  6205. public set allowDynamicResolution(value: boolean);
  6206. /** Should camera rendering be forced into a RenderTexture.
  6207. */
  6208. public get forceIntoRenderTexture(): boolean;
  6209. public set forceIntoRenderTexture(value: boolean);
  6210. /** Camera's half-size when in orthographic mode.
  6211. */
  6212. public get orthographicSize(): number;
  6213. public set orthographicSize(value: number);
  6214. /** Is the camera orthographic (true) or perspective (false)?
  6215. */
  6216. public get orthographic(): boolean;
  6217. public set orthographic(value: boolean);
  6218. /** Opaque object sorting mode.
  6219. */
  6220. public get opaqueSortMode(): UnityEngine.Rendering.OpaqueSortMode;
  6221. public set opaqueSortMode(value: UnityEngine.Rendering.OpaqueSortMode);
  6222. /** Transparent object sorting mode.
  6223. */
  6224. public get transparencySortMode(): UnityEngine.TransparencySortMode;
  6225. public set transparencySortMode(value: UnityEngine.TransparencySortMode);
  6226. /** An axis that describes the direction along which the distances of objects are measured for the purpose of sorting.
  6227. */
  6228. public get transparencySortAxis(): UnityEngine.Vector3;
  6229. public set transparencySortAxis(value: UnityEngine.Vector3);
  6230. /** Camera's depth in the camera rendering order.
  6231. */
  6232. public get depth(): number;
  6233. public set depth(value: number);
  6234. /** The aspect ratio (width divided by height).
  6235. */
  6236. public get aspect(): number;
  6237. public set aspect(value: number);
  6238. /** Get the world-space speed of the camera (Read Only).
  6239. */
  6240. public get velocity(): UnityEngine.Vector3;
  6241. /** This is used to render parts of the Scene selectively.
  6242. */
  6243. public get cullingMask(): number;
  6244. public set cullingMask(value: number);
  6245. /** Mask to select which layers can trigger events on the camera.
  6246. */
  6247. public get eventMask(): number;
  6248. public set eventMask(value: number);
  6249. /** How to perform per-layer culling for a Camera.
  6250. */
  6251. public get layerCullSpherical(): boolean;
  6252. public set layerCullSpherical(value: boolean);
  6253. /** Identifies what kind of camera this is, using the CameraType enum.
  6254. */
  6255. public get cameraType(): UnityEngine.CameraType;
  6256. public set cameraType(value: UnityEngine.CameraType);
  6257. /** Sets the culling mask used to determine which objects from which Scenes to draw.
  6258. See EditorSceneManager.SetSceneCullingMask.
  6259. */
  6260. public get overrideSceneCullingMask(): bigint;
  6261. public set overrideSceneCullingMask(value: bigint);
  6262. /** Per-layer culling distances.
  6263. */
  6264. public get layerCullDistances(): System.Array$1<number>;
  6265. public set layerCullDistances(value: System.Array$1<number>);
  6266. /** Whether or not the Camera will use occlusion culling during rendering.
  6267. */
  6268. public get useOcclusionCulling(): boolean;
  6269. public set useOcclusionCulling(value: boolean);
  6270. /** Sets a custom matrix for the camera to use for all culling queries.
  6271. */
  6272. public get cullingMatrix(): UnityEngine.Matrix4x4;
  6273. public set cullingMatrix(value: UnityEngine.Matrix4x4);
  6274. /** The color with which the screen will be cleared.
  6275. */
  6276. public get backgroundColor(): UnityEngine.Color;
  6277. public set backgroundColor(value: UnityEngine.Color);
  6278. /** How the camera clears the background.
  6279. */
  6280. public get clearFlags(): UnityEngine.CameraClearFlags;
  6281. public set clearFlags(value: UnityEngine.CameraClearFlags);
  6282. /** How and if camera generates a depth texture.
  6283. */
  6284. public get depthTextureMode(): UnityEngine.DepthTextureMode;
  6285. public set depthTextureMode(value: UnityEngine.DepthTextureMode);
  6286. /** Should the camera clear the stencil buffer after the deferred light pass?
  6287. */
  6288. public get clearStencilAfterLightingPass(): boolean;
  6289. public set clearStencilAfterLightingPass(value: boolean);
  6290. /** Enable usePhysicalProperties to use physical camera properties to compute the field of view and the frustum.
  6291. */
  6292. public get usePhysicalProperties(): boolean;
  6293. public set usePhysicalProperties(value: boolean);
  6294. /** The sensor sensitivity of the camera. To use this property, enable UsePhysicalProperties.
  6295. */
  6296. public get iso(): number;
  6297. public set iso(value: number);
  6298. /** The exposure time of the camera, in seconts. To use this property, enable UsePhysicalProperties.
  6299. */
  6300. public get shutterSpeed(): number;
  6301. public set shutterSpeed(value: number);
  6302. /** The camera aperture. To use this property, enable UsePhysicalProperties.
  6303. */
  6304. public get aperture(): number;
  6305. public set aperture(value: number);
  6306. /** The focus distance of the lens. To use this property, enable UsePhysicalProperties.
  6307. */
  6308. public get focusDistance(): number;
  6309. public set focusDistance(value: number);
  6310. /** The camera focal length, expressed in millimeters. To use this property, enable UsePhysicalProperties.
  6311. */
  6312. public get focalLength(): number;
  6313. public set focalLength(value: number);
  6314. /** The blade count in the lens of the camera. To use this property, enable UsePhysicalProperties.
  6315. */
  6316. public get bladeCount(): number;
  6317. public set bladeCount(value: number);
  6318. /** The curvature of the blades. To use this property, enable UsePhysicalProperties.
  6319. */
  6320. public get curvature(): UnityEngine.Vector2;
  6321. public set curvature(value: UnityEngine.Vector2);
  6322. /** The camera barrel clipping. To use this property, enable UsePhysicalProperties.
  6323. */
  6324. public get barrelClipping(): number;
  6325. public set barrelClipping(value: number);
  6326. /** The camera anamorphism. To use this property, enable UsePhysicalProperties.
  6327. */
  6328. public get anamorphism(): number;
  6329. public set anamorphism(value: number);
  6330. /** The size of the camera sensor, expressed in millimeters.
  6331. */
  6332. public get sensorSize(): UnityEngine.Vector2;
  6333. public set sensorSize(value: UnityEngine.Vector2);
  6334. /** The lens offset of the camera. The lens shift is relative to the sensor size. For example, a lens shift of 0.5 offsets the sensor by half its horizontal size.
  6335. */
  6336. public get lensShift(): UnityEngine.Vector2;
  6337. public set lensShift(value: UnityEngine.Vector2);
  6338. /** There are two gates for a camera, the sensor gate and the resolution gate. The physical camera sensor gate is defined by the sensorSize property, the resolution gate is defined by the render target area.
  6339. */
  6340. public get gateFit(): UnityEngine.Camera.GateFitMode;
  6341. public set gateFit(value: UnityEngine.Camera.GateFitMode);
  6342. /** Where on the screen is the camera rendered in normalized coordinates.
  6343. */
  6344. public get rect(): UnityEngine.Rect;
  6345. public set rect(value: UnityEngine.Rect);
  6346. /** Where on the screen is the camera rendered in pixel coordinates.
  6347. */
  6348. public get pixelRect(): UnityEngine.Rect;
  6349. public set pixelRect(value: UnityEngine.Rect);
  6350. /** How wide is the camera in pixels (not accounting for dynamic resolution scaling) (Read Only).
  6351. */
  6352. public get pixelWidth(): number;
  6353. /** How tall is the camera in pixels (not accounting for dynamic resolution scaling) (Read Only).
  6354. */
  6355. public get pixelHeight(): number;
  6356. /** How wide is the camera in pixels (accounting for dynamic resolution scaling) (Read Only).
  6357. */
  6358. public get scaledPixelWidth(): number;
  6359. /** How tall is the camera in pixels (accounting for dynamic resolution scaling) (Read Only).
  6360. */
  6361. public get scaledPixelHeight(): number;
  6362. /** Destination render texture.
  6363. */
  6364. public get targetTexture(): UnityEngine.RenderTexture;
  6365. public set targetTexture(value: UnityEngine.RenderTexture);
  6366. /** Gets the temporary RenderTexture target for this Camera.
  6367. */
  6368. public get activeTexture(): UnityEngine.RenderTexture;
  6369. /** Set the target display for this Camera.
  6370. */
  6371. public get targetDisplay(): number;
  6372. public set targetDisplay(value: number);
  6373. /** Matrix that transforms from camera space to world space (Read Only).
  6374. */
  6375. public get cameraToWorldMatrix(): UnityEngine.Matrix4x4;
  6376. /** Matrix that transforms from world to camera space.
  6377. */
  6378. public get worldToCameraMatrix(): UnityEngine.Matrix4x4;
  6379. public set worldToCameraMatrix(value: UnityEngine.Matrix4x4);
  6380. /** Set a custom projection matrix.
  6381. */
  6382. public get projectionMatrix(): UnityEngine.Matrix4x4;
  6383. public set projectionMatrix(value: UnityEngine.Matrix4x4);
  6384. /** Get or set the raw projection matrix with no camera offset (no jittering).
  6385. */
  6386. public get nonJitteredProjectionMatrix(): UnityEngine.Matrix4x4;
  6387. public set nonJitteredProjectionMatrix(value: UnityEngine.Matrix4x4);
  6388. /** Should the jittered matrix be used for transparency rendering?
  6389. */
  6390. public get useJitteredProjectionMatrixForTransparentRendering(): boolean;
  6391. public set useJitteredProjectionMatrixForTransparentRendering(value: boolean);
  6392. /** Get the view projection matrix used on the last frame.
  6393. */
  6394. public get previousViewProjectionMatrix(): UnityEngine.Matrix4x4;
  6395. /** The first enabled Camera component that is tagged "MainCamera" (Read Only).
  6396. */
  6397. public static get main(): UnityEngine.Camera;
  6398. /** The camera we are currently rendering with, for low-level render control only (Read Only).
  6399. */
  6400. public static get current(): UnityEngine.Camera;
  6401. /** If not null, the camera will only render the contents of the specified Scene.
  6402. */
  6403. public get scene(): UnityEngine.SceneManagement.Scene;
  6404. public set scene(value: UnityEngine.SceneManagement.Scene);
  6405. /** Stereoscopic rendering.
  6406. */
  6407. public get stereoEnabled(): boolean;
  6408. /** The distance between the virtual eyes. Use this to query or set the current eye separation. Note that most VR devices provide this value, in which case setting the value will have no effect.
  6409. */
  6410. public get stereoSeparation(): number;
  6411. public set stereoSeparation(value: number);
  6412. /** Distance to a point where virtual eyes converge.
  6413. */
  6414. public get stereoConvergence(): number;
  6415. public set stereoConvergence(value: number);
  6416. /** Determines whether the stereo view matrices are suitable to allow for a single pass cull.
  6417. */
  6418. public get areVRStereoViewMatricesWithinSingleCullTolerance(): boolean;
  6419. /** Defines which eye of a VR display the Camera renders into.
  6420. */
  6421. public get stereoTargetEye(): UnityEngine.StereoTargetEyeMask;
  6422. public set stereoTargetEye(value: UnityEngine.StereoTargetEyeMask);
  6423. /** Returns the eye that is currently rendering.
  6424. If called when stereo is not enabled it will return Camera.MonoOrStereoscopicEye.Mono.
  6425. If called during a camera rendering callback such as OnRenderImage it will return the currently rendering eye.
  6426. If called outside of a rendering callback and stereo is enabled, it will return the default eye which is Camera.MonoOrStereoscopicEye.Left.
  6427. */
  6428. public get stereoActiveEye(): UnityEngine.Camera.MonoOrStereoscopicEye;
  6429. /** The number of cameras in the current Scene.
  6430. */
  6431. public static get allCamerasCount(): number;
  6432. /** Returns all enabled cameras in the Scene.
  6433. */
  6434. public static get allCameras(): System.Array$1<UnityEngine.Camera>;
  6435. public get sceneViewFilterMode(): UnityEngine.Camera.SceneViewFilterMode;
  6436. /** Number of command buffers set up on this camera (Read Only).
  6437. */
  6438. public get commandBufferCount(): number;
  6439. /** Revert all camera parameters to default.
  6440. */
  6441. public Reset () : void
  6442. /** Resets this Camera's transparency sort settings to the default. Default transparency settings are taken from GraphicsSettings instead of directly from this Camera.
  6443. */
  6444. public ResetTransparencySortSettings () : void
  6445. /** Revert the aspect ratio to the screen's aspect ratio.
  6446. */
  6447. public ResetAspect () : void
  6448. /** Make culling queries reflect the camera's built in parameters.
  6449. */
  6450. public ResetCullingMatrix () : void
  6451. /** Make the camera render with shader replacement.
  6452. */
  6453. public SetReplacementShader ($shader: UnityEngine.Shader, $replacementTag: string) : void
  6454. /** Remove shader replacement from camera.
  6455. */
  6456. public ResetReplacementShader () : void
  6457. /**
  6458. Retrieves the effective vertical field of view of the camera, including GateFit.
  6459. Fitting the sensor gate and the resolution gate has an impact on the final field of view. If the sensor gate aspect ratio is the same as the resolution gate aspect ratio or if the camera is not in physical mode, then this method returns the same value as the fieldofview property.
  6460. * @returns Returns the effective vertical field of view.
  6461. */
  6462. public GetGateFittedFieldOfView () : number
  6463. /**
  6464. Retrieves the effective lens offset of the camera, including GateFit.
  6465. Fitting the sensor gate and the resolution gate has an impact on the final obliqueness of the projection. If the sensor gate aspect ratio is the same as the resolution gate aspect ratio, then this method returns the same value as the lenshift property. If the camera is not in physical mode, then this methods returns Vector2.zero.
  6466. * @returns Returns the effective lens shift value.
  6467. */
  6468. public GetGateFittedLensShift () : UnityEngine.Vector2
  6469. /** Sets the Camera to render to the chosen buffers of one or more RenderTextures.
  6470. * @param $colorBuffer The RenderBuffer(s) to which color information will be rendered.
  6471. * @param $depthBuffer The RenderBuffer to which depth information will be rendered.
  6472. */
  6473. public SetTargetBuffers ($colorBuffer: UnityEngine.RenderBuffer, $depthBuffer: UnityEngine.RenderBuffer) : void
  6474. /** Sets the Camera to render to the chosen buffers of one or more RenderTextures.
  6475. * @param $colorBuffer The RenderBuffer(s) to which color information will be rendered.
  6476. * @param $depthBuffer The RenderBuffer to which depth information will be rendered.
  6477. */
  6478. public SetTargetBuffers ($colorBuffer: System.Array$1<UnityEngine.RenderBuffer>, $depthBuffer: UnityEngine.RenderBuffer) : void
  6479. /** Make the rendering position reflect the camera's position in the Scene.
  6480. */
  6481. public ResetWorldToCameraMatrix () : void
  6482. /** Make the projection reflect normal camera's parameters.
  6483. */
  6484. public ResetProjectionMatrix () : void
  6485. /** Calculates and returns oblique near-plane projection matrix.
  6486. * @param $clipPlane Vector4 that describes a clip plane.
  6487. * @returns Oblique near-plane projection matrix.
  6488. */
  6489. public CalculateObliqueMatrix ($clipPlane: UnityEngine.Vector4) : UnityEngine.Matrix4x4
  6490. public WorldToScreenPoint ($position: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye) : UnityEngine.Vector3
  6491. public WorldToViewportPoint ($position: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye) : UnityEngine.Vector3
  6492. public ViewportToWorldPoint ($position: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye) : UnityEngine.Vector3
  6493. public ScreenToWorldPoint ($position: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye) : UnityEngine.Vector3
  6494. /** Transforms position from world space into screen space.
  6495. * @param $eye Optional argument that can be used to specify which eye transform to use. Default is Mono.
  6496. */
  6497. public WorldToScreenPoint ($position: UnityEngine.Vector3) : UnityEngine.Vector3
  6498. /** Transforms position from world space into viewport space.
  6499. * @param $eye Optional argument that can be used to specify which eye transform to use. Default is Mono.
  6500. */
  6501. public WorldToViewportPoint ($position: UnityEngine.Vector3) : UnityEngine.Vector3
  6502. /** Transforms position from viewport space into world space.
  6503. * @param $position The 3d vector in Viewport space.
  6504. * @returns The 3d vector in World space.
  6505. */
  6506. public ViewportToWorldPoint ($position: UnityEngine.Vector3) : UnityEngine.Vector3
  6507. /** Transforms a point from screen space into world space, where world space is defined as the coordinate system at the very top of your game's hierarchy.
  6508. * @param $position A screen space position (often mouse x, y), plus a z position for depth (for example, a camera clipping plane).
  6509. * @param $eye By default, Camera.MonoOrStereoscopicEye.Mono. Can be set to Camera.MonoOrStereoscopicEye.Left or Camera.MonoOrStereoscopicEye.Right for use in stereoscopic rendering (e.g., for VR).
  6510. * @returns The worldspace point created by converting the screen space point at the provided distance z from the camera plane.
  6511. */
  6512. public ScreenToWorldPoint ($position: UnityEngine.Vector3) : UnityEngine.Vector3
  6513. /** Transforms position from screen space into viewport space.
  6514. */
  6515. public ScreenToViewportPoint ($position: UnityEngine.Vector3) : UnityEngine.Vector3
  6516. /** Transforms position from viewport space into screen space.
  6517. */
  6518. public ViewportToScreenPoint ($position: UnityEngine.Vector3) : UnityEngine.Vector3
  6519. public ViewportPointToRay ($pos: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye) : UnityEngine.Ray
  6520. /** Returns a ray going from camera through a viewport point.
  6521. * @param $eye Optional argument that can be used to specify which eye transform to use. Default is Mono.
  6522. */
  6523. public ViewportPointToRay ($pos: UnityEngine.Vector3) : UnityEngine.Ray
  6524. public ScreenPointToRay ($pos: UnityEngine.Vector3, $eye: UnityEngine.Camera.MonoOrStereoscopicEye) : UnityEngine.Ray
  6525. /** Returns a ray going from camera through a screen point.
  6526. * @param $pos A 3D point, with the x and y coordinates containing a 2D screenspace point in pixels. The lower left pixel of the screen is (0,0). The upper right pixel of the screen is (screen width in pixels - 1, screen height in pixels - 1). Unity ignores the z coordinate.
  6527. * @param $eye Optional argument that can be used to specify which eye transform to use. Default is Mono.
  6528. */
  6529. public ScreenPointToRay ($pos: UnityEngine.Vector3) : UnityEngine.Ray
  6530. public CalculateFrustumCorners ($viewport: UnityEngine.Rect, $z: number, $eye: UnityEngine.Camera.MonoOrStereoscopicEye, $outCorners: System.Array$1<UnityEngine.Vector3>) : void
  6531. public static CalculateProjectionMatrixFromPhysicalProperties ($output: $Ref<UnityEngine.Matrix4x4>, $focalLength: number, $sensorSize: UnityEngine.Vector2, $lensShift: UnityEngine.Vector2, $nearClip: number, $farClip: number, $gateFitParameters?: UnityEngine.Camera.GateFitParameters) : void
  6532. /** Converts focal length to field of view.
  6533. * @param $focalLength Focal length in millimeters.
  6534. * @param $sensorSize Sensor size in millimeters. Use the sensor height to get the vertical field of view. Use the sensor width to get the horizontal field of view.
  6535. * @returns field of view in degrees.
  6536. */
  6537. public static FocalLengthToFieldOfView ($focalLength: number, $sensorSize: number) : number
  6538. /** Converts field of view to focal length. Use either sensor height and vertical field of view or sensor width and horizontal field of view.
  6539. * @param $fieldOfView field of view in degrees.
  6540. * @param $sensorSize Sensor size in millimeters.
  6541. * @returns Focal length in millimeters.
  6542. */
  6543. public static FieldOfViewToFocalLength ($fieldOfView: number, $sensorSize: number) : number
  6544. /** Converts the horizontal field of view (FOV) to the vertical FOV, based on the value of the aspect ratio parameter.
  6545. * @param $horizontalFOV The horizontal FOV value in degrees.
  6546. * @param $aspectRatio The aspect ratio value used for the conversion
  6547. */
  6548. public static HorizontalToVerticalFieldOfView ($horizontalFieldOfView: number, $aspectRatio: number) : number
  6549. /** Converts the vertical field of view (FOV) to the horizontal FOV, based on the value of the aspect ratio parameter.
  6550. * @param $verticalFieldOfView The vertical FOV value in degrees.
  6551. * @param $aspectRatio The aspect ratio value used for the conversion
  6552. */
  6553. public static VerticalToHorizontalFieldOfView ($verticalFieldOfView: number, $aspectRatio: number) : number
  6554. public GetStereoNonJitteredProjectionMatrix ($eye: UnityEngine.Camera.StereoscopicEye) : UnityEngine.Matrix4x4
  6555. public GetStereoViewMatrix ($eye: UnityEngine.Camera.StereoscopicEye) : UnityEngine.Matrix4x4
  6556. public CopyStereoDeviceProjectionMatrixToNonJittered ($eye: UnityEngine.Camera.StereoscopicEye) : void
  6557. public GetStereoProjectionMatrix ($eye: UnityEngine.Camera.StereoscopicEye) : UnityEngine.Matrix4x4
  6558. public SetStereoProjectionMatrix ($eye: UnityEngine.Camera.StereoscopicEye, $matrix: UnityEngine.Matrix4x4) : void
  6559. /** Reset the camera to using the Unity computed projection matrices for all stereoscopic eyes.
  6560. */
  6561. public ResetStereoProjectionMatrices () : void
  6562. public SetStereoViewMatrix ($eye: UnityEngine.Camera.StereoscopicEye, $matrix: UnityEngine.Matrix4x4) : void
  6563. /** Reset the camera to using the Unity computed view matrices for all stereoscopic eyes.
  6564. */
  6565. public ResetStereoViewMatrices () : void
  6566. /** Fills an array of Camera with the current cameras in the Scene, without allocating a new array.
  6567. * @param $cameras An array to be filled up with cameras currently in the Scene.
  6568. */
  6569. public static GetAllCameras ($cameras: System.Array$1<UnityEngine.Camera>) : number
  6570. /** Render into a static cubemap from this camera.
  6571. * @param $cubemap The cube map to render to.
  6572. * @param $faceMask A bitmask which determines which of the six faces are rendered to.
  6573. * @returns False if rendering fails, else true.
  6574. */
  6575. public RenderToCubemap ($cubemap: UnityEngine.Cubemap, $faceMask: number) : boolean
  6576. public RenderToCubemap ($cubemap: UnityEngine.Cubemap) : boolean
  6577. /** Render into a cubemap from this camera.
  6578. * @param $faceMask A bitfield indicating which cubemap faces should be rendered into.
  6579. * @param $cubemap The texture to render to.
  6580. * @returns False if rendering fails, else true.
  6581. */
  6582. public RenderToCubemap ($cubemap: UnityEngine.RenderTexture, $faceMask: number) : boolean
  6583. public RenderToCubemap ($cubemap: UnityEngine.RenderTexture) : boolean
  6584. public RenderToCubemap ($cubemap: UnityEngine.RenderTexture, $faceMask: number, $stereoEye: UnityEngine.Camera.MonoOrStereoscopicEye) : boolean
  6585. /** Render the camera manually.
  6586. */
  6587. public Render () : void
  6588. /** Render the camera with shader replacement.
  6589. */
  6590. public RenderWithShader ($shader: UnityEngine.Shader, $replacementTag: string) : void
  6591. public RenderDontRestore () : void
  6592. public static SetupCurrent ($cur: UnityEngine.Camera) : void
  6593. /** Makes this camera's settings match other camera.
  6594. * @param $other Copy camera settings to the other camera.
  6595. */
  6596. public CopyFrom ($other: UnityEngine.Camera) : void
  6597. /** Remove command buffers from execution at a specified place.
  6598. * @param $evt When to execute the command buffer during rendering.
  6599. */
  6600. public RemoveCommandBuffers ($evt: UnityEngine.Rendering.CameraEvent) : void
  6601. /** Remove all command buffers set on this camera.
  6602. */
  6603. public RemoveAllCommandBuffers () : void
  6604. /** Add a command buffer to be executed at a specified place.
  6605. * @param $evt When to execute the command buffer during rendering.
  6606. * @param $buffer The buffer to execute.
  6607. */
  6608. public AddCommandBuffer ($evt: UnityEngine.Rendering.CameraEvent, $buffer: UnityEngine.Rendering.CommandBuffer) : void
  6609. /** Adds a command buffer to the GPU's async compute queues and executes that command buffer when graphics processing reaches a given point.
  6610. * @param $evt The point during the graphics processing at which this command buffer should commence on the GPU.
  6611. * @param $buffer The buffer to execute.
  6612. * @param $queueType The desired async compute queue type to execute the buffer on.
  6613. */
  6614. public AddCommandBufferAsync ($evt: UnityEngine.Rendering.CameraEvent, $buffer: UnityEngine.Rendering.CommandBuffer, $queueType: UnityEngine.Rendering.ComputeQueueType) : void
  6615. /** Remove command buffer from execution at a specified place.
  6616. * @param $evt When to execute the command buffer during rendering.
  6617. * @param $buffer The buffer to execute.
  6618. */
  6619. public RemoveCommandBuffer ($evt: UnityEngine.Rendering.CameraEvent, $buffer: UnityEngine.Rendering.CommandBuffer) : void
  6620. /** Get command buffers to be executed at a specified place.
  6621. * @param $evt When to execute the command buffer during rendering.
  6622. * @returns Array of command buffers.
  6623. */
  6624. public GetCommandBuffers ($evt: UnityEngine.Rendering.CameraEvent) : System.Array$1<UnityEngine.Rendering.CommandBuffer>
  6625. /** Get culling parameters for a camera.
  6626. * @param $cullingParameters Resultant culling parameters.
  6627. * @param $stereoAware Generate single-pass stereo aware culling parameters.
  6628. * @returns Flag indicating whether culling parameters are valid.
  6629. */
  6630. public TryGetCullingParameters ($cullingParameters: $Ref<UnityEngine.Rendering.ScriptableCullingParameters>) : boolean
  6631. /** Get culling parameters for a camera.
  6632. * @param $cullingParameters Resultant culling parameters.
  6633. * @param $stereoAware Generate single-pass stereo aware culling parameters.
  6634. * @returns Flag indicating whether culling parameters are valid.
  6635. */
  6636. public TryGetCullingParameters ($stereoAware: boolean, $cullingParameters: $Ref<UnityEngine.Rendering.ScriptableCullingParameters>) : boolean
  6637. public constructor ()
  6638. }
  6639. /** Rendering path of a Camera.
  6640. */
  6641. enum RenderingPath
  6642. { UsePlayerSettings = -1, VertexLit = 0, Forward = 1, DeferredLighting = 2, DeferredShading = 3 }
  6643. /** Transparent object sorting mode of a Camera.
  6644. */
  6645. enum TransparencySortMode
  6646. { Default = 0, Perspective = 1, Orthographic = 2, CustomAxis = 3 }
  6647. /** Describes different types of camera.
  6648. */
  6649. enum CameraType
  6650. { Game = 1, SceneView = 2, Preview = 4, VR = 8, Reflection = 16 }
  6651. /** Values for Camera.clearFlags, determining what to clear when rendering a Camera.
  6652. */
  6653. enum CameraClearFlags
  6654. { Skybox = 1, Color = 2, SolidColor = 2, Depth = 3, Nothing = 4 }
  6655. /** Depth texture generation mode for Camera.
  6656. */
  6657. enum DepthTextureMode
  6658. { None = 0, Depth = 1, DepthNormals = 2, MotionVectors = 4 }
  6659. /** A 2D Rectangle defined by X and Y position, width and height.
  6660. */
  6661. class Rect extends System.ValueType implements System.IEquatable$1<UnityEngine.Rect>, System.IFormattable
  6662. {
  6663. protected [__keep_incompatibility]: never;
  6664. /** Shorthand for writing new Rect(0,0,0,0).
  6665. */
  6666. public static get zero(): UnityEngine.Rect;
  6667. /** The X coordinate of the rectangle.
  6668. */
  6669. public get x(): number;
  6670. public set x(value: number);
  6671. /** The Y coordinate of the rectangle.
  6672. */
  6673. public get y(): number;
  6674. public set y(value: number);
  6675. /** The X and Y position of the rectangle.
  6676. */
  6677. public get position(): UnityEngine.Vector2;
  6678. public set position(value: UnityEngine.Vector2);
  6679. /** The position of the center of the rectangle.
  6680. */
  6681. public get center(): UnityEngine.Vector2;
  6682. public set center(value: UnityEngine.Vector2);
  6683. /** The position of the minimum corner of the rectangle.
  6684. */
  6685. public get min(): UnityEngine.Vector2;
  6686. public set min(value: UnityEngine.Vector2);
  6687. /** The position of the maximum corner of the rectangle.
  6688. */
  6689. public get max(): UnityEngine.Vector2;
  6690. public set max(value: UnityEngine.Vector2);
  6691. /** The width of the rectangle, measured from the X position.
  6692. */
  6693. public get width(): number;
  6694. public set width(value: number);
  6695. /** The height of the rectangle, measured from the Y position.
  6696. */
  6697. public get height(): number;
  6698. public set height(value: number);
  6699. /** The width and height of the rectangle.
  6700. */
  6701. public get size(): UnityEngine.Vector2;
  6702. public set size(value: UnityEngine.Vector2);
  6703. /** The minimum X coordinate of the rectangle.
  6704. */
  6705. public get xMin(): number;
  6706. public set xMin(value: number);
  6707. /** The minimum Y coordinate of the rectangle.
  6708. */
  6709. public get yMin(): number;
  6710. public set yMin(value: number);
  6711. /** The maximum X coordinate of the rectangle.
  6712. */
  6713. public get xMax(): number;
  6714. public set xMax(value: number);
  6715. /** The maximum Y coordinate of the rectangle.
  6716. */
  6717. public get yMax(): number;
  6718. public set yMax(value: number);
  6719. /** Creates a rectangle from min/max coordinate values.
  6720. * @param $xmin The minimum X coordinate.
  6721. * @param $ymin The minimum Y coordinate.
  6722. * @param $xmax The maximum X coordinate.
  6723. * @param $ymax The maximum Y coordinate.
  6724. * @returns A rectangle matching the specified coordinates.
  6725. */
  6726. public static MinMaxRect ($xmin: number, $ymin: number, $xmax: number, $ymax: number) : UnityEngine.Rect
  6727. /** Set components of an existing Rect.
  6728. */
  6729. public Set ($x: number, $y: number, $width: number, $height: number) : void
  6730. /** Returns true if the x and y components of point is a point inside this rectangle. If allowInverse is present and true, the width and height of the Rect are allowed to take negative values (ie, the min value is greater than the max), and the test will still work.
  6731. * @param $point Point to test.
  6732. * @param $allowInverse Does the test allow the Rect's width and height to be negative?
  6733. * @returns True if the point lies within the specified rectangle.
  6734. */
  6735. public Contains ($point: UnityEngine.Vector2) : boolean
  6736. /** Returns true if the x and y components of point is a point inside this rectangle. If allowInverse is present and true, the width and height of the Rect are allowed to take negative values (ie, the min value is greater than the max), and the test will still work.
  6737. * @param $point Point to test.
  6738. * @param $allowInverse Does the test allow the Rect's width and height to be negative?
  6739. * @returns True if the point lies within the specified rectangle.
  6740. */
  6741. public Contains ($point: UnityEngine.Vector3) : boolean
  6742. /** Returns true if the x and y components of point is a point inside this rectangle. If allowInverse is present and true, the width and height of the Rect are allowed to take negative values (ie, the min value is greater than the max), and the test will still work.
  6743. * @param $point Point to test.
  6744. * @param $allowInverse Does the test allow the Rect's width and height to be negative?
  6745. * @returns True if the point lies within the specified rectangle.
  6746. */
  6747. public Contains ($point: UnityEngine.Vector3, $allowInverse: boolean) : boolean
  6748. /** Returns true if the other rectangle overlaps this one. If allowInverse is present and true, the widths and heights of the Rects are allowed to take negative values (ie, the min value is greater than the max), and the test will still work.
  6749. * @param $other Other rectangle to test overlapping with.
  6750. * @param $allowInverse Does the test allow the widths and heights of the Rects to be negative?
  6751. */
  6752. public Overlaps ($other: UnityEngine.Rect) : boolean
  6753. /** Returns true if the other rectangle overlaps this one. If allowInverse is present and true, the widths and heights of the Rects are allowed to take negative values (ie, the min value is greater than the max), and the test will still work.
  6754. * @param $other Other rectangle to test overlapping with.
  6755. * @param $allowInverse Does the test allow the widths and heights of the Rects to be negative?
  6756. */
  6757. public Overlaps ($other: UnityEngine.Rect, $allowInverse: boolean) : boolean
  6758. /** Returns a point inside a rectangle, given normalized coordinates.
  6759. * @param $rectangle Rectangle to get a point inside.
  6760. * @param $normalizedRectCoordinates Normalized coordinates to get a point for.
  6761. */
  6762. public static NormalizedToPoint ($rectangle: UnityEngine.Rect, $normalizedRectCoordinates: UnityEngine.Vector2) : UnityEngine.Vector2
  6763. /** Returns the normalized coordinates cooresponding the the point.
  6764. * @param $rectangle Rectangle to get normalized coordinates inside.
  6765. * @param $point A point inside the rectangle to get normalized coordinates for.
  6766. */
  6767. public static PointToNormalized ($rectangle: UnityEngine.Rect, $point: UnityEngine.Vector2) : UnityEngine.Vector2
  6768. public static op_Inequality ($lhs: UnityEngine.Rect, $rhs: UnityEngine.Rect) : boolean
  6769. public static op_Equality ($lhs: UnityEngine.Rect, $rhs: UnityEngine.Rect) : boolean
  6770. public Equals ($other: any) : boolean
  6771. public Equals ($other: UnityEngine.Rect) : boolean
  6772. /** Returns a formatted string for this Rect.
  6773. * @param $format A numeric format string.
  6774. * @param $formatProvider An object that specifies culture-specific formatting.
  6775. */
  6776. public ToString () : string
  6777. /** Returns a formatted string for this Rect.
  6778. * @param $format A numeric format string.
  6779. * @param $formatProvider An object that specifies culture-specific formatting.
  6780. */
  6781. public ToString ($format: string) : string
  6782. /** Returns a formatted string for this Rect.
  6783. * @param $format A numeric format string.
  6784. * @param $formatProvider An object that specifies culture-specific formatting.
  6785. */
  6786. public ToString ($format: string, $formatProvider: System.IFormatProvider) : string
  6787. public constructor ($x: number, $y: number, $width: number, $height: number)
  6788. public constructor ($position: UnityEngine.Vector2, $size: UnityEngine.Vector2)
  6789. public constructor ($source: UnityEngine.Rect)
  6790. public Equals ($obj: any) : boolean
  6791. public static Equals ($objA: any, $objB: any) : boolean
  6792. public constructor ()
  6793. }
  6794. /** Color or depth buffer part of a RenderTexture.
  6795. */
  6796. class RenderBuffer extends System.ValueType
  6797. {
  6798. protected [__keep_incompatibility]: never;
  6799. }
  6800. /** Enum values for the Camera's targetEye property.
  6801. */
  6802. enum StereoTargetEyeMask
  6803. { None = 0, Left = 1, Right = 2, Both = 3 }
  6804. /** Class for handling cube maps, Use this to create or modify existing.
  6805. */
  6806. class Cubemap extends UnityEngine.Texture
  6807. {
  6808. protected [__keep_incompatibility]: never;
  6809. }
  6810. /** This struct contains the view space coordinates of the near projection plane.
  6811. */
  6812. class FrustumPlanes extends System.ValueType
  6813. {
  6814. protected [__keep_incompatibility]: never;
  6815. }
  6816. /** Representation of a plane in 3D space.
  6817. */
  6818. class Plane extends System.ValueType implements System.IFormattable
  6819. {
  6820. protected [__keep_incompatibility]: never;
  6821. /** Normal vector of the plane.
  6822. */
  6823. public get normal(): UnityEngine.Vector3;
  6824. public set normal(value: UnityEngine.Vector3);
  6825. /** The distance measured from the Plane to the origin, along the Plane's normal.
  6826. */
  6827. public get distance(): number;
  6828. public set distance(value: number);
  6829. /** Returns a copy of the plane that faces in the opposite direction.
  6830. */
  6831. public get flipped(): UnityEngine.Plane;
  6832. /** Sets a plane using a point that lies within it along with a normal to orient it.
  6833. * @param $inNormal The plane's normal vector.
  6834. * @param $inPoint A point that lies on the plane.
  6835. */
  6836. public SetNormalAndPosition ($inNormal: UnityEngine.Vector3, $inPoint: UnityEngine.Vector3) : void
  6837. /** Sets a plane using three points that lie within it. The points go around clockwise as you look down on the top surface of the plane.
  6838. * @param $a First point in clockwise order.
  6839. * @param $b Second point in clockwise order.
  6840. * @param $c Third point in clockwise order.
  6841. */
  6842. public Set3Points ($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $c: UnityEngine.Vector3) : void
  6843. /** Makes the plane face in the opposite direction.
  6844. */
  6845. public Flip () : void
  6846. /** Moves the plane in space by the translation vector.
  6847. * @param $translation The offset in space to move the plane with.
  6848. */
  6849. public Translate ($translation: UnityEngine.Vector3) : void
  6850. /** Returns a copy of the given plane that is moved in space by the given translation.
  6851. * @param $plane The plane to move in space.
  6852. * @param $translation The offset in space to move the plane with.
  6853. * @returns The translated plane.
  6854. */
  6855. public static Translate ($plane: UnityEngine.Plane, $translation: UnityEngine.Vector3) : UnityEngine.Plane
  6856. /** For a given point returns the closest point on the plane.
  6857. * @param $point The point to project onto the plane.
  6858. * @returns A point on the plane that is closest to point.
  6859. */
  6860. public ClosestPointOnPlane ($point: UnityEngine.Vector3) : UnityEngine.Vector3
  6861. /** Returns a signed distance from plane to point.
  6862. */
  6863. public GetDistanceToPoint ($point: UnityEngine.Vector3) : number
  6864. /** Is a point on the positive side of the plane?
  6865. */
  6866. public GetSide ($point: UnityEngine.Vector3) : boolean
  6867. /** Are two points on the same side of the plane?
  6868. */
  6869. public SameSide ($inPt0: UnityEngine.Vector3, $inPt1: UnityEngine.Vector3) : boolean
  6870. /** Intersects a ray with the plane.
  6871. */
  6872. public Raycast ($ray: UnityEngine.Ray, $enter: $Ref<number>) : boolean
  6873. public ToString () : string
  6874. public ToString ($format: string) : string
  6875. public ToString ($format: string, $formatProvider: System.IFormatProvider) : string
  6876. public constructor ($inNormal: UnityEngine.Vector3, $inPoint: UnityEngine.Vector3)
  6877. public constructor ($inNormal: UnityEngine.Vector3, $d: number)
  6878. public constructor ($a: UnityEngine.Vector3, $b: UnityEngine.Vector3, $c: UnityEngine.Vector3)
  6879. public constructor ()
  6880. }
  6881. enum TexGenMode
  6882. { None = 0, SphereMap = 1, Object = 2, EyeLinear = 3, CubeReflect = 4, CubeNormal = 5 }
  6883. /** This enum describes how the RenderTexture is used as a VR eye texture. Instead of using the values of this enum manually, use the value returned by XR.XRSettings.eyeTextureDesc|eyeTextureDesc or other VR functions returning a RenderTextureDescriptor.
  6884. */
  6885. enum VRTextureUsage
  6886. { None = 0, OneEye = 1, TwoEyes = 2, DeviceSpecific = 3 }
  6887. /** Flags enumeration of the render texture memoryless modes.
  6888. */
  6889. enum RenderTextureMemoryless
  6890. { None = 0, Color = 1, Depth = 2, MSAA = 4 }
  6891. /** Format of a RenderTexture.
  6892. */
  6893. enum RenderTextureFormat
  6894. { 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 }
  6895. /** This struct contains all the information required to create a RenderTexture. It can be copied, cached, and reused to easily create RenderTextures that all share the same properties. Avoid using the default constructor as it does not initialize some flags with the recommended values.
  6896. */
  6897. class RenderTextureDescriptor extends System.ValueType
  6898. {
  6899. protected [__keep_incompatibility]: never;
  6900. }
  6901. /** Color space conversion mode of a RenderTexture.
  6902. */
  6903. enum RenderTextureReadWrite
  6904. { Default = 0, Linear = 1, sRGB = 2 }
  6905. /** Class containing methods to ease debugging while developing a game.
  6906. */
  6907. class Debug extends System.Object
  6908. {
  6909. protected [__keep_incompatibility]: never;
  6910. /** Get default debug logger.
  6911. */
  6912. public static get unityLogger(): UnityEngine.ILogger;
  6913. /** Allows you to enable or disable the developer console.
  6914. */
  6915. public static get developerConsoleEnabled(): boolean;
  6916. public static set developerConsoleEnabled(value: boolean);
  6917. /** Controls whether the development console is visible.
  6918. */
  6919. public static get developerConsoleVisible(): boolean;
  6920. public static set developerConsoleVisible(value: boolean);
  6921. /** In the Build Settings dialog there is a check box called "Development Build".
  6922. */
  6923. public static get isDebugBuild(): boolean;
  6924. /** Draws a line between specified start and end points.
  6925. * @param $start Point in world space where the line should start.
  6926. * @param $end Point in world space where the line should end.
  6927. * @param $color Color of the line.
  6928. * @param $duration How long the line should be visible for.
  6929. * @param $depthTest Determines whether objects closer to the camera obscure the line.
  6930. */
  6931. public static DrawLine ($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $color: UnityEngine.Color, $duration: number) : void
  6932. /** Draws a line between specified start and end points.
  6933. * @param $start Point in world space where the line should start.
  6934. * @param $end Point in world space where the line should end.
  6935. * @param $color Color of the line.
  6936. * @param $duration How long the line should be visible for.
  6937. * @param $depthTest Determines whether objects closer to the camera obscure the line.
  6938. */
  6939. public static DrawLine ($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $color: UnityEngine.Color) : void
  6940. /** Draws a line between specified start and end points.
  6941. * @param $start Point in world space where the line should start.
  6942. * @param $end Point in world space where the line should end.
  6943. * @param $color Color of the line.
  6944. * @param $duration How long the line should be visible for.
  6945. * @param $depthTest Determines whether objects closer to the camera obscure the line.
  6946. */
  6947. public static DrawLine ($start: UnityEngine.Vector3, $end: UnityEngine.Vector3) : void
  6948. /** Draws a line between specified start and end points.
  6949. * @param $start Point in world space where the line should start.
  6950. * @param $end Point in world space where the line should end.
  6951. * @param $color Color of the line.
  6952. * @param $duration How long the line should be visible for.
  6953. * @param $depthTest Determines whether objects closer to the camera obscure the line.
  6954. */
  6955. public static DrawLine ($start: UnityEngine.Vector3, $end: UnityEngine.Vector3, $color: UnityEngine.Color, $duration: number, $depthTest: boolean) : void
  6956. /** Draws a line from start to start + dir in world coordinates.
  6957. * @param $start Point in world space where the ray should start.
  6958. * @param $dir Direction and length of the ray.
  6959. * @param $color Color of the drawn line.
  6960. * @param $duration How long the line will be visible for (in seconds).
  6961. * @param $depthTest Determines whether objects closer to the camera obscure the line.
  6962. */
  6963. public static DrawRay ($start: UnityEngine.Vector3, $dir: UnityEngine.Vector3, $color: UnityEngine.Color, $duration: number) : void
  6964. /** Draws a line from start to start + dir in world coordinates.
  6965. * @param $start Point in world space where the ray should start.
  6966. * @param $dir Direction and length of the ray.
  6967. * @param $color Color of the drawn line.
  6968. * @param $duration How long the line will be visible for (in seconds).
  6969. * @param $depthTest Determines whether objects closer to the camera obscure the line.
  6970. */
  6971. public static DrawRay ($start: UnityEngine.Vector3, $dir: UnityEngine.Vector3, $color: UnityEngine.Color) : void
  6972. /** Draws a line from start to start + dir in world coordinates.
  6973. * @param $start Point in world space where the ray should start.
  6974. * @param $dir Direction and length of the ray.
  6975. * @param $color Color of the drawn line.
  6976. * @param $duration How long the line will be visible for (in seconds).
  6977. * @param $depthTest Determines whether objects closer to the camera obscure the line.
  6978. */
  6979. public static DrawRay ($start: UnityEngine.Vector3, $dir: UnityEngine.Vector3) : void
  6980. /** Draws a line from start to start + dir in world coordinates.
  6981. * @param $start Point in world space where the ray should start.
  6982. * @param $dir Direction and length of the ray.
  6983. * @param $color Color of the drawn line.
  6984. * @param $duration How long the line will be visible for (in seconds).
  6985. * @param $depthTest Determines whether objects closer to the camera obscure the line.
  6986. */
  6987. public static DrawRay ($start: UnityEngine.Vector3, $dir: UnityEngine.Vector3, $color: UnityEngine.Color, $duration: number, $depthTest: boolean) : void
  6988. /** Pauses the editor.
  6989. */
  6990. public static Break () : void
  6991. public static DebugBreak () : void
  6992. /** Logs a message to the Unity Console.
  6993. * @param $message String or object to be converted to string representation for display.
  6994. * @param $context Object to which the message applies.
  6995. */
  6996. public static Log ($message: any) : void
  6997. /** Logs a message to the Unity Console.
  6998. * @param $message String or object to be converted to string representation for display.
  6999. * @param $context Object to which the message applies.
  7000. */
  7001. public static Log ($message: any, $context: UnityEngine.Object) : void
  7002. /** Logs a formatted message to the Unity Console.
  7003. * @param $format A composite format string.
  7004. * @param $args Format arguments.
  7005. * @param $context Object to which the message applies.
  7006. * @param $logType Type of message e.g. warn or error etc.
  7007. * @param $logOptions Option flags to treat the log message special.
  7008. */
  7009. public static LogFormat ($format: string, ...args: any[]) : void
  7010. /** Logs a formatted message to the Unity Console.
  7011. * @param $format A composite format string.
  7012. * @param $args Format arguments.
  7013. * @param $context Object to which the message applies.
  7014. * @param $logType Type of message e.g. warn or error etc.
  7015. * @param $logOptions Option flags to treat the log message special.
  7016. */
  7017. public static LogFormat ($context: UnityEngine.Object, $format: string, ...args: any[]) : void
  7018. /** Logs a formatted message to the Unity Console.
  7019. * @param $format A composite format string.
  7020. * @param $args Format arguments.
  7021. * @param $context Object to which the message applies.
  7022. * @param $logType Type of message e.g. warn or error etc.
  7023. * @param $logOptions Option flags to treat the log message special.
  7024. */
  7025. public static LogFormat ($logType: UnityEngine.LogType, $logOptions: UnityEngine.LogOption, $context: UnityEngine.Object, $format: string, ...args: any[]) : void
  7026. /** A variant of Debug.Log that logs an error message to the console.
  7027. * @param $message String or object to be converted to string representation for display.
  7028. * @param $context Object to which the message applies.
  7029. */
  7030. public static LogError ($message: any) : void
  7031. /** A variant of Debug.Log that logs an error message to the console.
  7032. * @param $message String or object to be converted to string representation for display.
  7033. * @param $context Object to which the message applies.
  7034. */
  7035. public static LogError ($message: any, $context: UnityEngine.Object) : void
  7036. /** Logs a formatted error message to the Unity console.
  7037. * @param $format A composite format string.
  7038. * @param $args Format arguments.
  7039. * @param $context Object to which the message applies.
  7040. */
  7041. public static LogErrorFormat ($format: string, ...args: any[]) : void
  7042. /** Logs a formatted error message to the Unity console.
  7043. * @param $format A composite format string.
  7044. * @param $args Format arguments.
  7045. * @param $context Object to which the message applies.
  7046. */
  7047. public static LogErrorFormat ($context: UnityEngine.Object, $format: string, ...args: any[]) : void
  7048. /** Clears errors from the developer console.
  7049. */
  7050. public static ClearDeveloperConsole () : void
  7051. /** A variant of Debug.Log that logs an error message to the console.
  7052. * @param $context Object to which the message applies.
  7053. * @param $exception Runtime Exception.
  7054. */
  7055. public static LogException ($exception: System.Exception) : void
  7056. /** A variant of Debug.Log that logs an error message to the console.
  7057. * @param $context Object to which the message applies.
  7058. * @param $exception Runtime Exception.
  7059. */
  7060. public static LogException ($exception: System.Exception, $context: UnityEngine.Object) : void
  7061. /** A variant of Debug.Log that logs a warning message to the console.
  7062. * @param $message String or object to be converted to string representation for display.
  7063. * @param $context Object to which the message applies.
  7064. */
  7065. public static LogWarning ($message: any) : void
  7066. /** A variant of Debug.Log that logs a warning message to the console.
  7067. * @param $message String or object to be converted to string representation for display.
  7068. * @param $context Object to which the message applies.
  7069. */
  7070. public static LogWarning ($message: any, $context: UnityEngine.Object) : void
  7071. /** Logs a formatted warning message to the Unity Console.
  7072. * @param $format A composite format string.
  7073. * @param $args Format arguments.
  7074. * @param $context Object to which the message applies.
  7075. */
  7076. public static LogWarningFormat ($format: string, ...args: any[]) : void
  7077. /** Logs a formatted warning message to the Unity Console.
  7078. * @param $format A composite format string.
  7079. * @param $args Format arguments.
  7080. * @param $context Object to which the message applies.
  7081. */
  7082. public static LogWarningFormat ($context: UnityEngine.Object, $format: string, ...args: any[]) : void
  7083. /** Assert a condition and logs an error message to the Unity console on failure.
  7084. * @param $condition Condition you expect to be true.
  7085. * @param $context Object to which the message applies.
  7086. * @param $message String or object to be converted to string representation for display.
  7087. */
  7088. public static Assert ($condition: boolean) : void
  7089. /** Assert a condition and logs an error message to the Unity console on failure.
  7090. * @param $condition Condition you expect to be true.
  7091. * @param $context Object to which the message applies.
  7092. * @param $message String or object to be converted to string representation for display.
  7093. */
  7094. public static Assert ($condition: boolean, $context: UnityEngine.Object) : void
  7095. /** Assert a condition and logs an error message to the Unity console on failure.
  7096. * @param $condition Condition you expect to be true.
  7097. * @param $context Object to which the message applies.
  7098. * @param $message String or object to be converted to string representation for display.
  7099. */
  7100. public static Assert ($condition: boolean, $message: any) : void
  7101. public static Assert ($condition: boolean, $message: string) : void
  7102. /** Assert a condition and logs an error message to the Unity console on failure.
  7103. * @param $condition Condition you expect to be true.
  7104. * @param $context Object to which the message applies.
  7105. * @param $message String or object to be converted to string representation for display.
  7106. */
  7107. public static Assert ($condition: boolean, $message: any, $context: UnityEngine.Object) : void
  7108. public static Assert ($condition: boolean, $message: string, $context: UnityEngine.Object) : void
  7109. /** Assert a condition and logs a formatted error message to the Unity console on failure.
  7110. * @param $condition Condition you expect to be true.
  7111. * @param $format A composite format string.
  7112. * @param $args Format arguments.
  7113. * @param $context Object to which the message applies.
  7114. */
  7115. public static AssertFormat ($condition: boolean, $format: string, ...args: any[]) : void
  7116. /** Assert a condition and logs a formatted error message to the Unity console on failure.
  7117. * @param $condition Condition you expect to be true.
  7118. * @param $format A composite format string.
  7119. * @param $args Format arguments.
  7120. * @param $context Object to which the message applies.
  7121. */
  7122. public static AssertFormat ($condition: boolean, $context: UnityEngine.Object, $format: string, ...args: any[]) : void
  7123. /** A variant of Debug.Log that logs an assertion message to the console.
  7124. * @param $message String or object to be converted to string representation for display.
  7125. * @param $context Object to which the message applies.
  7126. */
  7127. public static LogAssertion ($message: any) : void
  7128. /** A variant of Debug.Log that logs an assertion message to the console.
  7129. * @param $message String or object to be converted to string representation for display.
  7130. * @param $context Object to which the message applies.
  7131. */
  7132. public static LogAssertion ($message: any, $context: UnityEngine.Object) : void
  7133. /** Logs a formatted assertion message to the Unity console.
  7134. * @param $format A composite format string.
  7135. * @param $args Format arguments.
  7136. * @param $context Object to which the message applies.
  7137. */
  7138. public static LogAssertionFormat ($format: string, ...args: any[]) : void
  7139. /** Logs a formatted assertion message to the Unity console.
  7140. * @param $format A composite format string.
  7141. * @param $args Format arguments.
  7142. * @param $context Object to which the message applies.
  7143. */
  7144. public static LogAssertionFormat ($context: UnityEngine.Object, $format: string, ...args: any[]) : void
  7145. public constructor ()
  7146. }
  7147. interface ILogger extends UnityEngine.ILogHandler
  7148. {
  7149. }
  7150. interface ILogHandler
  7151. {
  7152. }
  7153. /** Option flags for specifying special treatment of a log message.
  7154. */
  7155. enum LogOption
  7156. { None = 0, NoStacktrace = 1 }
  7157. /** Provides access to a display / screen for rendering operations.
  7158. */
  7159. class Display extends System.Object
  7160. {
  7161. protected [__keep_incompatibility]: never;
  7162. /** The list of connected displays.
  7163. */
  7164. public static displays : System.Array$1<UnityEngine.Display>
  7165. /** Horizontal resolution that the display is rendering at in the viewport.
  7166. */
  7167. public get renderingWidth(): number;
  7168. /** Vertical resolution that the display is rendering at.
  7169. */
  7170. public get renderingHeight(): number;
  7171. /** Horizontal native display resolution.
  7172. */
  7173. public get systemWidth(): number;
  7174. /** Vertical native display resolution.
  7175. */
  7176. public get systemHeight(): number;
  7177. /** Color RenderBuffer.
  7178. */
  7179. public get colorBuffer(): UnityEngine.RenderBuffer;
  7180. /** Depth RenderBuffer.
  7181. */
  7182. public get depthBuffer(): UnityEngine.RenderBuffer;
  7183. /** Gets the state of the display and returns true if the display is active and false if otherwise.
  7184. */
  7185. public get active(): boolean;
  7186. /** True when the back buffer requires an intermediate texture to render.
  7187. */
  7188. public get requiresBlitToBackbuffer(): boolean;
  7189. /** True when doing a blit to the back buffer requires manual color space conversion.
  7190. */
  7191. public get requiresSrgbBlitToBackbuffer(): boolean;
  7192. /** Main Display.
  7193. */
  7194. public static get main(): UnityEngine.Display;
  7195. /** Get the Editors active GameView display target.
  7196. */
  7197. public static get activeEditorGameViewTarget(): number;
  7198. /** Activates an external display. For example, a secondary monitor connected to the system.
  7199. */
  7200. public Activate () : void
  7201. /** Windows platforms only. Activates an external display with a specific width, height and refresh rate. For example, a secondary monitor connected to the system.
  7202. * @param $width Windows platforms only. Width of the window to open.
  7203. * @param $height Windows platforms only. Height of the window to open.
  7204. * @param $refreshRate Refresh Rate of the window to open.
  7205. */
  7206. public Activate ($width: number, $height: number, $refreshRate: UnityEngine.RefreshRate) : void
  7207. /** Windows platforms only. Sets rendering size and position on screen.
  7208. * @param $width Windows platforms only. The width of the window.
  7209. * @param $height Windows platforms only. The height of the window.
  7210. * @param $x Windows platforms only. The x position of the window.
  7211. * @param $y Windows platforms only. The y position of the window.
  7212. */
  7213. public SetParams ($width: number, $height: number, $x: number, $y: number) : void
  7214. /** Sets rendering resolution for the display.
  7215. * @param $w The rendering width in pixels.
  7216. * @param $h The rendering height in pixels.
  7217. */
  7218. public SetRenderingResolution ($w: number, $h: number) : void
  7219. /** Query relative mouse coordinates.
  7220. * @param $inputMouseCoordinates Mouse Input Position as Coordinates.
  7221. */
  7222. public static RelativeMouseAt ($inputMouseCoordinates: UnityEngine.Vector3) : UnityEngine.Vector3
  7223. public static add_onDisplaysUpdated ($value: UnityEngine.Display.DisplaysUpdatedDelegate) : void
  7224. public static remove_onDisplaysUpdated ($value: UnityEngine.Display.DisplaysUpdatedDelegate) : void
  7225. }
  7226. /** Represents the display refresh rate. This is how many frames the display can show per second.
  7227. */
  7228. class RefreshRate extends System.ValueType implements System.IEquatable$1<UnityEngine.RefreshRate>, System.IComparable$1<UnityEngine.RefreshRate>
  7229. {
  7230. protected [__keep_incompatibility]: never;
  7231. }
  7232. /** Represents a Gradient used for animating colors.
  7233. */
  7234. class Gradient extends System.Object implements System.IEquatable$1<UnityEngine.Gradient>
  7235. {
  7236. protected [__keep_incompatibility]: never;
  7237. /** All color keys defined in the gradient.
  7238. */
  7239. public get colorKeys(): System.Array$1<UnityEngine.GradientColorKey>;
  7240. public set colorKeys(value: System.Array$1<UnityEngine.GradientColorKey>);
  7241. /** All alpha keys defined in the gradient.
  7242. */
  7243. public get alphaKeys(): System.Array$1<UnityEngine.GradientAlphaKey>;
  7244. public set alphaKeys(value: System.Array$1<UnityEngine.GradientAlphaKey>);
  7245. /** Controls how the gradient colors are interpolated.
  7246. */
  7247. public get mode(): UnityEngine.GradientMode;
  7248. public set mode(value: UnityEngine.GradientMode);
  7249. /** Indicates the color space that the gradient color keys are using.
  7250. */
  7251. public get colorSpace(): UnityEngine.ColorSpace;
  7252. public set colorSpace(value: UnityEngine.ColorSpace);
  7253. /** Calculate color at a given time.
  7254. * @param $time Time of the evaluation (0 - 1).
  7255. */
  7256. public Evaluate ($time: number) : UnityEngine.Color
  7257. /** Setup Gradient with an array of color keys and alpha keys.
  7258. * @param $colorKeys Color keys of the gradient (maximum 8 color keys).
  7259. * @param $alphaKeys Alpha keys of the gradient (maximum 8 alpha keys).
  7260. */
  7261. public SetKeys ($colorKeys: System.Array$1<UnityEngine.GradientColorKey>, $alphaKeys: System.Array$1<UnityEngine.GradientAlphaKey>) : void
  7262. public Equals ($o: any) : boolean
  7263. public Equals ($other: UnityEngine.Gradient) : boolean
  7264. public constructor ()
  7265. public Equals ($obj: any) : boolean
  7266. public static Equals ($objA: any, $objB: any) : boolean
  7267. }
  7268. /** Color key used by Gradient.
  7269. */
  7270. class GradientColorKey extends System.ValueType
  7271. {
  7272. protected [__keep_incompatibility]: never;
  7273. }
  7274. /** Alpha key used by Gradient.
  7275. */
  7276. class GradientAlphaKey extends System.ValueType
  7277. {
  7278. protected [__keep_incompatibility]: never;
  7279. }
  7280. /** Color interpolation mode used by Gradient.
  7281. */
  7282. enum GradientMode
  7283. { Blend = 0, Fixed = 1, PerceptualBlend = 2 }
  7284. /** Color space for player settings.
  7285. */
  7286. enum ColorSpace
  7287. { Uninitialized = -1, Gamma = 0, Linear = 1 }
  7288. /** Provides access to display information.
  7289. */
  7290. class Screen extends System.Object
  7291. {
  7292. protected [__keep_incompatibility]: never;
  7293. /** The current width of the screen window in pixels (Read Only).
  7294. */
  7295. public static get width(): number;
  7296. /** The current height of the screen window in pixels (Read Only).
  7297. */
  7298. public static get height(): number;
  7299. /** The current DPI of the screen / device (Read Only).
  7300. */
  7301. public static get dpi(): number;
  7302. /** The current screen resolution (Read Only).
  7303. */
  7304. public static get currentResolution(): UnityEngine.Resolution;
  7305. /** Returns all full-screen resolutions that the monitor supports (Read Only).
  7306. */
  7307. public static get resolutions(): System.Array$1<UnityEngine.Resolution>;
  7308. /** Enables full-screen mode for the application.
  7309. */
  7310. public static get fullScreen(): boolean;
  7311. public static set fullScreen(value: boolean);
  7312. /** Set this property to one of the values in FullScreenMode to change the display mode of your application.
  7313. */
  7314. public static get fullScreenMode(): UnityEngine.FullScreenMode;
  7315. public static set fullScreenMode(value: UnityEngine.FullScreenMode);
  7316. /** Returns the safe area of the screen in pixels (Read Only).
  7317. */
  7318. public static get safeArea(): UnityEngine.Rect;
  7319. /** Returns a list of screen areas that are not functional for displaying content (Read Only).
  7320. */
  7321. public static get cutouts(): System.Array$1<UnityEngine.Rect>;
  7322. /** Enables auto-rotation to portrait.
  7323. */
  7324. public static get autorotateToPortrait(): boolean;
  7325. public static set autorotateToPortrait(value: boolean);
  7326. /** Enables auto-rotation to portrait, upside down.
  7327. */
  7328. public static get autorotateToPortraitUpsideDown(): boolean;
  7329. public static set autorotateToPortraitUpsideDown(value: boolean);
  7330. /** Enables auto-rotation to landscape left.
  7331. */
  7332. public static get autorotateToLandscapeLeft(): boolean;
  7333. public static set autorotateToLandscapeLeft(value: boolean);
  7334. /** Enables auto-rotation to landscape right.
  7335. */
  7336. public static get autorotateToLandscapeRight(): boolean;
  7337. public static set autorotateToLandscapeRight(value: boolean);
  7338. /** Specifies logical orientation of the screen.
  7339. */
  7340. public static get orientation(): UnityEngine.ScreenOrientation;
  7341. public static set orientation(value: UnityEngine.ScreenOrientation);
  7342. /** A power saving setting, allowing the screen to dim some time after the last active user interaction.
  7343. */
  7344. public static get sleepTimeout(): number;
  7345. public static set sleepTimeout(value: number);
  7346. /** Indicates the current brightness of the screen.
  7347. */
  7348. public static get brightness(): number;
  7349. public static set brightness(value: number);
  7350. /** The position of the top left corner of the main window relative to the top left corner of the display.
  7351. */
  7352. public static get mainWindowPosition(): UnityEngine.Vector2Int;
  7353. /** The display information associated with the display that the main application window is on.
  7354. */
  7355. public static get mainWindowDisplayInfo(): UnityEngine.DisplayInfo;
  7356. /** Switches the screen resolution.
  7357. */
  7358. public static SetResolution ($width: number, $height: number, $fullscreenMode: UnityEngine.FullScreenMode, $preferredRefreshRate: UnityEngine.RefreshRate) : void
  7359. /** Switches the screen resolution.
  7360. */
  7361. public static SetResolution ($width: number, $height: number, $fullscreenMode: UnityEngine.FullScreenMode) : void
  7362. /** Switches the screen resolution.
  7363. */
  7364. public static SetResolution ($width: number, $height: number, $fullscreen: boolean) : void
  7365. public static GetDisplayLayout ($displayLayout: System.Collections.Generic.List$1<UnityEngine.DisplayInfo>) : void
  7366. /** Moves the main window to the specified position relative to the top left corner of the specified display. Position value is represented in pixels. Moving the window is an asynchronous operation, which can take multiple frames.
  7367. * @param $display The target display where the window should move to.
  7368. * @param $position The position the window moves to. Relative to the top left corner of the specified display in pixels.
  7369. * @returns Returns AsyncOperation that represents moving the window.
  7370. */
  7371. public static MoveMainWindowTo ($display: $Ref<UnityEngine.DisplayInfo>, $position: UnityEngine.Vector2Int) : UnityEngine.AsyncOperation
  7372. public constructor ()
  7373. }
  7374. /** Represents a display resolution.
  7375. */
  7376. class Resolution extends System.ValueType
  7377. {
  7378. protected [__keep_incompatibility]: never;
  7379. }
  7380. /** Sets the full-screen mode. See the description of each mode for information on platform compatibility.
  7381. */
  7382. enum FullScreenMode
  7383. { ExclusiveFullScreen = 0, FullScreenWindow = 1, MaximizedWindow = 2, Windowed = 3 }
  7384. /** Describes screen orientation.
  7385. */
  7386. enum ScreenOrientation
  7387. { Portrait = 1, PortraitUpsideDown = 2, LandscapeLeft = 3, LandscapeRight = 4, AutoRotation = 5, Unknown = 0, Landscape = 3 }
  7388. /** Representation of 2D vectors and points using integers.
  7389. */
  7390. class Vector2Int extends System.ValueType implements System.IEquatable$1<UnityEngine.Vector2Int>, System.IFormattable
  7391. {
  7392. protected [__keep_incompatibility]: never;
  7393. }
  7394. /** Represents a connected display.
  7395. */
  7396. class DisplayInfo extends System.ValueType implements System.IEquatable$1<UnityEngine.DisplayInfo>
  7397. {
  7398. protected [__keep_incompatibility]: never;
  7399. }
  7400. /** Raw interface to Unity's drawing functions.
  7401. */
  7402. class Graphics extends System.Object
  7403. {
  7404. protected [__keep_incompatibility]: never;
  7405. /** Returns the currently active color gamut.
  7406. */
  7407. public static get activeColorGamut(): UnityEngine.ColorGamut;
  7408. /** The GraphicsTier for the current device.
  7409. */
  7410. public static get activeTier(): UnityEngine.Rendering.GraphicsTier;
  7411. public static set activeTier(value: UnityEngine.Rendering.GraphicsTier);
  7412. /** True when rendering over native UI is enabled in Player Settings (readonly).
  7413. */
  7414. public static get preserveFramebufferAlpha(): boolean;
  7415. /** The minimum OpenGL ES version. The value is specified in PlayerSettings.
  7416. */
  7417. public static get minOpenGLESVersion(): UnityEngine.Rendering.OpenGLESVersion;
  7418. /** Currently active color buffer (Read Only).
  7419. */
  7420. public static get activeColorBuffer(): UnityEngine.RenderBuffer;
  7421. /** Currently active depth/stencil buffer (Read Only).
  7422. */
  7423. public static get activeDepthBuffer(): UnityEngine.RenderBuffer;
  7424. /** Clear random write targets for level pixel shaders.
  7425. */
  7426. public static ClearRandomWriteTargets () : void
  7427. /** Execute a command buffer.
  7428. * @param $buffer The buffer to execute.
  7429. */
  7430. public static ExecuteCommandBuffer ($buffer: UnityEngine.Rendering.CommandBuffer) : void
  7431. /** Executes a command buffer on an async compute queue with the queue selected based on the ComputeQueueType parameter passed.
  7432. * @param $buffer The CommandBuffer to be executed.
  7433. * @param $queueType Describes the desired async compute queue the supplied CommandBuffer should be executed on.
  7434. */
  7435. public static ExecuteCommandBufferAsync ($buffer: UnityEngine.Rendering.CommandBuffer, $queueType: UnityEngine.Rendering.ComputeQueueType) : void
  7436. /** Sets current render target.
  7437. * @param $rt RenderTexture to set as active render target.
  7438. * @param $mipLevel Mipmap level to render into (use 0 if not mipmapped).
  7439. * @param $face Cubemap face to render into (use Unknown if not a cubemap).
  7440. * @param $depthSlice Depth slice to render into (use 0 if not a 3D or 2DArray render target).
  7441. * @param $colorBuffer Color buffer to render into.
  7442. * @param $depthBuffer Depth buffer to render into.
  7443. * @param $colorBuffers Color buffers to render into (for multiple render target effects).
  7444. * @param $setup Full render target setup information.
  7445. */
  7446. public static SetRenderTarget ($rt: UnityEngine.RenderTexture, $mipLevel: number, $face: UnityEngine.CubemapFace, $depthSlice: number) : void
  7447. /** Sets current render target.
  7448. * @param $rt RenderTexture to set as active render target.
  7449. * @param $mipLevel Mipmap level to render into (use 0 if not mipmapped).
  7450. * @param $face Cubemap face to render into (use Unknown if not a cubemap).
  7451. * @param $depthSlice Depth slice to render into (use 0 if not a 3D or 2DArray render target).
  7452. * @param $colorBuffer Color buffer to render into.
  7453. * @param $depthBuffer Depth buffer to render into.
  7454. * @param $colorBuffers Color buffers to render into (for multiple render target effects).
  7455. * @param $setup Full render target setup information.
  7456. */
  7457. public static SetRenderTarget ($colorBuffer: UnityEngine.RenderBuffer, $depthBuffer: UnityEngine.RenderBuffer, $mipLevel: number, $face: UnityEngine.CubemapFace, $depthSlice: number) : void
  7458. /** Sets current render target.
  7459. * @param $rt RenderTexture to set as active render target.
  7460. * @param $mipLevel Mipmap level to render into (use 0 if not mipmapped).
  7461. * @param $face Cubemap face to render into (use Unknown if not a cubemap).
  7462. * @param $depthSlice Depth slice to render into (use 0 if not a 3D or 2DArray render target).
  7463. * @param $colorBuffer Color buffer to render into.
  7464. * @param $depthBuffer Depth buffer to render into.
  7465. * @param $colorBuffers Color buffers to render into (for multiple render target effects).
  7466. * @param $setup Full render target setup information.
  7467. */
  7468. public static SetRenderTarget ($colorBuffers: System.Array$1<UnityEngine.RenderBuffer>, $depthBuffer: UnityEngine.RenderBuffer) : void
  7469. /** Sets current render target.
  7470. * @param $rt RenderTexture to set as active render target.
  7471. * @param $mipLevel Mipmap level to render into (use 0 if not mipmapped).
  7472. * @param $face Cubemap face to render into (use Unknown if not a cubemap).
  7473. * @param $depthSlice Depth slice to render into (use 0 if not a 3D or 2DArray render target).
  7474. * @param $colorBuffer Color buffer to render into.
  7475. * @param $depthBuffer Depth buffer to render into.
  7476. * @param $colorBuffers Color buffers to render into (for multiple render target effects).
  7477. * @param $setup Full render target setup information.
  7478. */
  7479. public static SetRenderTarget ($setup: UnityEngine.RenderTargetSetup) : void
  7480. /** Set random write target for level pixel shaders.
  7481. * @param $index Index of the random write target in the shader.
  7482. * @param $uav Buffer or texture to set as the write target.
  7483. * @param $preserveCounterValue Whether to leave the append/consume counter value unchanged.
  7484. */
  7485. public static SetRandomWriteTarget ($index: number, $uav: UnityEngine.RenderTexture) : void
  7486. /** Set random write target for level pixel shaders.
  7487. * @param $index Index of the random write target in the shader.
  7488. * @param $uav Buffer or texture to set as the write target.
  7489. * @param $preserveCounterValue Whether to leave the append/consume counter value unchanged.
  7490. */
  7491. public static SetRandomWriteTarget ($index: number, $uav: UnityEngine.ComputeBuffer, $preserveCounterValue: boolean) : void
  7492. /** Set random write target for level pixel shaders.
  7493. * @param $index Index of the random write target in the shader.
  7494. * @param $uav Buffer or texture to set as the write target.
  7495. * @param $preserveCounterValue Whether to leave the append/consume counter value unchanged.
  7496. */
  7497. public static SetRandomWriteTarget ($index: number, $uav: UnityEngine.GraphicsBuffer, $preserveCounterValue: boolean) : void
  7498. /** Copies pixel data from one texture to another.
  7499. * @param $src The source texture.
  7500. * @param $dst The destination texture.
  7501. * @param $srcElement The element in the source texture to copy from. For example, the CubemapFace in a Cubemap or the slice in a texture array. Set the value to 0 if src is a 2D texture.
  7502. * @param $srcMip The mipmap level to copy from. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  7503. * @param $dstElement The element in the source texture to copy to. For example, the CubemapFace in a Cubemap or the slice in a texture array. Set the value to 0 if `dst` is a 2D texture.
  7504. * @param $dstMip The mipmap level to write to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  7505. * @param $srcX The starting x coordinate of src to copy from. 0 is the left of the texture.
  7506. * @param $srcY The starting y coordinate of src to copy from. 0 is the bottom of the texture.
  7507. * @param $srcWidth The width of src to copy.
  7508. * @param $srcHeight The height of src to copy.
  7509. * @param $dstX The x coordinate of dst to copy to.
  7510. * @param $dstY The y coordinate to dst to copy to.
  7511. */
  7512. public static CopyTexture ($src: UnityEngine.Texture, $dst: UnityEngine.Texture) : void
  7513. public static CopyTexture ($src: UnityEngine.Texture, $srcElement: number, $dst: UnityEngine.Texture, $dstElement: number) : void
  7514. /** Copies pixel data from one texture to another.
  7515. * @param $src The source texture.
  7516. * @param $dst The destination texture.
  7517. * @param $srcElement The element in the source texture to copy from. For example, the CubemapFace in a Cubemap or the slice in a texture array. Set the value to 0 if src is a 2D texture.
  7518. * @param $srcMip The mipmap level to copy from. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  7519. * @param $dstElement The element in the source texture to copy to. For example, the CubemapFace in a Cubemap or the slice in a texture array. Set the value to 0 if `dst` is a 2D texture.
  7520. * @param $dstMip The mipmap level to write to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  7521. * @param $srcX The starting x coordinate of src to copy from. 0 is the left of the texture.
  7522. * @param $srcY The starting y coordinate of src to copy from. 0 is the bottom of the texture.
  7523. * @param $srcWidth The width of src to copy.
  7524. * @param $srcHeight The height of src to copy.
  7525. * @param $dstX The x coordinate of dst to copy to.
  7526. * @param $dstY The y coordinate to dst to copy to.
  7527. */
  7528. public static CopyTexture ($src: UnityEngine.Texture, $srcElement: number, $srcMip: number, $dst: UnityEngine.Texture, $dstElement: number, $dstMip: number) : void
  7529. /** Copies pixel data from one texture to another.
  7530. * @param $src The source texture.
  7531. * @param $dst The destination texture.
  7532. * @param $srcElement The element in the source texture to copy from. For example, the CubemapFace in a Cubemap or the slice in a texture array. Set the value to 0 if src is a 2D texture.
  7533. * @param $srcMip The mipmap level to copy from. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  7534. * @param $dstElement The element in the source texture to copy to. For example, the CubemapFace in a Cubemap or the slice in a texture array. Set the value to 0 if `dst` is a 2D texture.
  7535. * @param $dstMip The mipmap level to write to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  7536. * @param $srcX The starting x coordinate of src to copy from. 0 is the left of the texture.
  7537. * @param $srcY The starting y coordinate of src to copy from. 0 is the bottom of the texture.
  7538. * @param $srcWidth The width of src to copy.
  7539. * @param $srcHeight The height of src to copy.
  7540. * @param $dstX The x coordinate of dst to copy to.
  7541. * @param $dstY The y coordinate to dst to copy to.
  7542. */
  7543. 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
  7544. /** Copies the pixel data from one texture, converts the data into a different format, and copies it into another texture.
  7545. * @param $src The source texture. The texture must be a Texture2D or Cubemap.
  7546. * @param $dst The destination texture. The texture must be a Texture2D, Texture2DArray, Cubemap, or CubemapArray. The texture must also be uncompressed and correspond to a supported RenderTextureFormat.
  7547. * @param $srcElement The element in the source texture to copy from. Use CubemapFace if src is a Cubemap. Set the value to 0 if src is a 2D texture.
  7548. * @param $dstElement The element in the source texture to copy to. For example, the CubemapFace in a Cubemap or the slice in a texture array. Set the value to 0 if `dst` is a 2D texture.
  7549. * @returns true if the method succeeded.
  7550. */
  7551. public static ConvertTexture ($src: UnityEngine.Texture, $dst: UnityEngine.Texture) : boolean
  7552. /** Copies the pixel data from one texture, converts the data into a different format, and copies it into another texture.
  7553. * @param $src The source texture. The texture must be a Texture2D or Cubemap.
  7554. * @param $dst The destination texture. The texture must be a Texture2D, Texture2DArray, Cubemap, or CubemapArray. The texture must also be uncompressed and correspond to a supported RenderTextureFormat.
  7555. * @param $srcElement The element in the source texture to copy from. Use CubemapFace if src is a Cubemap. Set the value to 0 if src is a 2D texture.
  7556. * @param $dstElement The element in the source texture to copy to. For example, the CubemapFace in a Cubemap or the slice in a texture array. Set the value to 0 if `dst` is a 2D texture.
  7557. * @returns true if the method succeeded.
  7558. */
  7559. public static ConvertTexture ($src: UnityEngine.Texture, $srcElement: number, $dst: UnityEngine.Texture, $dstElement: number) : boolean
  7560. /** Shortcut for calling Graphics.CreateGraphicsFence with Rendering.GraphicsFenceType.AsyncQueueSynchronisation as the first parameter.
  7561. * @param $stage Which SynchronisationStage to insert the fence after.
  7562. * @returns Returns a new GraphicsFence.
  7563. */
  7564. public static CreateAsyncGraphicsFence ($stage: UnityEngine.Rendering.SynchronisationStage) : UnityEngine.Rendering.GraphicsFence
  7565. /** Shortcut for calling Graphics.CreateGraphicsFence with Rendering.GraphicsFenceType.AsyncQueueSynchronisation as the first parameter.
  7566. * @param $stage Which SynchronisationStage to insert the fence after.
  7567. * @returns Returns a new GraphicsFence.
  7568. */
  7569. public static CreateAsyncGraphicsFence () : UnityEngine.Rendering.GraphicsFence
  7570. /** Creates a GraphicsFence.
  7571. * @param $fenceType The Rendering.GraphicsFenceType to create. Currently the only supported value is Rendering.GraphicsFenceType.AsyncQueueSynchronisation.
  7572. * @param $stage Which SynchronisationStage to insert the fence after.
  7573. * @returns Returns a new GraphicsFence.
  7574. */
  7575. public static CreateGraphicsFence ($fenceType: UnityEngine.Rendering.GraphicsFenceType, $stage: UnityEngine.Rendering.SynchronisationStageFlags) : UnityEngine.Rendering.GraphicsFence
  7576. /** Instructs the GPU to pause processing of the queue until it passes through the GraphicsFence fence.
  7577. * @param $fence The GraphicsFence the GPU waits for. The fenceType of the graphics fence must be Rendering.GraphicsFenceType.AsyncQueueSynchronisation.
  7578. * @param $stage Which SynchronisationStage to wait for.
  7579. */
  7580. public static WaitOnAsyncGraphicsFence ($fence: UnityEngine.Rendering.GraphicsFence) : void
  7581. /** Instructs the GPU to pause processing of the queue until it passes through the GraphicsFence fence.
  7582. * @param $fence The GraphicsFence the GPU waits for. The fenceType of the graphics fence must be Rendering.GraphicsFenceType.AsyncQueueSynchronisation.
  7583. * @param $stage Which SynchronisationStage to wait for.
  7584. */
  7585. public static WaitOnAsyncGraphicsFence ($fence: UnityEngine.Rendering.GraphicsFence, $stage: UnityEngine.Rendering.SynchronisationStage) : void
  7586. /** Copies the contents of one GraphicsBuffer into another.
  7587. * @param $source The source buffer.
  7588. * @param $dest The destination buffer.
  7589. */
  7590. public static CopyBuffer ($source: UnityEngine.GraphicsBuffer, $dest: UnityEngine.GraphicsBuffer) : void
  7591. /** Draw a texture in screen coordinates.
  7592. * @param $screenRect Rectangle on the screen to use for the texture. In pixel coordinates with (0,0) in the upper-left corner.
  7593. * @param $texture Texture to draw.
  7594. * @param $sourceRect Region of the texture to use. In normalized coordinates with (0,0) in the bottom-left corner.
  7595. * @param $leftBorder Number of pixels from the left that are not affected by scale.
  7596. * @param $rightBorder Number of pixels from the right that are not affected by scale.
  7597. * @param $topBorder Number of pixels from the top that are not affected by scale.
  7598. * @param $bottomBorder Number of pixels from the bottom that are not affected by scale.
  7599. * @param $color Color that modulates the output. The neutral value is (0.5, 0.5, 0.5, 0.5). Set as vertex color for the shader.
  7600. * @param $mat Custom Material that can be used to draw the texture. If null is passed, a default material with the Internal-GUITexture.shader is used.
  7601. * @param $pass If -1 (default), draws all passes in the material. Otherwise, draws given pass only.
  7602. */
  7603. 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
  7604. /** Draw a texture in screen coordinates.
  7605. * @param $screenRect Rectangle on the screen to use for the texture. In pixel coordinates with (0,0) in the upper-left corner.
  7606. * @param $texture Texture to draw.
  7607. * @param $sourceRect Region of the texture to use. In normalized coordinates with (0,0) in the bottom-left corner.
  7608. * @param $leftBorder Number of pixels from the left that are not affected by scale.
  7609. * @param $rightBorder Number of pixels from the right that are not affected by scale.
  7610. * @param $topBorder Number of pixels from the top that are not affected by scale.
  7611. * @param $bottomBorder Number of pixels from the bottom that are not affected by scale.
  7612. * @param $color Color that modulates the output. The neutral value is (0.5, 0.5, 0.5, 0.5). Set as vertex color for the shader.
  7613. * @param $mat Custom Material that can be used to draw the texture. If null is passed, a default material with the Internal-GUITexture.shader is used.
  7614. * @param $pass If -1 (default), draws all passes in the material. Otherwise, draws given pass only.
  7615. */
  7616. 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
  7617. /** Draw a texture in screen coordinates.
  7618. * @param $screenRect Rectangle on the screen to use for the texture. In pixel coordinates with (0,0) in the upper-left corner.
  7619. * @param $texture Texture to draw.
  7620. * @param $sourceRect Region of the texture to use. In normalized coordinates with (0,0) in the bottom-left corner.
  7621. * @param $leftBorder Number of pixels from the left that are not affected by scale.
  7622. * @param $rightBorder Number of pixels from the right that are not affected by scale.
  7623. * @param $topBorder Number of pixels from the top that are not affected by scale.
  7624. * @param $bottomBorder Number of pixels from the bottom that are not affected by scale.
  7625. * @param $color Color that modulates the output. The neutral value is (0.5, 0.5, 0.5, 0.5). Set as vertex color for the shader.
  7626. * @param $mat Custom Material that can be used to draw the texture. If null is passed, a default material with the Internal-GUITexture.shader is used.
  7627. * @param $pass If -1 (default), draws all passes in the material. Otherwise, draws given pass only.
  7628. */
  7629. public static DrawTexture ($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $mat: UnityEngine.Material, $pass: number) : void
  7630. /** Draw a texture in screen coordinates.
  7631. * @param $screenRect Rectangle on the screen to use for the texture. In pixel coordinates with (0,0) in the upper-left corner.
  7632. * @param $texture Texture to draw.
  7633. * @param $sourceRect Region of the texture to use. In normalized coordinates with (0,0) in the bottom-left corner.
  7634. * @param $leftBorder Number of pixels from the left that are not affected by scale.
  7635. * @param $rightBorder Number of pixels from the right that are not affected by scale.
  7636. * @param $topBorder Number of pixels from the top that are not affected by scale.
  7637. * @param $bottomBorder Number of pixels from the bottom that are not affected by scale.
  7638. * @param $color Color that modulates the output. The neutral value is (0.5, 0.5, 0.5, 0.5). Set as vertex color for the shader.
  7639. * @param $mat Custom Material that can be used to draw the texture. If null is passed, a default material with the Internal-GUITexture.shader is used.
  7640. * @param $pass If -1 (default), draws all passes in the material. Otherwise, draws given pass only.
  7641. */
  7642. public static DrawTexture ($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $mat: UnityEngine.Material, $pass: number) : void
  7643. public static RenderMesh ($rparams: $Ref<UnityEngine.RenderParams>, $mesh: UnityEngine.Mesh, $submeshIndex: number, $objectToWorld: UnityEngine.Matrix4x4, $prevObjectToWorld?: UnityEngine.Matrix4x4 | null) : void
  7644. /** Renders multiple instances of a mesh using GPU instancing and rendering command arguments from commandBuffer.
  7645. * @param $rparams The parameters Unity uses to render the mesh.
  7646. * @param $mesh The Mesh to render.
  7647. * @param $commandBuffer A command buffer that provides rendering command arguments (see GraphicsBuffer.IndirectDrawIndexedArgs).
  7648. * @param $commandCount The number of rendering commands to execute in the commandBuffer.
  7649. * @param $startCommand The first command to execute in the commandBuffer.
  7650. */
  7651. public static RenderMeshIndirect ($rparams: $Ref<UnityEngine.RenderParams>, $mesh: UnityEngine.Mesh, $commandBuffer: UnityEngine.GraphicsBuffer, $commandCount?: number, $startCommand?: number) : void
  7652. /** Renders multiple instances of a Mesh using GPU instancing and a custom shader.
  7653. * @param $rparams The parameters Unity uses to render the Mesh primitives.
  7654. * @param $mesh The Mesh to render.
  7655. * @param $submeshIndex The index of a submesh Unity renders when the Mesh contains multiple Materials (submeshes). For a Mesh with a single Material, use value 0.
  7656. * @param $instanceCount The number of instances to render.
  7657. */
  7658. public static RenderMeshPrimitives ($rparams: $Ref<UnityEngine.RenderParams>, $mesh: UnityEngine.Mesh, $submeshIndex: number, $instanceCount?: number) : void
  7659. /** Renders non-indexed primitives with GPU instancing and a custom shader.
  7660. * @param $rparams The parameters Unity uses to render the primitives.
  7661. * @param $topology Primitive topology (for example, triangles or lines).
  7662. * @param $vertexCount The number of vertices per instance.
  7663. * @param $instanceCount The number of instances to render.
  7664. */
  7665. public static RenderPrimitives ($rparams: $Ref<UnityEngine.RenderParams>, $topology: UnityEngine.MeshTopology, $vertexCount: number, $instanceCount?: number) : void
  7666. /** Renders indexed primitives with GPU instancing and a custom shader.
  7667. * @param $rparams The parameters Unity uses to render the primitives.
  7668. * @param $topology Primitive topology (for example, triangles or lines).
  7669. * @param $indexBuffer The index buffer for the rendered primitives.
  7670. * @param $indexCount The number of indices per instance.
  7671. * @param $startIndex The first index in the indexBuffer.
  7672. * @param $instanceCount The number of instances to render.
  7673. */
  7674. public static RenderPrimitivesIndexed ($rparams: $Ref<UnityEngine.RenderParams>, $topology: UnityEngine.MeshTopology, $indexBuffer: UnityEngine.GraphicsBuffer, $indexCount: number, $startIndex?: number, $instanceCount?: number) : void
  7675. /** Renders primitives with GPU instancing and a custom shader using rendering command arguments from commandBuffer.
  7676. * @param $rparams The parameters Unity uses to render the primitives.
  7677. * @param $topology Primitive topology (for example, triangles or lines).
  7678. * @param $commandBuffer A command buffer that provides rendering command arguments (see GraphicsBuffer.IndirectDrawArgs).
  7679. * @param $commandCount The number of rendering commands to execute in the commandBuffer.
  7680. * @param $startCommand The first command to execute in the commandBuffer.
  7681. */
  7682. public static RenderPrimitivesIndirect ($rparams: $Ref<UnityEngine.RenderParams>, $topology: UnityEngine.MeshTopology, $commandBuffer: UnityEngine.GraphicsBuffer, $commandCount?: number, $startCommand?: number) : void
  7683. /** Renders indexed primitives with GPU instancing and a custom shader with rendering command arguments from commandBuffer.
  7684. * @param $rparams The parameters Unity uses to render the primitives.
  7685. * @param $topology Primitive topology (for example, triangles or lines).
  7686. * @param $indexBuffer Index buffer for the rendered primitives.
  7687. * @param $commandBuffer A command buffer that provides rendering command arguments (see GraphicsBuffer.IndirectDrawIndexedArgs).
  7688. * @param $commandCount The number of rendering commands to execute in the commandBuffer.
  7689. * @param $startCommand The first command to execute in the commandBuffer.
  7690. */
  7691. public static RenderPrimitivesIndexedIndirect ($rparams: $Ref<UnityEngine.RenderParams>, $topology: UnityEngine.MeshTopology, $indexBuffer: UnityEngine.GraphicsBuffer, $commandBuffer: UnityEngine.GraphicsBuffer, $commandCount?: number, $startCommand?: number) : void
  7692. /** Draw a mesh immediately.
  7693. * @param $mesh The Mesh to draw.
  7694. * @param $position Position of the mesh.
  7695. * @param $rotation Rotation of the mesh.
  7696. * @param $matrix The transformation matrix of the mesh (combines position, rotation and other transformations).
  7697. * @param $materialIndex Subset of the mesh to draw.
  7698. */
  7699. public static DrawMeshNow ($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $materialIndex: number) : void
  7700. /** Draw a mesh immediately.
  7701. * @param $mesh The Mesh to draw.
  7702. * @param $position Position of the mesh.
  7703. * @param $rotation Rotation of the mesh.
  7704. * @param $matrix The transformation matrix of the mesh (combines position, rotation and other transformations).
  7705. * @param $materialIndex Subset of the mesh to draw.
  7706. */
  7707. public static DrawMeshNow ($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $materialIndex: number) : void
  7708. /** Draw a mesh immediately.
  7709. * @param $mesh The Mesh to draw.
  7710. * @param $position Position of the mesh.
  7711. * @param $rotation Rotation of the mesh.
  7712. * @param $matrix The transformation matrix of the mesh (combines position, rotation and other transformations).
  7713. * @param $materialIndex Subset of the mesh to draw.
  7714. */
  7715. public static DrawMeshNow ($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion) : void
  7716. /** Draw a mesh immediately.
  7717. * @param $mesh The Mesh to draw.
  7718. * @param $position Position of the mesh.
  7719. * @param $rotation Rotation of the mesh.
  7720. * @param $matrix The transformation matrix of the mesh (combines position, rotation and other transformations).
  7721. * @param $materialIndex Subset of the mesh to draw.
  7722. */
  7723. public static DrawMeshNow ($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4) : void
  7724. /** Draw a mesh.
  7725. * @param $mesh The Mesh to draw.
  7726. * @param $position Position of the mesh.
  7727. * @param $rotation Rotation of the mesh.
  7728. * @param $matrix Transformation matrix of the mesh (combines position, rotation and other transformations).
  7729. * @param $material Material to use.
  7730. * @param $layer the mesh is drawn on.
  7731. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  7732. * @param $submeshIndex Which subset of the mesh to draw. This applies only to meshes that are composed of several materials.
  7733. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  7734. * @param $castShadows Determines whether the mesh can cast shadows.
  7735. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7736. * @param $useLightProbes Should the mesh use light probes?
  7737. * @param $probeAnchor If used, the mesh will use this Transform's position to sample light probes and find the matching reflection probe.
  7738. * @param $lightProbeUsage LightProbeUsage for the mesh.
  7739. */
  7740. 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
  7741. /** Draw a mesh.
  7742. * @param $mesh The Mesh to draw.
  7743. * @param $position Position of the mesh.
  7744. * @param $rotation Rotation of the mesh.
  7745. * @param $matrix Transformation matrix of the mesh (combines position, rotation and other transformations).
  7746. * @param $material Material to use.
  7747. * @param $layer the mesh is drawn on.
  7748. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  7749. * @param $submeshIndex Which subset of the mesh to draw. This applies only to meshes that are composed of several materials.
  7750. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  7751. * @param $castShadows Determines whether the mesh can cast shadows.
  7752. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7753. * @param $useLightProbes Should the mesh use light probes?
  7754. * @param $probeAnchor If used, the mesh will use this Transform's position to sample light probes and find the matching reflection probe.
  7755. * @param $lightProbeUsage LightProbeUsage for the mesh.
  7756. */
  7757. 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
  7758. /** Draw a mesh.
  7759. * @param $mesh The Mesh to draw.
  7760. * @param $position Position of the mesh.
  7761. * @param $rotation Rotation of the mesh.
  7762. * @param $matrix Transformation matrix of the mesh (combines position, rotation and other transformations).
  7763. * @param $material Material to use.
  7764. * @param $layer the mesh is drawn on.
  7765. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  7766. * @param $submeshIndex Which subset of the mesh to draw. This applies only to meshes that are composed of several materials.
  7767. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  7768. * @param $castShadows Determines whether the mesh can cast shadows.
  7769. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7770. * @param $useLightProbes Should the mesh use light probes?
  7771. * @param $probeAnchor If used, the mesh will use this Transform's position to sample light probes and find the matching reflection probe.
  7772. * @param $lightProbeUsage LightProbeUsage for the mesh.
  7773. */
  7774. 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
  7775. /** Draw a mesh.
  7776. * @param $mesh The Mesh to draw.
  7777. * @param $position Position of the mesh.
  7778. * @param $rotation Rotation of the mesh.
  7779. * @param $matrix Transformation matrix of the mesh (combines position, rotation and other transformations).
  7780. * @param $material Material to use.
  7781. * @param $layer the mesh is drawn on.
  7782. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  7783. * @param $submeshIndex Which subset of the mesh to draw. This applies only to meshes that are composed of several materials.
  7784. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  7785. * @param $castShadows Determines whether the mesh can cast shadows.
  7786. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7787. * @param $useLightProbes Should the mesh use light probes?
  7788. * @param $probeAnchor If used, the mesh will use this Transform's position to sample light probes and find the matching reflection probe.
  7789. * @param $lightProbeUsage LightProbeUsage for the mesh.
  7790. */
  7791. 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
  7792. /** Draws the same mesh multiple times using GPU instancing.
  7793. * @param $mesh The Mesh to draw.
  7794. * @param $submeshIndex Which subset of the mesh to draw. This applies only to meshes that are composed of several materials.
  7795. * @param $material Material to use.
  7796. * @param $matrices The array of object transformation matrices.
  7797. * @param $count The number of instances to be drawn.
  7798. * @param $properties Additional material properties to apply. See MaterialPropertyBlock.
  7799. * @param $castShadows Determines whether the Meshes should cast shadows.
  7800. * @param $receiveShadows Determines whether the Meshes should receive shadows.
  7801. * @param $layer to use.
  7802. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be drawn in the given Camera only.
  7803. * @param $lightProbeUsage LightProbeUsage for the instances.
  7804. */
  7805. 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
  7806. 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
  7807. /** This function is now obsolete. Use Graphics.RenderMeshPrimitives instead. Draws the same mesh multiple times using GPU instancing.
  7808. This is similar to Graphics.DrawMeshInstancedIndirect, except that when the instance count is known from script, it can be supplied directly using this method, rather than via a ComputeBuffer.
  7809. * @param $mesh The Mesh to draw.
  7810. * @param $submeshIndex Which subset of the mesh to draw. This applies only to meshes that are composed of several materials.
  7811. * @param $material Material to use.
  7812. * @param $bounds The bounding volume surrounding the instances you intend to draw.
  7813. * @param $count The number of instances to be drawn.
  7814. * @param $properties Additional material properties to apply. See MaterialPropertyBlock.
  7815. * @param $castShadows Determines whether the Meshes should cast shadows.
  7816. * @param $receiveShadows Determines whether the Meshes should receive shadows.
  7817. * @param $layer to use.
  7818. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be drawn in the given Camera only.
  7819. * @param $lightProbeUsage LightProbeUsage for the instances.
  7820. */
  7821. public static DrawMeshInstancedProcedural ($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $count: number, $properties?: UnityEngine.MaterialPropertyBlock, $castShadows?: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows?: boolean, $layer?: number, $camera?: UnityEngine.Camera, $lightProbeUsage?: UnityEngine.Rendering.LightProbeUsage, $lightProbeProxyVolume?: UnityEngine.LightProbeProxyVolume) : void
  7822. /** This function is now obsolete. Use Graphics.RenderMeshIndirect instead. Draws the same mesh multiple times using GPU instancing.
  7823. * @param $mesh The Mesh to draw.
  7824. * @param $submeshIndex Which subset of the mesh to draw. This applies only to meshes that are composed of several materials.
  7825. * @param $material Material to use.
  7826. * @param $bounds The bounding volume surrounding the instances you intend to draw.
  7827. * @param $bufferWithArgs The GPU buffer containing the arguments for how many instances of this mesh to draw.
  7828. * @param $argsOffset The byte offset into the buffer, where the draw arguments start.
  7829. * @param $properties Additional material properties to apply. See MaterialPropertyBlock.
  7830. * @param $castShadows Determines whether the mesh can cast shadows.
  7831. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7832. * @param $layer to use.
  7833. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be drawn in the given Camera only.
  7834. * @param $lightProbeUsage LightProbeUsage for the instances.
  7835. */
  7836. 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
  7837. /** This function is now obsolete. Use Graphics.RenderMeshIndirect instead. Draws the same mesh multiple times using GPU instancing.
  7838. * @param $mesh The Mesh to draw.
  7839. * @param $submeshIndex Which subset of the mesh to draw. This applies only to meshes that are composed of several materials.
  7840. * @param $material Material to use.
  7841. * @param $bounds The bounding volume surrounding the instances you intend to draw.
  7842. * @param $bufferWithArgs The GPU buffer containing the arguments for how many instances of this mesh to draw.
  7843. * @param $argsOffset The byte offset into the buffer, where the draw arguments start.
  7844. * @param $properties Additional material properties to apply. See MaterialPropertyBlock.
  7845. * @param $castShadows Determines whether the mesh can cast shadows.
  7846. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7847. * @param $layer to use.
  7848. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be drawn in the given Camera only.
  7849. * @param $lightProbeUsage LightProbeUsage for the instances.
  7850. */
  7851. public static DrawMeshInstancedIndirect ($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.GraphicsBuffer, $argsOffset: number, $properties: UnityEngine.MaterialPropertyBlock, $castShadows: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows: boolean, $layer: number, $camera: UnityEngine.Camera, $lightProbeUsage: UnityEngine.Rendering.LightProbeUsage, $lightProbeProxyVolume: UnityEngine.LightProbeProxyVolume) : void
  7852. /** Draws procedural geometry on the GPU.
  7853. * @param $topology Topology of the procedural geometry.
  7854. * @param $vertexCount Vertex count to render.
  7855. * @param $instanceCount Instance count to render.
  7856. */
  7857. public static DrawProceduralNow ($topology: UnityEngine.MeshTopology, $vertexCount: number, $instanceCount?: number) : void
  7858. /** Draws procedural geometry on the GPU.
  7859. * @param $topology Topology of the procedural geometry.
  7860. * @param $indexCount Index count to render.
  7861. * @param $instanceCount Instance count to render.
  7862. * @param $indexBuffer Index buffer used to submit vertices to the GPU.
  7863. */
  7864. public static DrawProceduralNow ($topology: UnityEngine.MeshTopology, $indexBuffer: UnityEngine.GraphicsBuffer, $indexCount: number, $instanceCount?: number) : void
  7865. /** Draws procedural geometry on the GPU.
  7866. * @param $topology Topology of the procedural geometry.
  7867. * @param $bufferWithArgs Buffer with draw arguments.
  7868. * @param $argsOffset Byte offset where in the buffer the draw arguments are.
  7869. */
  7870. public static DrawProceduralIndirectNow ($topology: UnityEngine.MeshTopology, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset?: number) : void
  7871. /** Draws procedural geometry on the GPU.
  7872. * @param $topology Topology of the procedural geometry.
  7873. * @param $indexBuffer Index buffer used to submit vertices to the GPU.
  7874. * @param $bufferWithArgs Buffer with draw arguments.
  7875. * @param $argsOffset Byte offset where in the buffer the draw arguments are.
  7876. */
  7877. public static DrawProceduralIndirectNow ($topology: UnityEngine.MeshTopology, $indexBuffer: UnityEngine.GraphicsBuffer, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset?: number) : void
  7878. /** Draws procedural geometry on the GPU.
  7879. * @param $topology Topology of the procedural geometry.
  7880. * @param $bufferWithArgs Buffer with draw arguments.
  7881. * @param $argsOffset Byte offset where in the buffer the draw arguments are.
  7882. */
  7883. public static DrawProceduralIndirectNow ($topology: UnityEngine.MeshTopology, $bufferWithArgs: UnityEngine.GraphicsBuffer, $argsOffset?: number) : void
  7884. /** Draws procedural geometry on the GPU.
  7885. * @param $topology Topology of the procedural geometry.
  7886. * @param $indexBuffer Index buffer used to submit vertices to the GPU.
  7887. * @param $bufferWithArgs Buffer with draw arguments.
  7888. * @param $argsOffset Byte offset where in the buffer the draw arguments are.
  7889. */
  7890. public static DrawProceduralIndirectNow ($topology: UnityEngine.MeshTopology, $indexBuffer: UnityEngine.GraphicsBuffer, $bufferWithArgs: UnityEngine.GraphicsBuffer, $argsOffset?: number) : void
  7891. /** This function is now obsolete. For non-indexed rendering, use Graphics.RenderPrimitives instead.
  7892. For indexed rendering, use Graphics.RenderPrimitivesIndexed. Draws procedural geometry on the GPU.
  7893. * @param $material Material to use.
  7894. * @param $bounds The bounding volume surrounding the instances you intend to draw.
  7895. * @param $topology Topology of the procedural geometry.
  7896. * @param $vertexCount Vertex count to render.
  7897. * @param $instanceCount Instance count to render.
  7898. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  7899. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  7900. * @param $castShadows Determines whether the mesh can cast shadows.
  7901. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7902. * @param $layer to use.
  7903. */
  7904. public static DrawProcedural ($material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $topology: UnityEngine.MeshTopology, $vertexCount: number, $instanceCount?: number, $camera?: UnityEngine.Camera, $properties?: UnityEngine.MaterialPropertyBlock, $castShadows?: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows?: boolean, $layer?: number) : void
  7905. /** Draws procedural geometry on the GPU, with an index buffer.
  7906. * @param $material Material to use.
  7907. * @param $bounds The bounding volume surrounding the instances you intend to draw.
  7908. * @param $topology Topology of the procedural geometry.
  7909. * @param $indexBuffer Index buffer used to submit vertices to the GPU.
  7910. * @param $instanceCount Instance count to render.
  7911. * @param $indexCount Index count to render.
  7912. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  7913. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  7914. * @param $castShadows Determines whether the mesh can cast shadows.
  7915. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7916. * @param $layer to use.
  7917. */
  7918. public static DrawProcedural ($material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $topology: UnityEngine.MeshTopology, $indexBuffer: UnityEngine.GraphicsBuffer, $indexCount: number, $instanceCount?: number, $camera?: UnityEngine.Camera, $properties?: UnityEngine.MaterialPropertyBlock, $castShadows?: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows?: boolean, $layer?: number) : void
  7919. /** Draws procedural geometry on the GPU.
  7920. * @param $material Material to use.
  7921. * @param $bounds The bounding volume surrounding the instances you intend to draw.
  7922. * @param $topology Topology of the procedural geometry.
  7923. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  7924. * @param $bufferWithArgs Buffer with draw arguments.
  7925. * @param $argsOffset Byte offset where in the buffer the draw arguments are.
  7926. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  7927. * @param $castShadows Determines whether the mesh can cast shadows.
  7928. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7929. * @param $layer to use.
  7930. */
  7931. public static DrawProceduralIndirect ($material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $topology: UnityEngine.MeshTopology, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset?: number, $camera?: UnityEngine.Camera, $properties?: UnityEngine.MaterialPropertyBlock, $castShadows?: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows?: boolean, $layer?: number) : void
  7932. /** Draws procedural geometry on the GPU.
  7933. * @param $material Material to use.
  7934. * @param $bounds The bounding volume surrounding the instances you intend to draw.
  7935. * @param $topology Topology of the procedural geometry.
  7936. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  7937. * @param $bufferWithArgs Buffer with draw arguments.
  7938. * @param $argsOffset Byte offset where in the buffer the draw arguments are.
  7939. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  7940. * @param $castShadows Determines whether the mesh can cast shadows.
  7941. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7942. * @param $layer to use.
  7943. */
  7944. public static DrawProceduralIndirect ($material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $topology: UnityEngine.MeshTopology, $bufferWithArgs: UnityEngine.GraphicsBuffer, $argsOffset?: number, $camera?: UnityEngine.Camera, $properties?: UnityEngine.MaterialPropertyBlock, $castShadows?: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows?: boolean, $layer?: number) : void
  7945. /** Draws procedural geometry on the GPU.
  7946. * @param $material Material to use.
  7947. * @param $bounds The bounding volume surrounding the instances you intend to draw.
  7948. * @param $topology Topology of the procedural geometry.
  7949. * @param $indexBuffer Index buffer used to submit vertices to the GPU.
  7950. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  7951. * @param $bufferWithArgs Buffer with draw arguments.
  7952. * @param $argsOffset Byte offset where in the buffer the draw arguments are.
  7953. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  7954. * @param $castShadows Determines whether the mesh can cast shadows.
  7955. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7956. * @param $layer to use.
  7957. */
  7958. public static DrawProceduralIndirect ($material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $topology: UnityEngine.MeshTopology, $indexBuffer: UnityEngine.GraphicsBuffer, $bufferWithArgs: UnityEngine.ComputeBuffer, $argsOffset?: number, $camera?: UnityEngine.Camera, $properties?: UnityEngine.MaterialPropertyBlock, $castShadows?: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows?: boolean, $layer?: number) : void
  7959. /** Draws procedural geometry on the GPU.
  7960. * @param $material Material to use.
  7961. * @param $bounds The bounding volume surrounding the instances you intend to draw.
  7962. * @param $topology Topology of the procedural geometry.
  7963. * @param $indexBuffer Index buffer used to submit vertices to the GPU.
  7964. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  7965. * @param $bufferWithArgs Buffer with draw arguments.
  7966. * @param $argsOffset Byte offset where in the buffer the draw arguments are.
  7967. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  7968. * @param $castShadows Determines whether the mesh can cast shadows.
  7969. * @param $receiveShadows Determines whether the mesh can receive shadows.
  7970. * @param $layer to use.
  7971. */
  7972. public static DrawProceduralIndirect ($material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $topology: UnityEngine.MeshTopology, $indexBuffer: UnityEngine.GraphicsBuffer, $bufferWithArgs: UnityEngine.GraphicsBuffer, $argsOffset?: number, $camera?: UnityEngine.Camera, $properties?: UnityEngine.MaterialPropertyBlock, $castShadows?: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows?: boolean, $layer?: number) : void
  7973. /** Uses a shader to copy the pixel data from a texture into a render texture.
  7974. * @param $source The source texture.
  7975. * @param $dest The destination RenderTexture.
  7976. * @param $mat The material to use. If you don't provide mat, Unity uses a default material.
  7977. * @param $pass If the value is -1, Unity draws all the passes in mat. Otherwise, Unity draws only the pass you set pass to. The default value is -1.
  7978. * @param $scale The scale to apply.
  7979. * @param $offset The offset to apply.
  7980. * @param $sourceDepthSlice The element in the source texture to copy from, for example the texture in a texture array. You can't use sourceDepthSlice to specify a face in a Cubemap.
  7981. * @param $destDepthSlice The element in the destination texture to copy from, for example the texture in a texture array. You can't use destDepthSlice to specify a face in a Cubemap.
  7982. */
  7983. public static Blit ($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture) : void
  7984. /** Uses a shader to copy the pixel data from a texture into a render texture.
  7985. * @param $source The source texture.
  7986. * @param $dest The destination RenderTexture.
  7987. * @param $mat The material to use. If you don't provide mat, Unity uses a default material.
  7988. * @param $pass If the value is -1, Unity draws all the passes in mat. Otherwise, Unity draws only the pass you set pass to. The default value is -1.
  7989. * @param $scale The scale to apply.
  7990. * @param $offset The offset to apply.
  7991. * @param $sourceDepthSlice The element in the source texture to copy from, for example the texture in a texture array. You can't use sourceDepthSlice to specify a face in a Cubemap.
  7992. * @param $destDepthSlice The element in the destination texture to copy from, for example the texture in a texture array. You can't use destDepthSlice to specify a face in a Cubemap.
  7993. */
  7994. public static Blit ($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $sourceDepthSlice: number, $destDepthSlice: number) : void
  7995. /** Uses a shader to copy the pixel data from a texture into a render texture.
  7996. * @param $source The source texture.
  7997. * @param $dest The destination RenderTexture.
  7998. * @param $mat The material to use. If you don't provide mat, Unity uses a default material.
  7999. * @param $pass If the value is -1, Unity draws all the passes in mat. Otherwise, Unity draws only the pass you set pass to. The default value is -1.
  8000. * @param $scale The scale to apply.
  8001. * @param $offset The offset to apply.
  8002. * @param $sourceDepthSlice The element in the source texture to copy from, for example the texture in a texture array. You can't use sourceDepthSlice to specify a face in a Cubemap.
  8003. * @param $destDepthSlice The element in the destination texture to copy from, for example the texture in a texture array. You can't use destDepthSlice to specify a face in a Cubemap.
  8004. */
  8005. public static Blit ($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $scale: UnityEngine.Vector2, $offset: UnityEngine.Vector2) : void
  8006. /** Uses a shader to copy the pixel data from a texture into a render texture.
  8007. * @param $source The source texture.
  8008. * @param $dest The destination RenderTexture.
  8009. * @param $mat The material to use. If you don't provide mat, Unity uses a default material.
  8010. * @param $pass If the value is -1, Unity draws all the passes in mat. Otherwise, Unity draws only the pass you set pass to. The default value is -1.
  8011. * @param $scale The scale to apply.
  8012. * @param $offset The offset to apply.
  8013. * @param $sourceDepthSlice The element in the source texture to copy from, for example the texture in a texture array. You can't use sourceDepthSlice to specify a face in a Cubemap.
  8014. * @param $destDepthSlice The element in the destination texture to copy from, for example the texture in a texture array. You can't use destDepthSlice to specify a face in a Cubemap.
  8015. */
  8016. public static Blit ($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $scale: UnityEngine.Vector2, $offset: UnityEngine.Vector2, $sourceDepthSlice: number, $destDepthSlice: number) : void
  8017. /** Uses a shader to copy the pixel data from a texture into a render texture.
  8018. * @param $source The source texture.
  8019. * @param $dest The destination RenderTexture.
  8020. * @param $mat The material to use. If you don't provide mat, Unity uses a default material.
  8021. * @param $pass If the value is -1, Unity draws all the passes in mat. Otherwise, Unity draws only the pass you set pass to. The default value is -1.
  8022. * @param $scale The scale to apply.
  8023. * @param $offset The offset to apply.
  8024. * @param $sourceDepthSlice The element in the source texture to copy from, for example the texture in a texture array. You can't use sourceDepthSlice to specify a face in a Cubemap.
  8025. * @param $destDepthSlice The element in the destination texture to copy from, for example the texture in a texture array. You can't use destDepthSlice to specify a face in a Cubemap.
  8026. */
  8027. public static Blit ($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $mat: UnityEngine.Material, $pass: number) : void
  8028. public static Blit ($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $mat: UnityEngine.Material, $pass: number, $destDepthSlice: number) : void
  8029. public static Blit ($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $mat: UnityEngine.Material) : void
  8030. /** Uses a shader to copy the pixel data from a texture into a render texture.
  8031. * @param $source The source texture.
  8032. * @param $dest The destination RenderTexture.
  8033. * @param $mat The material to use. If you don't provide mat, Unity uses a default material.
  8034. * @param $pass If the value is -1, Unity draws all the passes in mat. Otherwise, Unity draws only the pass you set pass to. The default value is -1.
  8035. * @param $scale The scale to apply.
  8036. * @param $offset The offset to apply.
  8037. * @param $sourceDepthSlice The element in the source texture to copy from, for example the texture in a texture array. You can't use sourceDepthSlice to specify a face in a Cubemap.
  8038. * @param $destDepthSlice The element in the destination texture to copy from, for example the texture in a texture array. You can't use destDepthSlice to specify a face in a Cubemap.
  8039. */
  8040. public static Blit ($source: UnityEngine.Texture, $mat: UnityEngine.Material, $pass: number) : void
  8041. /** Uses a shader to copy the pixel data from a texture into a render texture.
  8042. * @param $source The source texture.
  8043. * @param $dest The destination RenderTexture.
  8044. * @param $mat The material to use. If you don't provide mat, Unity uses a default material.
  8045. * @param $pass If the value is -1, Unity draws all the passes in mat. Otherwise, Unity draws only the pass you set pass to. The default value is -1.
  8046. * @param $scale The scale to apply.
  8047. * @param $offset The offset to apply.
  8048. * @param $sourceDepthSlice The element in the source texture to copy from, for example the texture in a texture array. You can't use sourceDepthSlice to specify a face in a Cubemap.
  8049. * @param $destDepthSlice The element in the destination texture to copy from, for example the texture in a texture array. You can't use destDepthSlice to specify a face in a Cubemap.
  8050. */
  8051. public static Blit ($source: UnityEngine.Texture, $mat: UnityEngine.Material, $pass: number, $destDepthSlice: number) : void
  8052. public static Blit ($source: UnityEngine.Texture, $mat: UnityEngine.Material) : void
  8053. /** Copies source texture into destination, for multi-tap shader.
  8054. * @param $source Source texture.
  8055. * @param $dest Destination RenderTexture, or null to blit directly to screen.
  8056. * @param $mat Material to use for copying. Material's shader should do some post-processing effect.
  8057. * @param $offsets Variable number of filtering offsets. Offsets are given in pixels.
  8058. * @param $destDepthSlice The texture array destination slice to blit to.
  8059. */
  8060. public static BlitMultiTap ($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $mat: UnityEngine.Material, ...offsets: UnityEngine.Vector2[]) : void
  8061. /** Copies source texture into destination, for multi-tap shader.
  8062. * @param $source Source texture.
  8063. * @param $dest Destination RenderTexture, or null to blit directly to screen.
  8064. * @param $mat Material to use for copying. Material's shader should do some post-processing effect.
  8065. * @param $offsets Variable number of filtering offsets. Offsets are given in pixels.
  8066. * @param $destDepthSlice The texture array destination slice to blit to.
  8067. */
  8068. public static BlitMultiTap ($source: UnityEngine.Texture, $dest: UnityEngine.RenderTexture, $mat: UnityEngine.Material, $destDepthSlice: number, ...offsets: UnityEngine.Vector2[]) : void
  8069. public static DrawMesh ($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number) : void
  8070. public static DrawMesh ($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera) : void
  8071. public static DrawMesh ($mesh: UnityEngine.Mesh, $position: UnityEngine.Vector3, $rotation: UnityEngine.Quaternion, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number) : void
  8072. 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
  8073. 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
  8074. 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
  8075. 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
  8076. 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
  8077. 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
  8078. public static DrawMesh ($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number) : void
  8079. public static DrawMesh ($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera) : void
  8080. public static DrawMesh ($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number) : void
  8081. public static DrawMesh ($mesh: UnityEngine.Mesh, $matrix: UnityEngine.Matrix4x4, $material: UnityEngine.Material, $layer: number, $camera: UnityEngine.Camera, $submeshIndex: number, $properties: UnityEngine.MaterialPropertyBlock) : void
  8082. 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
  8083. 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
  8084. 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
  8085. 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
  8086. 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
  8087. /** Draw a mesh.
  8088. * @param $mesh The Mesh to draw.
  8089. * @param $position Position of the mesh.
  8090. * @param $rotation Rotation of the mesh.
  8091. * @param $matrix Transformation matrix of the mesh (combines position, rotation and other transformations).
  8092. * @param $material Material to use.
  8093. * @param $layer the mesh is drawn on.
  8094. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  8095. * @param $submeshIndex Which subset of the mesh to draw. This applies only to meshes that are composed of several materials.
  8096. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  8097. * @param $castShadows Determines whether the mesh can cast shadows.
  8098. * @param $receiveShadows Determines whether the mesh can receive shadows.
  8099. * @param $useLightProbes Should the mesh use light probes?
  8100. * @param $probeAnchor If used, the mesh will use this Transform's position to sample light probes and find the matching reflection probe.
  8101. * @param $lightProbeUsage LightProbeUsage for the mesh.
  8102. */
  8103. 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
  8104. /** Draw a mesh.
  8105. * @param $mesh The Mesh to draw.
  8106. * @param $position Position of the mesh.
  8107. * @param $rotation Rotation of the mesh.
  8108. * @param $matrix Transformation matrix of the mesh (combines position, rotation and other transformations).
  8109. * @param $material Material to use.
  8110. * @param $layer the mesh is drawn on.
  8111. * @param $camera If null (default), the mesh will be drawn in all cameras. Otherwise it will be rendered in the given Camera only.
  8112. * @param $submeshIndex Which subset of the mesh to draw. This applies only to meshes that are composed of several materials.
  8113. * @param $properties Additional material properties to apply onto material just before this mesh will be drawn. See MaterialPropertyBlock.
  8114. * @param $castShadows Determines whether the mesh can cast shadows.
  8115. * @param $receiveShadows Determines whether the mesh can receive shadows.
  8116. * @param $useLightProbes Should the mesh use light probes?
  8117. * @param $probeAnchor If used, the mesh will use this Transform's position to sample light probes and find the matching reflection probe.
  8118. * @param $lightProbeUsage LightProbeUsage for the mesh.
  8119. */
  8120. 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
  8121. public static DrawMeshInstanced ($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>) : void
  8122. public static DrawMeshInstanced ($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>, $count: number) : void
  8123. public static DrawMeshInstanced ($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Array$1<UnityEngine.Matrix4x4>, $count: number, $properties: UnityEngine.MaterialPropertyBlock) : void
  8124. 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
  8125. 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
  8126. 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
  8127. 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
  8128. 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
  8129. public static DrawMeshInstanced ($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>) : void
  8130. public static DrawMeshInstanced ($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $matrices: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>, $properties: UnityEngine.MaterialPropertyBlock) : void
  8131. 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
  8132. 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
  8133. 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
  8134. 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
  8135. 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
  8136. 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
  8137. public static DrawMeshInstancedIndirect ($mesh: UnityEngine.Mesh, $submeshIndex: number, $material: UnityEngine.Material, $bounds: UnityEngine.Bounds, $bufferWithArgs: UnityEngine.GraphicsBuffer, $argsOffset?: number, $properties?: UnityEngine.MaterialPropertyBlock, $castShadows?: UnityEngine.Rendering.ShadowCastingMode, $receiveShadows?: boolean, $layer?: number, $camera?: UnityEngine.Camera, $lightProbeUsage?: UnityEngine.Rendering.LightProbeUsage) : void
  8138. /** Draw a texture in screen coordinates.
  8139. * @param $screenRect Rectangle on the screen to use for the texture. In pixel coordinates with (0,0) in the upper-left corner.
  8140. * @param $texture Texture to draw.
  8141. * @param $sourceRect Region of the texture to use. In normalized coordinates with (0,0) in the bottom-left corner.
  8142. * @param $leftBorder Number of pixels from the left that are not affected by scale.
  8143. * @param $rightBorder Number of pixels from the right that are not affected by scale.
  8144. * @param $topBorder Number of pixels from the top that are not affected by scale.
  8145. * @param $bottomBorder Number of pixels from the bottom that are not affected by scale.
  8146. * @param $color Color that modulates the output. The neutral value is (0.5, 0.5, 0.5, 0.5). Set as vertex color for the shader.
  8147. * @param $mat Custom Material that can be used to draw the texture. If null is passed, a default material with the Internal-GUITexture.shader is used.
  8148. * @param $pass If -1 (default), draws all passes in the material. Otherwise, draws given pass only.
  8149. */
  8150. 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
  8151. public static DrawTexture ($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $sourceRect: UnityEngine.Rect, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $color: UnityEngine.Color) : void
  8152. /** Draw a texture in screen coordinates.
  8153. * @param $screenRect Rectangle on the screen to use for the texture. In pixel coordinates with (0,0) in the upper-left corner.
  8154. * @param $texture Texture to draw.
  8155. * @param $sourceRect Region of the texture to use. In normalized coordinates with (0,0) in the bottom-left corner.
  8156. * @param $leftBorder Number of pixels from the left that are not affected by scale.
  8157. * @param $rightBorder Number of pixels from the right that are not affected by scale.
  8158. * @param $topBorder Number of pixels from the top that are not affected by scale.
  8159. * @param $bottomBorder Number of pixels from the bottom that are not affected by scale.
  8160. * @param $color Color that modulates the output. The neutral value is (0.5, 0.5, 0.5, 0.5). Set as vertex color for the shader.
  8161. * @param $mat Custom Material that can be used to draw the texture. If null is passed, a default material with the Internal-GUITexture.shader is used.
  8162. * @param $pass If -1 (default), draws all passes in the material. Otherwise, draws given pass only.
  8163. */
  8164. public static DrawTexture ($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $sourceRect: UnityEngine.Rect, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $mat: UnityEngine.Material) : void
  8165. public static DrawTexture ($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $sourceRect: UnityEngine.Rect, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number) : void
  8166. /** Draw a texture in screen coordinates.
  8167. * @param $screenRect Rectangle on the screen to use for the texture. In pixel coordinates with (0,0) in the upper-left corner.
  8168. * @param $texture Texture to draw.
  8169. * @param $sourceRect Region of the texture to use. In normalized coordinates with (0,0) in the bottom-left corner.
  8170. * @param $leftBorder Number of pixels from the left that are not affected by scale.
  8171. * @param $rightBorder Number of pixels from the right that are not affected by scale.
  8172. * @param $topBorder Number of pixels from the top that are not affected by scale.
  8173. * @param $bottomBorder Number of pixels from the bottom that are not affected by scale.
  8174. * @param $color Color that modulates the output. The neutral value is (0.5, 0.5, 0.5, 0.5). Set as vertex color for the shader.
  8175. * @param $mat Custom Material that can be used to draw the texture. If null is passed, a default material with the Internal-GUITexture.shader is used.
  8176. * @param $pass If -1 (default), draws all passes in the material. Otherwise, draws given pass only.
  8177. */
  8178. public static DrawTexture ($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number, $mat: UnityEngine.Material) : void
  8179. public static DrawTexture ($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $leftBorder: number, $rightBorder: number, $topBorder: number, $bottomBorder: number) : void
  8180. /** Draw a texture in screen coordinates.
  8181. * @param $screenRect Rectangle on the screen to use for the texture. In pixel coordinates with (0,0) in the upper-left corner.
  8182. * @param $texture Texture to draw.
  8183. * @param $sourceRect Region of the texture to use. In normalized coordinates with (0,0) in the bottom-left corner.
  8184. * @param $leftBorder Number of pixels from the left that are not affected by scale.
  8185. * @param $rightBorder Number of pixels from the right that are not affected by scale.
  8186. * @param $topBorder Number of pixels from the top that are not affected by scale.
  8187. * @param $bottomBorder Number of pixels from the bottom that are not affected by scale.
  8188. * @param $color Color that modulates the output. The neutral value is (0.5, 0.5, 0.5, 0.5). Set as vertex color for the shader.
  8189. * @param $mat Custom Material that can be used to draw the texture. If null is passed, a default material with the Internal-GUITexture.shader is used.
  8190. * @param $pass If -1 (default), draws all passes in the material. Otherwise, draws given pass only.
  8191. */
  8192. public static DrawTexture ($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture, $mat: UnityEngine.Material) : void
  8193. public static DrawTexture ($screenRect: UnityEngine.Rect, $texture: UnityEngine.Texture) : void
  8194. public static SetRenderTarget ($rt: UnityEngine.RenderTexture) : void
  8195. public static SetRenderTarget ($rt: UnityEngine.RenderTexture, $mipLevel: number) : void
  8196. public static SetRenderTarget ($rt: UnityEngine.RenderTexture, $mipLevel: number, $face: UnityEngine.CubemapFace) : void
  8197. public static SetRenderTarget ($colorBuffer: UnityEngine.RenderBuffer, $depthBuffer: UnityEngine.RenderBuffer) : void
  8198. public static SetRenderTarget ($colorBuffer: UnityEngine.RenderBuffer, $depthBuffer: UnityEngine.RenderBuffer, $mipLevel: number) : void
  8199. public static SetRenderTarget ($colorBuffer: UnityEngine.RenderBuffer, $depthBuffer: UnityEngine.RenderBuffer, $mipLevel: number, $face: UnityEngine.CubemapFace) : void
  8200. public static SetRandomWriteTarget ($index: number, $uav: UnityEngine.ComputeBuffer) : void
  8201. public static SetRandomWriteTarget ($index: number, $uav: UnityEngine.GraphicsBuffer) : void
  8202. public constructor ()
  8203. }
  8204. /** Represents a color gamut.
  8205. */
  8206. enum ColorGamut
  8207. { sRGB = 0, Rec709 = 1, Rec2020 = 2, DisplayP3 = 3, HDR10 = 4, DolbyHDR = 5, P3D65G22 = 6 }
  8208. /** Cubemap face.
  8209. */
  8210. enum CubemapFace
  8211. { Unknown = -1, PositiveX = 0, NegativeX = 1, PositiveY = 2, NegativeY = 3, PositiveZ = 4, NegativeZ = 5 }
  8212. /** Fully describes setup of RenderTarget.
  8213. */
  8214. class RenderTargetSetup extends System.ValueType
  8215. {
  8216. protected [__keep_incompatibility]: never;
  8217. }
  8218. /** Rendering parameters used by various rendering functions.
  8219. */
  8220. class RenderParams extends System.ValueType
  8221. {
  8222. protected [__keep_incompatibility]: never;
  8223. }
  8224. /** A class that allows you to create or modify meshes.
  8225. */
  8226. class Mesh extends UnityEngine.Object
  8227. {
  8228. protected [__keep_incompatibility]: never;
  8229. /** Format of the mesh index buffer data.
  8230. */
  8231. public get indexFormat(): UnityEngine.Rendering.IndexFormat;
  8232. public set indexFormat(value: UnityEngine.Rendering.IndexFormat);
  8233. /** Gets the number of vertex buffers present in the Mesh. (Read Only)
  8234. */
  8235. public get vertexBufferCount(): number;
  8236. /** The intended target usage of the Mesh GPU vertex buffer.
  8237. */
  8238. public get vertexBufferTarget(): UnityEngine.GraphicsBuffer.Target;
  8239. public set vertexBufferTarget(value: UnityEngine.GraphicsBuffer.Target);
  8240. /** The intended target usage of the Mesh GPU index buffer.
  8241. */
  8242. public get indexBufferTarget(): UnityEngine.GraphicsBuffer.Target;
  8243. public set indexBufferTarget(value: UnityEngine.GraphicsBuffer.Target);
  8244. /** Returns BlendShape count on this mesh.
  8245. */
  8246. public get blendShapeCount(): number;
  8247. /** The number of bindposes in the Mesh.
  8248. */
  8249. public get bindposeCount(): number;
  8250. /** The bind poses. The bind pose at each index refers to the bone with the same index.
  8251. */
  8252. public get bindposes(): System.Array$1<UnityEngine.Matrix4x4>;
  8253. public set bindposes(value: System.Array$1<UnityEngine.Matrix4x4>);
  8254. /** Returns true if the Mesh is read/write enabled, or false if it is not.
  8255. */
  8256. public get isReadable(): boolean;
  8257. /** Returns the number of vertices in the Mesh (Read Only).
  8258. */
  8259. public get vertexCount(): number;
  8260. /** The number of sub-meshes inside the Mesh object.
  8261. */
  8262. public get subMeshCount(): number;
  8263. public set subMeshCount(value: number);
  8264. /** The bounding volume of the Mesh.
  8265. */
  8266. public get bounds(): UnityEngine.Bounds;
  8267. public set bounds(value: UnityEngine.Bounds);
  8268. /** Returns a copy of the vertex positions or assigns a new vertex positions array.
  8269. */
  8270. public get vertices(): System.Array$1<UnityEngine.Vector3>;
  8271. public set vertices(value: System.Array$1<UnityEngine.Vector3>);
  8272. /** The normals of the Mesh.
  8273. */
  8274. public get normals(): System.Array$1<UnityEngine.Vector3>;
  8275. public set normals(value: System.Array$1<UnityEngine.Vector3>);
  8276. /** The tangents of the Mesh.
  8277. */
  8278. public get tangents(): System.Array$1<UnityEngine.Vector4>;
  8279. public set tangents(value: System.Array$1<UnityEngine.Vector4>);
  8280. /** The texture coordinates (UVs) in the first channel.
  8281. */
  8282. public get uv(): System.Array$1<UnityEngine.Vector2>;
  8283. public set uv(value: System.Array$1<UnityEngine.Vector2>);
  8284. /** The texture coordinates (UVs) in the second channel.
  8285. */
  8286. public get uv2(): System.Array$1<UnityEngine.Vector2>;
  8287. public set uv2(value: System.Array$1<UnityEngine.Vector2>);
  8288. /** The texture coordinates (UVs) in the third channel.
  8289. */
  8290. public get uv3(): System.Array$1<UnityEngine.Vector2>;
  8291. public set uv3(value: System.Array$1<UnityEngine.Vector2>);
  8292. /** The texture coordinates (UVs) in the fourth channel.
  8293. */
  8294. public get uv4(): System.Array$1<UnityEngine.Vector2>;
  8295. public set uv4(value: System.Array$1<UnityEngine.Vector2>);
  8296. /** The texture coordinates (UVs) in the fifth channel.
  8297. */
  8298. public get uv5(): System.Array$1<UnityEngine.Vector2>;
  8299. public set uv5(value: System.Array$1<UnityEngine.Vector2>);
  8300. /** The texture coordinates (UVs) in the sixth channel.
  8301. */
  8302. public get uv6(): System.Array$1<UnityEngine.Vector2>;
  8303. public set uv6(value: System.Array$1<UnityEngine.Vector2>);
  8304. /** The texture coordinates (UVs) in the seventh channel.
  8305. */
  8306. public get uv7(): System.Array$1<UnityEngine.Vector2>;
  8307. public set uv7(value: System.Array$1<UnityEngine.Vector2>);
  8308. /** The texture coordinates (UVs) in the eighth channel.
  8309. */
  8310. public get uv8(): System.Array$1<UnityEngine.Vector2>;
  8311. public set uv8(value: System.Array$1<UnityEngine.Vector2>);
  8312. /** Vertex colors of the Mesh.
  8313. */
  8314. public get colors(): System.Array$1<UnityEngine.Color>;
  8315. public set colors(value: System.Array$1<UnityEngine.Color>);
  8316. /** Vertex colors of the Mesh.
  8317. */
  8318. public get colors32(): System.Array$1<UnityEngine.Color32>;
  8319. public set colors32(value: System.Array$1<UnityEngine.Color32>);
  8320. /** Returns the number of vertex attributes that the mesh has. (Read Only)
  8321. */
  8322. public get vertexAttributeCount(): number;
  8323. /** An array containing all triangles in the Mesh.
  8324. */
  8325. public get triangles(): System.Array$1<number>;
  8326. public set triangles(value: System.Array$1<number>);
  8327. /** The BoneWeight for each vertex in the Mesh, which represents 4 bones per vertex.
  8328. */
  8329. public get boneWeights(): System.Array$1<UnityEngine.BoneWeight>;
  8330. public set boneWeights(value: System.Array$1<UnityEngine.BoneWeight>);
  8331. /** The dimension of data in the bone weight buffer.
  8332. */
  8333. public get skinWeightBufferLayout(): UnityEngine.SkinWeights;
  8334. /** Sets the index buffer size and format.
  8335. * @param $indexCount Size of index buffer.
  8336. * @param $format Format of the indices.
  8337. */
  8338. public SetIndexBufferParams ($indexCount: number, $format: UnityEngine.Rendering.IndexFormat) : void
  8339. /** Returns information about a vertex attribute based on its index.
  8340. * @param $index The vertex attribute index (0 to vertexAttributeCount-1).
  8341. * @returns Information about the vertex attribute.
  8342. */
  8343. public GetVertexAttribute ($index: number) : UnityEngine.Rendering.VertexAttributeDescriptor
  8344. /** Checks if a specific vertex data attribute exists on this Mesh.
  8345. * @param $attr Vertex data attribute to check for.
  8346. * @returns Returns true if the data attribute is present in the mesh.
  8347. */
  8348. public HasVertexAttribute ($attr: UnityEngine.Rendering.VertexAttribute) : boolean
  8349. /** Get dimension of a specific vertex data attribute on this Mesh.
  8350. * @param $attr Vertex data attribute to check for.
  8351. * @returns Dimensionality of the data attribute, or zero if it is not present.
  8352. */
  8353. public GetVertexAttributeDimension ($attr: UnityEngine.Rendering.VertexAttribute) : number
  8354. /** Get format of a specific vertex data attribute on this Mesh.
  8355. * @param $attr Vertex data attribute to check for.
  8356. * @returns Format of the data attribute.
  8357. */
  8358. public GetVertexAttributeFormat ($attr: UnityEngine.Rendering.VertexAttribute) : UnityEngine.Rendering.VertexAttributeFormat
  8359. /** Gets the vertex buffer stream index of a specific vertex data attribute on this Mesh.
  8360. * @param $attr The vertex data attribute to check for.
  8361. * @returns Stream index of the data attribute, or -1 if it is not present.
  8362. */
  8363. public GetVertexAttributeStream ($attr: UnityEngine.Rendering.VertexAttribute) : number
  8364. /** Get offset within a vertex buffer stream of a specific vertex data attribute on this Mesh.
  8365. * @param $attr The vertex data attribute to check for.
  8366. * @returns The byte offset within a atream of the data attribute, or -1 if it is not present.
  8367. */
  8368. public GetVertexAttributeOffset ($attr: UnityEngine.Rendering.VertexAttribute) : number
  8369. /** Get vertex buffer stream stride in bytes.
  8370. * @param $stream Vertex data stream index to check for.
  8371. * @returns Vertex data size in bytes in this stream, or zero if the stream is not present.
  8372. */
  8373. public GetVertexBufferStride ($stream: number) : number
  8374. /** Retrieves a native (underlying graphics API) pointer to the vertex buffer.
  8375. * @param $index Which vertex buffer to get (some Meshes might have more than one). See vertexBufferCount.
  8376. * @returns Pointer to the underlying graphics API vertex buffer.
  8377. */
  8378. public GetNativeVertexBufferPtr ($index: number) : System.IntPtr
  8379. /** Retrieves a native (underlying graphics API) pointer to the index buffer.
  8380. * @returns Pointer to the underlying graphics API index buffer.
  8381. */
  8382. public GetNativeIndexBufferPtr () : System.IntPtr
  8383. /** Clears all blend shapes from Mesh.
  8384. */
  8385. public ClearBlendShapes () : void
  8386. /** Returns name of BlendShape by given index.
  8387. */
  8388. public GetBlendShapeName ($shapeIndex: number) : string
  8389. /** Returns index of BlendShape by given name.
  8390. */
  8391. public GetBlendShapeIndex ($blendShapeName: string) : number
  8392. /** Returns the frame count for a blend shape.
  8393. * @param $shapeIndex The shape index to get frame count from.
  8394. */
  8395. public GetBlendShapeFrameCount ($shapeIndex: number) : number
  8396. /** Returns the weight of a blend shape frame.
  8397. * @param $shapeIndex The shape index of the frame.
  8398. * @param $frameIndex The frame index to get the weight from.
  8399. */
  8400. public GetBlendShapeFrameWeight ($shapeIndex: number, $frameIndex: number) : number
  8401. /** Retreives deltaVertices, deltaNormals and deltaTangents of a blend shape frame.
  8402. * @param $shapeIndex The shape index of the frame.
  8403. * @param $frameIndex The frame index to get the weight from.
  8404. * @param $deltaVertices Delta vertices output array for the frame being retreived.
  8405. * @param $deltaNormals Delta normals output array for the frame being retreived.
  8406. * @param $deltaTangents Delta tangents output array for the frame being retreived.
  8407. */
  8408. 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
  8409. /** Adds a new blend shape frame.
  8410. * @param $shapeName Name of the blend shape to add a frame to.
  8411. * @param $frameWeight Weight for the frame being added.
  8412. * @param $deltaVertices Delta vertices for the frame being added.
  8413. * @param $deltaNormals Delta normals for the frame being added.
  8414. * @param $deltaTangents Delta tangents for the frame being added.
  8415. */
  8416. 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
  8417. public SetBoneWeights ($bonesPerVertex: Unity.Collections.NativeArray$1<number>, $weights: Unity.Collections.NativeArray$1<UnityEngine.BoneWeight1>) : void
  8418. /** Gets the bone weights for the Mesh.
  8419. * @returns Returns all non-zero bone weights for the Mesh, in vertex index order.
  8420. */
  8421. public GetAllBoneWeights () : Unity.Collections.NativeArray$1<UnityEngine.BoneWeight1>
  8422. /** The number of non-zero bone weights for each vertex.
  8423. * @returns Returns the number of non-zero bone weights for each vertex.
  8424. */
  8425. public GetBonesPerVertex () : Unity.Collections.NativeArray$1<number>
  8426. /** Gets the bind poses of the Mesh.
  8427. * @returns The array of bindposes belonging to the Mesh.
  8428. */
  8429. public GetBindposes () : Unity.Collections.NativeArray$1<UnityEngine.Matrix4x4>
  8430. /** Sets the information about a sub-mesh of the Mesh.
  8431. * @param $index Sub-mesh index. See subMeshCount. Out of range indices throw an exception.
  8432. * @param $desc Sub-mesh data.
  8433. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8434. */
  8435. public SetSubMesh ($index: number, $desc: UnityEngine.Rendering.SubMeshDescriptor, $flags?: UnityEngine.Rendering.MeshUpdateFlags) : void
  8436. /** Get information about a sub-mesh of the Mesh.
  8437. * @param $index Sub-mesh index. See subMeshCount. Out of range indices throw an exception.
  8438. * @returns Sub-mesh data.
  8439. */
  8440. public GetSubMesh ($index: number) : UnityEngine.Rendering.SubMeshDescriptor
  8441. /** Notify Renderer components of mesh geometry change.
  8442. */
  8443. public MarkModified () : void
  8444. /** The UV distribution metric can be used to calculate the desired mipmap level based on the position of the camera.
  8445. * @param $uvSetIndex UV set index to return the UV distibution metric for. 0 for first.
  8446. * @returns Average of triangle area / uv area.
  8447. */
  8448. public GetUVDistributionMetric ($uvSetIndex: number) : number
  8449. public GetVertices ($vertices: System.Collections.Generic.List$1<UnityEngine.Vector3>) : void
  8450. public SetVertices ($inVertices: System.Collections.Generic.List$1<UnityEngine.Vector3>) : void
  8451. public SetVertices ($inVertices: System.Collections.Generic.List$1<UnityEngine.Vector3>, $start: number, $length: number) : void
  8452. public SetVertices ($inVertices: System.Collections.Generic.List$1<UnityEngine.Vector3>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8453. /** Assigns a new vertex positions array.
  8454. * @param $inVertices Per-vertex positions.
  8455. */
  8456. public SetVertices ($inVertices: System.Array$1<UnityEngine.Vector3>) : void
  8457. /** Sets the vertex positions of the Mesh, using a part of the input array.
  8458. * @param $inVertices Per-vertex positions.
  8459. * @param $start Index of the first element to take from the input array.
  8460. * @param $length Number of elements to take from the input array.
  8461. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8462. */
  8463. public SetVertices ($inVertices: System.Array$1<UnityEngine.Vector3>, $start: number, $length: number) : void
  8464. /** Sets the vertex positions of the Mesh, using a part of the input array.
  8465. * @param $inVertices Per-vertex positions.
  8466. * @param $start Index of the first element to take from the input array.
  8467. * @param $length Number of elements to take from the input array.
  8468. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8469. */
  8470. public SetVertices ($inVertices: System.Array$1<UnityEngine.Vector3>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8471. public GetNormals ($normals: System.Collections.Generic.List$1<UnityEngine.Vector3>) : void
  8472. public SetNormals ($inNormals: System.Collections.Generic.List$1<UnityEngine.Vector3>) : void
  8473. public SetNormals ($inNormals: System.Collections.Generic.List$1<UnityEngine.Vector3>, $start: number, $length: number) : void
  8474. public SetNormals ($inNormals: System.Collections.Generic.List$1<UnityEngine.Vector3>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8475. /** Set the normals of the Mesh.
  8476. * @param $inNormals Per-vertex normals.
  8477. */
  8478. public SetNormals ($inNormals: System.Array$1<UnityEngine.Vector3>) : void
  8479. /** Sets the vertex normals of the Mesh, using a part of the input array.
  8480. * @param $inNormals Per-vertex normals.
  8481. * @param $start Index of the first element to take from the input array.
  8482. * @param $length Number of elements to take from the input array.
  8483. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8484. */
  8485. public SetNormals ($inNormals: System.Array$1<UnityEngine.Vector3>, $start: number, $length: number) : void
  8486. /** Sets the vertex normals of the Mesh, using a part of the input array.
  8487. * @param $inNormals Per-vertex normals.
  8488. * @param $start Index of the first element to take from the input array.
  8489. * @param $length Number of elements to take from the input array.
  8490. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8491. */
  8492. public SetNormals ($inNormals: System.Array$1<UnityEngine.Vector3>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8493. public GetTangents ($tangents: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  8494. public SetTangents ($inTangents: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  8495. public SetTangents ($inTangents: System.Collections.Generic.List$1<UnityEngine.Vector4>, $start: number, $length: number) : void
  8496. public SetTangents ($inTangents: System.Collections.Generic.List$1<UnityEngine.Vector4>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8497. /** Set the tangents of the Mesh.
  8498. * @param $inTangents Per-vertex tangents.
  8499. */
  8500. public SetTangents ($inTangents: System.Array$1<UnityEngine.Vector4>) : void
  8501. /** Sets the tangents of the Mesh, using a part of the input array.
  8502. * @param $inTangents Per-vertex tangents.
  8503. * @param $start Index of the first element to take from the input array.
  8504. * @param $length Number of elements to take from the input array.
  8505. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8506. */
  8507. public SetTangents ($inTangents: System.Array$1<UnityEngine.Vector4>, $start: number, $length: number) : void
  8508. /** Sets the tangents of the Mesh, using a part of the input array.
  8509. * @param $inTangents Per-vertex tangents.
  8510. * @param $start Index of the first element to take from the input array.
  8511. * @param $length Number of elements to take from the input array.
  8512. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8513. */
  8514. public SetTangents ($inTangents: System.Array$1<UnityEngine.Vector4>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8515. public GetColors ($colors: System.Collections.Generic.List$1<UnityEngine.Color>) : void
  8516. public SetColors ($inColors: System.Collections.Generic.List$1<UnityEngine.Color>) : void
  8517. public SetColors ($inColors: System.Collections.Generic.List$1<UnityEngine.Color>, $start: number, $length: number) : void
  8518. public SetColors ($inColors: System.Collections.Generic.List$1<UnityEngine.Color>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8519. /** Set the per-vertex colors of the Mesh.
  8520. * @param $inColors Per-vertex colors.
  8521. */
  8522. public SetColors ($inColors: System.Array$1<UnityEngine.Color>) : void
  8523. /** Sets the per-vertex colors of the Mesh, using a part of the input array.
  8524. * @param $inColors Per-vertex colors.
  8525. * @param $start Index of the first element to take from the input array.
  8526. * @param $length Number of elements to take from the input array.
  8527. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8528. */
  8529. public SetColors ($inColors: System.Array$1<UnityEngine.Color>, $start: number, $length: number) : void
  8530. /** Sets the per-vertex colors of the Mesh, using a part of the input array.
  8531. * @param $inColors Per-vertex colors.
  8532. * @param $start Index of the first element to take from the input array.
  8533. * @param $length Number of elements to take from the input array.
  8534. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8535. */
  8536. public SetColors ($inColors: System.Array$1<UnityEngine.Color>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8537. public GetColors ($colors: System.Collections.Generic.List$1<UnityEngine.Color32>) : void
  8538. public SetColors ($inColors: System.Collections.Generic.List$1<UnityEngine.Color32>) : void
  8539. public SetColors ($inColors: System.Collections.Generic.List$1<UnityEngine.Color32>, $start: number, $length: number) : void
  8540. public SetColors ($inColors: System.Collections.Generic.List$1<UnityEngine.Color32>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8541. /** Set the per-vertex colors of the Mesh.
  8542. * @param $inColors Per-vertex colors.
  8543. */
  8544. public SetColors ($inColors: System.Array$1<UnityEngine.Color32>) : void
  8545. /** Sets the per-vertex colors of the Mesh, using a part of the input array.
  8546. * @param $inColors Per-vertex colors.
  8547. * @param $start Index of the first element to take from the input array.
  8548. * @param $length Number of elements to take from the input array.
  8549. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8550. */
  8551. public SetColors ($inColors: System.Array$1<UnityEngine.Color32>, $start: number, $length: number) : void
  8552. /** Sets the per-vertex colors of the Mesh, using a part of the input array.
  8553. * @param $inColors Per-vertex colors.
  8554. * @param $start Index of the first element to take from the input array.
  8555. * @param $length Number of elements to take from the input array.
  8556. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8557. */
  8558. public SetColors ($inColors: System.Array$1<UnityEngine.Color32>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8559. public SetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector2>) : void
  8560. public SetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector3>) : void
  8561. public SetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  8562. public SetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector2>, $start: number, $length: number) : void
  8563. public SetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector2>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8564. public SetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector3>, $start: number, $length: number) : void
  8565. public SetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector3>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8566. public SetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector4>, $start: number, $length: number) : void
  8567. public SetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector4>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8568. /** Sets the texture coordinates (UVs) stored in a given channel.
  8569. * @param $channel The channel, in [0..7] range.
  8570. * @param $uvs The UV data to set.
  8571. */
  8572. public SetUVs ($channel: number, $uvs: System.Array$1<UnityEngine.Vector2>) : void
  8573. /** Sets the texture coordinates (UVs) stored in a given channel.
  8574. * @param $channel The channel, in [0..7] range.
  8575. * @param $uvs The UV data to set.
  8576. */
  8577. public SetUVs ($channel: number, $uvs: System.Array$1<UnityEngine.Vector3>) : void
  8578. /** Sets the texture coordinates (UVs) stored in a given channel.
  8579. * @param $channel The channel, in [0..7] range.
  8580. * @param $uvs The UV data to set.
  8581. */
  8582. public SetUVs ($channel: number, $uvs: System.Array$1<UnityEngine.Vector4>) : void
  8583. /** Sets the UVs of the Mesh, using a part of the input array.
  8584. * @param $channel The UV channel, in [0..7] range.
  8585. * @param $uvs UVs to set for the given index.
  8586. * @param $start Index of the first element to take from the input array.
  8587. * @param $length Number of elements to take from the input array.
  8588. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8589. */
  8590. public SetUVs ($channel: number, $uvs: System.Array$1<UnityEngine.Vector2>, $start: number, $length: number) : void
  8591. /** Sets the UVs of the Mesh, using a part of the input array.
  8592. * @param $channel The UV channel, in [0..7] range.
  8593. * @param $uvs UVs to set for the given index.
  8594. * @param $start Index of the first element to take from the input array.
  8595. * @param $length Number of elements to take from the input array.
  8596. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8597. */
  8598. public SetUVs ($channel: number, $uvs: System.Array$1<UnityEngine.Vector2>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8599. /** Sets the UVs of the Mesh, using a part of the input array.
  8600. * @param $channel The UV channel, in [0..7] range.
  8601. * @param $uvs UVs to set for the given index.
  8602. * @param $start Index of the first element to take from the input array.
  8603. * @param $length Number of elements to take from the input array.
  8604. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8605. */
  8606. public SetUVs ($channel: number, $uvs: System.Array$1<UnityEngine.Vector3>, $start: number, $length: number) : void
  8607. /** Sets the UVs of the Mesh, using a part of the input array.
  8608. * @param $channel The UV channel, in [0..7] range.
  8609. * @param $uvs UVs to set for the given index.
  8610. * @param $start Index of the first element to take from the input array.
  8611. * @param $length Number of elements to take from the input array.
  8612. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8613. */
  8614. public SetUVs ($channel: number, $uvs: System.Array$1<UnityEngine.Vector3>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8615. /** Sets the UVs of the Mesh, using a part of the input array.
  8616. * @param $channel The UV channel, in [0..7] range.
  8617. * @param $uvs UVs to set for the given index.
  8618. * @param $start Index of the first element to take from the input array.
  8619. * @param $length Number of elements to take from the input array.
  8620. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8621. */
  8622. public SetUVs ($channel: number, $uvs: System.Array$1<UnityEngine.Vector4>, $start: number, $length: number) : void
  8623. /** Sets the UVs of the Mesh, using a part of the input array.
  8624. * @param $channel The UV channel, in [0..7] range.
  8625. * @param $uvs UVs to set for the given index.
  8626. * @param $start Index of the first element to take from the input array.
  8627. * @param $length Number of elements to take from the input array.
  8628. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8629. */
  8630. public SetUVs ($channel: number, $uvs: System.Array$1<UnityEngine.Vector4>, $start: number, $length: number, $flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8631. public GetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector2>) : void
  8632. public GetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector3>) : void
  8633. public GetUVs ($channel: number, $uvs: System.Collections.Generic.List$1<UnityEngine.Vector4>) : void
  8634. /** Get information about vertex attributes of a Mesh.
  8635. * @returns Array of vertex attribute information.
  8636. */
  8637. public GetVertexAttributes () : System.Array$1<UnityEngine.Rendering.VertexAttributeDescriptor>
  8638. /** Get information about vertex attributes of a Mesh, without memory allocations.
  8639. * @param $attributes Collection of vertex attributes to receive the results.
  8640. * @returns The number of vertex attributes returned in the attributes container.
  8641. */
  8642. public GetVertexAttributes ($attributes: System.Array$1<UnityEngine.Rendering.VertexAttributeDescriptor>) : number
  8643. public GetVertexAttributes ($attributes: System.Collections.Generic.List$1<UnityEngine.Rendering.VertexAttributeDescriptor>) : number
  8644. /** Sets the vertex buffer size and layout.
  8645. * @param $vertexCount The number of vertices in the Mesh.
  8646. * @param $attributes Layout of the vertex data -- which attributes are present, their data types and so on.
  8647. */
  8648. public SetVertexBufferParams ($vertexCount: number, ...attributes: UnityEngine.Rendering.VertexAttributeDescriptor[]) : void
  8649. public SetVertexBufferParams ($vertexCount: number, $attributes: Unity.Collections.NativeArray$1<UnityEngine.Rendering.VertexAttributeDescriptor>) : void
  8650. /** Gets a snapshot of Mesh data for read-only access.
  8651. * @param $mesh The input mesh.
  8652. * @param $meshes The input meshes.
  8653. * @returns Returns a MeshDataArray containing read-only MeshData structs. See Mesh.MeshDataArray and Mesh.MeshData.
  8654. */
  8655. public static AcquireReadOnlyMeshData ($mesh: UnityEngine.Mesh) : UnityEngine.Mesh.MeshDataArray
  8656. /** Gets a snapshot of Mesh data for read-only access.
  8657. * @param $mesh The input mesh.
  8658. * @param $meshes The input meshes.
  8659. * @returns Returns a MeshDataArray containing read-only MeshData structs. See Mesh.MeshDataArray and Mesh.MeshData.
  8660. */
  8661. public static AcquireReadOnlyMeshData ($meshes: System.Array$1<UnityEngine.Mesh>) : UnityEngine.Mesh.MeshDataArray
  8662. public static AcquireReadOnlyMeshData ($meshes: System.Collections.Generic.List$1<UnityEngine.Mesh>) : UnityEngine.Mesh.MeshDataArray
  8663. /** Allocates data structures for Mesh creation using C# Jobs.
  8664. * @param $meshCount The amount of meshes that will be created.
  8665. * @returns Returns a MeshDataArray containing writeable MeshData structs. See Mesh.MeshDataArray and Mesh.MeshData.
  8666. */
  8667. public static AllocateWritableMeshData ($meshCount: number) : UnityEngine.Mesh.MeshDataArray
  8668. public static ApplyAndDisposeWritableMeshData ($data: UnityEngine.Mesh.MeshDataArray, $mesh: UnityEngine.Mesh, $flags?: UnityEngine.Rendering.MeshUpdateFlags) : void
  8669. public static ApplyAndDisposeWritableMeshData ($data: UnityEngine.Mesh.MeshDataArray, $meshes: System.Array$1<UnityEngine.Mesh>, $flags?: UnityEngine.Rendering.MeshUpdateFlags) : void
  8670. public static ApplyAndDisposeWritableMeshData ($data: UnityEngine.Mesh.MeshDataArray, $meshes: System.Collections.Generic.List$1<UnityEngine.Mesh>, $flags?: UnityEngine.Rendering.MeshUpdateFlags) : void
  8671. /** Retrieves a GraphicsBuffer that provides direct acces to the GPU vertex buffer.
  8672. * @param $index Vertex data stream index to get the buffer for.
  8673. * @returns The mesh vertex buffer as a GraphicsBuffer.
  8674. */
  8675. public GetVertexBuffer ($index: number) : UnityEngine.GraphicsBuffer
  8676. /** Retrieves a GraphicsBuffer to the GPU index buffer.
  8677. * @returns The mesh index buffer as a GraphicsBuffer.
  8678. */
  8679. public GetIndexBuffer () : UnityEngine.GraphicsBuffer
  8680. /** Retrieves a GraphicsBuffer that provides direct read and write access to GPU bone weight data.
  8681. * @param $layout Which buffer to access, based on maximum bones per vertex.
  8682. * @returns The bone weight data as a GraphicsBuffer.
  8683. */
  8684. public GetBoneWeightBuffer ($layout: UnityEngine.SkinWeights) : UnityEngine.GraphicsBuffer
  8685. /** Retrieves a GraphicsBuffer that provides direct read and write access to GPU blend shape vertex data.
  8686. * @param $layout Which buffer to access. The default value is Rendering.BlendShapeBufferLayout.PerShape.
  8687. * @returns The blend shape vertex data as a GraphicsBuffer.
  8688. */
  8689. public GetBlendShapeBuffer ($layout: UnityEngine.Rendering.BlendShapeBufferLayout) : UnityEngine.GraphicsBuffer
  8690. /** Retrieves a GraphicsBuffer that provides direct read and write access to GPU blend shape vertex data.
  8691. * @param $layout Which buffer to access. The default value is Rendering.BlendShapeBufferLayout.PerShape.
  8692. * @returns The blend shape vertex data as a GraphicsBuffer.
  8693. */
  8694. public GetBlendShapeBuffer () : UnityEngine.GraphicsBuffer
  8695. /** Get the location of blend shape vertex data for a given blend shape.
  8696. * @param $blendShapeIndex Which blend shape to locate the data for.
  8697. * @returns A struct that describes the start and end index of the data for the given blend shape.
  8698. */
  8699. public GetBlendShapeBufferRange ($blendShapeIndex: number) : UnityEngine.BlendShapeBufferRange
  8700. /** Fetches the triangle list for the specified sub-mesh on this object.
  8701. * @param $triangles A list of vertex indices to populate. Any existing items in the list are replaced.
  8702. * @param $submesh The sub-mesh index. See subMeshCount.
  8703. * @param $applyBaseVertex True (default value) will apply base vertex offset to returned indices.
  8704. */
  8705. public GetTriangles ($submesh: number) : System.Array$1<number>
  8706. /** Fetches the triangle list for the specified sub-mesh on this object.
  8707. * @param $triangles A list of vertex indices to populate. Any existing items in the list are replaced.
  8708. * @param $submesh The sub-mesh index. See subMeshCount.
  8709. * @param $applyBaseVertex True (default value) will apply base vertex offset to returned indices.
  8710. */
  8711. public GetTriangles ($submesh: number, $applyBaseVertex: boolean) : System.Array$1<number>
  8712. public GetTriangles ($triangles: System.Collections.Generic.List$1<number>, $submesh: number) : void
  8713. public GetTriangles ($triangles: System.Collections.Generic.List$1<number>, $submesh: number, $applyBaseVertex: boolean) : void
  8714. public GetTriangles ($triangles: System.Collections.Generic.List$1<number>, $submesh: number, $applyBaseVertex?: boolean) : void
  8715. /** Fetches the index list for the specified sub-mesh.
  8716. * @param $submesh The sub-mesh index. See subMeshCount.
  8717. * @param $applyBaseVertex True (default value) will apply base vertex offset to returned indices.
  8718. * @returns Array with face indices.
  8719. */
  8720. public GetIndices ($submesh: number) : System.Array$1<number>
  8721. /** Fetches the index list for the specified sub-mesh.
  8722. * @param $submesh The sub-mesh index. See subMeshCount.
  8723. * @param $applyBaseVertex True (default value) will apply base vertex offset to returned indices.
  8724. * @returns Array with face indices.
  8725. */
  8726. public GetIndices ($submesh: number, $applyBaseVertex: boolean) : System.Array$1<number>
  8727. public GetIndices ($indices: System.Collections.Generic.List$1<number>, $submesh: number) : void
  8728. public GetIndices ($indices: System.Collections.Generic.List$1<number>, $submesh: number, $applyBaseVertex: boolean) : void
  8729. public GetIndices ($indices: System.Collections.Generic.List$1<number>, $submesh: number, $applyBaseVertex?: boolean) : void
  8730. /** Gets the starting index location within the Mesh's index buffer, for the given sub-mesh.
  8731. */
  8732. public GetIndexStart ($submesh: number) : number
  8733. /** Gets the index count of the given sub-mesh.
  8734. */
  8735. public GetIndexCount ($submesh: number) : number
  8736. /** Gets the base vertex index of the given sub-mesh.
  8737. * @param $submesh The sub-mesh index. See subMeshCount.
  8738. * @returns The offset applied to all vertex indices of this sub-mesh.
  8739. */
  8740. public GetBaseVertex ($submesh: number) : number
  8741. /** Sets the triangle list for the sub-mesh.
  8742. * @param $triangles The list of indices that define the triangles.
  8743. * @param $submesh The sub-mesh to modify.
  8744. * @param $calculateBounds Calculate the bounding box of the Mesh after setting the triangles. This is done by default.
  8745. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the triangles.
  8746. * @param $baseVertex Optional vertex offset that is added to all triangle vertex indices.
  8747. */
  8748. public SetTriangles ($triangles: System.Array$1<number>, $submesh: number) : void
  8749. /** Sets the triangle list for the sub-mesh.
  8750. * @param $triangles The list of indices that define the triangles.
  8751. * @param $submesh The sub-mesh to modify.
  8752. * @param $calculateBounds Calculate the bounding box of the Mesh after setting the triangles. This is done by default.
  8753. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the triangles.
  8754. * @param $baseVertex Optional vertex offset that is added to all triangle vertex indices.
  8755. */
  8756. public SetTriangles ($triangles: System.Array$1<number>, $submesh: number, $calculateBounds: boolean) : void
  8757. /** Sets the triangle list for the sub-mesh.
  8758. * @param $triangles The list of indices that define the triangles.
  8759. * @param $submesh The sub-mesh to modify.
  8760. * @param $calculateBounds Calculate the bounding box of the Mesh after setting the triangles. This is done by default.
  8761. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the triangles.
  8762. * @param $baseVertex Optional vertex offset that is added to all triangle vertex indices.
  8763. */
  8764. public SetTriangles ($triangles: System.Array$1<number>, $submesh: number, $calculateBounds: boolean, $baseVertex: number) : void
  8765. /** Sets the triangle list of the Mesh, using a part of the input array.
  8766. * @param $triangles The list of indices that define the triangles.
  8767. * @param $trianglesStart Index of the first element to take from the input array.
  8768. * @param $trianglesLength Number of elements to take from the input array.
  8769. * @param $submesh The sub-mesh to modify.
  8770. * @param $calculateBounds Calculate the bounding box of the Mesh after setting the triangles. This is done by default.
  8771. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the triangles.
  8772. * @param $baseVertex Optional vertex offset that is added to all triangle vertex indices.
  8773. */
  8774. public SetTriangles ($triangles: System.Array$1<number>, $trianglesStart: number, $trianglesLength: number, $submesh: number, $calculateBounds?: boolean, $baseVertex?: number) : void
  8775. /** Sets the triangle list for the sub-mesh.
  8776. * @param $triangles The list of indices that define the triangles.
  8777. * @param $submesh The sub-mesh to modify.
  8778. * @param $calculateBounds Calculate the bounding box of the Mesh after setting the triangles. This is done by default.
  8779. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the triangles.
  8780. * @param $baseVertex Optional vertex offset that is added to all triangle vertex indices.
  8781. */
  8782. public SetTriangles ($triangles: System.Array$1<number>, $submesh: number, $calculateBounds?: boolean, $baseVertex?: number) : void
  8783. public SetTriangles ($triangles: System.Collections.Generic.List$1<number>, $submesh: number) : void
  8784. public SetTriangles ($triangles: System.Collections.Generic.List$1<number>, $submesh: number, $calculateBounds: boolean) : void
  8785. public SetTriangles ($triangles: System.Collections.Generic.List$1<number>, $submesh: number, $calculateBounds: boolean, $baseVertex: number) : void
  8786. public SetTriangles ($triangles: System.Collections.Generic.List$1<number>, $trianglesStart: number, $trianglesLength: number, $submesh: number, $calculateBounds?: boolean, $baseVertex?: number) : void
  8787. public SetTriangles ($triangles: System.Collections.Generic.List$1<number>, $submesh: number, $calculateBounds?: boolean, $baseVertex?: number) : void
  8788. /** Sets the index buffer for the sub-mesh.
  8789. * @param $indices The array of indices that define the mesh faces.
  8790. * @param $topology The topology of the Mesh, e.g: Triangles, Lines, Quads, Points, etc. See MeshTopology.
  8791. * @param $submesh The sub-mesh to modify.
  8792. * @param $calculateBounds Calculate the bounding box of the Mesh after setting the indices. This is done by default.
  8793. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the indices.
  8794. * @param $baseVertex Optional vertex offset that is added to all vertex indices.
  8795. */
  8796. public SetIndices ($indices: System.Array$1<number>, $topology: UnityEngine.MeshTopology, $submesh: number) : void
  8797. /** Sets the index buffer for the sub-mesh.
  8798. * @param $indices The array of indices that define the mesh faces.
  8799. * @param $topology The topology of the Mesh, e.g: Triangles, Lines, Quads, Points, etc. See MeshTopology.
  8800. * @param $submesh The sub-mesh to modify.
  8801. * @param $calculateBounds Calculate the bounding box of the Mesh after setting the indices. This is done by default.
  8802. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the indices.
  8803. * @param $baseVertex Optional vertex offset that is added to all vertex indices.
  8804. */
  8805. public SetIndices ($indices: System.Array$1<number>, $topology: UnityEngine.MeshTopology, $submesh: number, $calculateBounds: boolean) : void
  8806. /** Sets the index buffer for the sub-mesh.
  8807. * @param $indices The array of indices that define the mesh faces.
  8808. * @param $topology The topology of the Mesh, e.g: Triangles, Lines, Quads, Points, etc. See MeshTopology.
  8809. * @param $submesh The sub-mesh to modify.
  8810. * @param $calculateBounds Calculate the bounding box of the Mesh after setting the indices. This is done by default.
  8811. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the indices.
  8812. * @param $baseVertex Optional vertex offset that is added to all vertex indices.
  8813. */
  8814. public SetIndices ($indices: System.Array$1<number>, $topology: UnityEngine.MeshTopology, $submesh: number, $calculateBounds: boolean, $baseVertex: number) : void
  8815. /** Sets the index buffer of a sub-mesh, using a part of the input array.
  8816. * @param $indices The array of indices that define the mesh faces.
  8817. * @param $indicesStart Index of the first element to take from the input array.
  8818. * @param $indicesLength Number of elements to take from the input array.
  8819. * @param $topology The topology of the Mesh, e.g: Triangles, Lines, Quads, Points, etc. See MeshTopology.
  8820. * @param $submesh The sub-mesh to modify.
  8821. * @param $calculateBounds Calculate the bounding box of the Mesh after setting the indices. This is done by default.
  8822. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the indices.
  8823. * @param $baseVertex Optional vertex offset that is added to all vertex indices.
  8824. */
  8825. public SetIndices ($indices: System.Array$1<number>, $indicesStart: number, $indicesLength: number, $topology: UnityEngine.MeshTopology, $submesh: number, $calculateBounds?: boolean, $baseVertex?: number) : void
  8826. /** Sets the index buffer for the sub-mesh.
  8827. * @param $indices The array of indices that define the mesh faces.
  8828. * @param $topology The topology of the Mesh, e.g: Triangles, Lines, Quads, Points, etc. See MeshTopology.
  8829. * @param $submesh The sub-mesh to modify.
  8830. * @param $calculateBounds Calculate the bounding box of the Mesh after setting the indices. This is done by default.
  8831. Use false when you want to use the existing bounding box and reduce the CPU cost of setting the indices.
  8832. * @param $baseVertex Optional vertex offset that is added to all vertex indices.
  8833. */
  8834. public SetIndices ($indices: System.Array$1<number>, $topology: UnityEngine.MeshTopology, $submesh: number, $calculateBounds?: boolean, $baseVertex?: number) : void
  8835. public SetIndices ($indices: System.Collections.Generic.List$1<number>, $topology: UnityEngine.MeshTopology, $submesh: number, $calculateBounds?: boolean, $baseVertex?: number) : void
  8836. public SetIndices ($indices: System.Collections.Generic.List$1<number>, $indicesStart: number, $indicesLength: number, $topology: UnityEngine.MeshTopology, $submesh: number, $calculateBounds?: boolean, $baseVertex?: number) : void
  8837. /** Sets information defining all sub-meshes in this Mesh, replacing any existing sub-meshes.
  8838. * @param $desc An array or list of sub-mesh data descriptors.
  8839. * @param $start Index of the first element to take from the array or list in desc.
  8840. * @param $count Number of elements to take from the array or list in desc.
  8841. * @param $flags (Optional) Flags controlling the function behavior, see MeshUpdateFlags.
  8842. */
  8843. public SetSubMeshes ($desc: System.Array$1<UnityEngine.Rendering.SubMeshDescriptor>, $start: number, $count: number, $flags?: UnityEngine.Rendering.MeshUpdateFlags) : void
  8844. /** Sets information defining all sub-meshes in this Mesh, replacing any existing sub-meshes.
  8845. * @param $desc An array or list of sub-mesh data descriptors.
  8846. * @param $start Index of the first element to take from the array or list in desc.
  8847. * @param $count Number of elements to take from the array or list in desc.
  8848. * @param $flags (Optional) Flags controlling the function behavior, see MeshUpdateFlags.
  8849. */
  8850. public SetSubMeshes ($desc: System.Array$1<UnityEngine.Rendering.SubMeshDescriptor>, $flags?: UnityEngine.Rendering.MeshUpdateFlags) : void
  8851. public SetSubMeshes ($desc: System.Collections.Generic.List$1<UnityEngine.Rendering.SubMeshDescriptor>, $start: number, $count: number, $flags?: UnityEngine.Rendering.MeshUpdateFlags) : void
  8852. public SetSubMeshes ($desc: System.Collections.Generic.List$1<UnityEngine.Rendering.SubMeshDescriptor>, $flags?: UnityEngine.Rendering.MeshUpdateFlags) : void
  8853. public GetBindposes ($bindposes: System.Collections.Generic.List$1<UnityEngine.Matrix4x4>) : void
  8854. public GetBoneWeights ($boneWeights: System.Collections.Generic.List$1<UnityEngine.BoneWeight>) : void
  8855. /** Clears all vertex data and all triangle indices.
  8856. * @param $keepVertexLayout True if the existing Mesh data layout should be preserved.
  8857. */
  8858. public Clear ($keepVertexLayout: boolean) : void
  8859. public Clear () : void
  8860. public RecalculateBounds () : void
  8861. public RecalculateNormals () : void
  8862. public RecalculateTangents () : void
  8863. /** Recalculate the bounding volume of the Mesh from the vertices.
  8864. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8865. */
  8866. public RecalculateBounds ($flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8867. /** Recalculates the normals of the Mesh from the triangles and vertices.
  8868. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8869. */
  8870. public RecalculateNormals ($flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8871. /** Recalculates the tangents of the Mesh from the normals and texture coordinates.
  8872. * @param $flags Flags controlling the function behavior, see MeshUpdateFlags.
  8873. */
  8874. public RecalculateTangents ($flags: UnityEngine.Rendering.MeshUpdateFlags) : void
  8875. /** Recalculates the UV distribution metric of the Mesh from the vertices and uv coordinates.
  8876. * @param $uvSetIndex The UV set index to set the UV distibution metric for. Use 0 for first index.
  8877. * @param $uvAreaThreshold The minimum UV area to consider. The default value is 1e-9f.
  8878. */
  8879. public RecalculateUVDistributionMetric ($uvSetIndex: number, $uvAreaThreshold?: number) : void
  8880. /** Recalculates the UV distribution metrics of the Mesh from the vertices and uv coordinates.
  8881. * @param $uvAreaThreshold The minimum UV area to consider. The default value is 1e-9f.
  8882. */
  8883. public RecalculateUVDistributionMetrics ($uvAreaThreshold?: number) : void
  8884. /** Optimize mesh for frequent updates.
  8885. */
  8886. public MarkDynamic () : void
  8887. /** Upload previously done Mesh modifications to the graphics API.
  8888. * @param $markNoLongerReadable Frees up system memory copy of mesh data when set to true.
  8889. */
  8890. public UploadMeshData ($markNoLongerReadable: boolean) : void
  8891. /** Optimizes the Mesh data to improve rendering performance.
  8892. */
  8893. public Optimize () : void
  8894. /** Optimizes the geometry of the Mesh to improve rendering performance.
  8895. */
  8896. public OptimizeIndexBuffers () : void
  8897. /** Optimizes the vertices of the Mesh to improve rendering performance.
  8898. */
  8899. public OptimizeReorderVertexBuffer () : void
  8900. /** Gets the topology of a sub-mesh.
  8901. */
  8902. public GetTopology ($submesh: number) : UnityEngine.MeshTopology
  8903. /** Combines several Meshes into this Mesh.
  8904. * @param $combine Descriptions of the Meshes to combine.
  8905. * @param $mergeSubMeshes Defines whether Meshes should be combined into a single sub-mesh.
  8906. * @param $useMatrices Defines whether the transforms supplied in the CombineInstance array should be used or ignored.
  8907. * @param $hasLightmapData Defines whether to transform the input Mesh lightmap UV data using the lightmap scale offset data in CombineInstance structs.
  8908. */
  8909. public CombineMeshes ($combine: System.Array$1<UnityEngine.CombineInstance>, $mergeSubMeshes: boolean, $useMatrices: boolean, $hasLightmapData: boolean) : void
  8910. /** Combines several Meshes into this Mesh.
  8911. * @param $combine Descriptions of the Meshes to combine.
  8912. * @param $mergeSubMeshes Defines whether Meshes should be combined into a single sub-mesh.
  8913. * @param $useMatrices Defines whether the transforms supplied in the CombineInstance array should be used or ignored.
  8914. * @param $hasLightmapData Defines whether to transform the input Mesh lightmap UV data using the lightmap scale offset data in CombineInstance structs.
  8915. */
  8916. public CombineMeshes ($combine: System.Array$1<UnityEngine.CombineInstance>, $mergeSubMeshes: boolean, $useMatrices: boolean) : void
  8917. /** Combines several Meshes into this Mesh.
  8918. * @param $combine Descriptions of the Meshes to combine.
  8919. * @param $mergeSubMeshes Defines whether Meshes should be combined into a single sub-mesh.
  8920. * @param $useMatrices Defines whether the transforms supplied in the CombineInstance array should be used or ignored.
  8921. * @param $hasLightmapData Defines whether to transform the input Mesh lightmap UV data using the lightmap scale offset data in CombineInstance structs.
  8922. */
  8923. public CombineMeshes ($combine: System.Array$1<UnityEngine.CombineInstance>, $mergeSubMeshes: boolean) : void
  8924. /** Combines several Meshes into this Mesh.
  8925. * @param $combine Descriptions of the Meshes to combine.
  8926. * @param $mergeSubMeshes Defines whether Meshes should be combined into a single sub-mesh.
  8927. * @param $useMatrices Defines whether the transforms supplied in the CombineInstance array should be used or ignored.
  8928. * @param $hasLightmapData Defines whether to transform the input Mesh lightmap UV data using the lightmap scale offset data in CombineInstance structs.
  8929. */
  8930. public CombineMeshes ($combine: System.Array$1<UnityEngine.CombineInstance>) : void
  8931. public constructor ()
  8932. }
  8933. /** Topology of Mesh faces.
  8934. */
  8935. enum MeshTopology
  8936. { Triangles = 0, Quads = 2, Lines = 3, LineStrip = 4, Points = 5 }
  8937. /** A block of material values to apply.
  8938. */
  8939. class MaterialPropertyBlock extends System.Object
  8940. {
  8941. protected [__keep_incompatibility]: never;
  8942. }
  8943. /** The Light Probe Proxy Volume component offers the possibility to use higher resolution lighting for large non-static GameObjects.
  8944. */
  8945. class LightProbeProxyVolume extends UnityEngine.Behaviour
  8946. {
  8947. protected [__keep_incompatibility]: never;
  8948. }
  8949. /** Represents an axis aligned bounding box.
  8950. */
  8951. class Bounds extends System.ValueType implements System.IEquatable$1<UnityEngine.Bounds>, System.IFormattable
  8952. {
  8953. protected [__keep_incompatibility]: never;
  8954. }
  8955. /** Describes a bone weight that affects a vertex in a mesh.
  8956. */
  8957. class BoneWeight1 extends System.ValueType implements System.IEquatable$1<UnityEngine.BoneWeight1>
  8958. {
  8959. protected [__keep_incompatibility]: never;
  8960. }
  8961. /** Representation of RGBA colors in 32 bit format.
  8962. */
  8963. class Color32 extends System.ValueType implements System.IFormattable
  8964. {
  8965. protected [__keep_incompatibility]: never;
  8966. }
  8967. /** Skin weights.
  8968. */
  8969. enum SkinWeights
  8970. { None = 0, OneBone = 1, TwoBones = 2, FourBones = 4, Unlimited = 255 }
  8971. /** Describes the location of blend shape vertex data in a GraphicsBuffer.
  8972. */
  8973. class BlendShapeBufferRange extends System.ValueType
  8974. {
  8975. protected [__keep_incompatibility]: never;
  8976. }
  8977. /** Describes 4 skinning bone weights that affect a vertex in a mesh.
  8978. */
  8979. class BoneWeight extends System.ValueType implements System.IEquatable$1<UnityEngine.BoneWeight>
  8980. {
  8981. protected [__keep_incompatibility]: never;
  8982. }
  8983. /** Struct used to describe meshes to be combined using Mesh.CombineMeshes.
  8984. */
  8985. class CombineInstance extends System.ValueType
  8986. {
  8987. protected [__keep_incompatibility]: never;
  8988. }
  8989. /** Low-level graphics library.
  8990. */
  8991. class GL extends System.Object
  8992. {
  8993. protected [__keep_incompatibility]: never;
  8994. /** Mode for Begin: draw triangles.
  8995. */
  8996. public static TRIANGLES : number
  8997. /** Mode for Begin: draw triangle strip.
  8998. */
  8999. public static TRIANGLE_STRIP : number
  9000. /** Mode for Begin: draw quads.
  9001. */
  9002. public static QUADS : number
  9003. /** Mode for Begin: draw lines.
  9004. */
  9005. public static LINES : number
  9006. /** Mode for Begin: draw line strip.
  9007. */
  9008. public static LINE_STRIP : number
  9009. /** Should rendering be done in wireframe?
  9010. */
  9011. public static get wireframe(): boolean;
  9012. public static set wireframe(value: boolean);
  9013. /** Controls whether Linear-to-sRGB color conversion is performed while rendering.
  9014. */
  9015. public static get sRGBWrite(): boolean;
  9016. public static set sRGBWrite(value: boolean);
  9017. /** Select whether to invert the backface culling (true) or not (false).
  9018. */
  9019. public static get invertCulling(): boolean;
  9020. public static set invertCulling(value: boolean);
  9021. /** Gets or sets the modelview matrix.
  9022. */
  9023. public static get modelview(): UnityEngine.Matrix4x4;
  9024. public static set modelview(value: UnityEngine.Matrix4x4);
  9025. /** Submit a vertex.
  9026. */
  9027. public static Vertex3 ($x: number, $y: number, $z: number) : void
  9028. /** Submit a vertex.
  9029. */
  9030. public static Vertex ($v: UnityEngine.Vector3) : void
  9031. /** Sets current texture coordinate (x,y,z) for all texture units.
  9032. */
  9033. public static TexCoord3 ($x: number, $y: number, $z: number) : void
  9034. /** Sets current texture coordinate (v.x,v.y,v.z) for all texture units.
  9035. */
  9036. public static TexCoord ($v: UnityEngine.Vector3) : void
  9037. /** Sets current texture coordinate (x,y) for all texture units.
  9038. */
  9039. public static TexCoord2 ($x: number, $y: number) : void
  9040. /** Sets current texture coordinate (x,y,z) to the actual texture unit.
  9041. */
  9042. public static MultiTexCoord3 ($unit: number, $x: number, $y: number, $z: number) : void
  9043. /** Sets current texture coordinate (v.x,v.y,v.z) to the actual texture unit.
  9044. */
  9045. public static MultiTexCoord ($unit: number, $v: UnityEngine.Vector3) : void
  9046. /** Sets current texture coordinate (x,y) for the actual texture unit.
  9047. */
  9048. public static MultiTexCoord2 ($unit: number, $x: number, $y: number) : void
  9049. /** Sets current vertex color.
  9050. */
  9051. public static Color ($c: UnityEngine.Color) : void
  9052. /** Sends queued-up commands in the driver's command buffer to the GPU.
  9053. */
  9054. public static Flush () : void
  9055. /** Resolves the render target for subsequent operations sampling from it.
  9056. */
  9057. public static RenderTargetBarrier () : void
  9058. /** Sets the current model matrix to the one specified.
  9059. */
  9060. public static MultMatrix ($m: UnityEngine.Matrix4x4) : void
  9061. /** Saves the model, view and projection matrices to the top of the matrix stack.
  9062. */
  9063. public static PushMatrix () : void
  9064. /** Restores the model, view and projection matrices off the top of the matrix stack.
  9065. */
  9066. public static PopMatrix () : void
  9067. /** Load an identity into the current model and view matrices.
  9068. */
  9069. public static LoadIdentity () : void
  9070. /** Helper function to set up an orthograhic projection.
  9071. */
  9072. public static LoadOrtho () : void
  9073. /** Setup a matrix for pixel-correct rendering.
  9074. */
  9075. public static LoadPixelMatrix () : void
  9076. /** Load an arbitrary matrix to the current projection matrix.
  9077. */
  9078. public static LoadProjectionMatrix ($mat: UnityEngine.Matrix4x4) : void
  9079. /** Invalidate the internally cached render state.
  9080. */
  9081. public static InvalidateState () : void
  9082. /** Compute GPU projection matrix from camera's projection matrix.
  9083. * @param $proj Source projection matrix.
  9084. * @param $renderIntoTexture Will this projection be used for rendering into a RenderTexture?
  9085. * @returns Adjusted projection matrix for the current graphics API.
  9086. */
  9087. public static GetGPUProjectionMatrix ($proj: UnityEngine.Matrix4x4, $renderIntoTexture: boolean) : UnityEngine.Matrix4x4
  9088. /** Setup a matrix for pixel-correct rendering.
  9089. */
  9090. public static LoadPixelMatrix ($left: number, $right: number, $bottom: number, $top: number) : void
  9091. /** Send a user-defined event to a native code plugin.
  9092. * @param $eventID User defined id to send to the callback.
  9093. * @param $callback Native code callback to queue for Unity's renderer to invoke.
  9094. */
  9095. public static IssuePluginEvent ($callback: System.IntPtr, $eventID: number) : void
  9096. /** Begin drawing 3D primitives.
  9097. * @param $mode Primitives to draw: can be TRIANGLES, TRIANGLE_STRIP, QUADS or LINES.
  9098. */
  9099. public static Begin ($mode: number) : void
  9100. /** End drawing 3D primitives.
  9101. */
  9102. public static End () : void
  9103. /** Clear the current render buffer.
  9104. * @param $clearDepth Should the depth buffer be cleared?
  9105. * @param $clearColor Should the color buffer be cleared?
  9106. * @param $backgroundColor The color to clear with, used only if clearColor is true.
  9107. * @param $depth The depth to clear the z-buffer with, used only if clearDepth is true. The valid
  9108. range is from 0 (near plane) to 1 (far plane). The value is graphics API agnostic: the abstraction layer will convert
  9109. the value to match the convention of the current graphics API.
  9110. */
  9111. public static Clear ($clearDepth: boolean, $clearColor: boolean, $backgroundColor: UnityEngine.Color, $depth: number) : void
  9112. public static Clear ($clearDepth: boolean, $clearColor: boolean, $backgroundColor: UnityEngine.Color) : void
  9113. /** Set the rendering viewport.
  9114. */
  9115. public static Viewport ($pixelRect: UnityEngine.Rect) : void
  9116. /** Clear the current render buffer with camera's skybox.
  9117. * @param $clearDepth Should the depth buffer be cleared?
  9118. * @param $camera Camera to get projection parameters and skybox from.
  9119. */
  9120. public static ClearWithSkybox ($clearDepth: boolean, $camera: UnityEngine.Camera) : void
  9121. public constructor ()
  9122. }
  9123. /** Class that represents textures in C# code.
  9124. */
  9125. class Texture2D extends UnityEngine.Texture
  9126. {
  9127. protected [__keep_incompatibility]: never;
  9128. /** The format of the pixel data in the texture (Read Only).
  9129. */
  9130. public get format(): UnityEngine.TextureFormat;
  9131. /** This property causes a texture to ignore all texture mipmap limit settings.
  9132. */
  9133. public get ignoreMipmapLimit(): boolean;
  9134. public set ignoreMipmapLimit(value: boolean);
  9135. /** The name of the texture mipmap limit group that this texture is associated with. (Read Only)
  9136. */
  9137. public get mipmapLimitGroup(): string;
  9138. /** The number of high resolution mipmap levels from the texture that Unity doesn't upload to the GPU. (Read Only)
  9139. */
  9140. public get activeMipmapLimit(): number;
  9141. /** Gets a small Texture with all white pixels.
  9142. */
  9143. public static get whiteTexture(): UnityEngine.Texture2D;
  9144. /** Gets a small Texture with all black pixels.
  9145. */
  9146. public static get blackTexture(): UnityEngine.Texture2D;
  9147. /** Gets a small Texture with all red pixels.
  9148. */
  9149. public static get redTexture(): UnityEngine.Texture2D;
  9150. /** Gets a small Texture with all gray pixels.
  9151. */
  9152. public static get grayTexture(): UnityEngine.Texture2D;
  9153. /** Gets a small Texture with all gray pixels.
  9154. */
  9155. public static get linearGrayTexture(): UnityEngine.Texture2D;
  9156. /** Gets a small Texture with pixels that represent surface normal vectors at a neutral position.
  9157. */
  9158. public static get normalTexture(): UnityEngine.Texture2D;
  9159. public get isReadable(): boolean;
  9160. /** Returns true if the VTOnly checkbox was checked when the texture was imported; otherwise returns false. For additional information, see TextureImporter.vtOnly.
  9161. */
  9162. public get vtOnly(): boolean;
  9163. /** Determines whether mipmap streaming is enabled for this Texture.
  9164. */
  9165. public get streamingMipmaps(): boolean;
  9166. /** Sets the relative priority for this Texture when reducing memory size to fit within the memory budget.
  9167. */
  9168. public get streamingMipmapsPriority(): number;
  9169. /** The mipmap level to load.
  9170. */
  9171. public get requestedMipmapLevel(): number;
  9172. public set requestedMipmapLevel(value: number);
  9173. /** Restricts the mipmap streaming system to a minimum mip level for this Texture.
  9174. */
  9175. public get minimumMipmapLevel(): number;
  9176. public set minimumMipmapLevel(value: number);
  9177. /** The mipmap level calculated by the streaming system, which takes into account the streaming Cameras and the location of the objects containing this Texture. This is unaffected by requestedMipmapLevel or minimumMipmapLevel.
  9178. */
  9179. public get calculatedMipmapLevel(): number;
  9180. /** The mipmap level that the streaming system would load before memory budgets are applied.
  9181. */
  9182. public get desiredMipmapLevel(): number;
  9183. /** The mipmap level that the mipmap streaming system is in the process of loading.
  9184. */
  9185. public get loadingMipmapLevel(): number;
  9186. /** The mipmap level that is currently loaded by the streaming system.
  9187. */
  9188. public get loadedMipmapLevel(): number;
  9189. /** Indicates whether this texture was imported with TextureImporter.alphaIsTransparency enabled. This setting is available only in the Editor scripts. Note that changing this setting will have no effect; it must be enabled in TextureImporter instead.
  9190. */
  9191. public get alphaIsTransparency(): boolean;
  9192. public set alphaIsTransparency(value: boolean);
  9193. /** Compress texture at runtime to DXT/BCn or ETC formats.
  9194. */
  9195. public Compress ($highQuality: boolean) : void
  9196. /** Resets the requestedMipmapLevel field.
  9197. */
  9198. public ClearRequestedMipmapLevel () : void
  9199. /** Checks to see whether the mipmap level set by requestedMipmapLevel has finished loading.
  9200. * @returns True if the mipmap level requested by requestedMipmapLevel has finished loading.
  9201. */
  9202. public IsRequestedMipmapLevelLoaded () : boolean
  9203. /** Resets the minimumMipmapLevel field.
  9204. */
  9205. public ClearMinimumMipmapLevel () : void
  9206. /** Updates Unity texture to use different native texture object.
  9207. * @param $nativeTex Native 2D texture object.
  9208. */
  9209. public UpdateExternalTexture ($nativeTex: System.IntPtr) : void
  9210. /** Gets the raw data from a texture, as a copy.
  9211. * @returns A byte array that contains raw texture data.
  9212. */
  9213. public GetRawTextureData () : System.Array$1<number>
  9214. /** Gets the pixel color data for part of a mipmap level as Color structs.
  9215. * @param $x The starting x position of the section to fetch.
  9216. * @param $y The starting y position of the section to fetch.
  9217. * @param $blockWidth The width of the section to fetch.
  9218. * @param $blockHeight The height of the section to fetch.
  9219. * @param $miplevel The mipmap level to read from. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9220. * @returns An array that contains the pixel colors.
  9221. */
  9222. public GetPixels ($x: number, $y: number, $blockWidth: number, $blockHeight: number, $miplevel: number) : System.Array$1<UnityEngine.Color>
  9223. /** Gets the pixel color data for part of a mipmap level as Color structs.
  9224. * @param $x The starting x position of the section to fetch.
  9225. * @param $y The starting y position of the section to fetch.
  9226. * @param $blockWidth The width of the section to fetch.
  9227. * @param $blockHeight The height of the section to fetch.
  9228. * @param $miplevel The mipmap level to read from. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9229. * @returns An array that contains the pixel colors.
  9230. */
  9231. public GetPixels ($x: number, $y: number, $blockWidth: number, $blockHeight: number) : System.Array$1<UnityEngine.Color>
  9232. /** Gets the pixel color data for a mipmap level as Color32 structs.
  9233. * @param $miplevel The mipmap level to get. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9234. * @returns An array that contains the pixel colors.
  9235. */
  9236. public GetPixels32 ($miplevel: number) : System.Array$1<UnityEngine.Color32>
  9237. public GetPixels32 () : System.Array$1<UnityEngine.Color32>
  9238. /** Packs multiple Textures into a texture atlas.
  9239. * @param $textures Array of textures to pack into the atlas.
  9240. * @param $padding Padding in pixels between the packed textures.
  9241. * @param $maximumAtlasSize Maximum size of the resulting texture.
  9242. * @param $makeNoLongerReadable Should the texture be marked as no longer readable?
  9243. * @returns An array of rectangles containing the UV coordinates in the atlas for each input texture, or null if packing fails.
  9244. */
  9245. public PackTextures ($textures: System.Array$1<UnityEngine.Texture2D>, $padding: number, $maximumAtlasSize: number, $makeNoLongerReadable: boolean) : System.Array$1<UnityEngine.Rect>
  9246. public PackTextures ($textures: System.Array$1<UnityEngine.Texture2D>, $padding: number, $maximumAtlasSize: number) : System.Array$1<UnityEngine.Rect>
  9247. public PackTextures ($textures: System.Array$1<UnityEngine.Texture2D>, $padding: number) : System.Array$1<UnityEngine.Rect>
  9248. /** Creates a Unity Texture out of an externally created native texture object.
  9249. * @param $nativeTex Native 2D texture object.
  9250. * @param $width Width of texture in pixels.
  9251. * @param $height Height of texture in pixels.
  9252. * @param $format Format of underlying texture object.
  9253. * @param $mipmap Does the texture have mipmaps?
  9254. * @param $linear Is texture using linear color space?
  9255. */
  9256. public static CreateExternalTexture ($width: number, $height: number, $format: UnityEngine.TextureFormat, $mipChain: boolean, $linear: boolean, $nativeTex: System.IntPtr) : UnityEngine.Texture2D
  9257. /** Sets the pixel color at coordinates (x,y).
  9258. * @param $x The x coordinate of the pixel to set. The range is 0 through (texture width - 1).
  9259. * @param $y The y coordinate of the pixel to set. The range is 0 through (texture height - 1).
  9260. * @param $color The color to set.
  9261. * @param $mipLevel The mipmap level to write to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9262. */
  9263. public SetPixel ($x: number, $y: number, $color: UnityEngine.Color) : void
  9264. /** Sets the pixel color at coordinates (x,y).
  9265. * @param $x The x coordinate of the pixel to set. The range is 0 through (texture width - 1).
  9266. * @param $y The y coordinate of the pixel to set. The range is 0 through (texture height - 1).
  9267. * @param $color The color to set.
  9268. * @param $mipLevel The mipmap level to write to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9269. */
  9270. public SetPixel ($x: number, $y: number, $color: UnityEngine.Color, $mipLevel: number) : void
  9271. /** Sets the pixel colors of part of a mipmap level.
  9272. * @param $x The x coordinate to place the block of pixels at. The range is 0 through (texture width - 1).
  9273. * @param $y The y coordinate to place the block of pixels at. The range is 0 through (texture height - 1).
  9274. * @param $blockWidth The width of the block of pixels to set.
  9275. * @param $blockHeight The height of the block of pixels to set.
  9276. * @param $colors The array of pixel colours to use. This is a 2D image flattened to a 1D array. Must be blockWidth x blockHeight in length.
  9277. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9278. */
  9279. public SetPixels ($x: number, $y: number, $blockWidth: number, $blockHeight: number, $colors: System.Array$1<UnityEngine.Color>, $miplevel: number) : void
  9280. public SetPixels ($x: number, $y: number, $blockWidth: number, $blockHeight: number, $colors: System.Array$1<UnityEngine.Color>) : void
  9281. /** Sets the pixel colors of an entire mipmap level.
  9282. * @param $colors The array of pixel colours to use. This is a 2D image flattened to a 1D array.
  9283. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9284. */
  9285. public SetPixels ($colors: System.Array$1<UnityEngine.Color>, $miplevel: number) : void
  9286. public SetPixels ($colors: System.Array$1<UnityEngine.Color>) : void
  9287. /** Gets the pixel color at coordinates (x, y).
  9288. * @param $x The x coordinate of the pixel to get. The range is 0 through (texture width - 1).
  9289. * @param $y The y coordinate of the pixel to get. The range is 0 through (texture height - 1).
  9290. * @param $mipLevel The mipmap level to sample. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9291. * @returns The pixel color.
  9292. */
  9293. public GetPixel ($x: number, $y: number) : UnityEngine.Color
  9294. /** Gets the pixel color at coordinates (x, y).
  9295. * @param $x The x coordinate of the pixel to get. The range is 0 through (texture width - 1).
  9296. * @param $y The y coordinate of the pixel to get. The range is 0 through (texture height - 1).
  9297. * @param $mipLevel The mipmap level to sample. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9298. * @returns The pixel color.
  9299. */
  9300. public GetPixel ($x: number, $y: number, $mipLevel: number) : UnityEngine.Color
  9301. /** Gets the filtered pixel color at the normalized coordinates (u, v).
  9302. * @param $u The u coordinate of the pixel to get.
  9303. * @param $v The v coordinate of the pixel to get.
  9304. * @param $mipLevel The mipmap level to read from. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9305. * @returns The pixel color.
  9306. */
  9307. public GetPixelBilinear ($u: number, $v: number) : UnityEngine.Color
  9308. /** Gets the filtered pixel color at the normalized coordinates (u, v).
  9309. * @param $u The u coordinate of the pixel to get.
  9310. * @param $v The v coordinate of the pixel to get.
  9311. * @param $mipLevel The mipmap level to read from. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9312. * @returns The pixel color.
  9313. */
  9314. public GetPixelBilinear ($u: number, $v: number, $mipLevel: number) : UnityEngine.Color
  9315. /** Sets the raw data of an entire texture in CPU memory.
  9316. * @param $data The array of data to use.
  9317. * @param $size The size of the data in bytes.
  9318. */
  9319. public LoadRawTextureData ($data: System.IntPtr, $size: number) : void
  9320. /** Sets the raw data of an entire texture in CPU memory.
  9321. * @param $data The array of data to use.
  9322. * @param $size The size of the data in bytes.
  9323. */
  9324. public LoadRawTextureData ($data: System.Array$1<number>) : void
  9325. /** Copies changes you've made in a CPU texture to the GPU.
  9326. * @param $updateMipmaps When the value is true, Unity recalculates mipmap levels, using mipmap level 0 as the source. The default value is true.
  9327. * @param $makeNoLongerReadable When the value is true, Unity deletes the texture in CPU memory after it uploads it to the GPU, and sets Texture.isReadable|isReadable to false. The default value is false.
  9328. */
  9329. public Apply ($updateMipmaps: boolean, $makeNoLongerReadable: boolean) : void
  9330. public Apply ($updateMipmaps: boolean) : void
  9331. public Apply () : void
  9332. /** Reinitializes a Texture2D, making it possible for you to replace width, height, textureformat, and graphicsformat data for that texture.
  9333. * @param $width New width of the Texture.
  9334. * @param $height New height of the Texture.
  9335. * @param $format New format of the Texture.
  9336. * @param $hasMipMap Indicates if the Texture should reserve memory for a full mip map chain.
  9337. * @returns Returns true if the reinitialization was a success.
  9338. */
  9339. public Reinitialize ($width: number, $height: number) : boolean
  9340. /** Reinitializes a Texture2D, making it possible for you to replace width, height, textureformat, and graphicsformat data for that texture.
  9341. * @param $width New width of the Texture.
  9342. * @param $height New height of the Texture.
  9343. * @param $format New format of the Texture.
  9344. * @param $hasMipMap Indicates if the Texture should reserve memory for a full mip map chain.
  9345. * @returns Returns true if the reinitialization was a success.
  9346. */
  9347. public Reinitialize ($width: number, $height: number, $format: UnityEngine.TextureFormat, $hasMipMap: boolean) : boolean
  9348. /** Reinitializes a Texture2D, making it possible for you to replace width, height, textureformat, and graphicsformat data for that texture.
  9349. * @param $width New width of the Texture.
  9350. * @param $height New height of the Texture.
  9351. * @param $format New format of the Texture.
  9352. * @param $hasMipMap Indicates if the Texture should reserve memory for a full mip map chain.
  9353. * @returns Returns true if the reinitialization was a success.
  9354. */
  9355. public Reinitialize ($width: number, $height: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $hasMipMap: boolean) : boolean
  9356. /** Reads pixels from the current render target and writes them to a texture.
  9357. * @param $source The region of the render target to read from.
  9358. * @param $destX The x position in the texture to write the pixels to.
  9359. * @param $destY The y position in the texture to write the pixels to.
  9360. * @param $recalculateMipMaps When the value is true, Unity automatically recalculates the mipmap for the texture after it writes the pixel data. Otherwise, Unity doesn't do this automatically.
  9361. */
  9362. public ReadPixels ($source: UnityEngine.Rect, $destX: number, $destY: number, $recalculateMipMaps: boolean) : void
  9363. public ReadPixels ($source: UnityEngine.Rect, $destX: number, $destY: number) : void
  9364. public static GenerateAtlas ($sizes: System.Array$1<UnityEngine.Vector2>, $padding: number, $atlasSize: number, $results: System.Collections.Generic.List$1<UnityEngine.Rect>) : boolean
  9365. /** Sets the pixel colors of an entire mipmap level.
  9366. * @param $colors The array of pixel colours to use. This is a 2D image flattened to a 1D array.
  9367. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9368. */
  9369. public SetPixels32 ($colors: System.Array$1<UnityEngine.Color32>, $miplevel: number) : void
  9370. /** Sets the pixel colors of an entire mipmap level.
  9371. * @param $colors The array of pixel colours to use. This is a 2D image flattened to a 1D array.
  9372. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9373. */
  9374. public SetPixels32 ($colors: System.Array$1<UnityEngine.Color32>) : void
  9375. /** Sets the pixel colors of part of a mipmap level.
  9376. * @param $x The x coordinate to place the block of pixels at. The range is 0 through (texture width - 1).
  9377. * @param $y The y coordinate to place the block of pixels at. The range is 0 through (texture height - 1).
  9378. * @param $blockWidth The width of the block of pixels to set.
  9379. * @param $blockHeight The height of the block of pixels to set.
  9380. * @param $colors The array of pixel colours to use. This is a 2D image flattened to a 1D array. Must be blockWidth x blockHeight in length.
  9381. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9382. */
  9383. public SetPixels32 ($x: number, $y: number, $blockWidth: number, $blockHeight: number, $colors: System.Array$1<UnityEngine.Color32>, $miplevel: number) : void
  9384. /** Sets the pixel colors of part of a mipmap level.
  9385. * @param $x The x coordinate to place the block of pixels at. The range is 0 through (texture width - 1).
  9386. * @param $y The y coordinate to place the block of pixels at. The range is 0 through (texture height - 1).
  9387. * @param $blockWidth The width of the block of pixels to set.
  9388. * @param $blockHeight The height of the block of pixels to set.
  9389. * @param $colors The array of pixel colours to use. This is a 2D image flattened to a 1D array. Must be blockWidth x blockHeight in length.
  9390. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9391. */
  9392. public SetPixels32 ($x: number, $y: number, $blockWidth: number, $blockHeight: number, $colors: System.Array$1<UnityEngine.Color32>) : void
  9393. /** Gets the pixel color data for a mipmap level as Color structs.
  9394. * @param $miplevel The mipmap level to get. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  9395. * @returns An array that contains the pixel colors.
  9396. */
  9397. public GetPixels ($miplevel: number) : System.Array$1<UnityEngine.Color>
  9398. public GetPixels () : System.Array$1<UnityEngine.Color>
  9399. public constructor ($width: number, $height: number, $format: UnityEngine.Experimental.Rendering.DefaultFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags)
  9400. public constructor ($width: number, $height: number, $format: UnityEngine.Experimental.Rendering.DefaultFormat, $mipCount: number, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags)
  9401. public constructor ($width: number, $height: number, $format: UnityEngine.Experimental.Rendering.DefaultFormat, $mipCount: number, $mipmapLimitGroupName: string, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags)
  9402. public constructor ($width: number, $height: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags)
  9403. public constructor ($width: number, $height: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $mipCount: number, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags)
  9404. public constructor ($width: number, $height: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $mipCount: number, $mipmapLimitGroupName: string, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags)
  9405. public constructor ($width: number, $height: number, $textureFormat: UnityEngine.TextureFormat, $mipCount: number, $linear: boolean)
  9406. public constructor ($width: number, $height: number, $textureFormat: UnityEngine.TextureFormat, $mipCount: number, $linear: boolean, $createUninitialized: boolean)
  9407. public constructor ($width: number, $height: number, $textureFormat: UnityEngine.TextureFormat, $mipCount: number, $linear: boolean, $createUninitialized: boolean, $ignoreMipmapLimit: boolean, $mipmapLimitGroupName: string)
  9408. public constructor ($width: number, $height: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean, $linear: boolean)
  9409. public constructor ($width: number, $height: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean, $linear: boolean, $createUninitialized: boolean)
  9410. public constructor ($width: number, $height: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean)
  9411. public constructor ($width: number, $height: number)
  9412. public constructor ()
  9413. }
  9414. /** Format used when creating textures from scripts.
  9415. */
  9416. enum TextureFormat
  9417. { 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_4x4 = 48, ASTC_5x5 = 49, ASTC_6x6 = 50, ASTC_8x8 = 51, ASTC_10x10 = 52, ASTC_12x12 = 53, ETC_RGB4_3DS = 60, ETC_RGBA8_3DS = 61, RG16 = 62, R8 = 63, ETC_RGB4Crunched = 64, ETC2_RGBA8Crunched = 65, ASTC_HDR_4x4 = 66, ASTC_HDR_5x5 = 67, ASTC_HDR_6x6 = 68, ASTC_HDR_8x8 = 69, ASTC_HDR_10x10 = 70, ASTC_HDR_12x12 = 71, RG32 = 72, RGB48 = 73, RGBA64 = 74, 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, PVRTC_2BPP_RGB = -127, PVRTC_2BPP_RGBA = -127, PVRTC_4BPP_RGB = -127, PVRTC_4BPP_RGBA = -127 }
  9418. /** Script interface for.
  9419. */
  9420. class QualitySettings extends UnityEngine.Object
  9421. {
  9422. protected [__keep_incompatibility]: never;
  9423. /** The maximum number of pixel lights that should affect any object.
  9424. */
  9425. public static get pixelLightCount(): number;
  9426. public static set pixelLightCount(value: number);
  9427. /** Real-time Shadows type to be used.
  9428. */
  9429. public static get shadows(): UnityEngine.ShadowQuality;
  9430. public static set shadows(value: UnityEngine.ShadowQuality);
  9431. /** Directional light shadow projection.
  9432. */
  9433. public static get shadowProjection(): UnityEngine.ShadowProjection;
  9434. public static set shadowProjection(value: UnityEngine.ShadowProjection);
  9435. /** Number of cascades to use for directional light shadows.
  9436. */
  9437. public static get shadowCascades(): number;
  9438. public static set shadowCascades(value: number);
  9439. /** Shadow drawing distance.
  9440. */
  9441. public static get shadowDistance(): number;
  9442. public static set shadowDistance(value: number);
  9443. /** The default resolution of the shadow maps.
  9444. */
  9445. public static get shadowResolution(): UnityEngine.ShadowResolution;
  9446. public static set shadowResolution(value: UnityEngine.ShadowResolution);
  9447. /** The rendering mode of Shadowmask.
  9448. */
  9449. public static get shadowmaskMode(): UnityEngine.ShadowmaskMode;
  9450. public static set shadowmaskMode(value: UnityEngine.ShadowmaskMode);
  9451. /** Offset shadow frustum near plane.
  9452. */
  9453. public static get shadowNearPlaneOffset(): number;
  9454. public static set shadowNearPlaneOffset(value: number);
  9455. /** The normalized cascade distribution for a 2 cascade setup. The value defines the position of the cascade with respect to Zero.
  9456. */
  9457. public static get shadowCascade2Split(): number;
  9458. public static set shadowCascade2Split(value: number);
  9459. /** The normalized cascade start position for a 4 cascade setup. Each member of the vector defines the normalized position of the coresponding cascade with respect to Zero.
  9460. */
  9461. public static get shadowCascade4Split(): UnityEngine.Vector3;
  9462. public static set shadowCascade4Split(value: UnityEngine.Vector3);
  9463. /** Global multiplier for the LOD's switching distance.
  9464. */
  9465. public static get lodBias(): number;
  9466. public static set lodBias(value: number);
  9467. /** Global anisotropic filtering mode.
  9468. */
  9469. public static get anisotropicFiltering(): UnityEngine.AnisotropicFiltering;
  9470. public static set anisotropicFiltering(value: UnityEngine.AnisotropicFiltering);
  9471. /** Indicates how many of the highest-resolution mips of each texture Unity does not upload at the given quality level. To set more specific mipmap limits, you can flag textures to ignore mipmap limits or assign them to mipmap limit groups.
  9472. */
  9473. public static get globalTextureMipmapLimit(): number;
  9474. public static set globalTextureMipmapLimit(value: number);
  9475. /** A maximum LOD level. All LOD groups.
  9476. */
  9477. public static get maximumLODLevel(): number;
  9478. public static set maximumLODLevel(value: number);
  9479. /** Enables or disables LOD Cross Fade.
  9480. */
  9481. public static get enableLODCrossFade(): boolean;
  9482. public static set enableLODCrossFade(value: boolean);
  9483. /** Budget for how many ray casts can be performed per frame for approximate collision testing.
  9484. */
  9485. public static get particleRaycastBudget(): number;
  9486. public static set particleRaycastBudget(value: number);
  9487. /** Should soft blending be used for particles?
  9488. */
  9489. public static get softParticles(): boolean;
  9490. public static set softParticles(value: boolean);
  9491. /** Use a two-pass shader for the vegetation in the terrain engine.
  9492. */
  9493. public static get softVegetation(): boolean;
  9494. public static set softVegetation(value: boolean);
  9495. /** The number of vertical syncs that should pass between each frame.
  9496. */
  9497. public static get vSyncCount(): number;
  9498. public static set vSyncCount(value: number);
  9499. /** How much CPU usage to assign to the final lighting calculations at runtime.
  9500. */
  9501. public static get realtimeGICPUUsage(): number;
  9502. public static set realtimeGICPUUsage(value: number);
  9503. /** Choose the level of Multi-Sample Anti-aliasing (MSAA) that the GPU performs.
  9504. */
  9505. public static get antiAliasing(): number;
  9506. public static set antiAliasing(value: number);
  9507. /** Async texture upload provides timesliced async texture upload on the render thread with tight control over memory and timeslicing. There are no allocations except for the ones which driver has to do. To read data and upload texture data a ringbuffer whose size can be controlled is re-used.
  9508. Use asyncUploadTimeSlice to set the time-slice in milliseconds for asynchronous texture uploads per
  9509. frame. Minimum value is 1 and maximum is 33.
  9510. */
  9511. public static get asyncUploadTimeSlice(): number;
  9512. public static set asyncUploadTimeSlice(value: number);
  9513. /** Asynchronous texture and mesh data upload provides timesliced async texture and mesh data upload on the render thread with tight control over memory and timeslicing. There are no allocations except for the ones which driver has to do. To read data and upload texture and mesh data, Unity re-uses a ringbuffer whose size can be controlled.
  9514. Use asyncUploadBufferSize to set the buffer size for asynchronous texture and mesh data uploads. The minimum value is 2 megabytes and the maximum value is 2047 megabytes. The buffer resizes automatically to fit the largest texture currently loading. To avoid a buffer resize (which can use extra system resources) set this value to the size of the largest texture in the Scene. If you have issues with excessive memory usage, you may need to reduce the value of this buffer or disable asyncUploadPersistentBuffer. Memory fragmentation can occur if you choose the latter option.
  9515. */
  9516. public static get asyncUploadBufferSize(): number;
  9517. public static set asyncUploadBufferSize(value: number);
  9518. /** This flag controls if the async upload pipeline's ring buffer remains allocated when there are no active loading operations.
  9519. Set this to true, to make the ring buffer allocation persist after all upload operations have completed.
  9520. If you have issues with excessive memory usage, you can set this to false. This means you reduce the runtime memory footprint, but memory fragmentation can occur.
  9521. The default value is true.
  9522. */
  9523. public static get asyncUploadPersistentBuffer(): boolean;
  9524. public static set asyncUploadPersistentBuffer(value: boolean);
  9525. /** Enables real-time reflection probes.
  9526. */
  9527. public static get realtimeReflectionProbes(): boolean;
  9528. public static set realtimeReflectionProbes(value: boolean);
  9529. /** If enabled, billboards will face towards camera position rather than camera orientation.
  9530. */
  9531. public static get billboardsFaceCameraPosition(): boolean;
  9532. public static set billboardsFaceCameraPosition(value: boolean);
  9533. /** Use the legacy pre-2022.2 algorithm for distributing details on terrain.
  9534. */
  9535. public static get useLegacyDetailDistribution(): boolean;
  9536. public static set useLegacyDetailDistribution(value: boolean);
  9537. /** In resolution scaling mode, this factor is used to multiply with the target Fixed DPI specified to get the actual Fixed DPI to use for this quality setting.
  9538. */
  9539. public static get resolutionScalingFixedDPIFactor(): number;
  9540. public static set resolutionScalingFixedDPIFactor(value: number);
  9541. /** Controls which fields should have their values overriden in active Terrains.
  9542. */
  9543. public static get terrainQualityOverrides(): UnityEngine.TerrainQualityOverrides;
  9544. public static set terrainQualityOverrides(value: UnityEngine.TerrainQualityOverrides);
  9545. /** Value set to Terrain.heightmapPixelError if TerrainQualityOverrides.PixelError is set in terrainQualityOverrides.
  9546. */
  9547. public static get terrainPixelError(): number;
  9548. public static set terrainPixelError(value: number);
  9549. /** Value set to Terrain.detailObjectDensity if TerrainQualityOverrides.DetailDensity is set in terrainQualityOverrides.
  9550. */
  9551. public static get terrainDetailDensityScale(): number;
  9552. public static set terrainDetailDensityScale(value: number);
  9553. /** Value set to Terrain.basemapDistance if TerrainQualityOverrides.BasemapDistance is set in terrainQualityOverrides.
  9554. */
  9555. public static get terrainBasemapDistance(): number;
  9556. public static set terrainBasemapDistance(value: number);
  9557. /** Value set to Terrain.detailObjectDistance if TerrainQualityOverrides.DetailDistance is set in terrainQualityOverrides.
  9558. */
  9559. public static get terrainDetailDistance(): number;
  9560. public static set terrainDetailDistance(value: number);
  9561. /** Value set to Terrain.treeDistance if TerrainQualityOverrides.TreeDistance is set in terrainQualityOverrides.
  9562. */
  9563. public static get terrainTreeDistance(): number;
  9564. public static set terrainTreeDistance(value: number);
  9565. /** Value set to Terrain.treeBillboardDistance if TerrainQualityOverrides.BillboardStart is set in terrainQualityOverrides.
  9566. */
  9567. public static get terrainBillboardStart(): number;
  9568. public static set terrainBillboardStart(value: number);
  9569. /** Value set to Terrain.treeCrossFadeLength if TerrainQualityOverrides.FadeLength is set in terrainQualityOverrides.
  9570. */
  9571. public static get terrainFadeLength(): number;
  9572. public static set terrainFadeLength(value: number);
  9573. /** Value set to Terrain.treeMaximumFullLODCount if TerrainQualityOverrides.MaxTrees is set in terrainQualityOverrides.
  9574. */
  9575. public static get terrainMaxTrees(): number;
  9576. public static set terrainMaxTrees(value: number);
  9577. /** The RenderPipelineAsset that defines the override render pipeline for the current quality level.
  9578. */
  9579. public static get renderPipeline(): UnityEngine.Rendering.RenderPipelineAsset;
  9580. public static set renderPipeline(value: UnityEngine.Rendering.RenderPipelineAsset);
  9581. /** The maximum number of bones per vertex that are taken into account during skinning, for all meshes in the project.
  9582. */
  9583. public static get skinWeights(): UnityEngine.SkinWeights;
  9584. public static set skinWeights(value: UnityEngine.SkinWeights);
  9585. /** The number of Quality Levels.
  9586. */
  9587. public static get count(): number;
  9588. /** Enable automatic streaming of texture mipmap levels based on their distance from all active cameras.
  9589. */
  9590. public static get streamingMipmapsActive(): boolean;
  9591. public static set streamingMipmapsActive(value: boolean);
  9592. /** The total amount of memory (in megabytes) to be used by streaming and non-streaming textures.
  9593. */
  9594. public static get streamingMipmapsMemoryBudget(): number;
  9595. public static set streamingMipmapsMemoryBudget(value: number);
  9596. /** The number of renderer instances that are processed each frame when calculating which texture mipmap levels should be streamed.
  9597. */
  9598. public static get streamingMipmapsRenderersPerFrame(): number;
  9599. public static set streamingMipmapsRenderersPerFrame(value: number);
  9600. /** The maximum number of mipmap levels to discard for each texture.
  9601. */
  9602. public static get streamingMipmapsMaxLevelReduction(): number;
  9603. public static set streamingMipmapsMaxLevelReduction(value: number);
  9604. /** Process all enabled Cameras for texture streaming (rather than just those with StreamingController components).
  9605. */
  9606. public static get streamingMipmapsAddAllCameras(): boolean;
  9607. public static set streamingMipmapsAddAllCameras(value: boolean);
  9608. /** The maximum number of active texture file IO requests from the texture streaming system.
  9609. */
  9610. public static get streamingMipmapsMaxFileIORequests(): number;
  9611. public static set streamingMipmapsMaxFileIORequests(value: number);
  9612. /** Maximum number of frames queued up by graphics driver.
  9613. */
  9614. public static get maxQueuedFrames(): number;
  9615. public static set maxQueuedFrames(value: number);
  9616. /** The indexed list of available Quality Settings.
  9617. */
  9618. public static get names(): System.Array$1<string>;
  9619. /** Desired color space (Read Only).
  9620. */
  9621. public static get desiredColorSpace(): UnityEngine.ColorSpace;
  9622. /** Active color space (Read Only).
  9623. */
  9624. public static get activeColorSpace(): UnityEngine.ColorSpace;
  9625. public static add_activeQualityLevelChanged ($value: System.Action$2<number, number>) : void
  9626. public static remove_activeQualityLevelChanged ($value: System.Action$2<number, number>) : void
  9627. /** Increase the current quality level.
  9628. * @param $applyExpensiveChanges Should expensive changes be applied (Anti-aliasing etc).
  9629. */
  9630. public static IncreaseLevel ($applyExpensiveChanges: boolean) : void
  9631. /** Decrease the current quality level.
  9632. * @param $applyExpensiveChanges Should expensive changes be applied (Anti-aliasing etc).
  9633. */
  9634. public static DecreaseLevel ($applyExpensiveChanges: boolean) : void
  9635. public static SetQualityLevel ($index: number) : void
  9636. public static IncreaseLevel () : void
  9637. public static DecreaseLevel () : void
  9638. /** Xecutes the given Action for each tier on the QualitySettings.
  9639. * @param $callback The callback to execute for each level.
  9640. */
  9641. public static ForEach ($callback: System.Action) : void
  9642. public static ForEach ($callback: System.Action$2<number, string>) : void
  9643. /** Sets the QualitySettings.lodBias|lodBias and QualitySettings.maximumLODLevel|maximumLODLevel at the same time.
  9644. * @param $lodBias Global multiplier for the LOD's switching distance.
  9645. * @param $maximumLODLevel A maximum LOD level. All LOD groups.
  9646. * @param $setDirty If true, marks all views as dirty.
  9647. */
  9648. public static SetLODSettings ($lodBias: number, $maximumLODLevel: number, $setDirty?: boolean) : void
  9649. /** Applies new TextureMipmapLimitSettings to the indicated texture mipmap limit group.
  9650. * @param $groupName Name of the texture mipmap limit group to modify.
  9651. * @param $textureMipmapLimitSettings The new texture mipmap limit settings to apply.
  9652. */
  9653. public static SetTextureMipmapLimitSettings ($groupName: string, $textureMipmapLimitSettings: UnityEngine.TextureMipmapLimitSettings) : void
  9654. /** Retrieves a copy of the TextureMipmapLimitSettings from a texture mipmap limit group.
  9655. * @param $groupName Name of the texture mipmap limit group to scan.
  9656. * @returns Structure containing the settings for the indicated groupName.
  9657. */
  9658. public static GetTextureMipmapLimitSettings ($groupName: string) : UnityEngine.TextureMipmapLimitSettings
  9659. /** Provides a reference to the RenderPipelineAsset that defines the override render pipeline for a given quality level.
  9660. * @param $index Index of the quality level.
  9661. * @returns Returns null if the quality level does not exist, or if no asset is assigned to that quality level. Otherwise, returns the RenderPipelineAsset that defines the override render pipeline for the quality level.
  9662. */
  9663. public static GetRenderPipelineAssetAt ($index: number) : UnityEngine.Rendering.RenderPipelineAsset
  9664. /** Returns the current graphics quality level.
  9665. */
  9666. public static GetQualityLevel () : number
  9667. /** Provides a reference to the QualitySettings object.
  9668. * @returns Returns the QualitySettings object.
  9669. */
  9670. public static GetQualitySettings () : UnityEngine.Object
  9671. /** Sets a new graphics quality level.
  9672. * @param $index Quality index to set.
  9673. * @param $applyExpensiveChanges Should expensive changes be applied (Anti-aliasing etc).
  9674. */
  9675. public static SetQualityLevel ($index: number, $applyExpensiveChanges: boolean) : void
  9676. /** [Editor Only] Returns if the given platform is included by the Quality Level.
  9677. * @param $buildTargetGroupName The platform name.
  9678. * @param $index The index of the Quality Level, must be positive and lower than the count of Quality Levels.
  9679. * @returns If the platform is included.
  9680. */
  9681. public static IsPlatformIncluded ($buildTargetGroupName: string, $index: number) : boolean
  9682. /** [Editor Only] Includes a platform to be supported by the Quality Level.
  9683. * @param $buildTargetGroupName The platform name.
  9684. * @param $index The index of the Quality Level, must be positive and lower than the count of Quality Levels.
  9685. * @param $error The error found by the API.
  9686. * @returns If errors were found.
  9687. */
  9688. public static TryIncludePlatformAt ($buildTargetGroupName: string, $index: number, $error: $Ref<System.Exception>) : boolean
  9689. /** [Editor Only] Excludes a platfor for the given Quality Level.
  9690. * @param $buildTargetGroupName The platform name.
  9691. * @param $index The index of the Quality Level, must be positive and lower than the count of Quality Levels.
  9692. * @param $error The error raised by the API.
  9693. * @returns True if no errors were found.
  9694. */
  9695. public static TryExcludePlatformAt ($buildTargetGroupName: string, $index: number, $error: $Ref<System.Exception>) : boolean
  9696. /** [Editor Only] Obtains an array with the Quality Level indexes that are selected for the given platform.
  9697. * @param $buildTargetGroupName The platform target.
  9698. * @returns The array with the Quality Level indexes that are selected for the given platform.
  9699. */
  9700. public static GetActiveQualityLevelsForPlatform ($buildTargetGroupName: string) : System.Array$1<number>
  9701. /** [Editor Only] Obtains the number of Quality Levels that are selected for a given platform.
  9702. * @param $buildTargetGroupName The platform to obtain the number of selected Quality Levels.
  9703. * @returns The total amount of Quality Levels active for the given platform.
  9704. */
  9705. public static GetActiveQualityLevelsForPlatformCount ($buildTargetGroupName: string) : number
  9706. public static GetAllRenderPipelineAssetsForPlatform ($buildTargetGroupName: string, $renderPipelineAssets: $Ref<System.Collections.Generic.List$1<UnityEngine.Rendering.RenderPipelineAsset>>) : void
  9707. }
  9708. enum QualityLevel
  9709. { Fastest = 0, Fast = 1, Simple = 2, Good = 3, Beautiful = 4, Fantastic = 5 }
  9710. /** Determines which type of shadows should be used.
  9711. */
  9712. enum ShadowQuality
  9713. { Disable = 0, HardOnly = 1, All = 2 }
  9714. /** Shadow projection type for.
  9715. */
  9716. enum ShadowProjection
  9717. { CloseFit = 0, StableFit = 1 }
  9718. /** Default shadow resolution. Each decrease in quality level halves the resolution of shadows.
  9719. */
  9720. enum ShadowResolution
  9721. { Low = 0, Medium = 1, High = 2, VeryHigh = 3 }
  9722. /** The rendering mode of Shadowmask.
  9723. */
  9724. enum ShadowmaskMode
  9725. { Shadowmask = 0, DistanceShadowmask = 1 }
  9726. /** Structure that represents texture mipmap limit settings.
  9727. */
  9728. class TextureMipmapLimitSettings extends System.ValueType
  9729. {
  9730. protected [__keep_incompatibility]: never;
  9731. }
  9732. /** Flags used by QualitySettings to specify which Terrain fields the quality settings should override.
  9733. */
  9734. enum TerrainQualityOverrides
  9735. { None = 0, PixelError = 1, BasemapDistance = 2, DetailDensity = 4, DetailDistance = 8, TreeDistance = 16, BillboardStart = 32, FadeLength = 64, MaxTrees = 128 }
  9736. enum BlendWeights
  9737. { OneBone = 1, TwoBones = 2, FourBones = 4 }
  9738. /** A class to access the Mesh of the.
  9739. */
  9740. class MeshFilter extends UnityEngine.Component
  9741. {
  9742. protected [__keep_incompatibility]: never;
  9743. /** Returns the shared mesh of the mesh filter.
  9744. */
  9745. public get sharedMesh(): UnityEngine.Mesh;
  9746. public set sharedMesh(value: UnityEngine.Mesh);
  9747. /** Returns either a new Mesh|mesh or a duplicate of the existing mesh, and assigns it to the mesh filter.
  9748. */
  9749. public get mesh(): UnityEngine.Mesh;
  9750. public set mesh(value: UnityEngine.Mesh);
  9751. public constructor ()
  9752. }
  9753. /** Interface into the Input system.
  9754. */
  9755. class Input extends System.Object
  9756. {
  9757. protected [__keep_incompatibility]: never;
  9758. /** Enables/Disables mouse simulation with touches. By default this option is enabled.
  9759. */
  9760. public static get simulateMouseWithTouches(): boolean;
  9761. public static set simulateMouseWithTouches(value: boolean);
  9762. /** Is any key or mouse button currently held down? (Read Only)
  9763. */
  9764. public static get anyKey(): boolean;
  9765. /** Returns true the first frame the user hits any key or mouse button. (Read Only)
  9766. */
  9767. public static get anyKeyDown(): boolean;
  9768. /** Returns the keyboard input entered this frame. (Read Only)
  9769. */
  9770. public static get inputString(): string;
  9771. /** The current mouse position in pixel coordinates. (Read Only).
  9772. */
  9773. public static get mousePosition(): UnityEngine.Vector3;
  9774. /** The current mouse scroll delta. (Read Only)
  9775. */
  9776. public static get mouseScrollDelta(): UnityEngine.Vector2;
  9777. /** Controls enabling and disabling of IME input composition.
  9778. */
  9779. public static get imeCompositionMode(): UnityEngine.IMECompositionMode;
  9780. public static set imeCompositionMode(value: UnityEngine.IMECompositionMode);
  9781. /** The current IME composition string being typed by the user.
  9782. */
  9783. public static get compositionString(): string;
  9784. /** Does the user have an IME keyboard input source selected?
  9785. */
  9786. public static get imeIsSelected(): boolean;
  9787. /** The current text input position used by IMEs to open windows.
  9788. */
  9789. public static get compositionCursorPos(): UnityEngine.Vector2;
  9790. public static set compositionCursorPos(value: UnityEngine.Vector2);
  9791. /** Indicates if a mouse device is detected.
  9792. */
  9793. public static get mousePresent(): boolean;
  9794. /** Returns the number of queued pen events that can be accessed by calling GetPenEvent().
  9795. */
  9796. public static get penEventCount(): number;
  9797. /** Number of touches. Guaranteed not to change throughout the frame. (Read Only)
  9798. */
  9799. public static get touchCount(): number;
  9800. /** Bool value which let's users check if touch pressure is supported.
  9801. */
  9802. public static get touchPressureSupported(): boolean;
  9803. /** Returns true when Stylus Touch is supported by a device or platform.
  9804. */
  9805. public static get stylusTouchSupported(): boolean;
  9806. /** Returns whether the device on which application is currently running supports touch input.
  9807. */
  9808. public static get touchSupported(): boolean;
  9809. /** Property indicating whether the system handles multiple touches.
  9810. */
  9811. public static get multiTouchEnabled(): boolean;
  9812. public static set multiTouchEnabled(value: boolean);
  9813. /** Device physical orientation as reported by OS. (Read Only)
  9814. */
  9815. public static get deviceOrientation(): UnityEngine.DeviceOrientation;
  9816. /** Last measured linear acceleration of a device in three-dimensional space. (Read Only)
  9817. */
  9818. public static get acceleration(): UnityEngine.Vector3;
  9819. /** This property controls if input sensors should be compensated for screen orientation.
  9820. */
  9821. public static get compensateSensors(): boolean;
  9822. public static set compensateSensors(value: boolean);
  9823. /** Number of acceleration measurements which occurred during last frame.
  9824. */
  9825. public static get accelerationEventCount(): number;
  9826. /** Should Back button quit the application?
  9827. Only usable on Android, Windows Phone or Windows Tablets.
  9828. */
  9829. public static get backButtonLeavesApp(): boolean;
  9830. public static set backButtonLeavesApp(value: boolean);
  9831. /** Property for accessing device location (handheld devices only). (Read Only)
  9832. */
  9833. public static get location(): UnityEngine.LocationService;
  9834. /** Property for accessing compass (handheld devices only). (Read Only)
  9835. */
  9836. public static get compass(): UnityEngine.Compass;
  9837. /** Returns default gyroscope.
  9838. */
  9839. public static get gyro(): UnityEngine.Gyroscope;
  9840. /** Returns list of objects representing status of all touches during last frame. (Read Only) (Allocates temporary variables).
  9841. */
  9842. public static get touches(): System.Array$1<UnityEngine.Touch>;
  9843. /** Returns list of acceleration measurements which occurred during the last frame. (Read Only) (Allocates temporary variables).
  9844. */
  9845. public static get accelerationEvents(): System.Array$1<UnityEngine.AccelerationEvent>;
  9846. /** Returns the value of the virtual axis identified by axisName.
  9847. */
  9848. public static GetAxis ($axisName: string) : number
  9849. /** Returns the value of the virtual axis identified by axisName with no smoothing filtering applied.
  9850. */
  9851. public static GetAxisRaw ($axisName: string) : number
  9852. /** Returns true while the virtual button identified by buttonName is held down.
  9853. * @param $buttonName The name of the button such as Jump.
  9854. * @returns True when an axis has been pressed and not released.
  9855. */
  9856. public static GetButton ($buttonName: string) : boolean
  9857. /** Returns true during the frame the user pressed down the virtual button identified by buttonName.
  9858. */
  9859. public static GetButtonDown ($buttonName: string) : boolean
  9860. /** Returns true the first frame the user releases the virtual button identified by buttonName.
  9861. */
  9862. public static GetButtonUp ($buttonName: string) : boolean
  9863. /** Returns whether the given mouse button is held down.
  9864. */
  9865. public static GetMouseButton ($button: number) : boolean
  9866. /** Returns true during the frame the user pressed the given mouse button.
  9867. */
  9868. public static GetMouseButtonDown ($button: number) : boolean
  9869. /** Returns true during the frame the user releases the given mouse button.
  9870. */
  9871. public static GetMouseButtonUp ($button: number) : boolean
  9872. /** Resets all input. After ResetInputAxes all axes return to 0 and all buttons return to 0 for one frame.
  9873. */
  9874. public static ResetInputAxes () : void
  9875. /** Determine whether a particular joystick model has been preconfigured by Unity. (Linux-only).
  9876. * @param $joystickName The name of the joystick to check (returned by Input.GetJoystickNames).
  9877. * @returns True if the joystick layout has been preconfigured; false otherwise.
  9878. */
  9879. public static IsJoystickPreconfigured ($joystickName: string) : boolean
  9880. /** Retrieves a list of input device names corresponding to the index of an Axis configured within Input Manager.
  9881. * @returns Returns an array of joystick and gamepad device names.
  9882. */
  9883. public static GetJoystickNames () : System.Array$1<string>
  9884. /** Call Input.GetTouch to obtain a Touch struct.
  9885. * @param $index The touch input on the device screen.
  9886. * @returns Touch details in the struct.
  9887. */
  9888. public static GetTouch ($index: number) : UnityEngine.Touch
  9889. /** Returns the PenData for the pen event at the given index in the pen event queue.
  9890. * @returns Pen event details in the struct.
  9891. */
  9892. public static GetPenEvent ($index: number) : UnityEngine.PenData
  9893. /** Returns the PenData for the last stored pen up or down event.
  9894. * @returns Pen event details in the struct.
  9895. */
  9896. public static GetLastPenContactEvent () : UnityEngine.PenData
  9897. /** Clears the pen event queue.
  9898. */
  9899. public static ResetPenEvents () : void
  9900. /** Clears the last stored pen event.
  9901. Calling this function may impact event handling for UIToolKit elements.
  9902. */
  9903. public static ClearLastPenContactEvent () : void
  9904. /** Returns specific acceleration measurement which occurred during last frame. (Does not allocate temporary variables).
  9905. */
  9906. public static GetAccelerationEvent ($index: number) : UnityEngine.AccelerationEvent
  9907. /** Returns true while the user holds down the key identified by the key KeyCode enum parameter.
  9908. */
  9909. public static GetKey ($key: UnityEngine.KeyCode) : boolean
  9910. /** Returns true while the user holds down the key identified by name.
  9911. */
  9912. public static GetKey ($name: string) : boolean
  9913. /** Returns true during the frame the user releases the key identified by the key KeyCode enum parameter.
  9914. */
  9915. public static GetKeyUp ($key: UnityEngine.KeyCode) : boolean
  9916. /** Returns true during the frame the user releases the key identified by name.
  9917. */
  9918. public static GetKeyUp ($name: string) : boolean
  9919. /** Returns true during the frame the user starts pressing down the key identified by the key KeyCode enum parameter.
  9920. */
  9921. public static GetKeyDown ($key: UnityEngine.KeyCode) : boolean
  9922. /** Returns true during the frame the user starts pressing down the key identified by name.
  9923. */
  9924. public static GetKeyDown ($name: string) : boolean
  9925. public constructor ()
  9926. }
  9927. /** Structure describing the status of a pen event.
  9928. */
  9929. class PenData extends System.ValueType
  9930. {
  9931. protected [__keep_incompatibility]: never;
  9932. }
  9933. /** Structure describing acceleration status of the device.
  9934. */
  9935. class AccelerationEvent extends System.ValueType
  9936. {
  9937. protected [__keep_incompatibility]: never;
  9938. }
  9939. /** Key codes returned by Event.keyCode. These map directly to a physical key on the keyboard. If "Use Physical Keys" is enabled in, these map directly to a physical key on the keyboard. If "Use Physical Keys" is disabled these map to language dependent mapping, different for every platform and cannot be guaranteed to work. "Use Physical Keys" is enabled by default from 2022.1
  9940. */
  9941. enum KeyCode
  9942. { 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, LeftMeta = 310, LeftCommand = 310, LeftApple = 310, LeftWindows = 311, RightMeta = 309, 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 }
  9943. /** Controls IME input.
  9944. */
  9945. enum IMECompositionMode
  9946. { Auto = 0, On = 1, Off = 2 }
  9947. /** Describes physical orientation of the device as determined by the OS.
  9948. */
  9949. enum DeviceOrientation
  9950. { Unknown = 0, Portrait = 1, PortraitUpsideDown = 2, LandscapeLeft = 3, LandscapeRight = 4, FaceUp = 5, FaceDown = 6 }
  9951. /** Provides methods that allow an application to access the device's location.
  9952. */
  9953. class LocationService extends System.Object
  9954. {
  9955. protected [__keep_incompatibility]: never;
  9956. }
  9957. /** Interface into compass functionality.
  9958. */
  9959. class Compass extends System.Object
  9960. {
  9961. protected [__keep_incompatibility]: never;
  9962. }
  9963. /** Interface into the Gyroscope.
  9964. */
  9965. class Gyroscope extends System.Object
  9966. {
  9967. protected [__keep_incompatibility]: never;
  9968. }
  9969. /** Specifies Layers to use in a Physics.Raycast.
  9970. */
  9971. class LayerMask extends System.ValueType
  9972. {
  9973. protected [__keep_incompatibility]: never;
  9974. /** Converts a layer mask value to an integer value.
  9975. */
  9976. public get value(): number;
  9977. public set value(value: number);
  9978. public static op_Implicit ($mask: UnityEngine.LayerMask) : number
  9979. public static op_Implicit ($intVal: number) : UnityEngine.LayerMask
  9980. /** Given a layer number, returns the name of the layer as defined in either a Builtin or a User Layer in the.
  9981. */
  9982. public static LayerToName ($layer: number) : string
  9983. /** Given a layer name, returns the layer index as defined by either a Builtin or a User Layer in the.
  9984. */
  9985. public static NameToLayer ($layerName: string) : number
  9986. /** Given a set of layer names as defined by either a Builtin or a User Layer in the, returns the equivalent layer mask for all of them.
  9987. * @param $layerNames List of layer names to convert to a layer mask.
  9988. * @returns The layer mask created from the layerNames.
  9989. */
  9990. public static GetMask (...layerNames: string[]) : number
  9991. }
  9992. /** A collection of common math functions.
  9993. */
  9994. class Mathf extends System.ValueType
  9995. {
  9996. protected [__keep_incompatibility]: never;
  9997. /** The well-known 3.14159265358979... value (Read Only).
  9998. */
  9999. public static PI : number
  10000. /** A representation of positive infinity (Read Only).
  10001. */
  10002. public static Infinity : number
  10003. /** A representation of negative infinity (Read Only).
  10004. */
  10005. public static NegativeInfinity : number
  10006. /** Degrees-to-radians conversion constant (Read Only).
  10007. */
  10008. public static Deg2Rad : number
  10009. /** Radians-to-degrees conversion constant (Read Only).
  10010. */
  10011. public static Rad2Deg : number
  10012. /** A tiny floating point value (Read Only).
  10013. */
  10014. public static Epsilon : number
  10015. /** Returns the closest power of two value.
  10016. */
  10017. public static ClosestPowerOfTwo ($value: number) : number
  10018. /** Returns true if the value is power of two.
  10019. */
  10020. public static IsPowerOfTwo ($value: number) : boolean
  10021. /** Returns the next power of two that is equal to, or greater than, the argument.
  10022. */
  10023. public static NextPowerOfTwo ($value: number) : number
  10024. /** Converts the given value from gamma (sRGB) to linear color space.
  10025. */
  10026. public static GammaToLinearSpace ($value: number) : number
  10027. /** Converts the given value from linear to gamma (sRGB) color space.
  10028. */
  10029. public static LinearToGammaSpace ($value: number) : number
  10030. /** Convert a color temperature in Kelvin to RGB color.
  10031. * @param $kelvin Temperature in Kelvin. Range 1000 to 40000 Kelvin.
  10032. * @returns Correlated Color Temperature as floating point RGB color.
  10033. */
  10034. public static CorrelatedColorTemperatureToRGB ($kelvin: number) : UnityEngine.Color
  10035. /** Encode a floating point value into a 16-bit representation.
  10036. * @param $val The floating point value to convert.
  10037. * @returns The converted half-precision float, stored in a 16-bit unsigned integer.
  10038. */
  10039. public static FloatToHalf ($val: number) : number
  10040. /** Convert a half precision float to a 32-bit floating point value.
  10041. * @param $val The half precision value to convert.
  10042. * @returns The decoded 32-bit float.
  10043. */
  10044. public static HalfToFloat ($val: number) : number
  10045. /** Generate 2D Perlin noise.
  10046. * @param $x X-coordinate of sample point.
  10047. * @param $y Y-coordinate of sample point.
  10048. * @returns Value between 0.0 and 1.0. (Return value might be slightly below 0.0 or beyond 1.0.)
  10049. */
  10050. public static PerlinNoise ($x: number, $y: number) : number
  10051. /** Generates a 1D pseudo-random pattern of float values across a 2D plane.
  10052. * @param $x The X-coordinate of the given sample point.
  10053. * @returns A value in the range of 0.0 and 1.0. The value might be slightly higher or lower than this range.
  10054. */
  10055. public static PerlinNoise1D ($x: number) : number
  10056. /** Returns the sine of angle f.
  10057. * @param $f The input angle, in radians.
  10058. * @returns The return value between -1 and +1.
  10059. */
  10060. public static Sin ($f: number) : number
  10061. /** Returns the cosine of angle f.
  10062. * @param $f The input angle, in radians.
  10063. * @returns The return value between -1 and 1.
  10064. */
  10065. public static Cos ($f: number) : number
  10066. /** Returns the tangent of angle f in radians.
  10067. */
  10068. public static Tan ($f: number) : number
  10069. /** Returns the arc-sine of f - the angle in radians whose sine is f.
  10070. */
  10071. public static Asin ($f: number) : number
  10072. /** Returns the arc-cosine of f - the angle in radians whose cosine is f.
  10073. */
  10074. public static Acos ($f: number) : number
  10075. /** Returns the arc-tangent of f - the angle in radians whose tangent is f.
  10076. */
  10077. public static Atan ($f: number) : number
  10078. /** Returns the angle in radians whose Tan is y/x.
  10079. */
  10080. public static Atan2 ($y: number, $x: number) : number
  10081. /** Returns square root of f.
  10082. */
  10083. public static Sqrt ($f: number) : number
  10084. /** Returns the absolute value of f.
  10085. */
  10086. public static Abs ($f: number) : number
  10087. /** Returns the absolute value of value.
  10088. */
  10089. public static Abs ($value: number) : number
  10090. /** Returns the smallest of two or more values.
  10091. */
  10092. public static Min ($a: number, $b: number) : number
  10093. /** Returns the smallest of two or more values.
  10094. */
  10095. public static Min (...values: number[]) : number
  10096. /** Returns largest of two or more values.
  10097. */
  10098. public static Max ($a: number, $b: number) : number
  10099. /** Returns largest of two or more values.
  10100. */
  10101. public static Max (...values: number[]) : number
  10102. /** Returns f raised to power p.
  10103. */
  10104. public static Pow ($f: number, $p: number) : number
  10105. /** Returns e raised to the specified power.
  10106. */
  10107. public static Exp ($power: number) : number
  10108. /** Returns the logarithm of a specified number in a specified base.
  10109. */
  10110. public static Log ($f: number, $p: number) : number
  10111. /** Returns the natural (base e) logarithm of a specified number.
  10112. */
  10113. public static Log ($f: number) : number
  10114. /** Returns the base 10 logarithm of a specified number.
  10115. */
  10116. public static Log10 ($f: number) : number
  10117. /** Returns the smallest integer greater to or equal to f.
  10118. */
  10119. public static Ceil ($f: number) : number
  10120. /** Returns the largest integer smaller than or equal to f.
  10121. */
  10122. public static Floor ($f: number) : number
  10123. /** Returns f rounded to the nearest integer.
  10124. */
  10125. public static Round ($f: number) : number
  10126. /** Returns the smallest integer greater to or equal to f.
  10127. */
  10128. public static CeilToInt ($f: number) : number
  10129. /** Returns the largest integer smaller to or equal to f.
  10130. */
  10131. public static FloorToInt ($f: number) : number
  10132. /** Returns f rounded to the nearest integer.
  10133. */
  10134. public static RoundToInt ($f: number) : number
  10135. /** Returns the sign of f.
  10136. */
  10137. public static Sign ($f: number) : number
  10138. /** Clamps the given value between the given minimum float and maximum float values. Returns the given value if it is within the minimum and maximum range.
  10139. * @param $value The floating point value to restrict inside the range defined by the minimum and maximum values.
  10140. * @param $min The minimum floating point value to compare against.
  10141. * @param $max The maximum floating point value to compare against.
  10142. * @returns The float result between the minimum and maximum values.
  10143. */
  10144. public static Clamp ($value: number, $min: number, $max: number) : number
  10145. /** Clamps value between 0 and 1 and returns value.
  10146. */
  10147. public static Clamp01 ($value: number) : number
  10148. /** Linearly interpolates between a and b by t.
  10149. * @param $a The start value.
  10150. * @param $b The end value.
  10151. * @param $t The interpolation value between the two floats.
  10152. * @returns The interpolated float result between the two float values.
  10153. */
  10154. public static Lerp ($a: number, $b: number, $t: number) : number
  10155. /** Linearly interpolates between a and b by t with no limit to t.
  10156. * @param $a The start value.
  10157. * @param $b The end value.
  10158. * @param $t The interpolation between the two floats.
  10159. * @returns The float value as a result from the linear interpolation.
  10160. */
  10161. public static LerpUnclamped ($a: number, $b: number, $t: number) : number
  10162. /** Same as Lerp but makes sure the values interpolate correctly when they wrap around 360 degrees.
  10163. * @param $a The start angle. A float expressed in degrees.
  10164. * @param $b The end angle. A float expressed in degrees.
  10165. * @param $t The interpolation value between the start and end angles. This value is clamped to the range [0, 1].
  10166. * @returns Returns the interpolated float result between angle a and angle b, based on the interpolation value t.
  10167. */
  10168. public static LerpAngle ($a: number, $b: number, $t: number) : number
  10169. /** Moves a value current towards target.
  10170. * @param $current The current value.
  10171. * @param $target The value to move towards.
  10172. * @param $maxDelta The maximum change that should be applied to the value.
  10173. */
  10174. public static MoveTowards ($current: number, $target: number, $maxDelta: number) : number
  10175. /** Same as MoveTowards but makes sure the values interpolate correctly when they wrap around 360 degrees.
  10176. */
  10177. public static MoveTowardsAngle ($current: number, $target: number, $maxDelta: number) : number
  10178. /** Interpolates between min and max with smoothing at the limits.
  10179. */
  10180. public static SmoothStep ($from: number, $to: number, $t: number) : number
  10181. public static Gamma ($value: number, $absmax: number, $gamma: number) : number
  10182. /** Compares two floating point values and returns true if they are similar.
  10183. */
  10184. public static Approximately ($a: number, $b: number) : boolean
  10185. /** Gradually changes a value towards a desired goal over time.
  10186. * @param $current The current position.
  10187. * @param $target The position we are trying to reach.
  10188. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  10189. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  10190. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  10191. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  10192. */
  10193. public static SmoothDamp ($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number, $maxSpeed: number) : number
  10194. /** Gradually changes a value towards a desired goal over time.
  10195. * @param $current The current position.
  10196. * @param $target The position we are trying to reach.
  10197. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  10198. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  10199. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  10200. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  10201. */
  10202. public static SmoothDamp ($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number) : number
  10203. /** Gradually changes a value towards a desired goal over time.
  10204. * @param $current The current position.
  10205. * @param $target The position we are trying to reach.
  10206. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  10207. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  10208. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  10209. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  10210. */
  10211. public static SmoothDamp ($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number, $maxSpeed: number, $deltaTime: number) : number
  10212. /** Gradually changes an angle given in degrees towards a desired goal angle over time.
  10213. * @param $current The current position.
  10214. * @param $target The position we are trying to reach.
  10215. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  10216. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  10217. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  10218. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  10219. */
  10220. public static SmoothDampAngle ($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number, $maxSpeed: number) : number
  10221. /** Gradually changes an angle given in degrees towards a desired goal angle over time.
  10222. * @param $current The current position.
  10223. * @param $target The position we are trying to reach.
  10224. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  10225. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  10226. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  10227. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  10228. */
  10229. public static SmoothDampAngle ($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number) : number
  10230. /** Gradually changes an angle given in degrees towards a desired goal angle over time.
  10231. * @param $current The current position.
  10232. * @param $target The position we are trying to reach.
  10233. * @param $currentVelocity The current velocity, this value is modified by the function every time you call it.
  10234. * @param $smoothTime Approximately the time it will take to reach the target. A smaller value will reach the target faster.
  10235. * @param $maxSpeed Optionally allows you to clamp the maximum speed.
  10236. * @param $deltaTime The time since the last call to this function. By default Time.deltaTime.
  10237. */
  10238. public static SmoothDampAngle ($current: number, $target: number, $currentVelocity: $Ref<number>, $smoothTime: number, $maxSpeed: number, $deltaTime: number) : number
  10239. /** Loops the value t, so that it is never larger than length and never smaller than 0.
  10240. */
  10241. public static Repeat ($t: number, $length: number) : number
  10242. /** PingPong returns a value that will increment and decrement between the value 0 and length.
  10243. */
  10244. public static PingPong ($t: number, $length: number) : number
  10245. /** Determines where a value lies between two points.
  10246. * @param $a The start of the range.
  10247. * @param $b The end of the range.
  10248. * @param $value The point within the range you want to calculate.
  10249. * @returns A value between zero and one, representing where the "value" parameter falls within the range defined by a and b.
  10250. */
  10251. public static InverseLerp ($a: number, $b: number, $value: number) : number
  10252. /** Calculates the shortest difference between two given angles given in degrees.
  10253. */
  10254. public static DeltaAngle ($current: number, $target: number) : number
  10255. }
  10256. /** MonoBehaviour is a base class that many Unity scripts derive from.
  10257. */
  10258. class MonoBehaviour extends UnityEngine.Behaviour
  10259. {
  10260. protected [__keep_incompatibility]: never;
  10261. /** Cancellation token raised when the MonoBehaviour is destroyed (Read Only).
  10262. */
  10263. public get destroyCancellationToken(): System.Threading.CancellationToken;
  10264. /** Disabling this lets you skip the GUI layout phase.
  10265. */
  10266. public get useGUILayout(): boolean;
  10267. public set useGUILayout(value: boolean);
  10268. /** Allow a specific instance of a MonoBehaviour to run in edit mode (only available in the editor).
  10269. */
  10270. public get runInEditMode(): boolean;
  10271. public set runInEditMode(value: boolean);
  10272. /** Is any invoke pending on this MonoBehaviour?
  10273. */
  10274. public IsInvoking () : boolean
  10275. /** Cancels all Invoke calls on this MonoBehaviour.
  10276. */
  10277. public CancelInvoke () : void
  10278. /** Invokes the method methodName in time seconds.
  10279. */
  10280. public Invoke ($methodName: string, $time: number) : void
  10281. /** Invokes the method methodName in time seconds, then repeatedly every repeatRate seconds.
  10282. * @param $methodName The name of a method to invoke.
  10283. * @param $time Start invoking after n seconds.
  10284. * @param $repeatRate Repeat every n seconds.
  10285. */
  10286. public InvokeRepeating ($methodName: string, $time: number, $repeatRate: number) : void
  10287. /** Cancels all Invoke calls with name methodName on this behaviour.
  10288. */
  10289. public CancelInvoke ($methodName: string) : void
  10290. /** Is any invoke on methodName pending?
  10291. */
  10292. public IsInvoking ($methodName: string) : boolean
  10293. /** Starts a coroutine named methodName.
  10294. */
  10295. public StartCoroutine ($methodName: string) : UnityEngine.Coroutine
  10296. /** Starts a coroutine named methodName.
  10297. */
  10298. public StartCoroutine ($methodName: string, $value: any) : UnityEngine.Coroutine
  10299. /** Starts a Coroutine.
  10300. */
  10301. public StartCoroutine ($routine: System.Collections.IEnumerator) : UnityEngine.Coroutine
  10302. /** Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour.
  10303. * @param $methodName Name of coroutine.
  10304. * @param $routine Name of the function in code, including coroutines.
  10305. */
  10306. public StopCoroutine ($routine: System.Collections.IEnumerator) : void
  10307. /** Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour.
  10308. * @param $methodName Name of coroutine.
  10309. * @param $routine Name of the function in code, including coroutines.
  10310. */
  10311. public StopCoroutine ($routine: UnityEngine.Coroutine) : void
  10312. /** Stops the first coroutine named methodName, or the coroutine stored in routine running on this behaviour.
  10313. * @param $methodName Name of coroutine.
  10314. * @param $routine Name of the function in code, including coroutines.
  10315. */
  10316. public StopCoroutine ($methodName: string) : void
  10317. /** Stops all coroutines running on this behaviour.
  10318. */
  10319. public StopAllCoroutines () : void
  10320. /** Logs message to the Unity Console (identical to Debug.Log).
  10321. */
  10322. public static print ($message: any) : void
  10323. public constructor ()
  10324. }
  10325. /** MonoBehaviour.StartCoroutine returns a Coroutine. Instances of this class are only used to reference these coroutines, and do not hold any exposed properties or functions.
  10326. */
  10327. class Coroutine extends UnityEngine.YieldInstruction
  10328. {
  10329. protected [__keep_incompatibility]: never;
  10330. }
  10331. /** PlayerPrefs is a class that stores Player preferences between game sessions. It can store string, float and integer values into the user’s platform registry.
  10332. */
  10333. class PlayerPrefs extends System.Object
  10334. {
  10335. protected [__keep_incompatibility]: never;
  10336. /** Sets a single integer value for the preference identified by the given key. You can use PlayerPrefs.GetInt to retrieve this value.
  10337. */
  10338. public static SetInt ($key: string, $value: number) : void
  10339. /** Returns the value corresponding to key in the preference file if it exists.
  10340. */
  10341. public static GetInt ($key: string, $defaultValue: number) : number
  10342. /** Returns the value corresponding to key in the preference file if it exists.
  10343. */
  10344. public static GetInt ($key: string) : number
  10345. /** Sets the float value of the preference identified by the given key. You can use PlayerPrefs.GetFloat to retrieve this value.
  10346. */
  10347. public static SetFloat ($key: string, $value: number) : void
  10348. /** Returns the value corresponding to key in the preference file if it exists.
  10349. */
  10350. public static GetFloat ($key: string, $defaultValue: number) : number
  10351. /** Returns the value corresponding to key in the preference file if it exists.
  10352. */
  10353. public static GetFloat ($key: string) : number
  10354. /** Sets a single string value for the preference identified by the given key. You can use PlayerPrefs.GetString to retrieve this value.
  10355. */
  10356. public static SetString ($key: string, $value: string) : void
  10357. /** Returns the value corresponding to key in the preference file if it exists.
  10358. */
  10359. public static GetString ($key: string, $defaultValue: string) : string
  10360. /** Returns the value corresponding to key in the preference file if it exists.
  10361. */
  10362. public static GetString ($key: string) : string
  10363. /** Returns true if the given key exists in PlayerPrefs, otherwise returns false.
  10364. */
  10365. public static HasKey ($key: string) : boolean
  10366. /** Removes the given key from the PlayerPrefs. If the key does not exist, DeleteKey has no impact.
  10367. */
  10368. public static DeleteKey ($key: string) : void
  10369. /** Removes all keys and values from the preferences. Use with caution.
  10370. */
  10371. public static DeleteAll () : void
  10372. /** Saves all modified preferences.
  10373. */
  10374. public static Save () : void
  10375. public constructor ()
  10376. }
  10377. /** Easily generate random data for games.
  10378. */
  10379. class Random extends System.Object
  10380. {
  10381. protected [__keep_incompatibility]: never;
  10382. /** Gets or sets the full internal state of the random number generator.
  10383. */
  10384. public static get state(): UnityEngine.Random.State;
  10385. public static set state(value: UnityEngine.Random.State);
  10386. /** Returns a random float within [0.0..1.0] (range is inclusive) (Read Only).
  10387. */
  10388. public static get value(): number;
  10389. /** Returns a random point inside or on a sphere with radius 1.0 (Read Only).
  10390. */
  10391. public static get insideUnitSphere(): UnityEngine.Vector3;
  10392. /** Returns a random point inside or on a circle with radius 1.0 (Read Only).
  10393. */
  10394. public static get insideUnitCircle(): UnityEngine.Vector2;
  10395. /** Returns a random point on the surface of a sphere with radius 1.0 (Read Only).
  10396. */
  10397. public static get onUnitSphere(): UnityEngine.Vector3;
  10398. /** Returns a random rotation (Read Only).
  10399. */
  10400. public static get rotation(): UnityEngine.Quaternion;
  10401. /** Returns a random rotation with uniform distribution (Read Only).
  10402. */
  10403. public static get rotationUniform(): UnityEngine.Quaternion;
  10404. /** Initializes the random number generator state with a seed.
  10405. * @param $seed Seed used to initialize the random number generator.
  10406. */
  10407. public static InitState ($seed: number) : void
  10408. /** Returns a random float within [minInclusive..maxInclusive] (range is inclusive).
  10409. */
  10410. public static Range ($minInclusive: number, $maxInclusive: number) : number
  10411. /** Return a random int within [minInclusive..maxExclusive) (Read Only).
  10412. */
  10413. public static Range ($minInclusive: number, $maxExclusive: number) : number
  10414. /** Generates a random color from HSV and alpha ranges.
  10415. * @param $hueMin Minimum hue [0..1].
  10416. * @param $hueMax Maximum hue [0..1].
  10417. * @param $saturationMin Minimum saturation [0..1].
  10418. * @param $saturationMax Maximum saturation [0..1].
  10419. * @param $valueMin Minimum value [0..1].
  10420. * @param $valueMax Maximum value [0..1].
  10421. * @param $alphaMin Minimum alpha [0..1].
  10422. * @param $alphaMax Maximum alpha [0..1].
  10423. * @returns A random color with HSV and alpha values in the (inclusive) input ranges. Values for each component are derived via linear interpolation of value.
  10424. */
  10425. public static ColorHSV () : UnityEngine.Color
  10426. /** Generates a random color from HSV and alpha ranges.
  10427. * @param $hueMin Minimum hue [0..1].
  10428. * @param $hueMax Maximum hue [0..1].
  10429. * @param $saturationMin Minimum saturation [0..1].
  10430. * @param $saturationMax Maximum saturation [0..1].
  10431. * @param $valueMin Minimum value [0..1].
  10432. * @param $valueMax Maximum value [0..1].
  10433. * @param $alphaMin Minimum alpha [0..1].
  10434. * @param $alphaMax Maximum alpha [0..1].
  10435. * @returns A random color with HSV and alpha values in the (inclusive) input ranges. Values for each component are derived via linear interpolation of value.
  10436. */
  10437. public static ColorHSV ($hueMin: number, $hueMax: number) : UnityEngine.Color
  10438. /** Generates a random color from HSV and alpha ranges.
  10439. * @param $hueMin Minimum hue [0..1].
  10440. * @param $hueMax Maximum hue [0..1].
  10441. * @param $saturationMin Minimum saturation [0..1].
  10442. * @param $saturationMax Maximum saturation [0..1].
  10443. * @param $valueMin Minimum value [0..1].
  10444. * @param $valueMax Maximum value [0..1].
  10445. * @param $alphaMin Minimum alpha [0..1].
  10446. * @param $alphaMax Maximum alpha [0..1].
  10447. * @returns A random color with HSV and alpha values in the (inclusive) input ranges. Values for each component are derived via linear interpolation of value.
  10448. */
  10449. public static ColorHSV ($hueMin: number, $hueMax: number, $saturationMin: number, $saturationMax: number) : UnityEngine.Color
  10450. /** Generates a random color from HSV and alpha ranges.
  10451. * @param $hueMin Minimum hue [0..1].
  10452. * @param $hueMax Maximum hue [0..1].
  10453. * @param $saturationMin Minimum saturation [0..1].
  10454. * @param $saturationMax Maximum saturation [0..1].
  10455. * @param $valueMin Minimum value [0..1].
  10456. * @param $valueMax Maximum value [0..1].
  10457. * @param $alphaMin Minimum alpha [0..1].
  10458. * @param $alphaMax Maximum alpha [0..1].
  10459. * @returns A random color with HSV and alpha values in the (inclusive) input ranges. Values for each component are derived via linear interpolation of value.
  10460. */
  10461. public static ColorHSV ($hueMin: number, $hueMax: number, $saturationMin: number, $saturationMax: number, $valueMin: number, $valueMax: number) : UnityEngine.Color
  10462. /** Generates a random color from HSV and alpha ranges.
  10463. * @param $hueMin Minimum hue [0..1].
  10464. * @param $hueMax Maximum hue [0..1].
  10465. * @param $saturationMin Minimum saturation [0..1].
  10466. * @param $saturationMax Maximum saturation [0..1].
  10467. * @param $valueMin Minimum value [0..1].
  10468. * @param $valueMax Maximum value [0..1].
  10469. * @param $alphaMin Minimum alpha [0..1].
  10470. * @param $alphaMax Maximum alpha [0..1].
  10471. * @returns A random color with HSV and alpha values in the (inclusive) input ranges. Values for each component are derived via linear interpolation of value.
  10472. */
  10473. public static ColorHSV ($hueMin: number, $hueMax: number, $saturationMin: number, $saturationMax: number, $valueMin: number, $valueMax: number, $alphaMin: number, $alphaMax: number) : UnityEngine.Color
  10474. }
  10475. /** The Resources class allows you to find and access Objects including assets.
  10476. */
  10477. class Resources extends System.Object
  10478. {
  10479. protected [__keep_incompatibility]: never;
  10480. /** Returns a list of all objects of Type type.
  10481. */
  10482. public static FindObjectsOfTypeAll ($type: System.Type) : System.Array$1<UnityEngine.Object>
  10483. /** Loads an asset stored at path in a Resources folder using an optional systemTypeInstance filter.
  10484. * @param $path Path to the target resource to load.
  10485. * @param $systemTypeInstance Type filter for objects returned.
  10486. * @returns The requested asset returned as an Object.
  10487. */
  10488. public static Load ($path: string) : UnityEngine.Object
  10489. /** Loads an asset stored at path in a Resources folder using an optional systemTypeInstance filter.
  10490. * @param $path Path to the target resource to load.
  10491. * @param $systemTypeInstance Type filter for objects returned.
  10492. * @returns The requested asset returned as an Object.
  10493. */
  10494. public static Load ($path: string, $systemTypeInstance: System.Type) : UnityEngine.Object
  10495. /** Asynchronously loads an asset stored at path in a Resources folder.
  10496. * @param $path Pathname of the target folder. When using the empty string (i.e., ""), the function will load the entire contents of the Resources folder.
  10497. */
  10498. public static LoadAsync ($path: string) : UnityEngine.ResourceRequest
  10499. /** Asynchronously loads an asset stored at path in a Resources folder.
  10500. * @param $path Pathname of the target folder. When using the empty string (i.e., ""), the function will load the entire contents of the Resources folder.
  10501. * @param $systemTypeInstance Type filter for objects returned.
  10502. */
  10503. public static LoadAsync ($path: string, $type: System.Type) : UnityEngine.ResourceRequest
  10504. /** Loads all assets in a folder or file at path in a Resources folder.
  10505. * @param $path Pathname of the target folder. When using the empty string (i.e., ""), the function will load the entire contents of the Resources folder.
  10506. * @param $systemTypeInstance Type filter for objects returned.
  10507. */
  10508. public static LoadAll ($path: string, $systemTypeInstance: System.Type) : System.Array$1<UnityEngine.Object>
  10509. /** Loads all assets in a folder or file at path in a Resources folder.
  10510. * @param $path Pathname of the target folder. When using the empty string (i.e., ""), the function will load the entire contents of the Resources folder.
  10511. */
  10512. public static LoadAll ($path: string) : System.Array$1<UnityEngine.Object>
  10513. public static GetBuiltinResource ($type: System.Type, $path: string) : UnityEngine.Object
  10514. /** Unloads assetToUnload from memory.
  10515. */
  10516. public static UnloadAsset ($assetToUnload: UnityEngine.Object) : void
  10517. /** Unloads assets that are not used.
  10518. * @returns Object on which you can yield to wait until the operation completes.
  10519. */
  10520. public static UnloadUnusedAssets () : UnityEngine.AsyncOperation
  10521. /** Translates an instance ID to an object reference.
  10522. * @param $instanceID Instance ID of an Object.
  10523. * @returns Resolved reference or null if the instance ID didn't match anything.
  10524. */
  10525. public static InstanceIDToObject ($instanceID: number) : UnityEngine.Object
  10526. public static InstanceIDToObjectList ($instanceIDs: Unity.Collections.NativeArray$1<number>, $objects: System.Collections.Generic.List$1<UnityEngine.Object>) : void
  10527. /** Returns true if the given instance ID corresponds to a valid Object in memory. The Object could have been deleted or not loaded into memory yet.
  10528. * @param $instanceID ID of an Object.
  10529. */
  10530. public static InstanceIDIsValid ($instanceId: number) : boolean
  10531. public static InstanceIDsToValidArray ($instanceIDs: Unity.Collections.NativeArray$1<number>, $validArray: Unity.Collections.NativeArray$1<boolean>) : void
  10532. public constructor ()
  10533. }
  10534. /** Access system and hardware information.
  10535. */
  10536. class SystemInfo extends System.Object
  10537. {
  10538. protected [__keep_incompatibility]: never;
  10539. /** Value returned by SystemInfo string properties which are not supported on the current platform.
  10540. */
  10541. public static unsupportedIdentifier : string
  10542. /** The current battery level (Read Only).
  10543. */
  10544. public static get batteryLevel(): number;
  10545. /** Returns the current status of the device's battery (Read Only).
  10546. */
  10547. public static get batteryStatus(): UnityEngine.BatteryStatus;
  10548. /** Operating system name with version (Read Only).
  10549. */
  10550. public static get operatingSystem(): string;
  10551. /** Returns the operating system family the game is running on (Read Only).
  10552. */
  10553. public static get operatingSystemFamily(): UnityEngine.OperatingSystemFamily;
  10554. /** Processor name (Read Only).
  10555. */
  10556. public static get processorType(): string;
  10557. /** Processor frequency in MHz (Read Only).
  10558. */
  10559. public static get processorFrequency(): number;
  10560. /** Number of processors present (Read Only).
  10561. */
  10562. public static get processorCount(): number;
  10563. /** Amount of system memory present (Read Only).
  10564. */
  10565. public static get systemMemorySize(): number;
  10566. /** A unique device identifier. It's guaranteed to be unique for every device (Read Only).
  10567. */
  10568. public static get deviceUniqueIdentifier(): string;
  10569. /** The user defined name of the device (Read Only).
  10570. */
  10571. public static get deviceName(): string;
  10572. /** The model of the device (Read Only).
  10573. */
  10574. public static get deviceModel(): string;
  10575. /** Is an accelerometer available on the device?
  10576. */
  10577. public static get supportsAccelerometer(): boolean;
  10578. /** Is a gyroscope available on the device?
  10579. */
  10580. public static get supportsGyroscope(): boolean;
  10581. /** Is the device capable of reporting its location?
  10582. */
  10583. public static get supportsLocationService(): boolean;
  10584. /** Is the device capable of providing the user haptic feedback by vibration?
  10585. */
  10586. public static get supportsVibration(): boolean;
  10587. /** Is there an Audio device available for playback? (Read Only)
  10588. */
  10589. public static get supportsAudio(): boolean;
  10590. /** Returns the kind of device the application is running on (Read Only).
  10591. */
  10592. public static get deviceType(): UnityEngine.DeviceType;
  10593. /** Amount of video memory present (Read Only).
  10594. */
  10595. public static get graphicsMemorySize(): number;
  10596. /** The name of the graphics device (Read Only).
  10597. */
  10598. public static get graphicsDeviceName(): string;
  10599. /** The vendor of the graphics device (Read Only).
  10600. */
  10601. public static get graphicsDeviceVendor(): string;
  10602. /** The identifier code of the graphics device (Read Only).
  10603. */
  10604. public static get graphicsDeviceID(): number;
  10605. /** The identifier code of the graphics device vendor (Read Only).
  10606. */
  10607. public static get graphicsDeviceVendorID(): number;
  10608. /** The graphics API type used by the graphics device (Read Only).
  10609. */
  10610. public static get graphicsDeviceType(): UnityEngine.Rendering.GraphicsDeviceType;
  10611. /** Returns true if the texture UV coordinate convention for this platform has Y starting at the top of the image.
  10612. */
  10613. public static get graphicsUVStartsAtTop(): boolean;
  10614. /** The graphics API type and driver version used by the graphics device (Read Only).
  10615. */
  10616. public static get graphicsDeviceVersion(): string;
  10617. /** Graphics device shader capability level (Read Only).
  10618. */
  10619. public static get graphicsShaderLevel(): number;
  10620. /** Is graphics device using multi-threaded rendering (Read Only)?
  10621. */
  10622. public static get graphicsMultiThreaded(): boolean;
  10623. /** Application's actual rendering threading mode (Read Only).
  10624. */
  10625. public static get renderingThreadingMode(): UnityEngine.Rendering.RenderingThreadingMode;
  10626. /** The foveated rendering technique supported on this platform.
  10627. */
  10628. public static get foveatedRenderingCaps(): UnityEngine.Rendering.FoveatedRenderingCaps;
  10629. /** True if the GPU supports hidden surface removal.
  10630. */
  10631. public static get hasHiddenSurfaceRemovalOnGPU(): boolean;
  10632. /** Returns true when the GPU has native support for indexing uniform arrays in fragment shaders without restrictions.
  10633. */
  10634. public static get hasDynamicUniformArrayIndexingInFragmentShaders(): boolean;
  10635. /** Are built-in shadows supported? (Read Only)
  10636. */
  10637. public static get supportsShadows(): boolean;
  10638. /** Is sampling raw depth from shadowmaps supported? (Read Only)
  10639. */
  10640. public static get supportsRawShadowDepthSampling(): boolean;
  10641. /** Whether motion vectors are supported on this platform.
  10642. */
  10643. public static get supportsMotionVectors(): boolean;
  10644. /** Are 3D (volume) textures supported? (Read Only)
  10645. */
  10646. public static get supports3DTextures(): boolean;
  10647. /** Are compressed formats for 3D (volume) textures supported? (Read Only).
  10648. */
  10649. public static get supportsCompressed3DTextures(): boolean;
  10650. /** Are 2D Array textures supported? (Read Only)
  10651. */
  10652. public static get supports2DArrayTextures(): boolean;
  10653. /** Are 3D (volume) RenderTextures supported? (Read Only)
  10654. */
  10655. public static get supports3DRenderTextures(): boolean;
  10656. /** Are Cubemap Array textures supported? (Read Only)
  10657. */
  10658. public static get supportsCubemapArrayTextures(): boolean;
  10659. /** Support for various Graphics.CopyTexture cases (Read Only).
  10660. */
  10661. public static get copyTextureSupport(): UnityEngine.Rendering.CopyTextureSupport;
  10662. /** Are compute shaders supported? (Read Only)
  10663. */
  10664. public static get supportsComputeShaders(): boolean;
  10665. /** Are geometry shaders supported? (Read Only)
  10666. */
  10667. public static get supportsGeometryShaders(): boolean;
  10668. /** Are tessellation shaders supported? (Read Only)
  10669. */
  10670. public static get supportsTessellationShaders(): boolean;
  10671. /** Boolean that indicates if SV_RenderTargetArrayIndex can be used in a vertex shader (true if it can be used, false if not).
  10672. */
  10673. public static get supportsRenderTargetArrayIndexFromVertexShader(): boolean;
  10674. /** Is GPU draw call instancing supported? (Read Only)
  10675. */
  10676. public static get supportsInstancing(): boolean;
  10677. /** Does the hardware support quad topology? (Read Only)
  10678. */
  10679. public static get supportsHardwareQuadTopology(): boolean;
  10680. /** Are 32-bit index buffers supported? (Read Only)
  10681. */
  10682. public static get supports32bitsIndexBuffer(): boolean;
  10683. /** Are sparse textures supported? (Read Only)
  10684. */
  10685. public static get supportsSparseTextures(): boolean;
  10686. /** How many simultaneous render targets (MRTs) are supported? (Read Only)
  10687. */
  10688. public static get supportedRenderTargetCount(): number;
  10689. /** Returns true when the platform supports different blend modes when rendering to multiple render targets, or false otherwise.
  10690. */
  10691. public static get supportsSeparatedRenderTargetsBlend(): boolean;
  10692. /** The maximum number of random write targets (UAV) that Unity supports simultaneously. (Read Only)
  10693. */
  10694. public static get supportedRandomWriteTargetCount(): number;
  10695. /** Are multisampled textures supported? (Read Only)
  10696. */
  10697. public static get supportsMultisampledTextures(): number;
  10698. /** Boolean that indicates whether multisampled texture arrays are supported (true if supported, false if not supported).
  10699. */
  10700. public static get supportsMultisampled2DArrayTextures(): boolean;
  10701. /** Returns true if multisampled textures are resolved automatically
  10702. */
  10703. public static get supportsMultisampleAutoResolve(): boolean;
  10704. /** Returns true if the 'Mirror Once' texture wrap mode is supported. (Read Only)
  10705. */
  10706. public static get supportsTextureWrapMirrorOnce(): number;
  10707. /** This property is true if the current platform uses a reversed depth buffer (where values range from 1 at the near plane and 0 at far plane), and false if the depth buffer is normal (0 is near, 1 is far). (Read Only)
  10708. */
  10709. public static get usesReversedZBuffer(): boolean;
  10710. /** What NPOT (non-power of two size) texture support does the GPU provide? (Read Only)
  10711. */
  10712. public static get npotSupport(): UnityEngine.NPOTSupport;
  10713. /** Maximum texture size in pixels (Read Only).
  10714. */
  10715. public static get maxTextureSize(): number;
  10716. /** Maximum 3D texture size in pixels (Read Only).
  10717. */
  10718. public static get maxTexture3DSize(): number;
  10719. /** Maximum number of slices in a Texture array (Read Only).
  10720. */
  10721. public static get maxTextureArraySlices(): number;
  10722. /** Maximum cubemap texture size in pixels (Read Only).
  10723. */
  10724. public static get maxCubemapSize(): number;
  10725. /** Determines how many compute buffers Unity supports simultaneously in a vertex shader for reading. (Read Only)
  10726. */
  10727. public static get maxComputeBufferInputsVertex(): number;
  10728. /** Determines how many compute buffers Unity supports simultaneously in a fragment shader for reading. (Read Only)
  10729. */
  10730. public static get maxComputeBufferInputsFragment(): number;
  10731. /** Determines how many compute buffers Unity supports simultaneously in a geometry shader for reading. (Read Only)
  10732. */
  10733. public static get maxComputeBufferInputsGeometry(): number;
  10734. /** Determines how many compute buffers Unity supports simultaneously in a domain shader for reading. (Read Only)
  10735. */
  10736. public static get maxComputeBufferInputsDomain(): number;
  10737. /** Determines how many compute buffers Unity supports simultaneously in a hull shader for reading. (Read Only)
  10738. */
  10739. public static get maxComputeBufferInputsHull(): number;
  10740. /** Determines how many compute buffers Unity supports simultaneously in a compute shader for reading. (Read Only)
  10741. */
  10742. public static get maxComputeBufferInputsCompute(): number;
  10743. /** The largest total number of invocations in a single local work group that can be dispatched to a compute shader (Read Only).
  10744. */
  10745. public static get maxComputeWorkGroupSize(): number;
  10746. /** The maximum number of work groups that a compute shader can use in X dimension (Read Only).
  10747. */
  10748. public static get maxComputeWorkGroupSizeX(): number;
  10749. /** The maximum number of work groups that a compute shader can use in Y dimension (Read Only).
  10750. */
  10751. public static get maxComputeWorkGroupSizeY(): number;
  10752. /** The maximum number of work groups that a compute shader can use in Z dimension (Read Only).
  10753. */
  10754. public static get maxComputeWorkGroupSizeZ(): number;
  10755. /** Size of the compute thread group that supports efficient memory sharing on the GPU (Read Only).
  10756. */
  10757. public static get computeSubGroupSize(): number;
  10758. /** Returns true when the platform supports asynchronous compute queues and false if otherwise.
  10759. */
  10760. public static get supportsAsyncCompute(): boolean;
  10761. /** Specifies whether the current platform supports the GPU Recorder or not. (Read Only).
  10762. */
  10763. public static get supportsGpuRecorder(): boolean;
  10764. /** true if the platform supports GraphicsFences, otherwise false.
  10765. */
  10766. public static get supportsGraphicsFence(): boolean;
  10767. /** Returns true if asynchronous readback of GPU data is available for this device and false otherwise.
  10768. */
  10769. public static get supportsAsyncGPUReadback(): boolean;
  10770. /** Checks if ray tracing is supported by the current configuration.
  10771. */
  10772. public static get supportsRayTracing(): boolean;
  10773. /** Does the current renderer support binding constant buffers directly? (Read Only)
  10774. */
  10775. public static get supportsSetConstantBuffer(): boolean;
  10776. /** Minimum buffer offset (in bytes) when binding a constant buffer using Shader.SetConstantBuffer or Material.SetConstantBuffer.
  10777. */
  10778. public static get constantBufferOffsetAlignment(): number;
  10779. /** The maximum size of a constant buffer binding (Read Only).
  10780. */
  10781. public static get maxConstantBufferSize(): number;
  10782. /** The maximum size of a graphics buffer (GraphicsBuffer, ComputeBuffer, vertex/index buffer, etc.) in bytes (Read Only).
  10783. */
  10784. public static get maxGraphicsBufferSize(): bigint;
  10785. /** Returns true if the GPU supports partial mipmap chains (Read Only).
  10786. */
  10787. public static get hasMipMaxLevel(): boolean;
  10788. /** Is streaming of texture mip maps supported? (Read Only)
  10789. */
  10790. public static get supportsMipStreaming(): boolean;
  10791. /** True if the Graphics API takes RenderBufferLoadAction and RenderBufferStoreAction into account, false if otherwise.
  10792. */
  10793. public static get usesLoadStoreActions(): boolean;
  10794. /** Returns a bitwise combination of HDRDisplaySupportFlags describing the support for HDR displays on the system.
  10795. */
  10796. public static get hdrDisplaySupportFlags(): UnityEngine.HDRDisplaySupportFlags;
  10797. /** Is conservative rasterization supported? (Read Only)
  10798. */
  10799. public static get supportsConservativeRaster(): boolean;
  10800. /** Boolean that indicates whether Multiview is supported (true if supported, false if not supported). (Read Only)
  10801. */
  10802. public static get supportsMultiview(): boolean;
  10803. /** This property is true if the graphics API of the target build platform takes RenderBufferStoreAction.StoreAndResolve into account, false if otherwise.
  10804. */
  10805. public static get supportsStoreAndResolveAction(): boolean;
  10806. /** Returns true if the platform supports multisample resolve of depth textures.
  10807. */
  10808. public static get supportsMultisampleResolveDepth(): boolean;
  10809. /** Returns true if the platform supports multisample resolve of stencil textures. Otherwise, returns false.
  10810. */
  10811. public static get supportsMultisampleResolveStencil(): boolean;
  10812. /** Returns true if the graphics system supports GPU draw calls with indirect argument buffers. (Read Only)
  10813. */
  10814. public static get supportsIndirectArgumentsBuffer(): boolean;
  10815. /** Is render texture format supported?
  10816. * @param $format The format to look up.
  10817. * @returns True if the format is supported.
  10818. */
  10819. public static SupportsRenderTextureFormat ($format: UnityEngine.RenderTextureFormat) : boolean
  10820. /** Is blending supported on render texture format?
  10821. * @param $format The format to look up.
  10822. * @returns True if blending is supported on the given format.
  10823. */
  10824. public static SupportsBlendingOnRenderTextureFormat ($format: UnityEngine.RenderTextureFormat) : boolean
  10825. /** Tests if a RenderTextureFormat can be used with RenderTexture.enableRandomWrite.
  10826. * @param $format The format to look up.
  10827. * @returns True if the format can be used for random access writes.
  10828. */
  10829. public static SupportsRandomWriteOnRenderTextureFormat ($format: UnityEngine.RenderTextureFormat) : boolean
  10830. /** Is texture format supported on this device?
  10831. * @param $format The TextureFormat format to look up.
  10832. * @returns True if the format is supported.
  10833. */
  10834. public static SupportsTextureFormat ($format: UnityEngine.TextureFormat) : boolean
  10835. /** Indicates whether the given combination of a vertex attribute format and dimension is supported on this device.
  10836. * @param $format The VertexAttributeFormat format to look up.
  10837. * @param $dimension The dimension of vertex data to check for.
  10838. * @returns True if the format with the given dimension is supported.
  10839. */
  10840. public static SupportsVertexAttributeFormat ($format: UnityEngine.Rendering.VertexAttributeFormat, $dimension: number) : boolean
  10841. public static IsFormatSupported ($format: UnityEngine.Experimental.Rendering.GraphicsFormat, $usage: UnityEngine.Experimental.Rendering.FormatUsage) : boolean
  10842. public static GetCompatibleFormat ($format: UnityEngine.Experimental.Rendering.GraphicsFormat, $usage: UnityEngine.Experimental.Rendering.FormatUsage) : UnityEngine.Experimental.Rendering.GraphicsFormat
  10843. /** Returns the platform-specific GraphicsFormat that is associated with the DefaultFormat.
  10844. * @param $format The DefaultFormat format to look up.
  10845. */
  10846. public static GetGraphicsFormat ($format: UnityEngine.Experimental.Rendering.DefaultFormat) : UnityEngine.Experimental.Rendering.GraphicsFormat
  10847. /** Checks if the target platform supports the MSAA samples count in the RenderTextureDescriptor argument.
  10848. * @param $desc The RenderTextureDescriptor to check.
  10849. * @returns If the target platform supports the given MSAA samples count of RenderTextureDescriptor, returns the given MSAA samples count. Otherwise returns a lower fallback MSAA samples count value that the target platform supports.
  10850. */
  10851. public static GetRenderTextureSupportedMSAASampleCount ($desc: UnityEngine.RenderTextureDescriptor) : number
  10852. public constructor ()
  10853. }
  10854. /** Enumeration for SystemInfo.batteryStatus which represents the current status of the device's battery.
  10855. */
  10856. enum BatteryStatus
  10857. { Unknown = 0, Charging = 1, Discharging = 2, NotCharging = 3, Full = 4 }
  10858. /** Enumeration for SystemInfo.operatingSystemFamily.
  10859. */
  10860. enum OperatingSystemFamily
  10861. { Other = 0, MacOSX = 1, Windows = 2, Linux = 3 }
  10862. /** Enumeration for SystemInfo.deviceType, denotes a coarse grouping of kinds of devices.
  10863. */
  10864. enum DeviceType
  10865. { Unknown = 0, Handheld = 1, Console = 2, Desktop = 3 }
  10866. /** NPOT Texture2D|textures support.
  10867. */
  10868. enum NPOTSupport
  10869. { None = 0, Restricted = 1, Full = 2 }
  10870. /** A set of flags that describe the level of HDR display support available on the system.
  10871. */
  10872. enum HDRDisplaySupportFlags
  10873. { None = 0, Supported = 1, RuntimeSwitchable = 2, AutomaticTonemapping = 4 }
  10874. /** Represents a raw text or binary file asset.
  10875. */
  10876. class TextAsset extends UnityEngine.Object
  10877. {
  10878. protected [__keep_incompatibility]: never;
  10879. /** The raw bytes of the text asset. (Read Only)
  10880. */
  10881. public get bytes(): System.Array$1<number>;
  10882. /** The text contents of the file as a string. (Read Only)
  10883. */
  10884. public get text(): string;
  10885. /** The size of the text asset data in bytes. (Read Only)
  10886. */
  10887. public get dataSize(): bigint;
  10888. public constructor ()
  10889. public constructor ($text: string)
  10890. }
  10891. /** Class for handling 3D Textures, Use this to create.
  10892. */
  10893. class Texture3D extends UnityEngine.Texture
  10894. {
  10895. protected [__keep_incompatibility]: never;
  10896. /** The depth of the texture (Read Only).
  10897. */
  10898. public get depth(): number;
  10899. /** The format of the pixel data in the texture (Read Only).
  10900. */
  10901. public get format(): UnityEngine.TextureFormat;
  10902. public get isReadable(): boolean;
  10903. /** Updates Unity texture to use different native texture object.
  10904. * @param $nativeTex Native 3D texture object.
  10905. */
  10906. public UpdateExternalTexture ($nativeTex: System.IntPtr) : void
  10907. /** Gets the pixel color data for a mipmap level as Color structs.
  10908. * @param $miplevel The mipmap level to get. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10909. * @returns An array that contains the pixel colors.
  10910. */
  10911. public GetPixels ($miplevel: number) : System.Array$1<UnityEngine.Color>
  10912. /** Gets the pixel color data for a mipmap level as Color structs.
  10913. * @param $miplevel The mipmap level to get. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10914. * @returns An array that contains the pixel colors.
  10915. */
  10916. public GetPixels () : System.Array$1<UnityEngine.Color>
  10917. /** Gets the pixel color data for a mipmap level as Color32 structs.
  10918. * @param $miplevel The mipmap level to get. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10919. * @returns An array that contains the pixel colors.
  10920. */
  10921. public GetPixels32 ($miplevel: number) : System.Array$1<UnityEngine.Color32>
  10922. /** Gets the pixel color data for a mipmap level as Color32 structs.
  10923. * @param $miplevel The mipmap level to get. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10924. * @returns An array that contains the pixel colors.
  10925. */
  10926. public GetPixels32 () : System.Array$1<UnityEngine.Color32>
  10927. /** Sets the pixel colors of an entire mipmap level.
  10928. * @param $colors The array of pixel colours to use. This is a 3D texture flattened to a 1D array.
  10929. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10930. */
  10931. public SetPixels ($colors: System.Array$1<UnityEngine.Color>, $miplevel: number) : void
  10932. /** Sets the pixel colors of an entire mipmap level.
  10933. * @param $colors The array of pixel colours to use. This is a 3D texture flattened to a 1D array.
  10934. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10935. */
  10936. public SetPixels ($colors: System.Array$1<UnityEngine.Color>) : void
  10937. /** Sets the pixel colors of an entire mipmap level.
  10938. * @param $colors The array of pixel colours to use. This is a 3D texture flattened to a 1D array.
  10939. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10940. */
  10941. public SetPixels32 ($colors: System.Array$1<UnityEngine.Color32>, $miplevel: number) : void
  10942. /** Sets the pixel colors of an entire mipmap level.
  10943. * @param $colors The array of pixel colours to use. This is a 3D texture flattened to a 1D array.
  10944. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10945. */
  10946. public SetPixels32 ($colors: System.Array$1<UnityEngine.Color32>) : void
  10947. /** Creates Unity Texture out of externally created native texture object.
  10948. * @param $nativeTex Native 3D texture object.
  10949. * @param $width Width of texture in pixels.
  10950. * @param $height Height of texture in pixels.
  10951. * @param $depth Depth of texture in pixels
  10952. * @param $format Format of underlying texture object.
  10953. * @param $mipmap Does the texture have mipmaps?
  10954. */
  10955. public static CreateExternalTexture ($width: number, $height: number, $depth: number, $format: UnityEngine.TextureFormat, $mipChain: boolean, $nativeTex: System.IntPtr) : UnityEngine.Texture3D
  10956. /** Copies changes you've made in a CPU texture to the GPU.
  10957. * @param $updateMipmaps When the value is true, Unity recalculates mipmap levels, using mipmap level 0 as the source. The default value is true.
  10958. * @param $makeNoLongerReadable When the value is true, Unity deletes the texture in CPU memory after it uploads it to the GPU, and sets Texture.isReadable|isReadable to false. The default value is false.
  10959. */
  10960. public Apply ($updateMipmaps: boolean, $makeNoLongerReadable: boolean) : void
  10961. public Apply ($updateMipmaps: boolean) : void
  10962. public Apply () : void
  10963. /** Sets the pixel color at coordinates (x, y, z).
  10964. * @param $x The x coordinate of the pixel to set. The range is 0 through the (texture width - 1).
  10965. * @param $y The y coordinate of the pixel to set. The range is 0 through the (texture height - 1).
  10966. * @param $z The z coordinate of the pixel to set. The range is 0 through the (texture depth - 1).
  10967. * @param $color The color to set.
  10968. * @param $mipLevel The mipmap level to write to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10969. */
  10970. public SetPixel ($x: number, $y: number, $z: number, $color: UnityEngine.Color) : void
  10971. /** Sets the pixel color at coordinates (x, y, z).
  10972. * @param $x The x coordinate of the pixel to set. The range is 0 through the (texture width - 1).
  10973. * @param $y The y coordinate of the pixel to set. The range is 0 through the (texture height - 1).
  10974. * @param $z The z coordinate of the pixel to set. The range is 0 through the (texture depth - 1).
  10975. * @param $color The color to set.
  10976. * @param $mipLevel The mipmap level to write to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10977. */
  10978. public SetPixel ($x: number, $y: number, $z: number, $color: UnityEngine.Color, $mipLevel: number) : void
  10979. /** Gets the pixel color at coordinates (x, y, z).
  10980. * @param $x The x coordinate of the pixel to get. The range is 0 through the (texture width - 1).
  10981. * @param $y The y coordinate of the pixel to get. The range is 0 through the (texture height - 1).
  10982. * @param $z The z coordinate of the pixel to get. The range is 0 through the (texture depth - 1).
  10983. * @param $mipLevel The mipmap level to sample. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10984. * @returns The pixel color.
  10985. */
  10986. public GetPixel ($x: number, $y: number, $z: number) : UnityEngine.Color
  10987. /** Gets the pixel color at coordinates (x, y, z).
  10988. * @param $x The x coordinate of the pixel to get. The range is 0 through the (texture width - 1).
  10989. * @param $y The y coordinate of the pixel to get. The range is 0 through the (texture height - 1).
  10990. * @param $z The z coordinate of the pixel to get. The range is 0 through the (texture depth - 1).
  10991. * @param $mipLevel The mipmap level to sample. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  10992. * @returns The pixel color.
  10993. */
  10994. public GetPixel ($x: number, $y: number, $z: number, $mipLevel: number) : UnityEngine.Color
  10995. /** Gets the filtered pixel color at the normalized coordinates (u, v, w).
  10996. * @param $u The u coordinate of the pixel to get.
  10997. * @param $v The v coordinate of the pixel to get.
  10998. * @param $w The w coordinate of the pixel to get.
  10999. * @param $mipLevel The mipmap level to read from. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  11000. * @returns The pixel color.
  11001. */
  11002. public GetPixelBilinear ($u: number, $v: number, $w: number) : UnityEngine.Color
  11003. /** Gets the filtered pixel color at the normalized coordinates (u, v, w).
  11004. * @param $u The u coordinate of the pixel to get.
  11005. * @param $v The v coordinate of the pixel to get.
  11006. * @param $w The w coordinate of the pixel to get.
  11007. * @param $mipLevel The mipmap level to read from. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  11008. * @returns The pixel color.
  11009. */
  11010. public GetPixelBilinear ($u: number, $v: number, $w: number, $mipLevel: number) : UnityEngine.Color
  11011. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.DefaultFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags)
  11012. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.DefaultFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags, $mipCount: number)
  11013. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags)
  11014. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags, $mipCount: number)
  11015. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipCount: number)
  11016. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipCount: number, $nativeTex: System.IntPtr)
  11017. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipCount: number, $nativeTex: System.IntPtr, $createUninitialized: boolean)
  11018. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean)
  11019. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean, $createUninitialized: boolean)
  11020. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean, $nativeTex: System.IntPtr)
  11021. public constructor ()
  11022. }
  11023. /** Class for handling 2D texture arrays.
  11024. */
  11025. class Texture2DArray extends UnityEngine.Texture
  11026. {
  11027. protected [__keep_incompatibility]: never;
  11028. /** Read Only. This property is used as a parameter in some overloads of the CommandBuffer.Blit, Graphics.Blit, CommandBuffer.SetRenderTarget, and Graphics.SetRenderTarget methods to indicate that all texture array slices are bound. The value of this property is -1.
  11029. */
  11030. public static get allSlices(): number;
  11031. /** Number of elements in a texture array (Read Only).
  11032. */
  11033. public get depth(): number;
  11034. /** Texture format (Read Only).
  11035. */
  11036. public get format(): UnityEngine.TextureFormat;
  11037. public get isReadable(): boolean;
  11038. /** Gets the pixel color data for a mipmap level of a slice as Color structs.
  11039. * @param $arrayElement The array slice to read pixel data from.
  11040. * @param $miplevel The mipmap level to get. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  11041. * @returns An array that contains the pixel colors.
  11042. */
  11043. public GetPixels ($arrayElement: number, $miplevel: number) : System.Array$1<UnityEngine.Color>
  11044. /** Gets the pixel color data for a mipmap level of a slice as Color structs.
  11045. * @param $arrayElement The array slice to read pixel data from.
  11046. * @param $miplevel The mipmap level to get. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  11047. * @returns An array that contains the pixel colors.
  11048. */
  11049. public GetPixels ($arrayElement: number) : System.Array$1<UnityEngine.Color>
  11050. /** Gets the pixel color data for a mipmap level of a slice as Color32 structs.
  11051. * @param $arrayElement The array slice to read pixel data from.
  11052. * @param $miplevel The mipmap level to get. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  11053. * @returns An array that contains the pixel colors.
  11054. */
  11055. public GetPixels32 ($arrayElement: number, $miplevel: number) : System.Array$1<UnityEngine.Color32>
  11056. /** Gets the pixel color data for a mipmap level of a slice as Color32 structs.
  11057. * @param $arrayElement The array slice to read pixel data from.
  11058. * @param $miplevel The mipmap level to get. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  11059. * @returns An array that contains the pixel colors.
  11060. */
  11061. public GetPixels32 ($arrayElement: number) : System.Array$1<UnityEngine.Color32>
  11062. /** Sets the pixel colors of an entire mipmap level of a slice.
  11063. * @param $colors The array of pixel colours to use. This is a 2D image flattened to a 1D array.
  11064. * @param $arrayElement The array slice to write to.
  11065. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  11066. */
  11067. public SetPixels ($colors: System.Array$1<UnityEngine.Color>, $arrayElement: number, $miplevel: number) : void
  11068. /** Sets the pixel colors of an entire mipmap level of a slice.
  11069. * @param $colors The array of pixel colours to use. This is a 2D image flattened to a 1D array.
  11070. * @param $arrayElement The array slice to write to.
  11071. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  11072. */
  11073. public SetPixels ($colors: System.Array$1<UnityEngine.Color>, $arrayElement: number) : void
  11074. /** Sets the pixel colors of an entire mipmap level of a slice.
  11075. * @param $colors The array of pixel colours to use. This is a 2D image flattened to a 1D array.
  11076. * @param $arrayElement The array slice to write colors to.
  11077. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  11078. */
  11079. public SetPixels32 ($colors: System.Array$1<UnityEngine.Color32>, $arrayElement: number, $miplevel: number) : void
  11080. /** Sets the pixel colors of an entire mipmap level of a slice.
  11081. * @param $colors The array of pixel colours to use. This is a 2D image flattened to a 1D array.
  11082. * @param $arrayElement The array slice to write colors to.
  11083. * @param $miplevel The mipmap level to write colors to. The range is 0 through the texture's Texture.mipmapCount. The default value is 0.
  11084. */
  11085. public SetPixels32 ($colors: System.Array$1<UnityEngine.Color32>, $arrayElement: number) : void
  11086. /** Copies changes you've made in a CPU texture to the GPU.
  11087. * @param $updateMipmaps When the value is true, Unity recalculates mipmap levels, using mipmap level 0 as the source. The default value is true.
  11088. * @param $makeNoLongerReadable When the value is true, Unity deletes the texture in CPU memory after it uploads it to the GPU, and sets Texture.isReadable|isReadable to false. The default value is false.
  11089. */
  11090. public Apply ($updateMipmaps: boolean, $makeNoLongerReadable: boolean) : void
  11091. public Apply ($updateMipmaps: boolean) : void
  11092. public Apply () : void
  11093. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.DefaultFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags)
  11094. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.DefaultFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags, $mipCount: number)
  11095. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags)
  11096. public constructor ($width: number, $height: number, $depth: number, $format: UnityEngine.Experimental.Rendering.GraphicsFormat, $flags: UnityEngine.Experimental.Rendering.TextureCreationFlags, $mipCount: number)
  11097. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipCount: number, $linear: boolean, $createUninitialized: boolean)
  11098. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipCount: number, $linear: boolean)
  11099. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean, $linear: boolean, $createUninitialized: boolean)
  11100. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean, $linear: boolean)
  11101. public constructor ($width: number, $height: number, $depth: number, $textureFormat: UnityEngine.TextureFormat, $mipChain: boolean)
  11102. public constructor ()
  11103. }
  11104. /** Provides an interface to get time information from Unity.
  11105. */
  11106. class Time extends System.Object
  11107. {
  11108. protected [__keep_incompatibility]: never;
  11109. /** The time at the beginning of this frame (Read Only).
  11110. */
  11111. public static get time(): number;
  11112. /** The double precision time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game.
  11113. */
  11114. public static get timeAsDouble(): number;
  11115. /** The time since this frame started (Read Only). This is the time in seconds since the last non-additive scene has finished loading.
  11116. */
  11117. public static get timeSinceLevelLoad(): number;
  11118. /** The double precision time since this frame started (Read Only). This is the time in seconds since the last non-additive scene has finished loading.
  11119. */
  11120. public static get timeSinceLevelLoadAsDouble(): number;
  11121. /** The interval in seconds from the last frame to the current one (Read Only).
  11122. */
  11123. public static get deltaTime(): number;
  11124. /** The time since the last MonoBehaviour.FixedUpdate started (Read Only). This is the time in seconds since the start of the game.
  11125. */
  11126. public static get fixedTime(): number;
  11127. /** The double precision time since the last MonoBehaviour.FixedUpdate started (Read Only). This is the time in seconds since the start of the game.
  11128. */
  11129. public static get fixedTimeAsDouble(): number;
  11130. /** The timeScale-independent time for this frame (Read Only). This is the time in seconds since the start of the game.
  11131. */
  11132. public static get unscaledTime(): number;
  11133. /** The double precision timeScale-independent time for this frame (Read Only). This is the time in seconds since the start of the game.
  11134. */
  11135. public static get unscaledTimeAsDouble(): number;
  11136. /** The timeScale-independent time at the beginning of the last MonoBehaviour.FixedUpdate phase (Read Only). This is the time in seconds since the start of the game.
  11137. */
  11138. public static get fixedUnscaledTime(): number;
  11139. /** The double precision timeScale-independent time at the beginning of the last MonoBehaviour.FixedUpdate (Read Only). This is the time in seconds since the start of the game.
  11140. */
  11141. public static get fixedUnscaledTimeAsDouble(): number;
  11142. /** The timeScale-independent interval in seconds from the last frame to the current one (Read Only).
  11143. */
  11144. public static get unscaledDeltaTime(): number;
  11145. /** The timeScale-independent interval in seconds from the last MonoBehaviour.FixedUpdate phase to the current one (Read Only).
  11146. */
  11147. public static get fixedUnscaledDeltaTime(): number;
  11148. /** The interval in seconds at which physics and other fixed frame rate updates (like MonoBehaviour's MonoBehaviour.FixedUpdate) are performed.
  11149. */
  11150. public static get fixedDeltaTime(): number;
  11151. public static set fixedDeltaTime(value: number);
  11152. /** The maximum value of Time.deltaTime in any given frame. This is a time in seconds that limits the increase of Time.time between two frames.
  11153. */
  11154. public static get maximumDeltaTime(): number;
  11155. public static set maximumDeltaTime(value: number);
  11156. /** A smoothed out Time.deltaTime (Read Only).
  11157. */
  11158. public static get smoothDeltaTime(): number;
  11159. /** The maximum time a frame can spend on particle updates. If the frame takes longer than this, then updates are split into multiple smaller updates.
  11160. */
  11161. public static get maximumParticleDeltaTime(): number;
  11162. public static set maximumParticleDeltaTime(value: number);
  11163. /** The scale at which time passes.
  11164. */
  11165. public static get timeScale(): number;
  11166. public static set timeScale(value: number);
  11167. /** The total number of frames since the start of the game (Read Only).
  11168. */
  11169. public static get frameCount(): number;
  11170. public static get renderedFrameCount(): number;
  11171. /** The real time in seconds since the game started (Read Only).
  11172. */
  11173. public static get realtimeSinceStartup(): number;
  11174. /** The real time in seconds since the game started (Read Only). Double precision version of Time.realtimeSinceStartup.
  11175. */
  11176. public static get realtimeSinceStartupAsDouble(): number;
  11177. /** Slows your application’s playback time to allow Unity to save screenshots in between frames.
  11178. */
  11179. public static get captureDeltaTime(): number;
  11180. public static set captureDeltaTime(value: number);
  11181. /** The reciprocal of Time.captureDeltaTime.
  11182. */
  11183. public static get captureFramerate(): number;
  11184. public static set captureFramerate(value: number);
  11185. /** Returns true if called inside a fixed time step callback (like MonoBehaviour's MonoBehaviour.FixedUpdate), otherwise returns false.
  11186. */
  11187. public static get inFixedTimeStep(): boolean;
  11188. public constructor ()
  11189. }
  11190. /** Script interface for.
  11191. */
  11192. class Font extends UnityEngine.Object
  11193. {
  11194. protected [__keep_incompatibility]: never;
  11195. /** The material used for the font display.
  11196. */
  11197. public get material(): UnityEngine.Material;
  11198. public set material(value: UnityEngine.Material);
  11199. public get fontNames(): System.Array$1<string>;
  11200. public set fontNames(value: System.Array$1<string>);
  11201. /** Is the font a dynamic font.
  11202. */
  11203. public get dynamic(): boolean;
  11204. /** The ascent of the font.
  11205. */
  11206. public get ascent(): number;
  11207. /** The default size of the font.
  11208. */
  11209. public get fontSize(): number;
  11210. /** Access an array of all characters contained in the font texture.
  11211. */
  11212. public get characterInfo(): System.Array$1<UnityEngine.CharacterInfo>;
  11213. public set characterInfo(value: System.Array$1<UnityEngine.CharacterInfo>);
  11214. /** The line height of the font.
  11215. */
  11216. public get lineHeight(): number;
  11217. public static add_textureRebuilt ($value: System.Action$1<UnityEngine.Font>) : void
  11218. public static remove_textureRebuilt ($value: System.Action$1<UnityEngine.Font>) : void
  11219. /** Creates a Font object which lets you render a font installed on the user machine.
  11220. * @param $fontname The name of the OS font to use for this font object.
  11221. * @param $size The default character size of the generated font.
  11222. * @param $fontnames Am array of names of OS fonts to use for this font object. When rendering characters using this font object, the first font which is installed on the machine, which contains the requested character will be used.
  11223. * @returns The generate Font object.
  11224. */
  11225. public static CreateDynamicFontFromOSFont ($fontname: string, $size: number) : UnityEngine.Font
  11226. /** Creates a Font object which lets you render a font installed on the user machine.
  11227. * @param $fontname The name of the OS font to use for this font object.
  11228. * @param $size The default character size of the generated font.
  11229. * @param $fontnames Am array of names of OS fonts to use for this font object. When rendering characters using this font object, the first font which is installed on the machine, which contains the requested character will be used.
  11230. * @returns The generate Font object.
  11231. */
  11232. public static CreateDynamicFontFromOSFont ($fontnames: System.Array$1<string>, $size: number) : UnityEngine.Font
  11233. /** Returns the maximum number of verts that the text generator may return for a given string.
  11234. * @param $str Input string.
  11235. */
  11236. public static GetMaxVertsForString ($str: string) : number
  11237. /** Does this font have a specific character?
  11238. * @param $c The character to check for.
  11239. * @returns Whether or not the font has the character specified.
  11240. */
  11241. public HasCharacter ($c: number) : boolean
  11242. /** Get names of fonts installed on the machine.
  11243. * @returns An array of the names of all fonts installed on the machine.
  11244. */
  11245. public static GetOSInstalledFontNames () : System.Array$1<string>
  11246. /** Gets the file paths of the fonts that are installed on the operating system.
  11247. * @returns An array of the file paths of all fonts installed on the machine.
  11248. */
  11249. public static GetPathsToOSFonts () : System.Array$1<string>
  11250. /** Get rendering info for a specific character.
  11251. * @param $ch The character you need rendering information for.
  11252. * @param $info Returns the CharacterInfo struct with the rendering information for the character (if available).
  11253. * @param $size The size of the character (default value of zero will use font default size).
  11254. * @param $style The style of the character.
  11255. */
  11256. public GetCharacterInfo ($ch: number, $info: $Ref<UnityEngine.CharacterInfo>, $size: number, $style: UnityEngine.FontStyle) : boolean
  11257. /** Get rendering info for a specific character.
  11258. * @param $ch The character you need rendering information for.
  11259. * @param $info Returns the CharacterInfo struct with the rendering information for the character (if available).
  11260. * @param $size The size of the character (default value of zero will use font default size).
  11261. * @param $style The style of the character.
  11262. */
  11263. public GetCharacterInfo ($ch: number, $info: $Ref<UnityEngine.CharacterInfo>, $size: number) : boolean
  11264. /** Get rendering info for a specific character.
  11265. * @param $ch The character you need rendering information for.
  11266. * @param $info Returns the CharacterInfo struct with the rendering information for the character (if available).
  11267. * @param $size The size of the character (default value of zero will use font default size).
  11268. * @param $style The style of the character.
  11269. */
  11270. public GetCharacterInfo ($ch: number, $info: $Ref<UnityEngine.CharacterInfo>) : boolean
  11271. /** Request characters to be added to the font texture (dynamic fonts only).
  11272. * @param $characters The characters which are needed to be in the font texture.
  11273. * @param $size The size of the requested characters (the default value of zero will use the font's default size).
  11274. * @param $style The style of the requested characters.
  11275. */
  11276. public RequestCharactersInTexture ($characters: string, $size: number, $style: UnityEngine.FontStyle) : void
  11277. public RequestCharactersInTexture ($characters: string, $size: number) : void
  11278. public RequestCharactersInTexture ($characters: string) : void
  11279. public constructor ()
  11280. public constructor ($name: string)
  11281. }
  11282. /** Specification for how to render a character from the font texture. See Font.characterInfo.
  11283. */
  11284. class CharacterInfo extends System.ValueType
  11285. {
  11286. protected [__keep_incompatibility]: never;
  11287. }
  11288. /** Font Style applied to GUI Texts, Text Meshes or GUIStyles.
  11289. */
  11290. enum FontStyle
  11291. { Normal = 0, Bold = 1, Italic = 2, BoldAndItalic = 3 }
  11292. /** Script interface for the Built-in Particle System. Unity's powerful and versatile particle system implementation.
  11293. */
  11294. class ParticleSystem extends UnityEngine.Component
  11295. {
  11296. protected [__keep_incompatibility]: never;
  11297. /** Determines whether the Particle System is playing.
  11298. */
  11299. public get isPlaying(): boolean;
  11300. /** Determines whether the Particle System is emitting particles. A Particle System may stop emitting when its emission module has finished, it has been paused or if the system has been stopped using ParticleSystem.Stop|Stop with the ParticleSystemStopBehavior.StopEmitting|StopEmitting flag. Resume emitting by calling ParticleSystem.Play|Play.
  11301. */
  11302. public get isEmitting(): boolean;
  11303. /** Determines whether the Particle System is in the stopped state.
  11304. */
  11305. public get isStopped(): boolean;
  11306. /** Determines whether the Particle System is paused.
  11307. */
  11308. public get isPaused(): boolean;
  11309. /** The current number of particles (Read Only). The number doesn't include particles of child Particle Systems
  11310. */
  11311. public get particleCount(): number;
  11312. /** Playback position in seconds.
  11313. */
  11314. public get time(): number;
  11315. public set time(value: number);
  11316. /** Total playback time in seconds, including the Start Delay setting.
  11317. */
  11318. public get totalTime(): number;
  11319. /** Override the random seed used for the Particle System emission.
  11320. */
  11321. public get randomSeed(): number;
  11322. public set randomSeed(value: number);
  11323. /** Controls whether the Particle System uses an automatically-generated random number to seed the random number generator.
  11324. */
  11325. public get useAutoRandomSeed(): boolean;
  11326. public set useAutoRandomSeed(value: boolean);
  11327. /** Does this system support Procedural Simulation?
  11328. */
  11329. public get proceduralSimulationSupported(): boolean;
  11330. /** Determines whether the Particle System rotates its particles around only the Z axis, or whether the system specifies separate values for the X, Y and Z axes.
  11331. */
  11332. public get has3DParticleRotations(): boolean;
  11333. /** Determines whether the Particle System uses a single value for the width and height (and depth, when using meshes), or if the system specifies different values for each axis.
  11334. */
  11335. public get hasNonUniformParticleSizes(): boolean;
  11336. /** Access the main Particle System settings.
  11337. */
  11338. public get main(): UnityEngine.ParticleSystem.MainModule;
  11339. /** Script interface for the EmissionModule of a Particle System.
  11340. */
  11341. public get emission(): UnityEngine.ParticleSystem.EmissionModule;
  11342. /** Script interface for the ShapeModule of a Particle System.
  11343. */
  11344. public get shape(): UnityEngine.ParticleSystem.ShapeModule;
  11345. /** Script interface for the VelocityOverLifetimeModule of a Particle System.
  11346. */
  11347. public get velocityOverLifetime(): UnityEngine.ParticleSystem.VelocityOverLifetimeModule;
  11348. /** Script interface for the LimitVelocityOverLifetimeModule of a Particle System. .
  11349. */
  11350. public get limitVelocityOverLifetime(): UnityEngine.ParticleSystem.LimitVelocityOverLifetimeModule;
  11351. /** Script interface for the InheritVelocityModule of a Particle System.
  11352. */
  11353. public get inheritVelocity(): UnityEngine.ParticleSystem.InheritVelocityModule;
  11354. /** Script interface for the Particle System Lifetime By Emitter Speed module.
  11355. */
  11356. public get lifetimeByEmitterSpeed(): UnityEngine.ParticleSystem.LifetimeByEmitterSpeedModule;
  11357. /** Script interface for the ForceOverLifetimeModule of a Particle System.
  11358. */
  11359. public get forceOverLifetime(): UnityEngine.ParticleSystem.ForceOverLifetimeModule;
  11360. /** Script interface for the ColorOverLifetimeModule of a Particle System.
  11361. */
  11362. public get colorOverLifetime(): UnityEngine.ParticleSystem.ColorOverLifetimeModule;
  11363. /** Script interface for the ColorByLifetimeModule of a Particle System.
  11364. */
  11365. public get colorBySpeed(): UnityEngine.ParticleSystem.ColorBySpeedModule;
  11366. /** Script interface for the SizeOverLifetimeModule of a Particle System.
  11367. */
  11368. public get sizeOverLifetime(): UnityEngine.ParticleSystem.SizeOverLifetimeModule;
  11369. /** Script interface for the SizeBySpeedModule of a Particle System.
  11370. */
  11371. public get sizeBySpeed(): UnityEngine.ParticleSystem.SizeBySpeedModule;
  11372. /** Script interface for the RotationOverLifetimeModule of a Particle System.
  11373. */
  11374. public get rotationOverLifetime(): UnityEngine.ParticleSystem.RotationOverLifetimeModule;
  11375. /** Script interface for the RotationBySpeedModule of a Particle System.
  11376. */
  11377. public get rotationBySpeed(): UnityEngine.ParticleSystem.RotationBySpeedModule;
  11378. /** Script interface for the ExternalForcesModule of a Particle System.
  11379. */
  11380. public get externalForces(): UnityEngine.ParticleSystem.ExternalForcesModule;
  11381. /** Script interface for the NoiseModule of a Particle System.
  11382. */
  11383. public get noise(): UnityEngine.ParticleSystem.NoiseModule;
  11384. /** Script interface for the CollisionModule of a Particle System.
  11385. */
  11386. public get collision(): UnityEngine.ParticleSystem.CollisionModule;
  11387. /** Script interface for the TriggerModule of a Particle System.
  11388. */
  11389. public get trigger(): UnityEngine.ParticleSystem.TriggerModule;
  11390. /** Script interface for the SubEmittersModule of a Particle System.
  11391. */
  11392. public get subEmitters(): UnityEngine.ParticleSystem.SubEmittersModule;
  11393. /** Script interface for the TextureSheetAnimationModule of a Particle System.
  11394. */
  11395. public get textureSheetAnimation(): UnityEngine.ParticleSystem.TextureSheetAnimationModule;
  11396. /** Script interface for the LightsModule of a Particle System.
  11397. */
  11398. public get lights(): UnityEngine.ParticleSystem.LightsModule;
  11399. /** Script interface for the TrailsModule of a Particle System.
  11400. */
  11401. public get trails(): UnityEngine.ParticleSystem.TrailModule;
  11402. /** Script interface for the CustomDataModule of a Particle System.
  11403. */
  11404. public get customData(): UnityEngine.ParticleSystem.CustomDataModule;
  11405. public SetParticles ($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>, $size: number, $offset: number) : void
  11406. public SetParticles ($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>, $size: number) : void
  11407. public SetParticles ($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>) : void
  11408. public SetParticles ($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>, $size: number, $offset: number) : void
  11409. public SetParticles ($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>, $size: number) : void
  11410. public SetParticles ($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>) : void
  11411. public GetParticles ($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>, $size: number, $offset: number) : number
  11412. public GetParticles ($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>, $size: number) : number
  11413. public GetParticles ($particles: System.Array$1<UnityEngine.ParticleSystem.Particle>) : number
  11414. public GetParticles ($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>, $size: number, $offset: number) : number
  11415. public GetParticles ($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>, $size: number) : number
  11416. public GetParticles ($particles: Unity.Collections.NativeArray$1<UnityEngine.ParticleSystem.Particle>) : number
  11417. public SetCustomParticleData ($customData: System.Collections.Generic.List$1<UnityEngine.Vector4>, $streamIndex: UnityEngine.ParticleSystemCustomData) : void
  11418. public GetCustomParticleData ($customData: System.Collections.Generic.List$1<UnityEngine.Vector4>, $streamIndex: UnityEngine.ParticleSystemCustomData) : number
  11419. /** Returns all the data that relates to the current internal state of the Particle System.
  11420. * @returns The current internal state of the Particle System.
  11421. */
  11422. public GetPlaybackState () : UnityEngine.ParticleSystem.PlaybackState
  11423. public SetPlaybackState ($playbackState: UnityEngine.ParticleSystem.PlaybackState) : void
  11424. /** Returns all the data relating to the current internal state of the Particle System Trails.
  11425. * @returns The variable to populate with the Trails that currently belong to the Particle System..
  11426. */
  11427. public GetTrails () : UnityEngine.ParticleSystem.Trails
  11428. public GetTrails ($trailData: $Ref<UnityEngine.ParticleSystem.Trails>) : number
  11429. public SetTrails ($trailData: UnityEngine.ParticleSystem.Trails) : void
  11430. /** Fast-forwards the Particle System by simulating particles over the given period of time, then pauses it.
  11431. * @param $t Time period in seconds to advance the ParticleSystem simulation by. If restart is true, the ParticleSystem will be reset to 0 time, and then advanced by this value. If restart is false, the ParticleSystem simulation will be advanced in time from its current state by this value.
  11432. * @param $withChildren Fast-forward all child Particle Systems as well.
  11433. * @param $restart Restart and start from the beginning.
  11434. * @param $fixedTimeStep Only update the system at fixed intervals, based on the value in "Fixed Time" in the Time options.
  11435. */
  11436. public Simulate ($t: number, $withChildren: boolean, $restart: boolean, $fixedTimeStep: boolean) : void
  11437. /** Fast-forwards the Particle System by simulating particles over the given period of time, then pauses it.
  11438. * @param $t Time period in seconds to advance the ParticleSystem simulation by. If restart is true, the ParticleSystem will be reset to 0 time, and then advanced by this value. If restart is false, the ParticleSystem simulation will be advanced in time from its current state by this value.
  11439. * @param $withChildren Fast-forward all child Particle Systems as well.
  11440. * @param $restart Restart and start from the beginning.
  11441. * @param $fixedTimeStep Only update the system at fixed intervals, based on the value in "Fixed Time" in the Time options.
  11442. */
  11443. public Simulate ($t: number, $withChildren: boolean, $restart: boolean) : void
  11444. /** Fast-forwards the Particle System by simulating particles over the given period of time, then pauses it.
  11445. * @param $t Time period in seconds to advance the ParticleSystem simulation by. If restart is true, the ParticleSystem will be reset to 0 time, and then advanced by this value. If restart is false, the ParticleSystem simulation will be advanced in time from its current state by this value.
  11446. * @param $withChildren Fast-forward all child Particle Systems as well.
  11447. * @param $restart Restart and start from the beginning.
  11448. * @param $fixedTimeStep Only update the system at fixed intervals, based on the value in "Fixed Time" in the Time options.
  11449. */
  11450. public Simulate ($t: number, $withChildren: boolean) : void
  11451. /** Fast-forwards the Particle System by simulating particles over the given period of time, then pauses it.
  11452. * @param $t Time period in seconds to advance the ParticleSystem simulation by. If restart is true, the ParticleSystem will be reset to 0 time, and then advanced by this value. If restart is false, the ParticleSystem simulation will be advanced in time from its current state by this value.
  11453. * @param $withChildren Fast-forward all child Particle Systems as well.
  11454. * @param $restart Restart and start from the beginning.
  11455. * @param $fixedTimeStep Only update the system at fixed intervals, based on the value in "Fixed Time" in the Time options.
  11456. */
  11457. public Simulate ($t: number) : void
  11458. /** Starts the Particle System.
  11459. * @param $withChildren Play all child Particle Systems as well.
  11460. */
  11461. public Play ($withChildren: boolean) : void
  11462. /** Starts the Particle System.
  11463. * @param $withChildren Play all child Particle Systems as well.
  11464. */
  11465. public Play () : void
  11466. /** Pauses the system so no new particles are emitted and the existing particles are not updated.
  11467. * @param $withChildren Pause all child Particle Systems as well.
  11468. */
  11469. public Pause ($withChildren: boolean) : void
  11470. /** Pauses the system so no new particles are emitted and the existing particles are not updated.
  11471. * @param $withChildren Pause all child Particle Systems as well.
  11472. */
  11473. public Pause () : void
  11474. /** Stops playing the Particle System using the supplied stop behaviour.
  11475. * @param $withChildren Stop all child Particle Systems as well.
  11476. * @param $stopBehavior Stop emitting or stop emitting and clear the system.
  11477. */
  11478. public Stop ($withChildren: boolean, $stopBehavior: UnityEngine.ParticleSystemStopBehavior) : void
  11479. /** Stops playing the Particle System using the supplied stop behaviour.
  11480. * @param $withChildren Stop all child Particle Systems as well.
  11481. * @param $stopBehavior Stop emitting or stop emitting and clear the system.
  11482. */
  11483. public Stop ($withChildren: boolean) : void
  11484. /** Stops playing the Particle System using the supplied stop behaviour.
  11485. * @param $withChildren Stop all child Particle Systems as well.
  11486. * @param $stopBehavior Stop emitting or stop emitting and clear the system.
  11487. */
  11488. public Stop () : void
  11489. /** Remove all particles in the Particle System.
  11490. * @param $withChildren Clear all child Particle Systems as well.
  11491. */
  11492. public Clear ($withChildren: boolean) : void
  11493. /** Remove all particles in the Particle System.
  11494. * @param $withChildren Clear all child Particle Systems as well.
  11495. */
  11496. public Clear () : void
  11497. /** Does the Particle System contain any live particles, or will it produce more?
  11498. * @param $withChildren Check all child Particle Systems as well.
  11499. * @returns True if the Particle System contains live particles or is still creating new particles. False if the Particle System has stopped emitting particles and all particles are dead.
  11500. */
  11501. public IsAlive ($withChildren: boolean) : boolean
  11502. /** Does the Particle System contain any live particles, or will it produce more?
  11503. * @param $withChildren Check all child Particle Systems as well.
  11504. * @returns True if the Particle System contains live particles or is still creating new particles. False if the Particle System has stopped emitting particles and all particles are dead.
  11505. */
  11506. public IsAlive () : boolean
  11507. /** Emit count particles immediately.
  11508. * @param $count Number of particles to emit.
  11509. */
  11510. public Emit ($count: number) : void
  11511. public Emit ($emitParams: UnityEngine.ParticleSystem.EmitParams, $count: number) : void
  11512. /** Triggers the specified sub emitter on all particles of the Particle System.
  11513. * @param $subEmitterIndex Index of the sub emitter to trigger.
  11514. */
  11515. public TriggerSubEmitter ($subEmitterIndex: number) : void
  11516. public TriggerSubEmitter ($subEmitterIndex: number, $particle: $Ref<UnityEngine.ParticleSystem.Particle>) : void
  11517. public TriggerSubEmitter ($subEmitterIndex: number, $particles: System.Collections.Generic.List$1<UnityEngine.ParticleSystem.Particle>) : void
  11518. /** Reset the cache of reserved graphics memory used for efficient rendering of Particle Systems.
  11519. */
  11520. public static ResetPreMappedBufferMemory () : void
  11521. /** Limits the amount of graphics memory Unity reserves for efficient rendering of Particle Systems.
  11522. * @param $vertexBuffersCount The maximum number of cached vertex buffers.
  11523. * @param $indexBuffersCount The maximum number of cached index buffers.
  11524. */
  11525. public static SetMaximumPreMappedBufferCounts ($vertexBuffersCount: number, $indexBuffersCount: number) : void
  11526. /** Ensures that the ParticleSystemJobs.ParticleSystemJobData._axisOfRotations|axisOfRotations particle attribute array is allocated.
  11527. */
  11528. public AllocateAxisOfRotationAttribute () : void
  11529. /** Ensures that the ParticleSystemJobs.ParticleSystemJobData._meshIndices|meshIndices particle attribute array is allocated.
  11530. */
  11531. public AllocateMeshIndexAttribute () : void
  11532. /** Ensures that the ParticleSystemJobs.ParticleSystemJobData.customData1|customData1 and ParticleSystemJobs.ParticleSystemJobData.customData1|customData2 particle attribute arrays are allocated.
  11533. * @param $stream The custom data stream to allocate.
  11534. */
  11535. public AllocateCustomDataAttribute ($stream: UnityEngine.ParticleSystemCustomData) : void
  11536. public constructor ()
  11537. }
  11538. /** The space to simulate particles in.
  11539. */
  11540. enum ParticleSystemSimulationSpace
  11541. { Local = 0, World = 1, Custom = 2 }
  11542. /** Control how particle systems apply transform scale.
  11543. */
  11544. enum ParticleSystemScalingMode
  11545. { Hierarchy = 0, Local = 1, Shape = 2 }
  11546. /** Which stream of custom particle data to set.
  11547. */
  11548. enum ParticleSystemCustomData
  11549. { Custom1 = 0, Custom2 = 1 }
  11550. /** The behavior to apply when calling ParticleSystem.Stop|Stop.
  11551. */
  11552. enum ParticleSystemStopBehavior
  11553. { StopEmittingAndClear = 0, StopEmitting = 1 }
  11554. /** RenderMode for the Canvas.
  11555. */
  11556. enum RenderMode
  11557. { ScreenSpaceOverlay = 0, ScreenSpaceCamera = 1, WorldSpace = 2 }
  11558. /** A base class of all colliders.
  11559. */
  11560. class Collider extends UnityEngine.Component
  11561. {
  11562. protected [__keep_incompatibility]: never;
  11563. }
  11564. /** Structure used to get information back from a raycast.
  11565. */
  11566. class RaycastHit extends System.ValueType
  11567. {
  11568. protected [__keep_incompatibility]: never;
  11569. }
  11570. /** A mesh collider allows you to do between meshes and primitives.
  11571. */
  11572. class MeshCollider extends UnityEngine.Collider
  11573. {
  11574. protected [__keep_incompatibility]: never;
  11575. }
  11576. /** General functionality for all renderers.
  11577. */
  11578. class Renderer extends UnityEngine.Component
  11579. {
  11580. protected [__keep_incompatibility]: never;
  11581. }
  11582. /** Renders meshes inserted by the MeshFilter or TextMesh.
  11583. */
  11584. class MeshRenderer extends UnityEngine.Renderer
  11585. {
  11586. protected [__keep_incompatibility]: never;
  11587. }
  11588. /** Represents a Sprite object for use in 2D gameplay.
  11589. */
  11590. class Sprite extends UnityEngine.Object
  11591. {
  11592. protected [__keep_incompatibility]: never;
  11593. }
  11594. /** Types of modifier key that can be active during a keystroke event.
  11595. */
  11596. enum EventModifiers
  11597. { None = 0, Shift = 1, Control = 2, Alt = 4, Command = 8, Numeric = 16, CapsLock = 32, FunctionKey = 64 }
  11598. }
  11599. namespace Unity.Collections {
  11600. class NativeArray$1<T> extends System.ValueType implements System.IEquatable$1<Unity.Collections.NativeArray$1<T>>, System.Collections.Generic.IEnumerable$1<T>, System.Collections.IEnumerable, System.IDisposable
  11601. {
  11602. protected [__keep_incompatibility]: never;
  11603. public [Symbol.iterator]() : IterableIterator<T>
  11604. }
  11605. }
  11606. namespace UnityEngine.SceneManagement {
  11607. /** Run-time data structure for *.unity file.
  11608. */
  11609. class Scene extends System.ValueType
  11610. {
  11611. protected [__keep_incompatibility]: never;
  11612. }
  11613. }
  11614. namespace UnityEngine.Playables {
  11615. /** Use the PlayableGraph to manage Playable creations and destructions.
  11616. */
  11617. class PlayableGraph extends System.ValueType
  11618. {
  11619. protected [__keep_incompatibility]: never;
  11620. }
  11621. }
  11622. namespace UnityEngine.AudioClip {
  11623. interface PCMReaderCallback
  11624. {
  11625. (data: System.Array$1<number>) : void;
  11626. Invoke?: (data: System.Array$1<number>) => void;
  11627. }
  11628. var PCMReaderCallback: { new (func: (data: System.Array$1<number>) => void): PCMReaderCallback; }
  11629. interface PCMSetPositionCallback
  11630. {
  11631. (position: number) : void;
  11632. Invoke?: (position: number) => void;
  11633. }
  11634. var PCMSetPositionCallback: { new (func: (position: number) => void): PCMSetPositionCallback; }
  11635. }
  11636. namespace UnityEngine.Audio {
  11637. /** Object representing a group in the mixer.
  11638. */
  11639. class AudioMixerGroup extends UnityEngine.Object implements UnityEngine.Internal.ISubAssetNotDuplicatable
  11640. {
  11641. protected [__keep_incompatibility]: never;
  11642. }
  11643. }
  11644. namespace UnityEngine.Internal {
  11645. interface ISubAssetNotDuplicatable
  11646. {
  11647. }
  11648. }
  11649. namespace UnityEngine.Experimental.Rendering {
  11650. /** Use this format to create either Textures or RenderTextures from scripts.
  11651. */
  11652. enum GraphicsFormat
  11653. { 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, YUV2 = 141, DepthAuto = 142, ShadowAuto = 143, VideoAuto = 144, RGBA_ASTC4X4_UFloat = 145, RGBA_ASTC5X5_UFloat = 146, RGBA_ASTC6X6_UFloat = 147, RGBA_ASTC8X8_UFloat = 148, RGBA_ASTC10X10_UFloat = 149, RGBA_ASTC12X12_UFloat = 150, D16_UNorm_S8_UInt = 151 }
  11654. /**
  11655. Use a default format to create either Textures or RenderTextures from scripts based on platform specific capability.
  11656. */
  11657. enum DefaultFormat
  11658. { LDR = 0, HDR = 1, DepthStencil = 2, Shadow = 3, Video = 4 }
  11659. enum TextureCreationFlags
  11660. { None = 0, MipChain = 1, DontInitializePixels = 4, Crunch = 64, DontUploadUponCreate = 1024, IgnoreMipmapLimit = 2048 }
  11661. /** Use this format usages to figure out the capabilities of specific GraphicsFormat
  11662. */
  11663. enum FormatUsage
  11664. { Sample = 0, Linear = 1, Sparse = 2, Render = 4, Blend = 5, GetPixels = 6, SetPixels = 7, SetPixels32 = 8, ReadPixels = 9, LoadStore = 10, MSAA2x = 11, MSAA4x = 12, MSAA8x = 13, StencilSampling = 16 }
  11665. }
  11666. namespace UnityEngine.Rendering {
  11667. /** Texture "dimension" (type).
  11668. */
  11669. enum TextureDimension
  11670. { Unknown = -1, None = 0, Any = 1, Tex2D = 2, Tex3D = 3, Cube = 4, Tex2DArray = 5, CubeArray = 6 }
  11671. /** Represents a shader keyword declared in a shader source file.
  11672. */
  11673. class LocalKeyword extends System.ValueType implements System.IEquatable$1<UnityEngine.Rendering.LocalKeyword>
  11674. {
  11675. protected [__keep_incompatibility]: never;
  11676. }
  11677. /** Types of data that you can encapsulate within a render texture.
  11678. */
  11679. enum RenderTextureSubElement
  11680. { Color = 0, Depth = 1, Stencil = 2, Default = 3 }
  11681. /** Opaque object sorting mode of a Camera.
  11682. */
  11683. enum OpaqueSortMode
  11684. { Default = 0, FrontToBack = 1, NoDistanceSort = 2 }
  11685. /** Defines a place in camera's rendering to attach Rendering.CommandBuffer objects to.
  11686. */
  11687. enum CameraEvent
  11688. { 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 }
  11689. /** List of graphics commands to execute.
  11690. */
  11691. class CommandBuffer extends System.Object implements System.IDisposable
  11692. {
  11693. protected [__keep_incompatibility]: never;
  11694. }
  11695. /** Describes the desired characteristics with respect to prioritisation and load balancing of the queue that a command buffer being submitted via Graphics.ExecuteCommandBufferAsync or [[ScriptableRenderContext.ExecuteCommandBufferAsync] should be sent to.
  11696. */
  11697. enum ComputeQueueType
  11698. { Default = 0, Background = 1, Urgent = 2 }
  11699. /** Parameters that configure a culling operation in the Scriptable Render Pipeline.
  11700. */
  11701. class ScriptableCullingParameters extends System.ValueType implements System.IEquatable$1<UnityEngine.Rendering.ScriptableCullingParameters>
  11702. {
  11703. protected [__keep_incompatibility]: never;
  11704. }
  11705. enum ShaderHardwareTier
  11706. { Tier1 = 0, Tier2 = 1, Tier3 = 2 }
  11707. /** Represents a global shader keyword.
  11708. */
  11709. class GlobalKeyword extends System.ValueType
  11710. {
  11711. protected [__keep_incompatibility]: never;
  11712. }
  11713. /** Represents the local keyword space of a Shader or ComputeShader.
  11714. */
  11715. class LocalKeywordSpace extends System.ValueType implements System.IEquatable$1<UnityEngine.Rendering.LocalKeywordSpace>
  11716. {
  11717. protected [__keep_incompatibility]: never;
  11718. }
  11719. /** Shader tag ids are used to refer to various names in shaders.
  11720. */
  11721. class ShaderTagId extends System.ValueType implements System.IEquatable$1<UnityEngine.Rendering.ShaderTagId>
  11722. {
  11723. protected [__keep_incompatibility]: never;
  11724. }
  11725. /** Type of a given shader property.
  11726. */
  11727. enum ShaderPropertyType
  11728. { Color = 0, Vector = 1, Float = 2, Range = 3, Texture = 4, Int = 5 }
  11729. /** Flags that control how a shader property behaves.
  11730. */
  11731. enum ShaderPropertyFlags
  11732. { None = 0, HideInInspector = 1, PerRendererData = 2, NoScaleOffset = 4, Normal = 8, HDR = 16, Gamma = 32, NonModifiableTextureData = 64, MainTexture = 128, MainColor = 256 }
  11733. /** An enum that represents.
  11734. */
  11735. enum GraphicsTier
  11736. { Tier1 = 0, Tier2 = 1, Tier3 = 2 }
  11737. /** Specifies the OpenGL ES version.
  11738. */
  11739. enum OpenGLESVersion
  11740. { None = 0, OpenGLES20 = 1, OpenGLES30 = 2, OpenGLES31 = 3, OpenGLES31AEP = 4, OpenGLES32 = 5 }
  11741. /** Used to manage synchronisation between tasks on async compute queues and the graphics queue.
  11742. */
  11743. class GraphicsFence extends System.ValueType
  11744. {
  11745. protected [__keep_incompatibility]: never;
  11746. }
  11747. /** The stages of the draw call processing on the GPU.
  11748. */
  11749. enum SynchronisationStage
  11750. { VertexProcessing = 0, PixelProcessing = 1 }
  11751. /** The type of GraphicFence.
  11752. */
  11753. enum GraphicsFenceType
  11754. { AsyncQueueSynchronisation = 0, CPUSynchronisation = 1 }
  11755. /** Describes the various stages of GPU processing against which the GraphicsFence can be set and waited against.
  11756. */
  11757. enum SynchronisationStageFlags
  11758. { VertexProcessing = 1, PixelProcessing = 2, ComputeProcessing = 4, AllGPUOperations = 7 }
  11759. /** How shadows are cast from this object.
  11760. */
  11761. enum ShadowCastingMode
  11762. { Off = 0, On = 1, TwoSided = 2, ShadowsOnly = 3 }
  11763. /** Light probe interpolation type.
  11764. */
  11765. enum LightProbeUsage
  11766. { Off = 0, BlendProbes = 1, UseProxyVolume = 2, CustomProvided = 4 }
  11767. /** This functionality is deprecated, and should no longer be used. Please use GraphicsFence.
  11768. */
  11769. class GPUFence extends System.ValueType
  11770. {
  11771. protected [__keep_incompatibility]: never;
  11772. }
  11773. /** Format of the mesh index buffer data.
  11774. */
  11775. enum IndexFormat
  11776. { UInt16 = 0, UInt32 = 1 }
  11777. /** Information about a single VertexAttribute of a Mesh vertex.
  11778. */
  11779. class VertexAttributeDescriptor extends System.ValueType implements System.IEquatable$1<UnityEngine.Rendering.VertexAttributeDescriptor>
  11780. {
  11781. protected [__keep_incompatibility]: never;
  11782. }
  11783. /** Possible attribute types that describe a vertex in a Mesh.
  11784. */
  11785. enum VertexAttribute
  11786. { Position = 0, Normal = 1, Tangent = 2, Color = 3, TexCoord0 = 4, TexCoord1 = 5, TexCoord2 = 6, TexCoord3 = 7, TexCoord4 = 8, TexCoord5 = 9, TexCoord6 = 10, TexCoord7 = 11, BlendWeight = 12, BlendIndices = 13 }
  11787. /** Data type of a VertexAttribute.
  11788. */
  11789. enum VertexAttributeFormat
  11790. { Float32 = 0, Float16 = 1, UNorm8 = 2, SNorm8 = 3, UNorm16 = 4, SNorm16 = 5, UInt8 = 6, SInt8 = 7, UInt16 = 8, SInt16 = 9, UInt32 = 10, SInt32 = 11 }
  11791. /** Contains information about a single sub-mesh of a Mesh.
  11792. */
  11793. class SubMeshDescriptor extends System.ValueType
  11794. {
  11795. protected [__keep_incompatibility]: never;
  11796. }
  11797. /** Mesh data update flags.
  11798. */
  11799. enum MeshUpdateFlags
  11800. { Default = 0, DontValidateIndices = 1, DontResetBoneBounds = 2, DontNotifyMeshUsers = 4, DontRecalculateBounds = 8 }
  11801. /** Determines the data that Unity returns when you call Mesh.GetBlendShapeBuffer.
  11802. */
  11803. enum BlendShapeBufferLayout
  11804. { PerShape = 0, PerVertex = 1 }
  11805. /** An asset that produces a specific IRenderPipeline.
  11806. */
  11807. class RenderPipelineAsset extends UnityEngine.ScriptableObject
  11808. {
  11809. protected [__keep_incompatibility]: never;
  11810. }
  11811. /** Graphics device API type.
  11812. */
  11813. enum GraphicsDeviceType
  11814. { 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, GameCoreXboxOne = 24, GameCoreScarlett = -1, GameCoreXboxSeries = 25, PlayStation5 = 26, PlayStation5NGGC = 27 }
  11815. /** Options for the application's actual rendering threading mode.
  11816. */
  11817. enum RenderingThreadingMode
  11818. { Direct = 0, SingleThreaded = 1, MultiThreaded = 2, LegacyJobified = 3, NativeGraphicsJobs = 4, NativeGraphicsJobsWithoutRenderThread = 5 }
  11819. /** Capabilities of the foveated rendering implementation.
  11820. */
  11821. enum FoveatedRenderingCaps
  11822. { None = 0, FoveationImage = 1, NonUniformRaster = 2 }
  11823. /** Support for various Graphics.CopyTexture cases.
  11824. */
  11825. enum CopyTextureSupport
  11826. { None = 0, Basic = 1, Copy3D = 2, DifferentTypes = 4, TextureToRT = 8, RTToTexture = 16 }
  11827. /** Blend mode for controlling the blending.
  11828. */
  11829. enum BlendMode
  11830. { Zero = 0, One = 1, DstColor = 2, SrcColor = 3, OneMinusDstColor = 4, SrcAlpha = 5, OneMinusSrcColor = 6, DstAlpha = 7, OneMinusDstAlpha = 8, SrcAlphaSaturate = 9, OneMinusSrcAlpha = 10 }
  11831. }
  11832. namespace UnityEngine.Application {
  11833. interface AdvertisingIdentifierCallback
  11834. {
  11835. (advertisingId: string, trackingEnabled: boolean, errorMsg: string) : void;
  11836. Invoke?: (advertisingId: string, trackingEnabled: boolean, errorMsg: string) => void;
  11837. }
  11838. var AdvertisingIdentifierCallback: { new (func: (advertisingId: string, trackingEnabled: boolean, errorMsg: string) => void): AdvertisingIdentifierCallback; }
  11839. interface LowMemoryCallback
  11840. {
  11841. () : void;
  11842. Invoke?: () => void;
  11843. }
  11844. var LowMemoryCallback: { new (func: () => void): LowMemoryCallback; }
  11845. interface MemoryUsageChangedCallback
  11846. {
  11847. (usage: $Ref<UnityEngine.ApplicationMemoryUsageChange>) : void;
  11848. Invoke?: (usage: $Ref<UnityEngine.ApplicationMemoryUsageChange>) => void;
  11849. }
  11850. var MemoryUsageChangedCallback: { new (func: (usage: $Ref<UnityEngine.ApplicationMemoryUsageChange>) => void): MemoryUsageChangedCallback; }
  11851. interface LogCallback
  11852. {
  11853. (condition: string, stackTrace: string, type: UnityEngine.LogType) : void;
  11854. Invoke?: (condition: string, stackTrace: string, type: UnityEngine.LogType) => void;
  11855. }
  11856. var LogCallback: { new (func: (condition: string, stackTrace: string, type: UnityEngine.LogType) => void): LogCallback; }
  11857. }
  11858. namespace UnityEngine.Events {
  11859. /** Zero argument delegate used by UnityEvents.
  11860. */
  11861. interface UnityAction
  11862. {
  11863. () : void;
  11864. Invoke?: () => void;
  11865. }
  11866. var UnityAction: { new (func: () => void): UnityAction; }
  11867. }
  11868. namespace UnityEngine.Camera {
  11869. interface CameraCallback
  11870. {
  11871. (cam: UnityEngine.Camera) : void;
  11872. Invoke?: (cam: UnityEngine.Camera) => void;
  11873. }
  11874. var CameraCallback: { new (func: (cam: UnityEngine.Camera) => void): CameraCallback; }
  11875. enum GateFitMode
  11876. { Vertical = 1, Horizontal = 2, Fill = 3, Overscan = 4, None = 0 }
  11877. enum MonoOrStereoscopicEye
  11878. { Left = 0, Right = 1, Mono = 2 }
  11879. class GateFitParameters extends System.ValueType
  11880. {
  11881. protected [__keep_incompatibility]: never;
  11882. }
  11883. enum StereoscopicEye
  11884. { Left = 0, Right = 1 }
  11885. enum SceneViewFilterMode
  11886. { Off = 0, ShowFiltered = 1 }
  11887. class RenderRequest extends System.ValueType
  11888. {
  11889. protected [__keep_incompatibility]: never;
  11890. }
  11891. }
  11892. namespace UnityEngine.Display {
  11893. interface DisplaysUpdatedDelegate
  11894. {
  11895. () : void;
  11896. Invoke?: () => void;
  11897. }
  11898. var DisplaysUpdatedDelegate: { new (func: () => void): DisplaysUpdatedDelegate; }
  11899. }
  11900. namespace UnityEngine.GraphicsBuffer {
  11901. enum Target
  11902. { Vertex = 1, Index = 2, CopySource = 4, CopyDestination = 8, Structured = 16, Raw = 32, Append = 64, Counter = 128, IndirectArguments = 256, Constant = 512 }
  11903. }
  11904. namespace UnityEngine.Mesh {
  11905. class MeshDataArray extends System.ValueType implements System.IDisposable
  11906. {
  11907. protected [__keep_incompatibility]: never;
  11908. }
  11909. }
  11910. namespace UnityEngine.Random {
  11911. class State extends System.ValueType
  11912. {
  11913. protected [__keep_incompatibility]: never;
  11914. }
  11915. }
  11916. namespace UnityEngine.Font {
  11917. interface FontTextureRebuildCallback
  11918. {
  11919. () : void;
  11920. Invoke?: () => void;
  11921. }
  11922. var FontTextureRebuildCallback: { new (func: () => void): FontTextureRebuildCallback; }
  11923. }
  11924. namespace UnityEngine.ParticleSystem {
  11925. class Particle extends System.ValueType
  11926. {
  11927. protected [__keep_incompatibility]: never;
  11928. }
  11929. class PlaybackState extends System.ValueType
  11930. {
  11931. protected [__keep_incompatibility]: never;
  11932. }
  11933. class Trails extends System.ValueType
  11934. {
  11935. protected [__keep_incompatibility]: never;
  11936. }
  11937. class EmitParams extends System.ValueType
  11938. {
  11939. protected [__keep_incompatibility]: never;
  11940. }
  11941. class MainModule extends System.ValueType
  11942. {
  11943. protected [__keep_incompatibility]: never;
  11944. }
  11945. class EmissionModule extends System.ValueType
  11946. {
  11947. protected [__keep_incompatibility]: never;
  11948. }
  11949. class ShapeModule extends System.ValueType
  11950. {
  11951. protected [__keep_incompatibility]: never;
  11952. }
  11953. class VelocityOverLifetimeModule extends System.ValueType
  11954. {
  11955. protected [__keep_incompatibility]: never;
  11956. }
  11957. class LimitVelocityOverLifetimeModule extends System.ValueType
  11958. {
  11959. protected [__keep_incompatibility]: never;
  11960. }
  11961. class InheritVelocityModule extends System.ValueType
  11962. {
  11963. protected [__keep_incompatibility]: never;
  11964. }
  11965. class LifetimeByEmitterSpeedModule extends System.ValueType
  11966. {
  11967. protected [__keep_incompatibility]: never;
  11968. }
  11969. class ForceOverLifetimeModule extends System.ValueType
  11970. {
  11971. protected [__keep_incompatibility]: never;
  11972. }
  11973. class ColorOverLifetimeModule extends System.ValueType
  11974. {
  11975. protected [__keep_incompatibility]: never;
  11976. }
  11977. class ColorBySpeedModule extends System.ValueType
  11978. {
  11979. protected [__keep_incompatibility]: never;
  11980. }
  11981. class SizeOverLifetimeModule extends System.ValueType
  11982. {
  11983. protected [__keep_incompatibility]: never;
  11984. }
  11985. class SizeBySpeedModule extends System.ValueType
  11986. {
  11987. protected [__keep_incompatibility]: never;
  11988. }
  11989. class RotationOverLifetimeModule extends System.ValueType
  11990. {
  11991. protected [__keep_incompatibility]: never;
  11992. }
  11993. class RotationBySpeedModule extends System.ValueType
  11994. {
  11995. protected [__keep_incompatibility]: never;
  11996. }
  11997. class ExternalForcesModule extends System.ValueType
  11998. {
  11999. protected [__keep_incompatibility]: never;
  12000. }
  12001. class NoiseModule extends System.ValueType
  12002. {
  12003. protected [__keep_incompatibility]: never;
  12004. }
  12005. class CollisionModule extends System.ValueType
  12006. {
  12007. protected [__keep_incompatibility]: never;
  12008. }
  12009. class TriggerModule extends System.ValueType
  12010. {
  12011. protected [__keep_incompatibility]: never;
  12012. }
  12013. class SubEmittersModule extends System.ValueType
  12014. {
  12015. protected [__keep_incompatibility]: never;
  12016. }
  12017. class TextureSheetAnimationModule extends System.ValueType
  12018. {
  12019. protected [__keep_incompatibility]: never;
  12020. }
  12021. class LightsModule extends System.ValueType
  12022. {
  12023. protected [__keep_incompatibility]: never;
  12024. }
  12025. class TrailModule extends System.ValueType
  12026. {
  12027. protected [__keep_incompatibility]: never;
  12028. }
  12029. class CustomDataModule extends System.ValueType
  12030. {
  12031. protected [__keep_incompatibility]: never;
  12032. }
  12033. }
  12034. namespace FairyGUI {
  12035. class EventDispatcher extends System.Object implements FairyGUI.IEventDispatcher
  12036. {
  12037. protected [__keep_incompatibility]: never;
  12038. public AddEventListener ($strType: string, $callback: FairyGUI.EventCallback1) : void
  12039. public AddEventListener ($strType: string, $callback: FairyGUI.EventCallback0) : void
  12040. public RemoveEventListener ($strType: string, $callback: FairyGUI.EventCallback1) : void
  12041. public RemoveEventListener ($strType: string, $callback: FairyGUI.EventCallback0) : void
  12042. public AddCapture ($strType: string, $callback: FairyGUI.EventCallback1) : void
  12043. public RemoveCapture ($strType: string, $callback: FairyGUI.EventCallback1) : void
  12044. public RemoveEventListeners () : void
  12045. public RemoveEventListeners ($strType: string) : void
  12046. public hasEventListeners ($strType: string) : boolean
  12047. public isDispatching ($strType: string) : boolean
  12048. public DispatchEvent ($strType: string) : boolean
  12049. public DispatchEvent ($strType: string, $data: any) : boolean
  12050. public DispatchEvent ($strType: string, $data: any, $initiator: any) : boolean
  12051. public DispatchEvent ($context: FairyGUI.EventContext) : boolean
  12052. public BubbleEvent ($strType: string, $data: any) : boolean
  12053. public BroadcastEvent ($strType: string, $data: any) : boolean
  12054. public constructor ()
  12055. }
  12056. interface IEventDispatcher
  12057. {
  12058. AddEventListener ($strType: string, $callback: FairyGUI.EventCallback0) : void
  12059. AddEventListener ($strType: string, $callback: FairyGUI.EventCallback1) : void
  12060. RemoveEventListener ($strType: string, $callback: FairyGUI.EventCallback0) : void
  12061. RemoveEventListener ($strType: string, $callback: FairyGUI.EventCallback1) : void
  12062. DispatchEvent ($context: FairyGUI.EventContext) : boolean
  12063. DispatchEvent ($strType: string) : boolean
  12064. DispatchEvent ($strType: string, $data: any) : boolean
  12065. DispatchEvent ($strType: string, $data: any, $initiator: any) : boolean
  12066. }
  12067. class GObject extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  12068. {
  12069. protected [__keep_incompatibility]: never;
  12070. public name : string
  12071. public data : any
  12072. public sourceWidth : number
  12073. public sourceHeight : number
  12074. public initWidth : number
  12075. public initHeight : number
  12076. public minWidth : number
  12077. public maxWidth : number
  12078. public minHeight : number
  12079. public maxHeight : number
  12080. public dragBounds : UnityEngine.Rect | null
  12081. public packageItem : FairyGUI.PackageItem
  12082. public get id(): string;
  12083. public get relations(): FairyGUI.Relations;
  12084. public get parent(): FairyGUI.GComponent;
  12085. public get displayObject(): FairyGUI.DisplayObject;
  12086. public static get draggingObject(): FairyGUI.GObject;
  12087. public get onClick(): FairyGUI.EventListener;
  12088. public get onRightClick(): FairyGUI.EventListener;
  12089. public get onTouchBegin(): FairyGUI.EventListener;
  12090. public get onTouchMove(): FairyGUI.EventListener;
  12091. public get onTouchEnd(): FairyGUI.EventListener;
  12092. public get onRollOver(): FairyGUI.EventListener;
  12093. public get onRollOut(): FairyGUI.EventListener;
  12094. public get onAddedToStage(): FairyGUI.EventListener;
  12095. public get onRemovedFromStage(): FairyGUI.EventListener;
  12096. public get onKeyDown(): FairyGUI.EventListener;
  12097. public get onClickLink(): FairyGUI.EventListener;
  12098. public get onPositionChanged(): FairyGUI.EventListener;
  12099. public get onSizeChanged(): FairyGUI.EventListener;
  12100. public get onDragStart(): FairyGUI.EventListener;
  12101. public get onDragMove(): FairyGUI.EventListener;
  12102. public get onDragEnd(): FairyGUI.EventListener;
  12103. public get onGearStop(): FairyGUI.EventListener;
  12104. public get onFocusIn(): FairyGUI.EventListener;
  12105. public get onFocusOut(): FairyGUI.EventListener;
  12106. public get x(): number;
  12107. public set x(value: number);
  12108. public get y(): number;
  12109. public set y(value: number);
  12110. public get z(): number;
  12111. public set z(value: number);
  12112. public get xy(): UnityEngine.Vector2;
  12113. public set xy(value: UnityEngine.Vector2);
  12114. public get position(): UnityEngine.Vector3;
  12115. public set position(value: UnityEngine.Vector3);
  12116. public get width(): number;
  12117. public set width(value: number);
  12118. public get height(): number;
  12119. public set height(value: number);
  12120. public get size(): UnityEngine.Vector2;
  12121. public set size(value: UnityEngine.Vector2);
  12122. public get actualWidth(): number;
  12123. public get actualHeight(): number;
  12124. public get xMin(): number;
  12125. public set xMin(value: number);
  12126. public get yMin(): number;
  12127. public set yMin(value: number);
  12128. public get scaleX(): number;
  12129. public set scaleX(value: number);
  12130. public get scaleY(): number;
  12131. public set scaleY(value: number);
  12132. public get scale(): UnityEngine.Vector2;
  12133. public set scale(value: UnityEngine.Vector2);
  12134. public get skew(): UnityEngine.Vector2;
  12135. public set skew(value: UnityEngine.Vector2);
  12136. public get pivotX(): number;
  12137. public set pivotX(value: number);
  12138. public get pivotY(): number;
  12139. public set pivotY(value: number);
  12140. public get pivot(): UnityEngine.Vector2;
  12141. public set pivot(value: UnityEngine.Vector2);
  12142. public get pivotAsAnchor(): boolean;
  12143. public set pivotAsAnchor(value: boolean);
  12144. public get touchable(): boolean;
  12145. public set touchable(value: boolean);
  12146. public get grayed(): boolean;
  12147. public set grayed(value: boolean);
  12148. public get enabled(): boolean;
  12149. public set enabled(value: boolean);
  12150. public get rotation(): number;
  12151. public set rotation(value: number);
  12152. public get rotationX(): number;
  12153. public set rotationX(value: number);
  12154. public get rotationY(): number;
  12155. public set rotationY(value: number);
  12156. public get alpha(): number;
  12157. public set alpha(value: number);
  12158. public get visible(): boolean;
  12159. public set visible(value: boolean);
  12160. public get sortingOrder(): number;
  12161. public set sortingOrder(value: number);
  12162. public get focusable(): boolean;
  12163. public set focusable(value: boolean);
  12164. public get tabStop(): boolean;
  12165. public set tabStop(value: boolean);
  12166. public get focused(): boolean;
  12167. public get tooltips(): string;
  12168. public set tooltips(value: string);
  12169. public get cursor(): string;
  12170. public set cursor(value: string);
  12171. public get filter(): FairyGUI.IFilter;
  12172. public set filter(value: FairyGUI.IFilter);
  12173. public get blendMode(): FairyGUI.BlendMode;
  12174. public set blendMode(value: FairyGUI.BlendMode);
  12175. public get gameObjectName(): string;
  12176. public set gameObjectName(value: string);
  12177. public get inContainer(): boolean;
  12178. public get onStage(): boolean;
  12179. public get resourceURL(): string;
  12180. public get gearXY(): FairyGUI.GearXY;
  12181. public get gearSize(): FairyGUI.GearSize;
  12182. public get gearLook(): FairyGUI.GearLook;
  12183. public get group(): FairyGUI.GGroup;
  12184. public set group(value: FairyGUI.GGroup);
  12185. public get root(): FairyGUI.GRoot;
  12186. public get text(): string;
  12187. public set text(value: string);
  12188. public get icon(): string;
  12189. public set icon(value: string);
  12190. public get draggable(): boolean;
  12191. public set draggable(value: boolean);
  12192. public get dragging(): boolean;
  12193. public get dragStartPos(): UnityEngine.Vector2;
  12194. public get isDisposed(): boolean;
  12195. public get asImage(): FairyGUI.GImage;
  12196. public get asCom(): FairyGUI.GComponent;
  12197. public get asButton(): FairyGUI.GButton;
  12198. public get asLabel(): FairyGUI.GLabel;
  12199. public get asProgress(): FairyGUI.GProgressBar;
  12200. public get asSlider(): FairyGUI.GSlider;
  12201. public get asComboBox(): FairyGUI.GComboBox;
  12202. public get asTextField(): FairyGUI.GTextField;
  12203. public get asRichTextField(): FairyGUI.GRichTextField;
  12204. public get asTextInput(): FairyGUI.GTextInput;
  12205. public get asLoader(): FairyGUI.GLoader;
  12206. public get asLoader3D(): FairyGUI.GLoader3D;
  12207. public get asList(): FairyGUI.GList;
  12208. public get asGraph(): FairyGUI.GGraph;
  12209. public get asGroup(): FairyGUI.GGroup;
  12210. public get asMovieClip(): FairyGUI.GMovieClip;
  12211. public get asTree(): FairyGUI.GTree;
  12212. public get treeNode(): FairyGUI.GTreeNode;
  12213. public SetXY ($xv: number, $yv: number) : void
  12214. public SetXY ($xv: number, $yv: number, $topLeftValue: boolean) : void
  12215. public SetPosition ($xv: number, $yv: number, $zv: number) : void
  12216. public Center () : void
  12217. public Center ($restraint: boolean) : void
  12218. public MakeFullScreen () : void
  12219. public SetSize ($wv: number, $hv: number) : void
  12220. public SetSize ($wv: number, $hv: number, $ignorePivot: boolean) : void
  12221. public SetScale ($wv: number, $hv: number) : void
  12222. public SetPivot ($xv: number, $yv: number) : void
  12223. public SetPivot ($xv: number, $yv: number, $asAnchor: boolean) : void
  12224. public RequestFocus () : void
  12225. public RequestFocus ($byKey: boolean) : void
  12226. public SetHome ($obj: FairyGUI.GObject) : void
  12227. public GetGear ($index: number) : FairyGUI.GearBase
  12228. public InvalidateBatchingState () : void
  12229. public HandleControllerChanged ($c: FairyGUI.Controller) : void
  12230. public AddRelation ($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType) : void
  12231. public AddRelation ($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType, $usePercent: boolean) : void
  12232. public RemoveRelation ($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType) : void
  12233. public RemoveFromParent () : void
  12234. public StartDrag () : void
  12235. public StartDrag ($touchId: number) : void
  12236. public StopDrag () : void
  12237. public LocalToGlobal ($pt: UnityEngine.Vector2) : UnityEngine.Vector2
  12238. public GlobalToLocal ($pt: UnityEngine.Vector2) : UnityEngine.Vector2
  12239. public LocalToGlobal ($rect: UnityEngine.Rect) : UnityEngine.Rect
  12240. public GlobalToLocal ($rect: UnityEngine.Rect) : UnityEngine.Rect
  12241. public LocalToRoot ($pt: UnityEngine.Vector2, $r: FairyGUI.GRoot) : UnityEngine.Vector2
  12242. public RootToLocal ($pt: UnityEngine.Vector2, $r: FairyGUI.GRoot) : UnityEngine.Vector2
  12243. public WorldToLocal ($pt: UnityEngine.Vector3) : UnityEngine.Vector2
  12244. public WorldToLocal ($pt: UnityEngine.Vector3, $camera: UnityEngine.Camera) : UnityEngine.Vector2
  12245. public TransformPoint ($pt: UnityEngine.Vector2, $targetSpace: FairyGUI.GObject) : UnityEngine.Vector2
  12246. public TransformRect ($rect: UnityEngine.Rect, $targetSpace: FairyGUI.GObject) : UnityEngine.Rect
  12247. public Dispose () : void
  12248. public ConstructFromResource () : void
  12249. public Setup_BeforeAdd ($buffer: FairyGUI.Utils.ByteBuffer, $beginPos: number) : void
  12250. public Setup_AfterAdd ($buffer: FairyGUI.Utils.ByteBuffer, $beginPos: number) : void
  12251. public TweenMove ($endValue: UnityEngine.Vector2, $duration: number) : FairyGUI.GTweener
  12252. public TweenMoveX ($endValue: number, $duration: number) : FairyGUI.GTweener
  12253. public TweenMoveY ($endValue: number, $duration: number) : FairyGUI.GTweener
  12254. public TweenScale ($endValue: UnityEngine.Vector2, $duration: number) : FairyGUI.GTweener
  12255. public TweenScaleX ($endValue: number, $duration: number) : FairyGUI.GTweener
  12256. public TweenScaleY ($endValue: number, $duration: number) : FairyGUI.GTweener
  12257. public TweenResize ($endValue: UnityEngine.Vector2, $duration: number) : FairyGUI.GTweener
  12258. public TweenFade ($endValue: number, $duration: number) : FairyGUI.GTweener
  12259. public TweenRotate ($endValue: number, $duration: number) : FairyGUI.GTweener
  12260. public constructor ()
  12261. }
  12262. class GComponent extends FairyGUI.GObject implements FairyGUI.IEventDispatcher
  12263. {
  12264. protected [__keep_incompatibility]: never;
  12265. public __onConstruct : System.Action
  12266. public __onDispose : System.Action
  12267. public get rootContainer(): FairyGUI.Container;
  12268. public get container(): FairyGUI.Container;
  12269. public get scrollPane(): FairyGUI.ScrollPane;
  12270. public get onDrop(): FairyGUI.EventListener;
  12271. public get fairyBatching(): boolean;
  12272. public set fairyBatching(value: boolean);
  12273. public get opaque(): boolean;
  12274. public set opaque(value: boolean);
  12275. public get margin(): FairyGUI.Margin;
  12276. public set margin(value: FairyGUI.Margin);
  12277. public get childrenRenderOrder(): FairyGUI.ChildrenRenderOrder;
  12278. public set childrenRenderOrder(value: FairyGUI.ChildrenRenderOrder);
  12279. public get apexIndex(): number;
  12280. public set apexIndex(value: number);
  12281. public get tabStopChildren(): boolean;
  12282. public set tabStopChildren(value: boolean);
  12283. public get numChildren(): number;
  12284. public get Controllers(): System.Collections.Generic.List$1<FairyGUI.Controller>;
  12285. public get clipSoftness(): UnityEngine.Vector2;
  12286. public set clipSoftness(value: UnityEngine.Vector2);
  12287. public get mask(): FairyGUI.DisplayObject;
  12288. public set mask(value: FairyGUI.DisplayObject);
  12289. public get reversedMask(): boolean;
  12290. public set reversedMask(value: boolean);
  12291. public get baseUserData(): string;
  12292. public get viewWidth(): number;
  12293. public set viewWidth(value: number);
  12294. public get viewHeight(): number;
  12295. public set viewHeight(value: number);
  12296. public InvalidateBatchingState ($childChanged: boolean) : void
  12297. public AddChild ($child: FairyGUI.GObject) : FairyGUI.GObject
  12298. public AddChildAt ($child: FairyGUI.GObject, $index: number) : FairyGUI.GObject
  12299. public RemoveChild ($child: FairyGUI.GObject) : FairyGUI.GObject
  12300. public RemoveChild ($child: FairyGUI.GObject, $dispose: boolean) : FairyGUI.GObject
  12301. public RemoveChildAt ($index: number) : FairyGUI.GObject
  12302. public RemoveChildAt ($index: number, $dispose: boolean) : FairyGUI.GObject
  12303. public RemoveChildren () : void
  12304. public RemoveChildren ($beginIndex: number, $endIndex: number, $dispose: boolean) : void
  12305. public GetChildAt ($index: number) : FairyGUI.GObject
  12306. public GetChild ($name: string) : FairyGUI.GObject
  12307. public GetChildByPath ($path: string) : FairyGUI.GObject
  12308. public GetVisibleChild ($name: string) : FairyGUI.GObject
  12309. public GetChildInGroup ($group: FairyGUI.GGroup, $name: string) : FairyGUI.GObject
  12310. public GetChildren () : System.Array$1<FairyGUI.GObject>
  12311. public GetChildIndex ($child: FairyGUI.GObject) : number
  12312. public SetChildIndex ($child: FairyGUI.GObject, $index: number) : void
  12313. public SetChildIndexBefore ($child: FairyGUI.GObject, $index: number) : number
  12314. public SwapChildren ($child1: FairyGUI.GObject, $child2: FairyGUI.GObject) : void
  12315. public SwapChildrenAt ($index1: number, $index2: number) : void
  12316. public IsAncestorOf ($obj: FairyGUI.GObject) : boolean
  12317. public ChangeChildrenOrder ($objs: System.Collections.Generic.IList$1<FairyGUI.GObject>) : void
  12318. public AddController ($controller: FairyGUI.Controller) : void
  12319. public GetControllerAt ($index: number) : FairyGUI.Controller
  12320. public GetController ($name: string) : FairyGUI.Controller
  12321. public RemoveController ($c: FairyGUI.Controller) : void
  12322. public GetTransitionAt ($index: number) : FairyGUI.Transition
  12323. public GetTransition ($name: string) : FairyGUI.Transition
  12324. public IsChildInView ($child: FairyGUI.GObject) : boolean
  12325. public GetFirstChildInView () : number
  12326. public SetBoundsChangedFlag () : void
  12327. public EnsureBoundsCorrect () : void
  12328. public GetSnappingPosition ($xValue: $Ref<number>, $yValue: $Ref<number>) : void
  12329. public GetSnappingPositionWithDir ($xValue: $Ref<number>, $yValue: $Ref<number>, $xDir: number, $yDir: number) : void
  12330. public ConstructFromXML ($xml: FairyGUI.Utils.XML) : void
  12331. public constructor ()
  12332. public InvalidateBatchingState () : void
  12333. }
  12334. class Window extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  12335. {
  12336. protected [__keep_incompatibility]: never;
  12337. public bringToFontOnClick : boolean
  12338. public __onInit : System.Action
  12339. public __onShown : System.Action
  12340. public __onHide : System.Action
  12341. public __doShowAnimation : System.Action
  12342. public __doHideAnimation : System.Action
  12343. public get contentPane(): FairyGUI.GComponent;
  12344. public set contentPane(value: FairyGUI.GComponent);
  12345. public get frame(): FairyGUI.GComponent;
  12346. public get closeButton(): FairyGUI.GObject;
  12347. public set closeButton(value: FairyGUI.GObject);
  12348. public get dragArea(): FairyGUI.GObject;
  12349. public set dragArea(value: FairyGUI.GObject);
  12350. public get contentArea(): FairyGUI.GObject;
  12351. public set contentArea(value: FairyGUI.GObject);
  12352. public get modalWaitingPane(): FairyGUI.GObject;
  12353. public get isShowing(): boolean;
  12354. public get isTop(): boolean;
  12355. public get modal(): boolean;
  12356. public set modal(value: boolean);
  12357. public get modalWaiting(): boolean;
  12358. public AddUISource ($source: FairyGUI.IUISource) : void
  12359. public Show () : void
  12360. public ShowOn ($r: FairyGUI.GRoot) : void
  12361. public Hide () : void
  12362. public HideImmediately () : void
  12363. public CenterOn ($r: FairyGUI.GRoot, $restraint: boolean) : void
  12364. public ToggleStatus () : void
  12365. public BringToFront () : void
  12366. public ShowModalWait () : void
  12367. public ShowModalWait ($requestingCmd: number) : void
  12368. public CloseModalWait () : boolean
  12369. public CloseModalWait ($requestingCmd: number) : boolean
  12370. public Init () : void
  12371. public constructor ()
  12372. }
  12373. class GRoot extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  12374. {
  12375. protected [__keep_incompatibility]: never;
  12376. public static get contentScaleFactor(): number;
  12377. public static get contentScaleLevel(): number;
  12378. public static get inst(): FairyGUI.GRoot;
  12379. public get modalLayer(): FairyGUI.GGraph;
  12380. public get hasModalWindow(): boolean;
  12381. public get modalWaiting(): boolean;
  12382. public get touchTarget(): FairyGUI.GObject;
  12383. public get hasAnyPopup(): boolean;
  12384. public get focus(): FairyGUI.GObject;
  12385. public set focus(value: FairyGUI.GObject);
  12386. public get soundVolume(): number;
  12387. public set soundVolume(value: number);
  12388. public SetContentScaleFactor ($designResolutionX: number, $designResolutionY: number) : void
  12389. public SetContentScaleFactor ($designResolutionX: number, $designResolutionY: number, $screenMatchMode: FairyGUI.UIContentScaler.ScreenMatchMode) : void
  12390. public SetContentScaleFactor ($constantScaleFactor: number) : void
  12391. public ApplyContentScaleFactor () : void
  12392. public ShowWindow ($win: FairyGUI.Window) : void
  12393. public HideWindow ($win: FairyGUI.Window) : void
  12394. public HideWindowImmediately ($win: FairyGUI.Window) : void
  12395. public HideWindowImmediately ($win: FairyGUI.Window, $dispose: boolean) : void
  12396. public BringToFront ($win: FairyGUI.Window) : void
  12397. public ShowModalWait () : void
  12398. public CloseModalWait () : void
  12399. public CloseAllExceptModals () : void
  12400. public CloseAllWindows () : void
  12401. public GetTopWindow () : FairyGUI.Window
  12402. public DisplayObjectToGObject ($obj: FairyGUI.DisplayObject) : FairyGUI.GObject
  12403. public ShowPopup ($popup: FairyGUI.GObject) : void
  12404. public ShowPopup ($popup: FairyGUI.GObject, $target: FairyGUI.GObject) : void
  12405. public ShowPopup ($popup: FairyGUI.GObject, $target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection) : void
  12406. public ShowPopup ($popup: FairyGUI.GObject, $target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection, $closeUntilUpEvent: boolean) : void
  12407. public GetPoupPosition ($popup: FairyGUI.GObject, $target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection) : UnityEngine.Vector2
  12408. public TogglePopup ($popup: FairyGUI.GObject) : void
  12409. public TogglePopup ($popup: FairyGUI.GObject, $target: FairyGUI.GObject) : void
  12410. public TogglePopup ($popup: FairyGUI.GObject, $target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection) : void
  12411. public TogglePopup ($popup: FairyGUI.GObject, $target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection, $closeUntilUpEvent: boolean) : void
  12412. public HidePopup () : void
  12413. public HidePopup ($popup: FairyGUI.GObject) : void
  12414. public ShowTooltips ($msg: string) : void
  12415. public ShowTooltips ($msg: string, $delay: number) : void
  12416. public ShowTooltipsWin ($tooltipWin: FairyGUI.GObject) : void
  12417. public ShowTooltipsWin ($tooltipWin: FairyGUI.GObject, $delay: number) : void
  12418. public HideTooltips () : void
  12419. public EnableSound () : void
  12420. public DisableSound () : void
  12421. public PlayOneShotSound ($clip: UnityEngine.AudioClip, $volumeScale: number) : void
  12422. public PlayOneShotSound ($clip: UnityEngine.AudioClip) : void
  12423. public constructor ()
  12424. }
  12425. interface EventCallback1
  12426. {
  12427. (context: FairyGUI.EventContext) : void;
  12428. Invoke?: (context: FairyGUI.EventContext) => void;
  12429. }
  12430. var EventCallback1: { new (func: (context: FairyGUI.EventContext) => void): EventCallback1; }
  12431. class EventContext extends System.Object
  12432. {
  12433. protected [__keep_incompatibility]: never;
  12434. public type : string
  12435. public data : any
  12436. public get sender(): FairyGUI.EventDispatcher;
  12437. public get initiator(): any;
  12438. public get inputEvent(): FairyGUI.InputEvent;
  12439. public get isDefaultPrevented(): boolean;
  12440. public StopPropagation () : void
  12441. public PreventDefault () : void
  12442. public CaptureTouch () : void
  12443. public constructor ()
  12444. }
  12445. class GLoader extends FairyGUI.GObject implements FairyGUI.IEventDispatcher, FairyGUI.IAnimationGear, FairyGUI.IColorGear
  12446. {
  12447. protected [__keep_incompatibility]: never;
  12448. public showErrorSign : boolean
  12449. public get url(): string;
  12450. public set url(value: string);
  12451. public get icon(): string;
  12452. public set icon(value: string);
  12453. public get align(): FairyGUI.AlignType;
  12454. public set align(value: FairyGUI.AlignType);
  12455. public get verticalAlign(): FairyGUI.VertAlignType;
  12456. public set verticalAlign(value: FairyGUI.VertAlignType);
  12457. public get fill(): FairyGUI.FillType;
  12458. public set fill(value: FairyGUI.FillType);
  12459. public get shrinkOnly(): boolean;
  12460. public set shrinkOnly(value: boolean);
  12461. public get autoSize(): boolean;
  12462. public set autoSize(value: boolean);
  12463. public get playing(): boolean;
  12464. public set playing(value: boolean);
  12465. public get frame(): number;
  12466. public set frame(value: number);
  12467. public get timeScale(): number;
  12468. public set timeScale(value: number);
  12469. public get ignoreEngineTimeScale(): boolean;
  12470. public set ignoreEngineTimeScale(value: boolean);
  12471. public get material(): UnityEngine.Material;
  12472. public set material(value: UnityEngine.Material);
  12473. public get shader(): string;
  12474. public set shader(value: string);
  12475. public get color(): UnityEngine.Color;
  12476. public set color(value: UnityEngine.Color);
  12477. public get fillMethod(): FairyGUI.FillMethod;
  12478. public set fillMethod(value: FairyGUI.FillMethod);
  12479. public get fillOrigin(): number;
  12480. public set fillOrigin(value: number);
  12481. public get fillClockwise(): boolean;
  12482. public set fillClockwise(value: boolean);
  12483. public get fillAmount(): number;
  12484. public set fillAmount(value: number);
  12485. public get image(): FairyGUI.Image;
  12486. public get movieClip(): FairyGUI.MovieClip;
  12487. public get component(): FairyGUI.GComponent;
  12488. public get texture(): FairyGUI.NTexture;
  12489. public set texture(value: FairyGUI.NTexture);
  12490. public get filter(): FairyGUI.IFilter;
  12491. public set filter(value: FairyGUI.IFilter);
  12492. public get blendMode(): FairyGUI.BlendMode;
  12493. public set blendMode(value: FairyGUI.BlendMode);
  12494. public Advance ($time: number) : void
  12495. public constructor ()
  12496. }
  12497. interface IAnimationGear
  12498. {
  12499. playing : boolean
  12500. frame : number
  12501. timeScale : number
  12502. ignoreEngineTimeScale : boolean
  12503. Advance ($time: number) : void
  12504. }
  12505. interface IColorGear
  12506. {
  12507. color : UnityEngine.Color
  12508. }
  12509. class DisplayObject extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  12510. {
  12511. protected [__keep_incompatibility]: never;
  12512. public name : string
  12513. public gOwner : FairyGUI.GObject
  12514. public id : number
  12515. public get parent(): FairyGUI.Container;
  12516. public get gameObject(): UnityEngine.GameObject;
  12517. public get cachedTransform(): UnityEngine.Transform;
  12518. public get graphics(): FairyGUI.NGraphics;
  12519. public get paintingGraphics(): FairyGUI.NGraphics;
  12520. public get onClick(): FairyGUI.EventListener;
  12521. public get onRightClick(): FairyGUI.EventListener;
  12522. public get onTouchBegin(): FairyGUI.EventListener;
  12523. public get onTouchMove(): FairyGUI.EventListener;
  12524. public get onTouchEnd(): FairyGUI.EventListener;
  12525. public get onRollOver(): FairyGUI.EventListener;
  12526. public get onRollOut(): FairyGUI.EventListener;
  12527. public get onMouseWheel(): FairyGUI.EventListener;
  12528. public get onAddedToStage(): FairyGUI.EventListener;
  12529. public get onRemovedFromStage(): FairyGUI.EventListener;
  12530. public get onKeyDown(): FairyGUI.EventListener;
  12531. public get onClickLink(): FairyGUI.EventListener;
  12532. public get onFocusIn(): FairyGUI.EventListener;
  12533. public get onFocusOut(): FairyGUI.EventListener;
  12534. public get alpha(): number;
  12535. public set alpha(value: number);
  12536. public get grayed(): boolean;
  12537. public set grayed(value: boolean);
  12538. public get visible(): boolean;
  12539. public set visible(value: boolean);
  12540. public get x(): number;
  12541. public set x(value: number);
  12542. public get y(): number;
  12543. public set y(value: number);
  12544. public get z(): number;
  12545. public set z(value: number);
  12546. public get xy(): UnityEngine.Vector2;
  12547. public set xy(value: UnityEngine.Vector2);
  12548. public get position(): UnityEngine.Vector3;
  12549. public set position(value: UnityEngine.Vector3);
  12550. public get pixelPerfect(): boolean;
  12551. public set pixelPerfect(value: boolean);
  12552. public get width(): number;
  12553. public set width(value: number);
  12554. public get height(): number;
  12555. public set height(value: number);
  12556. public get size(): UnityEngine.Vector2;
  12557. public set size(value: UnityEngine.Vector2);
  12558. public get scaleX(): number;
  12559. public set scaleX(value: number);
  12560. public get scaleY(): number;
  12561. public set scaleY(value: number);
  12562. public get scale(): UnityEngine.Vector2;
  12563. public set scale(value: UnityEngine.Vector2);
  12564. public get rotation(): number;
  12565. public set rotation(value: number);
  12566. public get rotationX(): number;
  12567. public set rotationX(value: number);
  12568. public get rotationY(): number;
  12569. public set rotationY(value: number);
  12570. public get skew(): UnityEngine.Vector2;
  12571. public set skew(value: UnityEngine.Vector2);
  12572. public get perspective(): boolean;
  12573. public set perspective(value: boolean);
  12574. public get focalLength(): number;
  12575. public set focalLength(value: number);
  12576. public get pivot(): UnityEngine.Vector2;
  12577. public set pivot(value: UnityEngine.Vector2);
  12578. public get location(): UnityEngine.Vector3;
  12579. public set location(value: UnityEngine.Vector3);
  12580. public get material(): UnityEngine.Material;
  12581. public set material(value: UnityEngine.Material);
  12582. public get shader(): string;
  12583. public set shader(value: string);
  12584. public get renderingOrder(): number;
  12585. public set renderingOrder(value: number);
  12586. public get layer(): number;
  12587. public set layer(value: number);
  12588. public get focusable(): boolean;
  12589. public set focusable(value: boolean);
  12590. public get tabStop(): boolean;
  12591. public set tabStop(value: boolean);
  12592. public get focused(): boolean;
  12593. public get cursor(): string;
  12594. public set cursor(value: string);
  12595. public get isDisposed(): boolean;
  12596. public get topmost(): FairyGUI.Container;
  12597. public get stage(): FairyGUI.Stage;
  12598. public get worldSpaceContainer(): FairyGUI.Container;
  12599. public get touchable(): boolean;
  12600. public set touchable(value: boolean);
  12601. public get touchDisabled(): boolean;
  12602. public get paintingMode(): boolean;
  12603. public get cacheAsBitmap(): boolean;
  12604. public set cacheAsBitmap(value: boolean);
  12605. public get filter(): FairyGUI.IFilter;
  12606. public set filter(value: FairyGUI.IFilter);
  12607. public get blendMode(): FairyGUI.BlendMode;
  12608. public set blendMode(value: FairyGUI.BlendMode);
  12609. public get home(): UnityEngine.Transform;
  12610. public set home(value: UnityEngine.Transform);
  12611. public add_onPaint ($value: System.Action) : void
  12612. public remove_onPaint ($value: System.Action) : void
  12613. public SetXY ($xv: number, $yv: number) : void
  12614. public SetPosition ($xv: number, $yv: number, $zv: number) : void
  12615. public SetSize ($wv: number, $hv: number) : void
  12616. public EnsureSizeCorrect () : void
  12617. public SetScale ($xv: number, $yv: number) : void
  12618. public EnterPaintingMode () : void
  12619. public EnterPaintingMode ($requestorId: number, $extend: FairyGUI.Margin | null) : void
  12620. public EnterPaintingMode ($requestorId: number, $extend: FairyGUI.Margin | null, $scale: number) : void
  12621. public LeavePaintingMode ($requestorId: number) : void
  12622. public GetScreenShot ($extend: FairyGUI.Margin | null, $scale: number) : UnityEngine.Texture2D
  12623. public GetBounds ($targetSpace: FairyGUI.DisplayObject) : UnityEngine.Rect
  12624. public GlobalToLocal ($point: UnityEngine.Vector2) : UnityEngine.Vector2
  12625. public LocalToGlobal ($point: UnityEngine.Vector2) : UnityEngine.Vector2
  12626. public WorldToLocal ($worldPoint: UnityEngine.Vector3, $direction: UnityEngine.Vector3) : UnityEngine.Vector3
  12627. public LocalToWorld ($localPoint: UnityEngine.Vector3) : UnityEngine.Vector3
  12628. public TransformPoint ($point: UnityEngine.Vector2, $targetSpace: FairyGUI.DisplayObject) : UnityEngine.Vector2
  12629. public TransformRect ($rect: UnityEngine.Rect, $targetSpace: FairyGUI.DisplayObject) : UnityEngine.Rect
  12630. public RemoveFromParent () : void
  12631. public InvalidateBatchingState () : void
  12632. public Update ($context: FairyGUI.UpdateContext) : void
  12633. public Dispose () : void
  12634. public constructor ()
  12635. }
  12636. class Image extends FairyGUI.DisplayObject implements FairyGUI.IEventDispatcher, FairyGUI.IMeshFactory
  12637. {
  12638. protected [__keep_incompatibility]: never;
  12639. public get texture(): FairyGUI.NTexture;
  12640. public set texture(value: FairyGUI.NTexture);
  12641. public get textureScale(): UnityEngine.Vector2;
  12642. public set textureScale(value: UnityEngine.Vector2);
  12643. public get color(): UnityEngine.Color;
  12644. public set color(value: UnityEngine.Color);
  12645. public get fillMethod(): FairyGUI.FillMethod;
  12646. public set fillMethod(value: FairyGUI.FillMethod);
  12647. public get fillOrigin(): number;
  12648. public set fillOrigin(value: number);
  12649. public get fillClockwise(): boolean;
  12650. public set fillClockwise(value: boolean);
  12651. public get fillAmount(): number;
  12652. public set fillAmount(value: number);
  12653. public get scale9Grid(): UnityEngine.Rect | null;
  12654. public set scale9Grid(value: UnityEngine.Rect | null);
  12655. public get scaleByTile(): boolean;
  12656. public set scaleByTile(value: boolean);
  12657. public get tileGridIndice(): number;
  12658. public set tileGridIndice(value: number);
  12659. public SetNativeSize () : void
  12660. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  12661. public SliceFill ($vb: FairyGUI.VertexBuffer) : void
  12662. public constructor ()
  12663. public constructor ($texture: FairyGUI.NTexture)
  12664. }
  12665. interface IMeshFactory
  12666. {
  12667. OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  12668. }
  12669. class EventListener extends System.Object
  12670. {
  12671. protected [__keep_incompatibility]: never;
  12672. public get type(): string;
  12673. public get isEmpty(): boolean;
  12674. public get isDispatching(): boolean;
  12675. public AddCapture ($callback: FairyGUI.EventCallback1) : void
  12676. public RemoveCapture ($callback: FairyGUI.EventCallback1) : void
  12677. public Add ($callback: FairyGUI.EventCallback1) : void
  12678. public Remove ($callback: FairyGUI.EventCallback1) : void
  12679. public Add ($callback: FairyGUI.EventCallback0) : void
  12680. public Remove ($callback: FairyGUI.EventCallback0) : void
  12681. public Set ($callback: FairyGUI.EventCallback1) : void
  12682. public Set ($callback: FairyGUI.EventCallback0) : void
  12683. public Clear () : void
  12684. public Call () : boolean
  12685. public Call ($data: any) : boolean
  12686. public BubbleCall ($data: any) : boolean
  12687. public BubbleCall () : boolean
  12688. public BroadcastCall ($data: any) : boolean
  12689. public BroadcastCall () : boolean
  12690. public constructor ($owner: FairyGUI.EventDispatcher, $type: string)
  12691. public constructor ()
  12692. }
  12693. class NTexture extends System.Object
  12694. {
  12695. protected [__keep_incompatibility]: never;
  12696. public uvRect : UnityEngine.Rect
  12697. public rotated : boolean
  12698. public refCount : number
  12699. public lastActive : number
  12700. public destroyMethod : FairyGUI.DestroyMethod
  12701. public static get Empty(): FairyGUI.NTexture;
  12702. public get width(): number;
  12703. public get height(): number;
  12704. public get offset(): UnityEngine.Vector2;
  12705. public set offset(value: UnityEngine.Vector2);
  12706. public get originalSize(): UnityEngine.Vector2;
  12707. public set originalSize(value: UnityEngine.Vector2);
  12708. public get root(): FairyGUI.NTexture;
  12709. public get disposed(): boolean;
  12710. public get nativeTexture(): UnityEngine.Texture;
  12711. public get alphaTexture(): UnityEngine.Texture;
  12712. public static add_CustomDestroyMethod ($value: System.Action$1<UnityEngine.Texture>) : void
  12713. public static remove_CustomDestroyMethod ($value: System.Action$1<UnityEngine.Texture>) : void
  12714. public add_onSizeChanged ($value: System.Action$1<FairyGUI.NTexture>) : void
  12715. public remove_onSizeChanged ($value: System.Action$1<FairyGUI.NTexture>) : void
  12716. public add_onRelease ($value: System.Action$1<FairyGUI.NTexture>) : void
  12717. public remove_onRelease ($value: System.Action$1<FairyGUI.NTexture>) : void
  12718. public static DisposeEmpty () : void
  12719. public GetDrawRect ($drawRect: UnityEngine.Rect) : UnityEngine.Rect
  12720. public GetUV ($uv: System.Array$1<UnityEngine.Vector2>) : void
  12721. public GetMaterialManager ($shaderName: string) : FairyGUI.MaterialManager
  12722. public Unload () : void
  12723. public Unload ($destroyMaterials: boolean) : void
  12724. public Reload ($nativeTexture: UnityEngine.Texture, $alphaTexture: UnityEngine.Texture) : void
  12725. public AddRef () : void
  12726. public ReleaseRef () : void
  12727. public Dispose () : void
  12728. public constructor ($texture: UnityEngine.Texture)
  12729. public constructor ($texture: UnityEngine.Texture, $alphaTexture: UnityEngine.Texture, $xScale: number, $yScale: number)
  12730. public constructor ($texture: UnityEngine.Texture, $region: UnityEngine.Rect)
  12731. public constructor ($root: FairyGUI.NTexture, $region: UnityEngine.Rect, $rotated: boolean)
  12732. public constructor ($root: FairyGUI.NTexture, $region: UnityEngine.Rect, $rotated: boolean, $originalSize: UnityEngine.Vector2, $offset: UnityEngine.Vector2)
  12733. public constructor ($sprite: UnityEngine.Sprite)
  12734. public constructor ()
  12735. }
  12736. class BaseFont extends System.Object
  12737. {
  12738. protected [__keep_incompatibility]: never;
  12739. public name : string
  12740. public mainTexture : FairyGUI.NTexture
  12741. public canTint : boolean
  12742. public customBold : boolean
  12743. public customBoldAndItalic : boolean
  12744. public customOutline : boolean
  12745. public shader : string
  12746. public keepCrisp : boolean
  12747. public version : number
  12748. public UpdateGraphics ($graphics: FairyGUI.NGraphics) : void
  12749. public SetFormat ($format: FairyGUI.TextFormat, $fontSizeScale: number) : void
  12750. public PrepareCharacters ($text: string) : void
  12751. public GetGlyph ($ch: number, $width: $Ref<number>, $height: $Ref<number>, $baseline: $Ref<number>) : boolean
  12752. 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
  12753. 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
  12754. public HasCharacter ($ch: number) : boolean
  12755. public GetLineHeight ($size: number) : number
  12756. public Dispose () : void
  12757. public constructor ()
  12758. }
  12759. class BitmapFont extends FairyGUI.BaseFont
  12760. {
  12761. protected [__keep_incompatibility]: never;
  12762. public size : number
  12763. public resizable : boolean
  12764. public hasChannel : boolean
  12765. public AddChar ($ch: number, $glyph: FairyGUI.BitmapFont.BMGlyph) : void
  12766. public constructor ()
  12767. }
  12768. enum AlignType
  12769. { Left = 0, Center = 1, Right = 2 }
  12770. enum VertAlignType
  12771. { Top = 0, Middle = 1, Bottom = 2 }
  12772. enum AutoSizeType
  12773. { None = 0, Both = 1, Height = 2, Shrink = 3, Ellipsis = 4 }
  12774. enum FlipType
  12775. { None = 0, Horizontal = 1, Vertical = 2, Both = 3 }
  12776. enum FillMethod
  12777. { None = 0, Horizontal = 1, Vertical = 2, Radial90 = 3, Radial180 = 4, Radial360 = 5 }
  12778. enum EaseType
  12779. { 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 }
  12780. class CustomEase extends System.Object
  12781. {
  12782. protected [__keep_incompatibility]: never;
  12783. public Create ($pathPoints: System.Collections.Generic.IEnumerable$1<FairyGUI.GPathPoint>) : void
  12784. public Evaluate ($time: number) : number
  12785. public constructor ($pointDensity?: number)
  12786. public constructor ()
  12787. }
  12788. class GPathPoint extends System.ValueType
  12789. {
  12790. protected [__keep_incompatibility]: never;
  12791. public pos : UnityEngine.Vector3
  12792. public control1 : UnityEngine.Vector3
  12793. public control2 : UnityEngine.Vector3
  12794. public curveType : FairyGUI.GPathPoint.CurveType
  12795. public smooth : boolean
  12796. public constructor ($pos: UnityEngine.Vector3)
  12797. public constructor ($pos: UnityEngine.Vector3, $control: UnityEngine.Vector3)
  12798. public constructor ($pos: UnityEngine.Vector3, $control1: UnityEngine.Vector3, $control2: UnityEngine.Vector3)
  12799. public constructor ($pos: UnityEngine.Vector3, $curveType: FairyGUI.GPathPoint.CurveType)
  12800. public constructor ()
  12801. }
  12802. class Container extends FairyGUI.DisplayObject implements FairyGUI.IEventDispatcher
  12803. {
  12804. protected [__keep_incompatibility]: never;
  12805. public renderMode : UnityEngine.RenderMode
  12806. public renderCamera : UnityEngine.Camera
  12807. public opaque : boolean
  12808. public clipSoftness : UnityEngine.Vector4 | null
  12809. public hitArea : FairyGUI.IHitTest
  12810. public touchChildren : boolean
  12811. public reversedMask : boolean
  12812. public get numChildren(): number;
  12813. public get clipRect(): UnityEngine.Rect | null;
  12814. public set clipRect(value: UnityEngine.Rect | null);
  12815. public get mask(): FairyGUI.DisplayObject;
  12816. public set mask(value: FairyGUI.DisplayObject);
  12817. public get fairyBatching(): boolean;
  12818. public set fairyBatching(value: boolean);
  12819. public get tabStopChildren(): boolean;
  12820. public set tabStopChildren(value: boolean);
  12821. public add_onUpdate ($value: System.Action) : void
  12822. public remove_onUpdate ($value: System.Action) : void
  12823. public AddChild ($child: FairyGUI.DisplayObject) : FairyGUI.DisplayObject
  12824. public AddChildAt ($child: FairyGUI.DisplayObject, $index: number) : FairyGUI.DisplayObject
  12825. public Contains ($child: FairyGUI.DisplayObject) : boolean
  12826. public GetChildAt ($index: number) : FairyGUI.DisplayObject
  12827. public GetChild ($name: string) : FairyGUI.DisplayObject
  12828. public GetChildren () : System.Array$1<FairyGUI.DisplayObject>
  12829. public GetChildIndex ($child: FairyGUI.DisplayObject) : number
  12830. public RemoveChild ($child: FairyGUI.DisplayObject) : FairyGUI.DisplayObject
  12831. public RemoveChild ($child: FairyGUI.DisplayObject, $dispose: boolean) : FairyGUI.DisplayObject
  12832. public RemoveChildAt ($index: number) : FairyGUI.DisplayObject
  12833. public RemoveChildAt ($index: number, $dispose: boolean) : FairyGUI.DisplayObject
  12834. public RemoveChildren () : void
  12835. public RemoveChildren ($beginIndex: number, $endIndex: number, $dispose: boolean) : void
  12836. public SetChildIndex ($child: FairyGUI.DisplayObject, $index: number) : void
  12837. public SwapChildren ($child1: FairyGUI.DisplayObject, $child2: FairyGUI.DisplayObject) : void
  12838. public SwapChildrenAt ($index1: number, $index2: number) : void
  12839. public ChangeChildrenOrder ($indice: System.Collections.Generic.IList$1<number>, $objs: System.Collections.Generic.IList$1<FairyGUI.DisplayObject>) : void
  12840. public GetDescendants ($backward: boolean) : System.Collections.Generic.IEnumerator$1<FairyGUI.DisplayObject>
  12841. public CreateGraphics () : void
  12842. public GetRenderCamera () : UnityEngine.Camera
  12843. public HitTest ($stagePoint: UnityEngine.Vector2, $forTouch: boolean) : FairyGUI.DisplayObject
  12844. public IsAncestorOf ($obj: FairyGUI.DisplayObject) : boolean
  12845. public InvalidateBatchingState ($childrenChanged: boolean) : void
  12846. public SetChildrenLayer ($value: number) : void
  12847. public constructor ()
  12848. public constructor ($gameObjectName: string)
  12849. public constructor ($attachTarget: UnityEngine.GameObject)
  12850. public InvalidateBatchingState () : void
  12851. }
  12852. interface IHitTest
  12853. {
  12854. HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  12855. }
  12856. class TextFormat extends System.Object
  12857. {
  12858. protected [__keep_incompatibility]: never;
  12859. public size : number
  12860. public font : string
  12861. public color : UnityEngine.Color
  12862. public lineSpacing : number
  12863. public letterSpacing : number
  12864. public bold : boolean
  12865. public underline : boolean
  12866. public italic : boolean
  12867. public strikethrough : boolean
  12868. public gradientColor : System.Array$1<UnityEngine.Color32>
  12869. public align : FairyGUI.AlignType
  12870. public specialStyle : FairyGUI.TextFormat.SpecialStyle
  12871. public outline : number
  12872. public outlineColor : UnityEngine.Color
  12873. public shadowOffset : UnityEngine.Vector2
  12874. public shadowColor : UnityEngine.Color
  12875. public faceDilate : number
  12876. public outlineSoftness : number
  12877. public underlaySoftness : number
  12878. public SetColor ($value: number) : void
  12879. public EqualStyle ($aFormat: FairyGUI.TextFormat) : boolean
  12880. public CopyFrom ($source: FairyGUI.TextFormat) : void
  12881. public FillVertexColors ($vertexColors: System.Array$1<UnityEngine.Color32>) : void
  12882. public constructor ()
  12883. }
  12884. class GTweener extends System.Object
  12885. {
  12886. protected [__keep_incompatibility]: never;
  12887. public get delay(): number;
  12888. public get duration(): number;
  12889. public get repeat(): number;
  12890. public get target(): any;
  12891. public get userData(): any;
  12892. public get startValue(): FairyGUI.TweenValue;
  12893. public get endValue(): FairyGUI.TweenValue;
  12894. public get value(): FairyGUI.TweenValue;
  12895. public get deltaValue(): FairyGUI.TweenValue;
  12896. public get normalizedTime(): number;
  12897. public get completed(): boolean;
  12898. public get allCompleted(): boolean;
  12899. public SetDelay ($value: number) : FairyGUI.GTweener
  12900. public SetDuration ($value: number) : FairyGUI.GTweener
  12901. public SetBreakpoint ($value: number) : FairyGUI.GTweener
  12902. public SetEase ($value: FairyGUI.EaseType) : FairyGUI.GTweener
  12903. public SetEase ($value: FairyGUI.EaseType, $customEase: FairyGUI.CustomEase) : FairyGUI.GTweener
  12904. public SetEasePeriod ($value: number) : FairyGUI.GTweener
  12905. public SetEaseOvershootOrAmplitude ($value: number) : FairyGUI.GTweener
  12906. public SetRepeat ($times: number, $yoyo?: boolean) : FairyGUI.GTweener
  12907. public SetTimeScale ($value: number) : FairyGUI.GTweener
  12908. public SetIgnoreEngineTimeScale ($value: boolean) : FairyGUI.GTweener
  12909. public SetSnapping ($value: boolean) : FairyGUI.GTweener
  12910. public SetPath ($value: FairyGUI.GPath) : FairyGUI.GTweener
  12911. public SetTarget ($value: any) : FairyGUI.GTweener
  12912. public SetTarget ($value: any, $propType: FairyGUI.TweenPropType) : FairyGUI.GTweener
  12913. public SetUserData ($value: any) : FairyGUI.GTweener
  12914. public OnUpdate ($callback: FairyGUI.GTweenCallback) : FairyGUI.GTweener
  12915. public OnStart ($callback: FairyGUI.GTweenCallback) : FairyGUI.GTweener
  12916. public OnComplete ($callback: FairyGUI.GTweenCallback) : FairyGUI.GTweener
  12917. public OnUpdate ($callback: FairyGUI.GTweenCallback1) : FairyGUI.GTweener
  12918. public OnStart ($callback: FairyGUI.GTweenCallback1) : FairyGUI.GTweener
  12919. public OnComplete ($callback: FairyGUI.GTweenCallback1) : FairyGUI.GTweener
  12920. public SetListener ($value: FairyGUI.ITweenListener) : FairyGUI.GTweener
  12921. public SetPaused ($paused: boolean) : FairyGUI.GTweener
  12922. public Seek ($time: number) : void
  12923. public Kill ($complete?: boolean) : void
  12924. public constructor ()
  12925. }
  12926. class GPath extends System.Object
  12927. {
  12928. protected [__keep_incompatibility]: never;
  12929. public get length(): number;
  12930. public get segmentCount(): number;
  12931. public Create ($pt1: FairyGUI.GPathPoint, $pt2: FairyGUI.GPathPoint) : void
  12932. public Create ($pt1: FairyGUI.GPathPoint, $pt2: FairyGUI.GPathPoint, $pt3: FairyGUI.GPathPoint) : void
  12933. public Create ($pt1: FairyGUI.GPathPoint, $pt2: FairyGUI.GPathPoint, $pt3: FairyGUI.GPathPoint, $pt4: FairyGUI.GPathPoint) : void
  12934. public Create ($points: System.Collections.Generic.IEnumerable$1<FairyGUI.GPathPoint>) : void
  12935. public Clear () : void
  12936. public GetPointAt ($t: number) : UnityEngine.Vector3
  12937. public GetSegmentLength ($segmentIndex: number) : number
  12938. 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
  12939. public GetAllPoints ($points: System.Collections.Generic.List$1<UnityEngine.Vector3>, $pointDensity?: number) : void
  12940. public constructor ()
  12941. }
  12942. class RichTextField extends FairyGUI.Container implements FairyGUI.IEventDispatcher
  12943. {
  12944. protected [__keep_incompatibility]: never;
  12945. public get htmlPageContext(): FairyGUI.Utils.IHtmlPageContext;
  12946. public set htmlPageContext(value: FairyGUI.Utils.IHtmlPageContext);
  12947. public get htmlParseOptions(): FairyGUI.Utils.HtmlParseOptions;
  12948. public get emojies(): System.Collections.Generic.Dictionary$2<number, FairyGUI.Emoji>;
  12949. public set emojies(value: System.Collections.Generic.Dictionary$2<number, FairyGUI.Emoji>);
  12950. public get textField(): FairyGUI.TextField;
  12951. public get text(): string;
  12952. public set text(value: string);
  12953. public get htmlText(): string;
  12954. public set htmlText(value: string);
  12955. public get textFormat(): FairyGUI.TextFormat;
  12956. public set textFormat(value: FairyGUI.TextFormat);
  12957. public get htmlElementCount(): number;
  12958. public GetHtmlElement ($name: string) : FairyGUI.Utils.HtmlElement
  12959. public GetHtmlElementAt ($index: number) : FairyGUI.Utils.HtmlElement
  12960. public ShowHtmlObject ($index: number, $show: boolean) : void
  12961. public constructor ()
  12962. }
  12963. class InputEvent extends System.Object
  12964. {
  12965. protected [__keep_incompatibility]: never;
  12966. public get x(): number;
  12967. public get y(): number;
  12968. public get keyCode(): UnityEngine.KeyCode;
  12969. public get character(): number;
  12970. public get modifiers(): UnityEngine.EventModifiers;
  12971. public get mouseWheelDelta(): number;
  12972. public get touchId(): number;
  12973. public get button(): number;
  12974. public get clickCount(): number;
  12975. public get holdTime(): number;
  12976. public get position(): UnityEngine.Vector2;
  12977. public get isDoubleClick(): boolean;
  12978. public get ctrlOrCmd(): boolean;
  12979. public get ctrl(): boolean;
  12980. public get shift(): boolean;
  12981. public get alt(): boolean;
  12982. public get command(): boolean;
  12983. public constructor ()
  12984. }
  12985. class GComboBox extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  12986. {
  12987. protected [__keep_incompatibility]: never;
  12988. public visibleItemCount : number
  12989. public dropdown : FairyGUI.GComponent
  12990. public sound : FairyGUI.NAudioClip
  12991. public soundVolumeScale : number
  12992. public get onChanged(): FairyGUI.EventListener;
  12993. public get icon(): string;
  12994. public set icon(value: string);
  12995. public get title(): string;
  12996. public set title(value: string);
  12997. public get text(): string;
  12998. public set text(value: string);
  12999. public get titleColor(): UnityEngine.Color;
  13000. public set titleColor(value: UnityEngine.Color);
  13001. public get titleFontSize(): number;
  13002. public set titleFontSize(value: number);
  13003. public get items(): System.Array$1<string>;
  13004. public set items(value: System.Array$1<string>);
  13005. public get icons(): System.Array$1<string>;
  13006. public set icons(value: System.Array$1<string>);
  13007. public get values(): System.Array$1<string>;
  13008. public set values(value: System.Array$1<string>);
  13009. public get itemList(): System.Collections.Generic.List$1<string>;
  13010. public get valueList(): System.Collections.Generic.List$1<string>;
  13011. public get iconList(): System.Collections.Generic.List$1<string>;
  13012. public get selectedIndex(): number;
  13013. public set selectedIndex(value: number);
  13014. public get selectionController(): FairyGUI.Controller;
  13015. public set selectionController(value: FairyGUI.Controller);
  13016. public get value(): string;
  13017. public set value(value: string);
  13018. public get popupDirection(): FairyGUI.PopupDirection;
  13019. public set popupDirection(value: FairyGUI.PopupDirection);
  13020. public ApplyListChange () : void
  13021. public GetTextField () : FairyGUI.GTextField
  13022. public UpdateDropdownList () : void
  13023. public constructor ()
  13024. }
  13025. class Shape extends FairyGUI.DisplayObject implements FairyGUI.IEventDispatcher
  13026. {
  13027. protected [__keep_incompatibility]: never;
  13028. public get color(): UnityEngine.Color;
  13029. public set color(value: UnityEngine.Color);
  13030. public get isEmpty(): boolean;
  13031. public DrawRect ($lineSize: number, $lineColor: UnityEngine.Color, $fillColor: UnityEngine.Color) : void
  13032. public DrawRect ($lineSize: number, $colors: System.Array$1<UnityEngine.Color32>) : void
  13033. public DrawRoundRect ($lineSize: number, $lineColor: UnityEngine.Color, $fillColor: UnityEngine.Color, $topLeftRadius: number, $topRightRadius: number, $bottomLeftRadius: number, $bottomRightRadius: number) : void
  13034. public DrawEllipse ($fillColor: UnityEngine.Color) : void
  13035. public DrawEllipse ($lineSize: number, $centerColor: UnityEngine.Color, $lineColor: UnityEngine.Color, $fillColor: UnityEngine.Color, $startDegree: number, $endDegree: number) : void
  13036. public DrawPolygon ($points: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $fillColor: UnityEngine.Color) : void
  13037. public DrawPolygon ($points: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $colors: System.Array$1<UnityEngine.Color32>) : void
  13038. public DrawPolygon ($points: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $fillColor: UnityEngine.Color, $lineSize: number, $lineColor: UnityEngine.Color) : void
  13039. public DrawRegularPolygon ($sides: number, $lineSize: number, $centerColor: UnityEngine.Color, $lineColor: UnityEngine.Color, $fillColor: UnityEngine.Color, $rotation: number, $distances: System.Array$1<number>) : void
  13040. public Clear () : void
  13041. public constructor ()
  13042. }
  13043. class VertexBuffer extends System.Object
  13044. {
  13045. protected [__keep_incompatibility]: never;
  13046. public contentRect : UnityEngine.Rect
  13047. public uvRect : UnityEngine.Rect
  13048. public vertexColor : UnityEngine.Color32
  13049. public textureSize : UnityEngine.Vector2
  13050. public vertices : System.Collections.Generic.List$1<UnityEngine.Vector3>
  13051. public colors : System.Collections.Generic.List$1<UnityEngine.Color32>
  13052. public uvs : System.Collections.Generic.List$1<UnityEngine.Vector2>
  13053. public uvs2 : System.Collections.Generic.List$1<UnityEngine.Vector2>
  13054. public triangles : System.Collections.Generic.List$1<number>
  13055. public static NormalizedUV : System.Array$1<UnityEngine.Vector2>
  13056. public static NormalizedPosition : System.Array$1<UnityEngine.Vector2>
  13057. public get currentVertCount(): number;
  13058. public static Begin () : FairyGUI.VertexBuffer
  13059. public static Begin ($source: FairyGUI.VertexBuffer) : FairyGUI.VertexBuffer
  13060. public End () : void
  13061. public Clear () : void
  13062. public AddVert ($position: UnityEngine.Vector3) : void
  13063. public AddVert ($position: UnityEngine.Vector3, $color: UnityEngine.Color32) : void
  13064. public AddVert ($position: UnityEngine.Vector3, $color: UnityEngine.Color32, $uv: UnityEngine.Vector2) : void
  13065. public AddQuad ($vertRect: UnityEngine.Rect) : void
  13066. public AddQuad ($vertRect: UnityEngine.Rect, $color: UnityEngine.Color32) : void
  13067. public AddQuad ($vertRect: UnityEngine.Rect, $color: UnityEngine.Color32, $uvRect: UnityEngine.Rect) : void
  13068. public RepeatColors ($value: System.Array$1<UnityEngine.Color32>, $startIndex: number, $count: number) : void
  13069. public AddTriangle ($idx0: number, $idx1: number, $idx2: number) : void
  13070. public AddTriangles ($idxList: System.Array$1<number>, $startVertexIndex?: number) : void
  13071. public AddTriangles ($startVertexIndex?: number) : void
  13072. public GetPosition ($index: number) : UnityEngine.Vector3
  13073. public GetUVAtPosition ($position: UnityEngine.Vector2, $usePercent: boolean) : UnityEngine.Vector2
  13074. public Append ($vb: FairyGUI.VertexBuffer) : void
  13075. public Insert ($vb: FairyGUI.VertexBuffer) : void
  13076. }
  13077. class LineMesh extends System.Object implements FairyGUI.IMeshFactory
  13078. {
  13079. protected [__keep_incompatibility]: never;
  13080. public path : FairyGUI.GPath
  13081. public lineWidth : number
  13082. public lineWidthCurve : UnityEngine.AnimationCurve
  13083. public gradient : UnityEngine.Gradient
  13084. public roundEdge : boolean
  13085. public fillStart : number
  13086. public fillEnd : number
  13087. public pointDensity : number
  13088. public repeatFill : boolean
  13089. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13090. public constructor ()
  13091. }
  13092. class StraightLineMesh extends System.Object implements FairyGUI.IMeshFactory
  13093. {
  13094. protected [__keep_incompatibility]: never;
  13095. public color : UnityEngine.Color
  13096. public origin : UnityEngine.Vector3
  13097. public end : UnityEngine.Vector3
  13098. public lineWidth : number
  13099. public repeatFill : boolean
  13100. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13101. public constructor ()
  13102. public constructor ($lineWidth: number, $color: UnityEngine.Color, $repeatFill: boolean)
  13103. }
  13104. enum PopupDirection
  13105. { Auto = 0, Up = 1, Down = 2 }
  13106. class GList extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  13107. {
  13108. protected [__keep_incompatibility]: never;
  13109. public foldInvisibleItems : boolean
  13110. public selectionMode : FairyGUI.ListSelectionMode
  13111. public itemRenderer : FairyGUI.ListItemRenderer
  13112. public itemProvider : FairyGUI.ListItemProvider
  13113. public scrollItemToViewOnClick : boolean
  13114. public get onClickItem(): FairyGUI.EventListener;
  13115. public get onRightClickItem(): FairyGUI.EventListener;
  13116. public get defaultItem(): string;
  13117. public set defaultItem(value: string);
  13118. public get layout(): FairyGUI.ListLayoutType;
  13119. public set layout(value: FairyGUI.ListLayoutType);
  13120. public get lineCount(): number;
  13121. public set lineCount(value: number);
  13122. public get columnCount(): number;
  13123. public set columnCount(value: number);
  13124. public get lineGap(): number;
  13125. public set lineGap(value: number);
  13126. public get columnGap(): number;
  13127. public set columnGap(value: number);
  13128. public get align(): FairyGUI.AlignType;
  13129. public set align(value: FairyGUI.AlignType);
  13130. public get verticalAlign(): FairyGUI.VertAlignType;
  13131. public set verticalAlign(value: FairyGUI.VertAlignType);
  13132. public get autoResizeItem(): boolean;
  13133. public set autoResizeItem(value: boolean);
  13134. public get defaultItemSize(): UnityEngine.Vector2;
  13135. public set defaultItemSize(value: UnityEngine.Vector2);
  13136. public get itemPool(): FairyGUI.GObjectPool;
  13137. public get selectedIndex(): number;
  13138. public set selectedIndex(value: number);
  13139. public get selectionController(): FairyGUI.Controller;
  13140. public set selectionController(value: FairyGUI.Controller);
  13141. public get touchItem(): FairyGUI.GObject;
  13142. public get isVirtual(): boolean;
  13143. public get numItems(): number;
  13144. public set numItems(value: number);
  13145. public GetFromPool ($url: string) : FairyGUI.GObject
  13146. public AddItemFromPool () : FairyGUI.GObject
  13147. public AddItemFromPool ($url: string) : FairyGUI.GObject
  13148. public RemoveChildToPoolAt ($index: number) : void
  13149. public RemoveChildToPool ($child: FairyGUI.GObject) : void
  13150. public RemoveChildrenToPool () : void
  13151. public RemoveChildrenToPool ($beginIndex: number, $endIndex: number) : void
  13152. public GetSelection () : System.Collections.Generic.List$1<number>
  13153. public GetSelection ($result: System.Collections.Generic.List$1<number>) : System.Collections.Generic.List$1<number>
  13154. public AddSelection ($index: number, $scrollItToView: boolean) : void
  13155. public RemoveSelection ($index: number) : void
  13156. public ClearSelection () : void
  13157. public SelectAll () : void
  13158. public SelectNone () : void
  13159. public SelectReverse () : void
  13160. public EnableSelectionFocusEvents ($enabled: boolean) : void
  13161. public EnableArrowKeyNavigation ($enabled: boolean) : void
  13162. public HandleArrowKey ($dir: number) : number
  13163. public ResizeToFit () : void
  13164. public ResizeToFit ($itemCount: number) : void
  13165. public ResizeToFit ($itemCount: number, $minSize: number) : void
  13166. public ScrollToView ($index: number) : void
  13167. public ScrollToView ($index: number, $ani: boolean) : void
  13168. public ScrollToView ($index: number, $ani: boolean, $setFirst: boolean) : void
  13169. public ChildIndexToItemIndex ($index: number) : number
  13170. public ItemIndexToChildIndex ($index: number) : number
  13171. public SetVirtual () : void
  13172. public SetVirtualAndLoop () : void
  13173. public RefreshVirtualList () : void
  13174. public constructor ()
  13175. }
  13176. class GTree extends FairyGUI.GList implements FairyGUI.IEventDispatcher
  13177. {
  13178. protected [__keep_incompatibility]: never;
  13179. public treeNodeRender : FairyGUI.GTree.TreeNodeRenderDelegate
  13180. public treeNodeWillExpand : FairyGUI.GTree.TreeNodeWillExpandDelegate
  13181. public get rootNode(): FairyGUI.GTreeNode;
  13182. public get indent(): number;
  13183. public set indent(value: number);
  13184. public get clickToExpand(): number;
  13185. public set clickToExpand(value: number);
  13186. public GetSelectedNode () : FairyGUI.GTreeNode
  13187. public GetSelectedNodes () : System.Collections.Generic.List$1<FairyGUI.GTreeNode>
  13188. public GetSelectedNodes ($result: System.Collections.Generic.List$1<FairyGUI.GTreeNode>) : System.Collections.Generic.List$1<FairyGUI.GTreeNode>
  13189. public SelectNode ($node: FairyGUI.GTreeNode) : void
  13190. public SelectNode ($node: FairyGUI.GTreeNode, $scrollItToView: boolean) : void
  13191. public UnselectNode ($node: FairyGUI.GTreeNode) : void
  13192. public ExpandAll () : void
  13193. public ExpandAll ($folderNode: FairyGUI.GTreeNode) : void
  13194. public CollapseAll () : void
  13195. public CollapseAll ($folderNode: FairyGUI.GTreeNode) : void
  13196. public constructor ()
  13197. }
  13198. class GTreeNode extends System.Object
  13199. {
  13200. protected [__keep_incompatibility]: never;
  13201. public data : any
  13202. public get parent(): FairyGUI.GTreeNode;
  13203. public get tree(): FairyGUI.GTree;
  13204. public get cell(): FairyGUI.GComponent;
  13205. public get level(): number;
  13206. public get expanded(): boolean;
  13207. public set expanded(value: boolean);
  13208. public get isFolder(): boolean;
  13209. public get text(): string;
  13210. public set text(value: string);
  13211. public get icon(): string;
  13212. public set icon(value: string);
  13213. public get numChildren(): number;
  13214. public ExpandToRoot () : void
  13215. public AddChild ($child: FairyGUI.GTreeNode) : FairyGUI.GTreeNode
  13216. public AddChildAt ($child: FairyGUI.GTreeNode, $index: number) : FairyGUI.GTreeNode
  13217. public RemoveChild ($child: FairyGUI.GTreeNode) : FairyGUI.GTreeNode
  13218. public RemoveChildAt ($index: number) : FairyGUI.GTreeNode
  13219. public RemoveChildren ($beginIndex?: number, $endIndex?: number) : void
  13220. public GetChildAt ($index: number) : FairyGUI.GTreeNode
  13221. public GetChildIndex ($child: FairyGUI.GTreeNode) : number
  13222. public GetPrevSibling () : FairyGUI.GTreeNode
  13223. public GetNextSibling () : FairyGUI.GTreeNode
  13224. public SetChildIndex ($child: FairyGUI.GTreeNode, $index: number) : void
  13225. public SwapChildren ($child1: FairyGUI.GTreeNode, $child2: FairyGUI.GTreeNode) : void
  13226. public SwapChildrenAt ($index1: number, $index2: number) : void
  13227. public constructor ($hasChild: boolean)
  13228. public constructor ($hasChild: boolean, $resURL: string)
  13229. public constructor ()
  13230. }
  13231. class GLabel extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  13232. {
  13233. protected [__keep_incompatibility]: never;
  13234. public get icon(): string;
  13235. public set icon(value: string);
  13236. public get title(): string;
  13237. public set title(value: string);
  13238. public get text(): string;
  13239. public set text(value: string);
  13240. public get editable(): boolean;
  13241. public set editable(value: boolean);
  13242. public get titleColor(): UnityEngine.Color;
  13243. public set titleColor(value: UnityEngine.Color);
  13244. public get titleFontSize(): number;
  13245. public set titleFontSize(value: number);
  13246. public get color(): UnityEngine.Color;
  13247. public set color(value: UnityEngine.Color);
  13248. public GetTextField () : FairyGUI.GTextField
  13249. public constructor ()
  13250. }
  13251. class GButton extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  13252. {
  13253. protected [__keep_incompatibility]: never;
  13254. public sound : FairyGUI.NAudioClip
  13255. public soundVolumeScale : number
  13256. public changeStateOnClick : boolean
  13257. public linkedPopup : FairyGUI.GObject
  13258. public static UP : string
  13259. public static DOWN : string
  13260. public static OVER : string
  13261. public static SELECTED_OVER : string
  13262. public static DISABLED : string
  13263. public static SELECTED_DISABLED : string
  13264. public get onChanged(): FairyGUI.EventListener;
  13265. public get icon(): string;
  13266. public set icon(value: string);
  13267. public get title(): string;
  13268. public set title(value: string);
  13269. public get text(): string;
  13270. public set text(value: string);
  13271. public get selectedIcon(): string;
  13272. public set selectedIcon(value: string);
  13273. public get selectedTitle(): string;
  13274. public set selectedTitle(value: string);
  13275. public get titleColor(): UnityEngine.Color;
  13276. public set titleColor(value: UnityEngine.Color);
  13277. public get color(): UnityEngine.Color;
  13278. public set color(value: UnityEngine.Color);
  13279. public get titleFontSize(): number;
  13280. public set titleFontSize(value: number);
  13281. public get selected(): boolean;
  13282. public set selected(value: boolean);
  13283. public get mode(): FairyGUI.ButtonMode;
  13284. public set mode(value: FairyGUI.ButtonMode);
  13285. public get relatedController(): FairyGUI.Controller;
  13286. public set relatedController(value: FairyGUI.Controller);
  13287. public get relatedPageId(): string;
  13288. public set relatedPageId(value: string);
  13289. public FireClick ($downEffect: boolean, $clickCall?: boolean) : void
  13290. public GetTextField () : FairyGUI.GTextField
  13291. public constructor ()
  13292. }
  13293. class GTextField extends FairyGUI.GObject implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear, FairyGUI.ITextColorGear
  13294. {
  13295. protected [__keep_incompatibility]: never;
  13296. public get text(): string;
  13297. public set text(value: string);
  13298. public get templateVars(): System.Collections.Generic.Dictionary$2<string, string>;
  13299. public set templateVars(value: System.Collections.Generic.Dictionary$2<string, string>);
  13300. public get textFormat(): FairyGUI.TextFormat;
  13301. public set textFormat(value: FairyGUI.TextFormat);
  13302. public get color(): UnityEngine.Color;
  13303. public set color(value: UnityEngine.Color);
  13304. public get align(): FairyGUI.AlignType;
  13305. public set align(value: FairyGUI.AlignType);
  13306. public get verticalAlign(): FairyGUI.VertAlignType;
  13307. public set verticalAlign(value: FairyGUI.VertAlignType);
  13308. public get singleLine(): boolean;
  13309. public set singleLine(value: boolean);
  13310. public get stroke(): number;
  13311. public set stroke(value: number);
  13312. public get strokeColor(): UnityEngine.Color;
  13313. public set strokeColor(value: UnityEngine.Color);
  13314. public get shadowOffset(): UnityEngine.Vector2;
  13315. public set shadowOffset(value: UnityEngine.Vector2);
  13316. public get UBBEnabled(): boolean;
  13317. public set UBBEnabled(value: boolean);
  13318. public get autoSize(): FairyGUI.AutoSizeType;
  13319. public set autoSize(value: FairyGUI.AutoSizeType);
  13320. public get textWidth(): number;
  13321. public get textHeight(): number;
  13322. public SetVar ($name: string, $value: string) : FairyGUI.GTextField
  13323. public FlushVars () : void
  13324. public HasCharacter ($ch: number) : boolean
  13325. public constructor ()
  13326. }
  13327. interface ITextColorGear extends FairyGUI.IColorGear
  13328. {
  13329. strokeColor : UnityEngine.Color
  13330. color : UnityEngine.Color
  13331. }
  13332. enum GroupLayoutType
  13333. { None = 0, Horizontal = 1, Vertical = 2 }
  13334. interface EventCallback0
  13335. {
  13336. () : void;
  13337. Invoke?: () => void;
  13338. }
  13339. var EventCallback0: { new (func: () => void): EventCallback0; }
  13340. class BlendModeUtils extends System.Object
  13341. {
  13342. protected [__keep_incompatibility]: never;
  13343. public static Factors : System.Array$1<FairyGUI.BlendModeUtils.BlendFactor>
  13344. public static Apply ($mat: UnityEngine.Material, $blendMode: FairyGUI.BlendMode) : void
  13345. public static Override ($blendMode: FairyGUI.BlendMode, $srcFactor: UnityEngine.Rendering.BlendMode, $dstFactor: UnityEngine.Rendering.BlendMode) : void
  13346. public constructor ()
  13347. }
  13348. enum BlendMode
  13349. { 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 }
  13350. class CaptureCamera extends UnityEngine.MonoBehaviour
  13351. {
  13352. protected [__keep_incompatibility]: never;
  13353. public cachedTransform : UnityEngine.Transform
  13354. public cachedCamera : UnityEngine.Camera
  13355. public static Name : string
  13356. public static LayerName : string
  13357. public static HiddenLayerName : string
  13358. public static get layer(): number;
  13359. public static get hiddenLayer(): number;
  13360. public static CheckMain () : void
  13361. public static CreateRenderTexture ($width: number, $height: number, $stencilSupport: boolean) : UnityEngine.RenderTexture
  13362. public static Capture ($target: FairyGUI.DisplayObject, $texture: UnityEngine.RenderTexture, $contentHeight: number, $offset: UnityEngine.Vector2) : void
  13363. public constructor ()
  13364. }
  13365. class UpdateContext extends System.Object
  13366. {
  13367. protected [__keep_incompatibility]: never;
  13368. public clipped : boolean
  13369. public clipInfo : FairyGUI.UpdateContext.ClipInfo
  13370. public renderingOrder : number
  13371. public batchingDepth : number
  13372. public rectMaskDepth : number
  13373. public stencilReferenceValue : number
  13374. public stencilCompareValue : number
  13375. public alpha : number
  13376. public grayed : boolean
  13377. public static current : FairyGUI.UpdateContext
  13378. public static working : boolean
  13379. public static add_OnBegin ($value: System.Action) : void
  13380. public static remove_OnBegin ($value: System.Action) : void
  13381. public static add_OnEnd ($value: System.Action) : void
  13382. public static remove_OnEnd ($value: System.Action) : void
  13383. public Begin () : void
  13384. public End () : void
  13385. public EnterClipping ($clipId: number, $clipRect: UnityEngine.Rect, $softness: UnityEngine.Vector4 | null) : void
  13386. public EnterClipping ($clipId: number, $reversedMask: boolean) : void
  13387. public LeaveClipping () : void
  13388. public EnterPaintingMode () : void
  13389. public LeavePaintingMode () : void
  13390. public ApplyClippingProperties ($mat: UnityEngine.Material, $isStdMaterial: boolean) : void
  13391. public ApplyAlphaMaskProperties ($mat: UnityEngine.Material, $erasing: boolean) : void
  13392. public constructor ()
  13393. }
  13394. class NGraphics extends System.Object implements FairyGUI.IMeshFactory
  13395. {
  13396. protected [__keep_incompatibility]: never;
  13397. public blendMode : FairyGUI.BlendMode
  13398. public dontClip : boolean
  13399. public get gameObject(): UnityEngine.GameObject;
  13400. public get meshFilter(): UnityEngine.MeshFilter;
  13401. public get meshRenderer(): UnityEngine.MeshRenderer;
  13402. public get mesh(): UnityEngine.Mesh;
  13403. public get meshFactory(): FairyGUI.IMeshFactory;
  13404. public set meshFactory(value: FairyGUI.IMeshFactory);
  13405. public get contentRect(): UnityEngine.Rect;
  13406. public set contentRect(value: UnityEngine.Rect);
  13407. public get flip(): FairyGUI.FlipType;
  13408. public set flip(value: FairyGUI.FlipType);
  13409. public get texture(): FairyGUI.NTexture;
  13410. public set texture(value: FairyGUI.NTexture);
  13411. public get shader(): string;
  13412. public set shader(value: string);
  13413. public get material(): UnityEngine.Material;
  13414. public set material(value: UnityEngine.Material);
  13415. public get materialKeywords(): System.Array$1<string>;
  13416. public set materialKeywords(value: System.Array$1<string>);
  13417. public get enabled(): boolean;
  13418. public set enabled(value: boolean);
  13419. public get sortingOrder(): number;
  13420. public set sortingOrder(value: number);
  13421. public get color(): UnityEngine.Color;
  13422. public set color(value: UnityEngine.Color);
  13423. public get vertexMatrix(): FairyGUI.NGraphics.VertexMatrix;
  13424. public set vertexMatrix(value: FairyGUI.NGraphics.VertexMatrix);
  13425. public get materialPropertyBlock(): UnityEngine.MaterialPropertyBlock;
  13426. public add_meshModifier ($value: System.Action) : void
  13427. public remove_meshModifier ($value: System.Action) : void
  13428. public SetShaderAndTexture ($shader: string, $texture: FairyGUI.NTexture) : void
  13429. public SetMaterial ($material: UnityEngine.Material) : void
  13430. public ToggleKeyword ($keyword: string, $enabled: boolean) : void
  13431. public Tint () : void
  13432. public SetMeshDirty () : void
  13433. public UpdateMesh () : boolean
  13434. public Dispose () : void
  13435. public Update ($context: FairyGUI.UpdateContext, $alpha: number, $grayed: boolean) : void
  13436. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13437. public constructor ($gameObject: UnityEngine.GameObject)
  13438. public constructor ()
  13439. }
  13440. class Stage extends FairyGUI.Container implements FairyGUI.IEventDispatcher
  13441. {
  13442. protected [__keep_incompatibility]: never;
  13443. public get soundVolume(): number;
  13444. public set soundVolume(value: number);
  13445. public static get inst(): FairyGUI.Stage;
  13446. public static get touchScreen(): boolean;
  13447. public static set touchScreen(value: boolean);
  13448. public static get keyboardInput(): boolean;
  13449. public static set keyboardInput(value: boolean);
  13450. public static get isTouchOnUI(): boolean;
  13451. public static get devicePixelRatio(): number;
  13452. public static set devicePixelRatio(value: number);
  13453. public get onStageResized(): FairyGUI.EventListener;
  13454. public get touchTarget(): FairyGUI.DisplayObject;
  13455. public get focus(): FairyGUI.DisplayObject;
  13456. public set focus(value: FairyGUI.DisplayObject);
  13457. public get touchPosition(): UnityEngine.Vector2;
  13458. public get touchCount(): number;
  13459. public get keyboard(): FairyGUI.IKeyboard;
  13460. public set keyboard(value: FairyGUI.IKeyboard);
  13461. public get activeCursor(): string;
  13462. public add_beforeUpdate ($value: System.Action) : void
  13463. public remove_beforeUpdate ($value: System.Action) : void
  13464. public add_afterUpdate ($value: System.Action) : void
  13465. public remove_afterUpdate ($value: System.Action) : void
  13466. public static Instantiate () : void
  13467. public SetFocus ($newFocus: FairyGUI.DisplayObject, $byKey?: boolean) : void
  13468. public DoKeyNavigate ($backward: boolean) : void
  13469. public GetTouchPosition ($touchId: number) : UnityEngine.Vector2
  13470. public GetTouchTarget ($touchId: number) : FairyGUI.DisplayObject
  13471. public GetAllTouch ($result: System.Array$1<number>) : System.Array$1<number>
  13472. public ResetInputState () : void
  13473. public CancelClick ($touchId: number) : void
  13474. public EnableSound () : void
  13475. public DisableSound () : void
  13476. public PlayOneShotSound ($clip: UnityEngine.AudioClip, $volumeScale: number) : void
  13477. public PlayOneShotSound ($clip: UnityEngine.AudioClip) : void
  13478. public OpenKeyboard ($text: string, $autocorrection: boolean, $multiline: boolean, $secure: boolean, $alert: boolean, $textPlaceholder: string, $keyboardType: number, $hideInput: boolean) : void
  13479. public CloseKeyboard () : void
  13480. public InputString ($value: string) : void
  13481. public SetCustomInput ($screenPos: UnityEngine.Vector2, $buttonDown: boolean) : void
  13482. public SetCustomInput ($screenPos: UnityEngine.Vector2, $buttonDown: boolean, $buttonUp: boolean) : void
  13483. public SetCustomInput ($hit: $Ref<UnityEngine.RaycastHit>, $buttonDown: boolean) : void
  13484. public SetCustomInput ($hit: $Ref<UnityEngine.RaycastHit>, $buttonDown: boolean, $buttonUp: boolean) : void
  13485. public ForceUpdate () : void
  13486. public ApplyPanelOrder ($target: FairyGUI.Container) : void
  13487. public SortWorldSpacePanelsByZOrder ($panelSortingOrder: number) : void
  13488. public MonitorTexture ($texture: FairyGUI.NTexture) : void
  13489. public AddTouchMonitor ($touchId: number, $target: FairyGUI.EventDispatcher) : void
  13490. public RemoveTouchMonitor ($target: FairyGUI.EventDispatcher) : void
  13491. public IsTouchMonitoring ($target: FairyGUI.EventDispatcher) : boolean
  13492. public RegisterCursor ($cursorName: string, $texture: UnityEngine.Texture2D, $hotspot: UnityEngine.Vector2) : void
  13493. public constructor ()
  13494. }
  13495. class Margin extends System.ValueType
  13496. {
  13497. protected [__keep_incompatibility]: never;
  13498. public left : number
  13499. public right : number
  13500. public top : number
  13501. public bottom : number
  13502. }
  13503. interface IFilter
  13504. {
  13505. target : FairyGUI.DisplayObject
  13506. Update () : void
  13507. Dispose () : void
  13508. }
  13509. class DisplayObjectInfo extends UnityEngine.MonoBehaviour
  13510. {
  13511. protected [__keep_incompatibility]: never;
  13512. public displayObject : FairyGUI.DisplayObject
  13513. public constructor ()
  13514. }
  13515. class GoWrapper extends FairyGUI.DisplayObject implements FairyGUI.IEventDispatcher
  13516. {
  13517. protected [__keep_incompatibility]: never;
  13518. public customCloneMaterials : System.Action$1<System.Collections.Generic.Dictionary$2<UnityEngine.Material, UnityEngine.Material>>
  13519. public customRecoverMaterials : System.Action
  13520. public get wrapTarget(): UnityEngine.GameObject;
  13521. public set wrapTarget(value: UnityEngine.GameObject);
  13522. public get renderingOrder(): number;
  13523. public set renderingOrder(value: number);
  13524. public add_onUpdate ($value: System.Action$1<FairyGUI.UpdateContext>) : void
  13525. public remove_onUpdate ($value: System.Action$1<FairyGUI.UpdateContext>) : void
  13526. public SetWrapTarget ($target: UnityEngine.GameObject, $cloneMaterial: boolean) : void
  13527. public CacheRenderers () : void
  13528. public constructor ()
  13529. public constructor ($go: UnityEngine.GameObject)
  13530. }
  13531. class ColliderHitTest extends System.Object implements FairyGUI.IHitTest
  13532. {
  13533. protected [__keep_incompatibility]: never;
  13534. public collider : UnityEngine.Collider
  13535. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  13536. public constructor ()
  13537. }
  13538. class HitTestContext extends System.Object
  13539. {
  13540. protected [__keep_incompatibility]: never;
  13541. public static screenPoint : UnityEngine.Vector3
  13542. public static worldPoint : UnityEngine.Vector3
  13543. public static direction : UnityEngine.Vector3
  13544. public static forTouch : boolean
  13545. public static camera : UnityEngine.Camera
  13546. public static layerMask : number
  13547. public static maxDistance : number
  13548. public static cachedMainCamera : UnityEngine.Camera
  13549. public static GetRaycastHitFromCache ($camera: UnityEngine.Camera, $hit: $Ref<UnityEngine.RaycastHit>) : boolean
  13550. public static CacheRaycastHit ($camera: UnityEngine.Camera, $hit: $Ref<UnityEngine.RaycastHit>) : void
  13551. public static ClearRaycastHitCache () : void
  13552. public constructor ()
  13553. }
  13554. class MeshColliderHitTest extends FairyGUI.ColliderHitTest implements FairyGUI.IHitTest
  13555. {
  13556. protected [__keep_incompatibility]: never;
  13557. public lastHit : UnityEngine.Vector2
  13558. public constructor ($collider: UnityEngine.MeshCollider)
  13559. public constructor ()
  13560. }
  13561. class PixelHitTestData extends System.Object
  13562. {
  13563. protected [__keep_incompatibility]: never;
  13564. public pixelWidth : number
  13565. public scale : number
  13566. public pixels : System.Array$1<number>
  13567. public pixelsLength : number
  13568. public pixelsOffset : number
  13569. public Load ($ba: FairyGUI.Utils.ByteBuffer) : void
  13570. public constructor ()
  13571. }
  13572. class PixelHitTest extends System.Object implements FairyGUI.IHitTest
  13573. {
  13574. protected [__keep_incompatibility]: never;
  13575. public offsetX : number
  13576. public offsetY : number
  13577. public sourceWidth : number
  13578. public sourceHeight : number
  13579. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  13580. public constructor ($data: FairyGUI.PixelHitTestData, $offsetX: number, $offsetY: number, $sourceWidth: number, $sourceHeight: number)
  13581. public constructor ()
  13582. }
  13583. class RectHitTest extends System.Object implements FairyGUI.IHitTest
  13584. {
  13585. protected [__keep_incompatibility]: never;
  13586. public rect : UnityEngine.Rect
  13587. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  13588. public constructor ()
  13589. }
  13590. class ShapeHitTest extends System.Object implements FairyGUI.IHitTest
  13591. {
  13592. protected [__keep_incompatibility]: never;
  13593. public shape : FairyGUI.DisplayObject
  13594. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  13595. public constructor ($obj: FairyGUI.DisplayObject)
  13596. public constructor ()
  13597. }
  13598. class MaterialManager extends System.Object
  13599. {
  13600. protected [__keep_incompatibility]: never;
  13601. public firstMaterialInFrame : boolean
  13602. public add_onCreateNewMaterial ($value: System.Action$1<UnityEngine.Material>) : void
  13603. public remove_onCreateNewMaterial ($value: System.Action$1<UnityEngine.Material>) : void
  13604. public GetFlagsByKeywords ($keywords: System.Collections.Generic.IList$1<string>) : number
  13605. public GetMaterial ($flags: number, $blendMode: FairyGUI.BlendMode, $group: number) : UnityEngine.Material
  13606. public DestroyMaterials () : void
  13607. public RefreshMaterials () : void
  13608. }
  13609. class CompositeMesh extends System.Object implements FairyGUI.IHitTest, FairyGUI.IMeshFactory
  13610. {
  13611. protected [__keep_incompatibility]: never;
  13612. public elements : System.Collections.Generic.List$1<FairyGUI.IMeshFactory>
  13613. public activeIndex : number
  13614. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13615. public HitTest ($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2) : boolean
  13616. public constructor ()
  13617. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  13618. }
  13619. class EllipseMesh extends System.Object implements FairyGUI.IHitTest, FairyGUI.IMeshFactory
  13620. {
  13621. protected [__keep_incompatibility]: never;
  13622. public drawRect : UnityEngine.Rect | null
  13623. public lineWidth : number
  13624. public lineColor : UnityEngine.Color32
  13625. public centerColor : UnityEngine.Color32 | null
  13626. public fillColor : UnityEngine.Color32 | null
  13627. public startDegree : number
  13628. public endDegreee : number
  13629. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13630. public HitTest ($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2) : boolean
  13631. public constructor ()
  13632. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  13633. }
  13634. class FillMesh extends System.Object implements FairyGUI.IMeshFactory
  13635. {
  13636. protected [__keep_incompatibility]: never;
  13637. public method : FairyGUI.FillMethod
  13638. public origin : number
  13639. public amount : number
  13640. public clockwise : boolean
  13641. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13642. public constructor ()
  13643. }
  13644. class PlaneMesh extends System.Object implements FairyGUI.IMeshFactory
  13645. {
  13646. protected [__keep_incompatibility]: never;
  13647. public gridSize : number
  13648. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13649. public constructor ()
  13650. }
  13651. class PolygonMesh extends System.Object implements FairyGUI.IHitTest, FairyGUI.IMeshFactory
  13652. {
  13653. protected [__keep_incompatibility]: never;
  13654. public points : System.Collections.Generic.List$1<UnityEngine.Vector2>
  13655. public texcoords : System.Collections.Generic.List$1<UnityEngine.Vector2>
  13656. public lineWidth : number
  13657. public lineColor : UnityEngine.Color32
  13658. public fillColor : UnityEngine.Color32 | null
  13659. public colors : System.Array$1<UnityEngine.Color32>
  13660. public usePercentPositions : boolean
  13661. public Add ($point: UnityEngine.Vector2) : void
  13662. public Add ($point: UnityEngine.Vector2, $texcoord: UnityEngine.Vector2) : void
  13663. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13664. public HitTest ($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2) : boolean
  13665. public constructor ()
  13666. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  13667. }
  13668. class RectMesh extends System.Object implements FairyGUI.IHitTest, FairyGUI.IMeshFactory
  13669. {
  13670. protected [__keep_incompatibility]: never;
  13671. public drawRect : UnityEngine.Rect | null
  13672. public lineWidth : number
  13673. public lineColor : UnityEngine.Color32
  13674. public fillColor : UnityEngine.Color32 | null
  13675. public colors : System.Array$1<UnityEngine.Color32>
  13676. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13677. public HitTest ($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2) : boolean
  13678. public constructor ()
  13679. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  13680. }
  13681. class RegularPolygonMesh extends System.Object implements FairyGUI.IHitTest, FairyGUI.IMeshFactory
  13682. {
  13683. protected [__keep_incompatibility]: never;
  13684. public drawRect : UnityEngine.Rect | null
  13685. public sides : number
  13686. public lineWidth : number
  13687. public lineColor : UnityEngine.Color32
  13688. public centerColor : UnityEngine.Color32 | null
  13689. public fillColor : UnityEngine.Color32 | null
  13690. public distances : System.Array$1<number>
  13691. public rotation : number
  13692. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13693. public HitTest ($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2) : boolean
  13694. public constructor ()
  13695. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  13696. }
  13697. class RoundedRectMesh extends System.Object implements FairyGUI.IHitTest, FairyGUI.IMeshFactory
  13698. {
  13699. protected [__keep_incompatibility]: never;
  13700. public drawRect : UnityEngine.Rect | null
  13701. public lineWidth : number
  13702. public lineColor : UnityEngine.Color32
  13703. public fillColor : UnityEngine.Color32 | null
  13704. public topLeftRadius : number
  13705. public topRightRadius : number
  13706. public bottomLeftRadius : number
  13707. public bottomRightRadius : number
  13708. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13709. public HitTest ($contentRect: UnityEngine.Rect, $point: UnityEngine.Vector2) : boolean
  13710. public constructor ()
  13711. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  13712. }
  13713. class MovieClip extends FairyGUI.Image implements FairyGUI.IEventDispatcher, FairyGUI.IMeshFactory
  13714. {
  13715. protected [__keep_incompatibility]: never;
  13716. public interval : number
  13717. public swing : boolean
  13718. public repeatDelay : number
  13719. public timeScale : number
  13720. public ignoreEngineTimeScale : boolean
  13721. public get onPlayEnd(): FairyGUI.EventListener;
  13722. public get frames(): System.Array$1<FairyGUI.MovieClip.Frame>;
  13723. public set frames(value: System.Array$1<FairyGUI.MovieClip.Frame>);
  13724. public get playing(): boolean;
  13725. public set playing(value: boolean);
  13726. public get frame(): number;
  13727. public set frame(value: number);
  13728. public Rewind () : void
  13729. public SyncStatus ($anotherMc: FairyGUI.MovieClip) : void
  13730. public Advance ($time: number) : void
  13731. public SetPlaySettings () : void
  13732. public SetPlaySettings ($start: number, $end: number, $times: number, $endAt: number) : void
  13733. public constructor ()
  13734. }
  13735. class NAudioClip extends System.Object
  13736. {
  13737. protected [__keep_incompatibility]: never;
  13738. public static CustomDestroyMethod : System.Action$1<UnityEngine.AudioClip>
  13739. public destroyMethod : FairyGUI.DestroyMethod
  13740. public nativeClip : UnityEngine.AudioClip
  13741. public Unload () : void
  13742. public Reload ($audioClip: UnityEngine.AudioClip) : void
  13743. public constructor ($audioClip: UnityEngine.AudioClip)
  13744. public constructor ()
  13745. }
  13746. enum DestroyMethod
  13747. { Destroy = 0, Unload = 1, None = 2, ReleaseTemp = 3, Custom = 4 }
  13748. class ShaderConfig extends System.Object
  13749. {
  13750. protected [__keep_incompatibility]: never;
  13751. public static Get : FairyGUI.ShaderConfig.GetFunction
  13752. public static imageShader : string
  13753. public static textShader : string
  13754. public static bmFontShader : string
  13755. public static TMPFontShader : string
  13756. public static ID_ClipBox : number
  13757. public static ID_ClipSoftness : number
  13758. public static ID_AlphaTex : number
  13759. public static ID_StencilComp : number
  13760. public static ID_Stencil : number
  13761. public static ID_StencilOp : number
  13762. public static ID_StencilReadMask : number
  13763. public static ID_ColorMask : number
  13764. public static ID_ColorMatrix : number
  13765. public static ID_ColorOffset : number
  13766. public static ID_BlendSrcFactor : number
  13767. public static ID_BlendDstFactor : number
  13768. public static ID_ColorOption : number
  13769. public static ID_Stencil2 : number
  13770. public static GetShader ($name: string) : UnityEngine.Shader
  13771. }
  13772. interface IKeyboard
  13773. {
  13774. done : boolean
  13775. supportsCaret : boolean
  13776. GetInput () : string
  13777. Open ($text: string, $autocorrection: boolean, $multiline: boolean, $secure: boolean, $alert: boolean, $textPlaceholder: string, $keyboardType: number, $hideInput: boolean) : void
  13778. Close () : void
  13779. }
  13780. class StageCamera extends UnityEngine.MonoBehaviour
  13781. {
  13782. protected [__keep_incompatibility]: never;
  13783. public constantSize : boolean
  13784. public unitsPerPixel : number
  13785. public cachedTransform : UnityEngine.Transform
  13786. public cachedCamera : UnityEngine.Camera
  13787. public static main : UnityEngine.Camera
  13788. public static screenSizeVer : number
  13789. public static Name : string
  13790. public static LayerName : string
  13791. public static DefaultCameraSize : number
  13792. public static DefaultUnitsPerPixel : number
  13793. public ApplyModifiedProperties () : void
  13794. public static CheckMainCamera () : void
  13795. public static CheckCaptureCamera () : void
  13796. public static CreateCamera ($name: string, $cullingMask: number) : UnityEngine.Camera
  13797. public constructor ()
  13798. }
  13799. class StageEngine extends UnityEngine.MonoBehaviour
  13800. {
  13801. protected [__keep_incompatibility]: never;
  13802. public ObjectsOnStage : number
  13803. public GraphicsOnStage : number
  13804. public static beingQuit : boolean
  13805. public constructor ()
  13806. }
  13807. class Stats extends System.Object
  13808. {
  13809. protected [__keep_incompatibility]: never;
  13810. public static ObjectCount : number
  13811. public static GraphicsCount : number
  13812. public static LatestObjectCreation : number
  13813. public static LatestGraphicsCreation : number
  13814. public constructor ()
  13815. }
  13816. class DynamicFont extends FairyGUI.BaseFont
  13817. {
  13818. protected [__keep_incompatibility]: never;
  13819. public get nativeFont(): UnityEngine.Font;
  13820. public set nativeFont(value: UnityEngine.Font);
  13821. public constructor ()
  13822. public constructor ($name: string, $font: UnityEngine.Font)
  13823. }
  13824. class Emoji extends System.Object
  13825. {
  13826. protected [__keep_incompatibility]: never;
  13827. public url : string
  13828. public width : number
  13829. public height : number
  13830. public constructor ($url: string, $width: number, $height: number)
  13831. public constructor ($url: string)
  13832. public constructor ()
  13833. }
  13834. class FontManager extends System.Object
  13835. {
  13836. protected [__keep_incompatibility]: never;
  13837. public static sFontFactory : System.Collections.Generic.Dictionary$2<string, FairyGUI.BaseFont>
  13838. public static RegisterFont ($font: FairyGUI.BaseFont, $alias?: string) : void
  13839. public static UnregisterFont ($font: FairyGUI.BaseFont) : void
  13840. public static GetFont ($name: string) : FairyGUI.BaseFont
  13841. public static Clear () : void
  13842. public constructor ()
  13843. }
  13844. class InputTextField extends FairyGUI.RichTextField implements FairyGUI.IEventDispatcher
  13845. {
  13846. protected [__keep_incompatibility]: never;
  13847. public static onCopy : System.Action$2<FairyGUI.InputTextField, string>
  13848. public static onPaste : System.Action$1<FairyGUI.InputTextField>
  13849. public static contextMenu : FairyGUI.PopupMenu
  13850. public get maxLength(): number;
  13851. public set maxLength(value: number);
  13852. public get keyboardInput(): boolean;
  13853. public set keyboardInput(value: boolean);
  13854. public get keyboardType(): number;
  13855. public set keyboardType(value: number);
  13856. public get hideInput(): boolean;
  13857. public set hideInput(value: boolean);
  13858. public get disableIME(): boolean;
  13859. public set disableIME(value: boolean);
  13860. public get mouseWheelEnabled(): boolean;
  13861. public set mouseWheelEnabled(value: boolean);
  13862. public get onChanged(): FairyGUI.EventListener;
  13863. public get onSubmit(): FairyGUI.EventListener;
  13864. public get text(): string;
  13865. public set text(value: string);
  13866. public get textFormat(): FairyGUI.TextFormat;
  13867. public set textFormat(value: FairyGUI.TextFormat);
  13868. public get restrict(): string;
  13869. public set restrict(value: string);
  13870. public get caretPosition(): number;
  13871. public set caretPosition(value: number);
  13872. public get selectionBeginIndex(): number;
  13873. public get selectionEndIndex(): number;
  13874. public get promptText(): string;
  13875. public set promptText(value: string);
  13876. public get displayAsPassword(): boolean;
  13877. public set displayAsPassword(value: boolean);
  13878. public get editable(): boolean;
  13879. public set editable(value: boolean);
  13880. public get border(): number;
  13881. public set border(value: number);
  13882. public get corner(): number;
  13883. public set corner(value: number);
  13884. public get borderColor(): UnityEngine.Color;
  13885. public set borderColor(value: UnityEngine.Color);
  13886. public get backgroundColor(): UnityEngine.Color;
  13887. public set backgroundColor(value: UnityEngine.Color);
  13888. public SetSelection ($start: number, $length: number) : void
  13889. public ReplaceSelection ($value: string) : void
  13890. public ReplaceText ($value: string) : void
  13891. public GetSelection () : string
  13892. public constructor ()
  13893. }
  13894. class PopupMenu extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  13895. {
  13896. protected [__keep_incompatibility]: never;
  13897. public visibleItemCount : number
  13898. public hideOnClickItem : boolean
  13899. public autoSize : boolean
  13900. public get onPopup(): FairyGUI.EventListener;
  13901. public get onClose(): FairyGUI.EventListener;
  13902. public get itemCount(): number;
  13903. public get contentPane(): FairyGUI.GComponent;
  13904. public get list(): FairyGUI.GList;
  13905. public AddItem ($caption: string, $callback: FairyGUI.EventCallback0) : FairyGUI.GButton
  13906. public AddItem ($caption: string, $callback: FairyGUI.EventCallback1) : FairyGUI.GButton
  13907. public AddItemAt ($caption: string, $index: number, $callback: FairyGUI.EventCallback1) : FairyGUI.GButton
  13908. public AddItemAt ($caption: string, $index: number, $callback: FairyGUI.EventCallback0) : FairyGUI.GButton
  13909. public AddSeperator () : void
  13910. public AddSeperator ($index: number) : void
  13911. public GetItemName ($index: number) : string
  13912. public SetItemText ($name: string, $caption: string) : void
  13913. public SetItemVisible ($name: string, $visible: boolean) : void
  13914. public SetItemGrayed ($name: string, $grayed: boolean) : void
  13915. public SetItemCheckable ($name: string, $checkable: boolean) : void
  13916. public SetItemChecked ($name: string, $check: boolean) : void
  13917. public IsItemChecked ($name: string) : boolean
  13918. public RemoveItem ($name: string) : void
  13919. public ClearItems () : void
  13920. public Dispose () : void
  13921. public Show () : void
  13922. public Show ($target: FairyGUI.GObject) : void
  13923. public Show ($target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection) : void
  13924. public Show ($target: FairyGUI.GObject, $dir: FairyGUI.PopupDirection, $parentMenu: FairyGUI.PopupMenu) : void
  13925. public Hide () : void
  13926. public constructor ()
  13927. public constructor ($resourceURL: string)
  13928. }
  13929. class TextField extends FairyGUI.DisplayObject implements FairyGUI.IEventDispatcher, FairyGUI.IMeshFactory
  13930. {
  13931. protected [__keep_incompatibility]: never;
  13932. public get textFormat(): FairyGUI.TextFormat;
  13933. public set textFormat(value: FairyGUI.TextFormat);
  13934. public get align(): FairyGUI.AlignType;
  13935. public set align(value: FairyGUI.AlignType);
  13936. public get verticalAlign(): FairyGUI.VertAlignType;
  13937. public set verticalAlign(value: FairyGUI.VertAlignType);
  13938. public get text(): string;
  13939. public set text(value: string);
  13940. public get htmlText(): string;
  13941. public set htmlText(value: string);
  13942. public get parsedText(): string;
  13943. public get autoSize(): FairyGUI.AutoSizeType;
  13944. public set autoSize(value: FairyGUI.AutoSizeType);
  13945. public get wordWrap(): boolean;
  13946. public set wordWrap(value: boolean);
  13947. public get singleLine(): boolean;
  13948. public set singleLine(value: boolean);
  13949. public get stroke(): number;
  13950. public set stroke(value: number);
  13951. public get strokeColor(): UnityEngine.Color;
  13952. public set strokeColor(value: UnityEngine.Color);
  13953. public get shadowOffset(): UnityEngine.Vector2;
  13954. public set shadowOffset(value: UnityEngine.Vector2);
  13955. public get textWidth(): number;
  13956. public get textHeight(): number;
  13957. public get maxWidth(): number;
  13958. public set maxWidth(value: number);
  13959. public get htmlElements(): System.Collections.Generic.List$1<FairyGUI.Utils.HtmlElement>;
  13960. public get lines(): System.Collections.Generic.List$1<FairyGUI.TextField.LineInfo>;
  13961. public get charPositions(): System.Collections.Generic.List$1<FairyGUI.TextField.CharPosition>;
  13962. public get richTextField(): FairyGUI.RichTextField;
  13963. public EnableCharPositionSupport () : void
  13964. public ApplyFormat () : void
  13965. public Redraw () : boolean
  13966. public HasCharacter ($ch: number) : boolean
  13967. public GetLinesShape ($startLine: number, $startCharX: number, $endLine: number, $endCharX: number, $clipped: boolean, $resultRects: System.Collections.Generic.List$1<UnityEngine.Rect>) : void
  13968. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13969. public constructor ()
  13970. }
  13971. class RTLSupport extends System.Object
  13972. {
  13973. protected [__keep_incompatibility]: never;
  13974. public static BaseDirection : FairyGUI.RTLSupport.DirectionType
  13975. public static IsArabicLetter ($ch: number) : boolean
  13976. public static ConvertNumber ($strNumber: string) : string
  13977. public static ContainsArabicLetters ($text: string) : boolean
  13978. public static DetectTextDirection ($text: string) : FairyGUI.RTLSupport.DirectionType
  13979. public static DoMapping ($input: string) : string
  13980. public static ConvertLineL ($source: string) : string
  13981. public static ConvertLineR ($source: string) : string
  13982. public constructor ()
  13983. }
  13984. class SelectionShape extends FairyGUI.DisplayObject implements FairyGUI.IEventDispatcher, FairyGUI.IMeshFactory
  13985. {
  13986. protected [__keep_incompatibility]: never;
  13987. public rects : System.Collections.Generic.List$1<UnityEngine.Rect>
  13988. public get color(): UnityEngine.Color;
  13989. public set color(value: UnityEngine.Color);
  13990. public Refresh () : void
  13991. public Clear () : void
  13992. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  13993. public constructor ()
  13994. }
  13995. class TouchScreenKeyboard extends System.Object implements FairyGUI.IKeyboard
  13996. {
  13997. protected [__keep_incompatibility]: never;
  13998. public get done(): boolean;
  13999. public get supportsCaret(): boolean;
  14000. public GetInput () : string
  14001. public Open ($text: string, $autocorrection: boolean, $multiline: boolean, $secure: boolean, $alert: boolean, $textPlaceholder: string, $keyboardType: number, $hideInput: boolean) : void
  14002. public Close () : void
  14003. public constructor ()
  14004. }
  14005. class TypingEffect extends System.Object
  14006. {
  14007. protected [__keep_incompatibility]: never;
  14008. public Start () : void
  14009. public Print () : boolean
  14010. public Print ($interval: number) : System.Collections.IEnumerator
  14011. public PrintAll ($interval: number) : void
  14012. public Cancel () : void
  14013. public constructor ($textField: FairyGUI.TextField)
  14014. public constructor ($textField: FairyGUI.GTextField)
  14015. public constructor ()
  14016. }
  14017. class GLoader3D extends FairyGUI.GObject implements FairyGUI.IEventDispatcher, FairyGUI.IAnimationGear, FairyGUI.IColorGear
  14018. {
  14019. protected [__keep_incompatibility]: never;
  14020. public get armatureComponent(): DragonBones.UnityArmatureComponent;
  14021. public get spineAnimation(): Spine40.Unity.SkeletonAnimation;
  14022. public get url(): string;
  14023. public set url(value: string);
  14024. public get icon(): string;
  14025. public set icon(value: string);
  14026. public get align(): FairyGUI.AlignType;
  14027. public set align(value: FairyGUI.AlignType);
  14028. public get verticalAlign(): FairyGUI.VertAlignType;
  14029. public set verticalAlign(value: FairyGUI.VertAlignType);
  14030. public get fill(): FairyGUI.FillType;
  14031. public set fill(value: FairyGUI.FillType);
  14032. public get shrinkOnly(): boolean;
  14033. public set shrinkOnly(value: boolean);
  14034. public get autoSize(): boolean;
  14035. public set autoSize(value: boolean);
  14036. public get playing(): boolean;
  14037. public set playing(value: boolean);
  14038. public get frame(): number;
  14039. public set frame(value: number);
  14040. public get timeScale(): number;
  14041. public set timeScale(value: number);
  14042. public get ignoreEngineTimeScale(): boolean;
  14043. public set ignoreEngineTimeScale(value: boolean);
  14044. public get loop(): boolean;
  14045. public set loop(value: boolean);
  14046. public get animationName(): string;
  14047. public set animationName(value: string);
  14048. public get skinName(): string;
  14049. public set skinName(value: string);
  14050. public get material(): UnityEngine.Material;
  14051. public set material(value: UnityEngine.Material);
  14052. public get shader(): string;
  14053. public set shader(value: string);
  14054. public get color(): UnityEngine.Color;
  14055. public set color(value: UnityEngine.Color);
  14056. public get wrapTarget(): UnityEngine.GameObject;
  14057. public get filter(): FairyGUI.IFilter;
  14058. public set filter(value: FairyGUI.IFilter);
  14059. public get blendMode(): FairyGUI.BlendMode;
  14060. public set blendMode(value: FairyGUI.BlendMode);
  14061. public SetDragonBones ($asset: DragonBones.DragonBonesData, $width: number, $height: number, $anchor: UnityEngine.Vector2) : void
  14062. public SetSpine ($asset: Spine40.Unity.SkeletonDataAsset, $width: number, $height: number, $anchor: UnityEngine.Vector2) : void
  14063. public SetSpine ($asset: Spine40.Unity.SkeletonDataAsset, $width: number, $height: number, $anchor: UnityEngine.Vector2, $cloneMaterial: boolean) : void
  14064. public Advance ($time: number) : void
  14065. public SetWrapTarget ($gameObject: UnityEngine.GameObject, $cloneMaterial: boolean, $width: number, $height: number) : void
  14066. public constructor ()
  14067. }
  14068. enum FillType
  14069. { None = 0, Scale = 1, ScaleMatchHeight = 2, ScaleMatchWidth = 3, ScaleFree = 4, ScaleNoBorder = 5 }
  14070. class ExternalFont extends FairyGUI.BaseFont
  14071. {
  14072. protected [__keep_incompatibility]: never;
  14073. public get samplePointSize(): number;
  14074. public set samplePointSize(value: number);
  14075. public get renderMode(): UnityEngine.TextCore.LowLevel.GlyphRenderMode;
  14076. public set renderMode(value: UnityEngine.TextCore.LowLevel.GlyphRenderMode);
  14077. public Load ($file: string) : void
  14078. public constructor ()
  14079. }
  14080. class TMPFont extends FairyGUI.BaseFont
  14081. {
  14082. protected [__keep_incompatibility]: never;
  14083. public get fontAsset(): TMPro.TMP_FontAsset;
  14084. public set fontAsset(value: TMPro.TMP_FontAsset);
  14085. public get fontWeight(): TMPro.FontWeight;
  14086. public set fontWeight(value: TMPro.FontWeight);
  14087. public constructor ()
  14088. }
  14089. class ExternalTMPFont extends FairyGUI.TMPFont
  14090. {
  14091. protected [__keep_incompatibility]: never;
  14092. public Load ($file: string, $samplePointSize: number, $atlasPadding: number) : void
  14093. public constructor ()
  14094. }
  14095. class BlurFilter extends System.Object implements FairyGUI.IFilter
  14096. {
  14097. protected [__keep_incompatibility]: never;
  14098. public blurSize : number
  14099. public get target(): FairyGUI.DisplayObject;
  14100. public set target(value: FairyGUI.DisplayObject);
  14101. public Dispose () : void
  14102. public Update () : void
  14103. public constructor ()
  14104. }
  14105. class ColorFilter extends System.Object implements FairyGUI.IFilter
  14106. {
  14107. protected [__keep_incompatibility]: never;
  14108. public get target(): FairyGUI.DisplayObject;
  14109. public set target(value: FairyGUI.DisplayObject);
  14110. public Dispose () : void
  14111. public Update () : void
  14112. public Invert () : void
  14113. public AdjustSaturation ($sat: number) : void
  14114. public AdjustContrast ($value: number) : void
  14115. public AdjustBrightness ($value: number) : void
  14116. public AdjustHue ($value: number) : void
  14117. public Tint ($color: UnityEngine.Color, $amount?: number) : void
  14118. public Reset () : void
  14119. public ConcatValues (...values: number[]) : void
  14120. public constructor ()
  14121. }
  14122. class LongPressGesture extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  14123. {
  14124. protected [__keep_incompatibility]: never;
  14125. public trigger : number
  14126. public interval : number
  14127. public once : boolean
  14128. public holdRangeRadius : number
  14129. public static TRIGGER : number
  14130. public static INTERVAL : number
  14131. public get host(): FairyGUI.GObject;
  14132. public get onBegin(): FairyGUI.EventListener;
  14133. public get onEnd(): FairyGUI.EventListener;
  14134. public get onAction(): FairyGUI.EventListener;
  14135. public Dispose () : void
  14136. public Enable ($value: boolean) : void
  14137. public Cancel () : void
  14138. public constructor ($host: FairyGUI.GObject)
  14139. public constructor ()
  14140. }
  14141. class PinchGesture extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  14142. {
  14143. protected [__keep_incompatibility]: never;
  14144. public scale : number
  14145. public delta : number
  14146. public get host(): FairyGUI.GObject;
  14147. public get onBegin(): FairyGUI.EventListener;
  14148. public get onEnd(): FairyGUI.EventListener;
  14149. public get onAction(): FairyGUI.EventListener;
  14150. public Dispose () : void
  14151. public Enable ($value: boolean) : void
  14152. public constructor ($host: FairyGUI.GObject)
  14153. public constructor ()
  14154. }
  14155. class RotationGesture extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  14156. {
  14157. protected [__keep_incompatibility]: never;
  14158. public rotation : number
  14159. public delta : number
  14160. public snapping : boolean
  14161. public get host(): FairyGUI.GObject;
  14162. public get onBegin(): FairyGUI.EventListener;
  14163. public get onEnd(): FairyGUI.EventListener;
  14164. public get onAction(): FairyGUI.EventListener;
  14165. public Dispose () : void
  14166. public Enable ($value: boolean) : void
  14167. public constructor ($host: FairyGUI.GObject)
  14168. public constructor ()
  14169. }
  14170. class SwipeGesture extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  14171. {
  14172. protected [__keep_incompatibility]: never;
  14173. public velocity : UnityEngine.Vector2
  14174. public position : UnityEngine.Vector2
  14175. public delta : UnityEngine.Vector2
  14176. public actionDistance : number
  14177. public snapping : boolean
  14178. public static ACTION_DISTANCE : number
  14179. public get host(): FairyGUI.GObject;
  14180. public get onBegin(): FairyGUI.EventListener;
  14181. public get onEnd(): FairyGUI.EventListener;
  14182. public get onMove(): FairyGUI.EventListener;
  14183. public get onAction(): FairyGUI.EventListener;
  14184. public Dispose () : void
  14185. public Enable ($value: boolean) : void
  14186. public constructor ($host: FairyGUI.GObject)
  14187. public constructor ()
  14188. }
  14189. class EaseManager extends System.Object
  14190. {
  14191. protected [__keep_incompatibility]: never;
  14192. public static Evaluate ($easeType: FairyGUI.EaseType, $time: number, $duration: number, $overshootOrAmplitude?: number, $period?: number, $customEase?: FairyGUI.CustomEase) : number
  14193. }
  14194. class GTween extends System.Object
  14195. {
  14196. protected [__keep_incompatibility]: never;
  14197. public static catchCallbackExceptions : boolean
  14198. public static To ($startValue: number, $endValue: number, $duration: number) : FairyGUI.GTweener
  14199. public static To ($startValue: UnityEngine.Vector2, $endValue: UnityEngine.Vector2, $duration: number) : FairyGUI.GTweener
  14200. public static To ($startValue: UnityEngine.Vector3, $endValue: UnityEngine.Vector3, $duration: number) : FairyGUI.GTweener
  14201. public static To ($startValue: UnityEngine.Vector4, $endValue: UnityEngine.Vector4, $duration: number) : FairyGUI.GTweener
  14202. public static To ($startValue: UnityEngine.Color, $endValue: UnityEngine.Color, $duration: number) : FairyGUI.GTweener
  14203. public static ToDouble ($startValue: number, $endValue: number, $duration: number) : FairyGUI.GTweener
  14204. public static DelayedCall ($delay: number) : FairyGUI.GTweener
  14205. public static Shake ($startValue: UnityEngine.Vector3, $amplitude: number, $duration: number) : FairyGUI.GTweener
  14206. public static IsTweening ($target: any) : boolean
  14207. public static IsTweening ($target: any, $propType: FairyGUI.TweenPropType) : boolean
  14208. public static Kill ($target: any) : void
  14209. public static Kill ($target: any, $complete: boolean) : void
  14210. public static Kill ($target: any, $propType: FairyGUI.TweenPropType, $complete: boolean) : void
  14211. public static GetTween ($target: any) : FairyGUI.GTweener
  14212. public static GetTween ($target: any, $propType: FairyGUI.TweenPropType) : FairyGUI.GTweener
  14213. public static Clean () : void
  14214. public constructor ()
  14215. }
  14216. enum TweenPropType
  14217. { 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 }
  14218. interface ITweenListener
  14219. {
  14220. OnTweenStart ($tweener: FairyGUI.GTweener) : void
  14221. OnTweenUpdate ($tweener: FairyGUI.GTweener) : void
  14222. OnTweenComplete ($tweener: FairyGUI.GTweener) : void
  14223. }
  14224. interface GTweenCallback
  14225. {
  14226. () : void;
  14227. Invoke?: () => void;
  14228. }
  14229. var GTweenCallback: { new (func: () => void): GTweenCallback; }
  14230. interface GTweenCallback1
  14231. {
  14232. (tweener: FairyGUI.GTweener) : void;
  14233. Invoke?: (tweener: FairyGUI.GTweener) => void;
  14234. }
  14235. var GTweenCallback1: { new (func: (tweener: FairyGUI.GTweener) => void): GTweenCallback1; }
  14236. class TweenValue extends System.Object
  14237. {
  14238. protected [__keep_incompatibility]: never;
  14239. public x : number
  14240. public y : number
  14241. public z : number
  14242. public w : number
  14243. public d : number
  14244. public get vec2(): UnityEngine.Vector2;
  14245. public set vec2(value: UnityEngine.Vector2);
  14246. public get vec3(): UnityEngine.Vector3;
  14247. public set vec3(value: UnityEngine.Vector3);
  14248. public get vec4(): UnityEngine.Vector4;
  14249. public set vec4(value: UnityEngine.Vector4);
  14250. public get color(): UnityEngine.Color;
  14251. public set color(value: UnityEngine.Color);
  14252. public get_Item ($index: number) : number
  14253. public set_Item ($index: number, $value: number) : void
  14254. public SetZero () : void
  14255. public constructor ()
  14256. }
  14257. class ControllerAction extends System.Object
  14258. {
  14259. protected [__keep_incompatibility]: never;
  14260. public fromPage : System.Array$1<string>
  14261. public toPage : System.Array$1<string>
  14262. public static CreateAction ($type: FairyGUI.ControllerAction.ActionType) : FairyGUI.ControllerAction
  14263. public Run ($controller: FairyGUI.Controller, $prevPage: string, $curPage: string) : void
  14264. public Setup ($buffer: FairyGUI.Utils.ByteBuffer) : void
  14265. public constructor ()
  14266. }
  14267. class ChangePageAction extends FairyGUI.ControllerAction
  14268. {
  14269. protected [__keep_incompatibility]: never;
  14270. public objectId : string
  14271. public controllerName : string
  14272. public targetPage : string
  14273. public constructor ()
  14274. }
  14275. class Controller extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  14276. {
  14277. protected [__keep_incompatibility]: never;
  14278. public name : string
  14279. public get onChanged(): FairyGUI.EventListener;
  14280. public get selectedIndex(): number;
  14281. public set selectedIndex(value: number);
  14282. public get selectedPage(): string;
  14283. public set selectedPage(value: string);
  14284. public get previsousIndex(): number;
  14285. public get previousPage(): string;
  14286. public get pageCount(): number;
  14287. public Dispose () : void
  14288. public SetSelectedIndex ($value: number) : void
  14289. public SetSelectedPage ($value: string) : void
  14290. public GetPageName ($index: number) : string
  14291. public GetPageId ($index: number) : string
  14292. public GetPageIdByName ($aName: string) : string
  14293. public AddPage ($name: string) : void
  14294. public AddPageAt ($name: string, $index: number) : void
  14295. public RemovePage ($name: string) : void
  14296. public RemovePageAt ($index: number) : void
  14297. public ClearPages () : void
  14298. public HasPage ($aName: string) : boolean
  14299. public RunActions () : void
  14300. public Setup ($buffer: FairyGUI.Utils.ByteBuffer) : void
  14301. public constructor ()
  14302. }
  14303. class PlayTransitionAction extends FairyGUI.ControllerAction
  14304. {
  14305. protected [__keep_incompatibility]: never;
  14306. public transitionName : string
  14307. public playTimes : number
  14308. public delay : number
  14309. public stopOnExit : boolean
  14310. public constructor ()
  14311. }
  14312. class AsyncCreationHelper extends System.Object
  14313. {
  14314. protected [__keep_incompatibility]: never;
  14315. public static CreateObject ($item: FairyGUI.PackageItem, $callback: FairyGUI.UIPackage.CreateObjectCallback) : void
  14316. public constructor ()
  14317. }
  14318. class PackageItem extends System.Object
  14319. {
  14320. protected [__keep_incompatibility]: never;
  14321. public owner : FairyGUI.UIPackage
  14322. public type : FairyGUI.PackageItemType
  14323. public objectType : FairyGUI.ObjectType
  14324. public id : string
  14325. public name : string
  14326. public width : number
  14327. public height : number
  14328. public file : string
  14329. public exported : boolean
  14330. public texture : FairyGUI.NTexture
  14331. public rawData : FairyGUI.Utils.ByteBuffer
  14332. public branches : System.Array$1<string>
  14333. public highResolution : System.Array$1<string>
  14334. public scale9Grid : UnityEngine.Rect | null
  14335. public scaleByTile : boolean
  14336. public tileGridIndice : number
  14337. public pixelHitTestData : FairyGUI.PixelHitTestData
  14338. public interval : number
  14339. public repeatDelay : number
  14340. public swing : boolean
  14341. public frames : System.Array$1<FairyGUI.MovieClip.Frame>
  14342. public translated : boolean
  14343. public extensionCreator : FairyGUI.UIObjectFactory.GComponentCreator
  14344. public bitmapFont : FairyGUI.BitmapFont
  14345. public audioClip : FairyGUI.NAudioClip
  14346. public skeletonAnchor : UnityEngine.Vector2
  14347. public skeletonAsset : any
  14348. public Load () : any
  14349. public getBranch () : FairyGUI.PackageItem
  14350. public getHighResolution () : FairyGUI.PackageItem
  14351. public constructor ()
  14352. }
  14353. class DragDropManager extends System.Object
  14354. {
  14355. protected [__keep_incompatibility]: never;
  14356. public static get inst(): FairyGUI.DragDropManager;
  14357. public get dragAgent(): FairyGUI.GLoader;
  14358. public get dragging(): boolean;
  14359. public StartDrag ($source: FairyGUI.GObject, $icon: string, $sourceData: any, $touchPointID?: number) : void
  14360. public Cancel () : void
  14361. public constructor ()
  14362. }
  14363. interface EMRenderTarget
  14364. {
  14365. EM_sortingOrder : number
  14366. EM_BeforeUpdate () : void
  14367. EM_Update ($context: FairyGUI.UpdateContext) : void
  14368. EM_Reload () : void
  14369. }
  14370. class EMRenderSupport extends System.Object
  14371. {
  14372. protected [__keep_incompatibility]: never;
  14373. public static orderChanged : boolean
  14374. public static get packageListReady(): boolean;
  14375. public static get hasTarget(): boolean;
  14376. public static Add ($value: FairyGUI.EMRenderTarget) : void
  14377. public static Remove ($value: FairyGUI.EMRenderTarget) : void
  14378. public static Update () : void
  14379. public static Reload () : void
  14380. public constructor ()
  14381. }
  14382. enum ButtonMode
  14383. { Common = 0, Check = 1, Radio = 2 }
  14384. class ScrollPane extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  14385. {
  14386. protected [__keep_incompatibility]: never;
  14387. public static TWEEN_TIME_GO : number
  14388. public static TWEEN_TIME_DEFAULT : number
  14389. public static PULL_RATIO : number
  14390. public static get draggingPane(): FairyGUI.ScrollPane;
  14391. public get onScroll(): FairyGUI.EventListener;
  14392. public get onScrollEnd(): FairyGUI.EventListener;
  14393. public get onPullDownRelease(): FairyGUI.EventListener;
  14394. public get onPullUpRelease(): FairyGUI.EventListener;
  14395. public get owner(): FairyGUI.GComponent;
  14396. public get hzScrollBar(): FairyGUI.GScrollBar;
  14397. public get vtScrollBar(): FairyGUI.GScrollBar;
  14398. public get header(): FairyGUI.GComponent;
  14399. public get footer(): FairyGUI.GComponent;
  14400. public get bouncebackEffect(): boolean;
  14401. public set bouncebackEffect(value: boolean);
  14402. public get touchEffect(): boolean;
  14403. public set touchEffect(value: boolean);
  14404. public get inertiaDisabled(): boolean;
  14405. public set inertiaDisabled(value: boolean);
  14406. public get softnessOnTopOrLeftSide(): boolean;
  14407. public set softnessOnTopOrLeftSide(value: boolean);
  14408. public get scrollStep(): number;
  14409. public set scrollStep(value: number);
  14410. public get snapToItem(): boolean;
  14411. public set snapToItem(value: boolean);
  14412. public get pageMode(): boolean;
  14413. public set pageMode(value: boolean);
  14414. public get pageController(): FairyGUI.Controller;
  14415. public set pageController(value: FairyGUI.Controller);
  14416. public get mouseWheelEnabled(): boolean;
  14417. public set mouseWheelEnabled(value: boolean);
  14418. public get decelerationRate(): number;
  14419. public set decelerationRate(value: number);
  14420. public get isDragged(): boolean;
  14421. public get percX(): number;
  14422. public set percX(value: number);
  14423. public get percY(): number;
  14424. public set percY(value: number);
  14425. public get posX(): number;
  14426. public set posX(value: number);
  14427. public get posY(): number;
  14428. public set posY(value: number);
  14429. public get isBottomMost(): boolean;
  14430. public get isRightMost(): boolean;
  14431. public get currentPageX(): number;
  14432. public set currentPageX(value: number);
  14433. public get currentPageY(): number;
  14434. public set currentPageY(value: number);
  14435. public get scrollingPosX(): number;
  14436. public get scrollingPosY(): number;
  14437. public get contentWidth(): number;
  14438. public get contentHeight(): number;
  14439. public get viewWidth(): number;
  14440. public set viewWidth(value: number);
  14441. public get viewHeight(): number;
  14442. public set viewHeight(value: number);
  14443. public Setup ($buffer: FairyGUI.Utils.ByteBuffer) : void
  14444. public Dispose () : void
  14445. public SetPercX ($value: number, $ani: boolean) : void
  14446. public SetPercY ($value: number, $ani: boolean) : void
  14447. public SetPosX ($value: number, $ani: boolean) : void
  14448. public SetPosY ($value: number, $ani: boolean) : void
  14449. public SetCurrentPageX ($value: number, $ani: boolean) : void
  14450. public SetCurrentPageY ($value: number, $ani: boolean) : void
  14451. public ScrollTop () : void
  14452. public ScrollTop ($ani: boolean) : void
  14453. public ScrollBottom () : void
  14454. public ScrollBottom ($ani: boolean) : void
  14455. public ScrollUp () : void
  14456. public ScrollUp ($ratio: number, $ani: boolean) : void
  14457. public ScrollDown () : void
  14458. public ScrollDown ($ratio: number, $ani: boolean) : void
  14459. public ScrollLeft () : void
  14460. public ScrollLeft ($ratio: number, $ani: boolean) : void
  14461. public ScrollRight () : void
  14462. public ScrollRight ($ratio: number, $ani: boolean) : void
  14463. public ScrollToView ($obj: FairyGUI.GObject) : void
  14464. public ScrollToView ($obj: FairyGUI.GObject, $ani: boolean) : void
  14465. public ScrollToView ($obj: FairyGUI.GObject, $ani: boolean, $setFirst: boolean) : void
  14466. public ScrollToView ($rect: UnityEngine.Rect, $ani: boolean, $setFirst: boolean) : void
  14467. public IsChildInView ($obj: FairyGUI.GObject) : boolean
  14468. public CancelDragging () : void
  14469. public LockHeader ($size: number) : void
  14470. public LockFooter ($size: number) : void
  14471. public UpdateScrollBarVisible () : void
  14472. public constructor ($owner: FairyGUI.GComponent)
  14473. public constructor ()
  14474. }
  14475. enum ChildrenRenderOrder
  14476. { Ascent = 0, Descent = 1, Arch = 2 }
  14477. class GGroup extends FairyGUI.GObject implements FairyGUI.IEventDispatcher
  14478. {
  14479. protected [__keep_incompatibility]: never;
  14480. public get layout(): FairyGUI.GroupLayoutType;
  14481. public set layout(value: FairyGUI.GroupLayoutType);
  14482. public get lineGap(): number;
  14483. public set lineGap(value: number);
  14484. public get columnGap(): number;
  14485. public set columnGap(value: number);
  14486. public get excludeInvisibles(): boolean;
  14487. public set excludeInvisibles(value: boolean);
  14488. public get autoSizeDisabled(): boolean;
  14489. public set autoSizeDisabled(value: boolean);
  14490. public get mainGridMinSize(): number;
  14491. public set mainGridMinSize(value: number);
  14492. public get mainGridIndex(): number;
  14493. public set mainGridIndex(value: number);
  14494. public SetBoundsChangedFlag ($positionChangedOnly?: boolean) : void
  14495. public EnsureBoundsCorrect () : void
  14496. public constructor ()
  14497. }
  14498. class Transition extends System.Object implements FairyGUI.ITweenListener
  14499. {
  14500. protected [__keep_incompatibility]: never;
  14501. public invalidateBatchingEveryFrame : boolean
  14502. public get name(): string;
  14503. public get playing(): boolean;
  14504. public get totalDuration(): number;
  14505. public get timeScale(): number;
  14506. public set timeScale(value: number);
  14507. public get ignoreEngineTimeScale(): boolean;
  14508. public set ignoreEngineTimeScale(value: boolean);
  14509. public Play () : void
  14510. public Play ($onComplete: FairyGUI.PlayCompleteCallback) : void
  14511. public Play ($times: number, $delay: number, $onComplete: FairyGUI.PlayCompleteCallback) : void
  14512. public Play ($times: number, $delay: number, $startTime: number, $endTime: number, $onComplete: FairyGUI.PlayCompleteCallback) : void
  14513. public PlayReverse () : void
  14514. public PlayReverse ($onComplete: FairyGUI.PlayCompleteCallback) : void
  14515. public PlayReverse ($times: number, $delay: number, $onComplete: FairyGUI.PlayCompleteCallback) : void
  14516. public ChangePlayTimes ($value: number) : void
  14517. public SetAutoPlay ($autoPlay: boolean, $times: number, $delay: number) : void
  14518. public Stop () : void
  14519. public Stop ($setToComplete: boolean, $processCallback: boolean) : void
  14520. public SetPaused ($paused: boolean) : void
  14521. public Dispose () : void
  14522. public SetValue ($label: string, ...aParams: any[]) : void
  14523. public SetHook ($label: string, $callback: FairyGUI.TransitionHook) : void
  14524. public ClearHooks () : void
  14525. public SetTarget ($label: string, $newTarget: FairyGUI.GObject) : void
  14526. public SetDuration ($label: string, $value: number) : void
  14527. public GetLabelTime ($label: string) : number
  14528. public OnTweenStart ($tweener: FairyGUI.GTweener) : void
  14529. public OnTweenUpdate ($tweener: FairyGUI.GTweener) : void
  14530. public OnTweenComplete ($tweener: FairyGUI.GTweener) : void
  14531. public Setup ($buffer: FairyGUI.Utils.ByteBuffer) : void
  14532. public constructor ($owner: FairyGUI.GComponent)
  14533. public constructor ()
  14534. }
  14535. class GearBase extends System.Object
  14536. {
  14537. protected [__keep_incompatibility]: never;
  14538. public static disableAllTweenEffect : boolean
  14539. public get controller(): FairyGUI.Controller;
  14540. public set controller(value: FairyGUI.Controller);
  14541. public get tweenConfig(): FairyGUI.GearTweenConfig;
  14542. public Dispose () : void
  14543. public Setup ($buffer: FairyGUI.Utils.ByteBuffer) : void
  14544. public UpdateFromRelations ($dx: number, $dy: number) : void
  14545. public Apply () : void
  14546. public UpdateState () : void
  14547. }
  14548. class GearAnimation extends FairyGUI.GearBase
  14549. {
  14550. protected [__keep_incompatibility]: never;
  14551. public AddExtStatus ($pageId: string, $buffer: FairyGUI.Utils.ByteBuffer) : void
  14552. public constructor ($owner: FairyGUI.GObject)
  14553. public constructor ()
  14554. }
  14555. class GearTweenConfig extends System.Object
  14556. {
  14557. protected [__keep_incompatibility]: never;
  14558. public tween : boolean
  14559. public easeType : FairyGUI.EaseType
  14560. public customEase : FairyGUI.CustomEase
  14561. public duration : number
  14562. public delay : number
  14563. public constructor ()
  14564. }
  14565. class GearColor extends FairyGUI.GearBase implements FairyGUI.ITweenListener
  14566. {
  14567. protected [__keep_incompatibility]: never;
  14568. public OnTweenStart ($tweener: FairyGUI.GTweener) : void
  14569. public OnTweenUpdate ($tweener: FairyGUI.GTweener) : void
  14570. public OnTweenComplete ($tweener: FairyGUI.GTweener) : void
  14571. public constructor ($owner: FairyGUI.GObject)
  14572. public constructor ()
  14573. }
  14574. class GearDisplay extends FairyGUI.GearBase
  14575. {
  14576. protected [__keep_incompatibility]: never;
  14577. public get pages(): System.Array$1<string>;
  14578. public set pages(value: System.Array$1<string>);
  14579. public get connected(): boolean;
  14580. public AddLock () : number
  14581. public ReleaseLock ($token: number) : void
  14582. public constructor ($owner: FairyGUI.GObject)
  14583. public constructor ()
  14584. }
  14585. class GearDisplay2 extends FairyGUI.GearBase
  14586. {
  14587. protected [__keep_incompatibility]: never;
  14588. public condition : number
  14589. public get pages(): System.Array$1<string>;
  14590. public set pages(value: System.Array$1<string>);
  14591. public Evaluate ($connected: boolean) : boolean
  14592. public constructor ($owner: FairyGUI.GObject)
  14593. public constructor ()
  14594. }
  14595. class GearFontSize extends FairyGUI.GearBase
  14596. {
  14597. protected [__keep_incompatibility]: never;
  14598. public constructor ($owner: FairyGUI.GObject)
  14599. public constructor ()
  14600. }
  14601. class GearIcon extends FairyGUI.GearBase
  14602. {
  14603. protected [__keep_incompatibility]: never;
  14604. public constructor ($owner: FairyGUI.GObject)
  14605. public constructor ()
  14606. }
  14607. class GearLook extends FairyGUI.GearBase implements FairyGUI.ITweenListener
  14608. {
  14609. protected [__keep_incompatibility]: never;
  14610. public OnTweenStart ($tweener: FairyGUI.GTweener) : void
  14611. public OnTweenUpdate ($tweener: FairyGUI.GTweener) : void
  14612. public OnTweenComplete ($tweener: FairyGUI.GTweener) : void
  14613. public constructor ($owner: FairyGUI.GObject)
  14614. public constructor ()
  14615. }
  14616. class GearSize extends FairyGUI.GearBase implements FairyGUI.ITweenListener
  14617. {
  14618. protected [__keep_incompatibility]: never;
  14619. public OnTweenStart ($tweener: FairyGUI.GTweener) : void
  14620. public OnTweenUpdate ($tweener: FairyGUI.GTweener) : void
  14621. public OnTweenComplete ($tweener: FairyGUI.GTweener) : void
  14622. public constructor ($owner: FairyGUI.GObject)
  14623. public constructor ()
  14624. }
  14625. class GearText extends FairyGUI.GearBase
  14626. {
  14627. protected [__keep_incompatibility]: never;
  14628. public constructor ($owner: FairyGUI.GObject)
  14629. public constructor ()
  14630. }
  14631. class GearXY extends FairyGUI.GearBase implements FairyGUI.ITweenListener
  14632. {
  14633. protected [__keep_incompatibility]: never;
  14634. public positionsInPercent : boolean
  14635. public AddExtStatus ($pageId: string, $buffer: FairyGUI.Utils.ByteBuffer) : void
  14636. public OnTweenStart ($tweener: FairyGUI.GTweener) : void
  14637. public OnTweenUpdate ($tweener: FairyGUI.GTweener) : void
  14638. public OnTweenComplete ($tweener: FairyGUI.GTweener) : void
  14639. public constructor ($owner: FairyGUI.GObject)
  14640. public constructor ()
  14641. }
  14642. class GGraph extends FairyGUI.GObject implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  14643. {
  14644. protected [__keep_incompatibility]: never;
  14645. public get color(): UnityEngine.Color;
  14646. public set color(value: UnityEngine.Color);
  14647. public get shape(): FairyGUI.Shape;
  14648. public ReplaceMe ($target: FairyGUI.GObject) : void
  14649. public AddBeforeMe ($target: FairyGUI.GObject) : void
  14650. public AddAfterMe ($target: FairyGUI.GObject) : void
  14651. public SetNativeObject ($obj: FairyGUI.DisplayObject) : void
  14652. public DrawRect ($aWidth: number, $aHeight: number, $lineSize: number, $lineColor: UnityEngine.Color, $fillColor: UnityEngine.Color) : void
  14653. public DrawRoundRect ($aWidth: number, $aHeight: number, $fillColor: UnityEngine.Color, $corner: System.Array$1<number>) : void
  14654. public DrawEllipse ($aWidth: number, $aHeight: number, $fillColor: UnityEngine.Color) : void
  14655. public DrawPolygon ($aWidth: number, $aHeight: number, $points: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $fillColor: UnityEngine.Color) : void
  14656. public DrawPolygon ($aWidth: number, $aHeight: number, $points: System.Collections.Generic.IList$1<UnityEngine.Vector2>, $fillColor: UnityEngine.Color, $lineSize: number, $lineColor: UnityEngine.Color) : void
  14657. public constructor ()
  14658. }
  14659. class GImage extends FairyGUI.GObject implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  14660. {
  14661. protected [__keep_incompatibility]: never;
  14662. public get color(): UnityEngine.Color;
  14663. public set color(value: UnityEngine.Color);
  14664. public get flip(): FairyGUI.FlipType;
  14665. public set flip(value: FairyGUI.FlipType);
  14666. public get fillMethod(): FairyGUI.FillMethod;
  14667. public set fillMethod(value: FairyGUI.FillMethod);
  14668. public get fillOrigin(): number;
  14669. public set fillOrigin(value: number);
  14670. public get fillClockwise(): boolean;
  14671. public set fillClockwise(value: boolean);
  14672. public get fillAmount(): number;
  14673. public set fillAmount(value: number);
  14674. public get texture(): FairyGUI.NTexture;
  14675. public set texture(value: FairyGUI.NTexture);
  14676. public get material(): UnityEngine.Material;
  14677. public set material(value: UnityEngine.Material);
  14678. public get shader(): string;
  14679. public set shader(value: string);
  14680. public constructor ()
  14681. }
  14682. enum ListSelectionMode
  14683. { Single = 0, Multiple = 1, Multiple_SingleClick = 2, None = 3 }
  14684. interface ListItemRenderer
  14685. {
  14686. (index: number, item: FairyGUI.GObject) : void;
  14687. Invoke?: (index: number, item: FairyGUI.GObject) => void;
  14688. }
  14689. var ListItemRenderer: { new (func: (index: number, item: FairyGUI.GObject) => void): ListItemRenderer; }
  14690. interface ListItemProvider
  14691. {
  14692. (index: number) : string;
  14693. Invoke?: (index: number) => string;
  14694. }
  14695. var ListItemProvider: { new (func: (index: number) => string): ListItemProvider; }
  14696. enum ListLayoutType
  14697. { SingleColumn = 0, SingleRow = 1, FlowHorizontal = 2, FlowVertical = 3, Pagination = 4 }
  14698. class GObjectPool extends System.Object
  14699. {
  14700. protected [__keep_incompatibility]: never;
  14701. public initCallback : FairyGUI.GObjectPool.InitCallbackDelegate
  14702. public get count(): number;
  14703. public Clear () : void
  14704. public GetObject ($url: string) : FairyGUI.GObject
  14705. public ReturnObject ($obj: FairyGUI.GObject) : void
  14706. public constructor ($manager: UnityEngine.Transform)
  14707. public constructor ()
  14708. }
  14709. class GMovieClip extends FairyGUI.GObject implements FairyGUI.IEventDispatcher, FairyGUI.IAnimationGear, FairyGUI.IColorGear
  14710. {
  14711. protected [__keep_incompatibility]: never;
  14712. public get onPlayEnd(): FairyGUI.EventListener;
  14713. public get playing(): boolean;
  14714. public set playing(value: boolean);
  14715. public get frame(): number;
  14716. public set frame(value: number);
  14717. public get color(): UnityEngine.Color;
  14718. public set color(value: UnityEngine.Color);
  14719. public get flip(): FairyGUI.FlipType;
  14720. public set flip(value: FairyGUI.FlipType);
  14721. public get material(): UnityEngine.Material;
  14722. public set material(value: UnityEngine.Material);
  14723. public get shader(): string;
  14724. public set shader(value: string);
  14725. public get timeScale(): number;
  14726. public set timeScale(value: number);
  14727. public get ignoreEngineTimeScale(): boolean;
  14728. public set ignoreEngineTimeScale(value: boolean);
  14729. public Rewind () : void
  14730. public SyncStatus ($anotherMc: FairyGUI.GMovieClip) : void
  14731. public Advance ($time: number) : void
  14732. public SetPlaySettings ($start: number, $end: number, $times: number, $endAt: number) : void
  14733. public constructor ()
  14734. }
  14735. class Relations extends System.Object
  14736. {
  14737. protected [__keep_incompatibility]: never;
  14738. public handling : FairyGUI.GObject
  14739. public get isEmpty(): boolean;
  14740. public Add ($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType) : void
  14741. public Add ($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType, $usePercent: boolean) : void
  14742. public Remove ($target: FairyGUI.GObject, $relationType: FairyGUI.RelationType) : void
  14743. public Contains ($target: FairyGUI.GObject) : boolean
  14744. public ClearFor ($target: FairyGUI.GObject) : void
  14745. public ClearAll () : void
  14746. public CopyFrom ($source: FairyGUI.Relations) : void
  14747. public Dispose () : void
  14748. public OnOwnerSizeChanged ($dWidth: number, $dHeight: number, $applyPivot: boolean) : void
  14749. public Setup ($buffer: FairyGUI.Utils.ByteBuffer, $parentToChild: boolean) : void
  14750. public constructor ($owner: FairyGUI.GObject)
  14751. public constructor ()
  14752. }
  14753. enum RelationType
  14754. { 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 }
  14755. class GProgressBar extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  14756. {
  14757. protected [__keep_incompatibility]: never;
  14758. public get titleType(): FairyGUI.ProgressTitleType;
  14759. public set titleType(value: FairyGUI.ProgressTitleType);
  14760. public get min(): number;
  14761. public set min(value: number);
  14762. public get max(): number;
  14763. public set max(value: number);
  14764. public get value(): number;
  14765. public set value(value: number);
  14766. public get reverse(): boolean;
  14767. public set reverse(value: boolean);
  14768. public TweenValue ($value: number, $duration: number) : FairyGUI.GTweener
  14769. public Update ($newValue: number) : void
  14770. public constructor ()
  14771. }
  14772. class GSlider extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  14773. {
  14774. protected [__keep_incompatibility]: never;
  14775. public changeOnClick : boolean
  14776. public canDrag : boolean
  14777. public get onChanged(): FairyGUI.EventListener;
  14778. public get onGripTouchEnd(): FairyGUI.EventListener;
  14779. public get titleType(): FairyGUI.ProgressTitleType;
  14780. public set titleType(value: FairyGUI.ProgressTitleType);
  14781. public get min(): number;
  14782. public set min(value: number);
  14783. public get max(): number;
  14784. public set max(value: number);
  14785. public get value(): number;
  14786. public set value(value: number);
  14787. public get wholeNumbers(): boolean;
  14788. public set wholeNumbers(value: boolean);
  14789. public constructor ()
  14790. }
  14791. class GRichTextField extends FairyGUI.GTextField implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear, FairyGUI.ITextColorGear
  14792. {
  14793. protected [__keep_incompatibility]: never;
  14794. public get richTextField(): FairyGUI.RichTextField;
  14795. public get emojies(): System.Collections.Generic.Dictionary$2<number, FairyGUI.Emoji>;
  14796. public set emojies(value: System.Collections.Generic.Dictionary$2<number, FairyGUI.Emoji>);
  14797. public constructor ()
  14798. }
  14799. class GTextInput extends FairyGUI.GTextField implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear, FairyGUI.ITextColorGear
  14800. {
  14801. protected [__keep_incompatibility]: never;
  14802. public get inputTextField(): FairyGUI.InputTextField;
  14803. public get onChanged(): FairyGUI.EventListener;
  14804. public get onSubmit(): FairyGUI.EventListener;
  14805. public get editable(): boolean;
  14806. public set editable(value: boolean);
  14807. public get hideInput(): boolean;
  14808. public set hideInput(value: boolean);
  14809. public get maxLength(): number;
  14810. public set maxLength(value: number);
  14811. public get restrict(): string;
  14812. public set restrict(value: string);
  14813. public get displayAsPassword(): boolean;
  14814. public set displayAsPassword(value: boolean);
  14815. public get caretPosition(): number;
  14816. public set caretPosition(value: number);
  14817. public get promptText(): string;
  14818. public set promptText(value: string);
  14819. public get keyboardInput(): boolean;
  14820. public set keyboardInput(value: boolean);
  14821. public get keyboardType(): number;
  14822. public set keyboardType(value: number);
  14823. public get disableIME(): boolean;
  14824. public set disableIME(value: boolean);
  14825. public get emojies(): System.Collections.Generic.Dictionary$2<number, FairyGUI.Emoji>;
  14826. public set emojies(value: System.Collections.Generic.Dictionary$2<number, FairyGUI.Emoji>);
  14827. public get border(): number;
  14828. public set border(value: number);
  14829. public get corner(): number;
  14830. public set corner(value: number);
  14831. public get borderColor(): UnityEngine.Color;
  14832. public set borderColor(value: UnityEngine.Color);
  14833. public get backgroundColor(): UnityEngine.Color;
  14834. public set backgroundColor(value: UnityEngine.Color);
  14835. public get mouseWheelEnabled(): boolean;
  14836. public set mouseWheelEnabled(value: boolean);
  14837. public SetSelection ($start: number, $length: number) : void
  14838. public ReplaceSelection ($value: string) : void
  14839. public constructor ()
  14840. }
  14841. enum ProgressTitleType
  14842. { Percent = 0, ValueAndMax = 1, Value = 2, Max = 3 }
  14843. class GScrollBar extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  14844. {
  14845. protected [__keep_incompatibility]: never;
  14846. public get minSize(): number;
  14847. public get gripDragging(): boolean;
  14848. public SetScrollPane ($target: FairyGUI.ScrollPane, $vertical: boolean) : void
  14849. public SetDisplayPerc ($value: number) : void
  14850. public setScrollPerc ($value: number) : void
  14851. public constructor ()
  14852. }
  14853. interface IUISource
  14854. {
  14855. fileName : string
  14856. loaded : boolean
  14857. Load ($callback: FairyGUI.UILoadCallback) : void
  14858. Cancel () : void
  14859. }
  14860. interface UILoadCallback
  14861. {
  14862. () : void;
  14863. Invoke?: () => void;
  14864. }
  14865. var UILoadCallback: { new (func: () => void): UILoadCallback; }
  14866. class UIPackage extends System.Object
  14867. {
  14868. protected [__keep_incompatibility]: never;
  14869. public static unloadBundleByFGUI : boolean
  14870. public static URL_PREFIX : string
  14871. public get id(): string;
  14872. public get name(): string;
  14873. public static get branch(): string;
  14874. public static set branch(value: string);
  14875. public get assetPath(): string;
  14876. public get customId(): string;
  14877. public set customId(value: string);
  14878. public get resBundle(): UnityEngine.AssetBundle;
  14879. public get dependencies(): System.Array$1<System.Collections.Generic.Dictionary$2<string, string>>;
  14880. public static add_onReleaseResource ($value: System.Action$1<FairyGUI.PackageItem>) : void
  14881. public static remove_onReleaseResource ($value: System.Action$1<FairyGUI.PackageItem>) : void
  14882. public static GetVar ($key: string) : string
  14883. public static SetVar ($key: string, $value: string) : void
  14884. public static GetById ($id: string) : FairyGUI.UIPackage
  14885. public static GetByName ($name: string) : FairyGUI.UIPackage
  14886. public static AddPackage ($bundle: UnityEngine.AssetBundle) : FairyGUI.UIPackage
  14887. public static AddPackage ($desc: UnityEngine.AssetBundle, $res: UnityEngine.AssetBundle) : FairyGUI.UIPackage
  14888. public static AddPackage ($desc: UnityEngine.AssetBundle, $res: UnityEngine.AssetBundle, $mainAssetName: string) : FairyGUI.UIPackage
  14889. public static AddPackage ($descFilePath: string) : FairyGUI.UIPackage
  14890. public static AddPackage ($assetPath: string, $loadFunc: FairyGUI.UIPackage.LoadResource) : FairyGUI.UIPackage
  14891. public static AddPackage ($descData: System.Array$1<number>, $assetNamePrefix: string, $loadFunc: FairyGUI.UIPackage.LoadResource) : FairyGUI.UIPackage
  14892. public static AddPackage ($descData: System.Array$1<number>, $assetNamePrefix: string, $loadFunc: FairyGUI.UIPackage.LoadResourceAsync) : FairyGUI.UIPackage
  14893. public static RemovePackage ($packageIdOrName: string) : void
  14894. public static RemoveAllPackages () : void
  14895. public static GetPackages () : System.Collections.Generic.List$1<FairyGUI.UIPackage>
  14896. public static CreateObject ($pkgName: string, $resName: string) : FairyGUI.GObject
  14897. public static CreateObject ($pkgName: string, $resName: string, $userClass: System.Type) : FairyGUI.GObject
  14898. public static CreateObjectFromURL ($url: string) : FairyGUI.GObject
  14899. public static CreateObjectFromURL ($url: string, $userClass: System.Type) : FairyGUI.GObject
  14900. public static CreateObjectAsync ($pkgName: string, $resName: string, $callback: FairyGUI.UIPackage.CreateObjectCallback) : void
  14901. public static CreateObjectFromURL ($url: string, $callback: FairyGUI.UIPackage.CreateObjectCallback) : void
  14902. public static GetItemAsset ($pkgName: string, $resName: string) : any
  14903. public static GetItemAssetByURL ($url: string) : any
  14904. public static GetItemURL ($pkgName: string, $resName: string) : string
  14905. public static GetItemByURL ($url: string) : FairyGUI.PackageItem
  14906. public static NormalizeURL ($url: string) : string
  14907. public static SetStringsSource ($source: FairyGUI.Utils.XML) : void
  14908. public LoadAllAssets () : void
  14909. public UnloadAssets () : void
  14910. public ReloadAssets () : void
  14911. public ReloadAssets ($resBundle: UnityEngine.AssetBundle) : void
  14912. public CreateObject ($resName: string) : FairyGUI.GObject
  14913. public CreateObject ($resName: string, $userClass: System.Type) : FairyGUI.GObject
  14914. public CreateObjectAsync ($resName: string, $callback: FairyGUI.UIPackage.CreateObjectCallback) : void
  14915. public GetItemAsset ($resName: string) : any
  14916. public GetItems () : System.Collections.Generic.List$1<FairyGUI.PackageItem>
  14917. public GetItem ($itemId: string) : FairyGUI.PackageItem
  14918. public GetItemByName ($itemName: string) : FairyGUI.PackageItem
  14919. public GetItemAsset ($item: FairyGUI.PackageItem) : any
  14920. public SetItemAsset ($item: FairyGUI.PackageItem, $asset: any, $destroyMethod: FairyGUI.DestroyMethod) : void
  14921. public constructor ()
  14922. }
  14923. enum PackageItemType
  14924. { Image = 0, MovieClip = 1, Sound = 2, Component = 3, Atlas = 4, Font = 5, Swf = 6, Misc = 7, Unknown = 8, Spine = 9, DragoneBones = 10 }
  14925. enum ObjectType
  14926. { 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 }
  14927. interface PlayCompleteCallback
  14928. {
  14929. () : void;
  14930. Invoke?: () => void;
  14931. }
  14932. var PlayCompleteCallback: { new (func: () => void): PlayCompleteCallback; }
  14933. interface TransitionHook
  14934. {
  14935. () : void;
  14936. Invoke?: () => void;
  14937. }
  14938. var TransitionHook: { new (func: () => void): TransitionHook; }
  14939. class TranslationHelper extends System.Object
  14940. {
  14941. protected [__keep_incompatibility]: never;
  14942. public static strings : System.Collections.Generic.Dictionary$2<string, System.Collections.Generic.Dictionary$2<string, string>>
  14943. public static LoadFromXML ($source: FairyGUI.Utils.XML) : void
  14944. public static TranslateComponent ($item: FairyGUI.PackageItem) : void
  14945. public constructor ()
  14946. }
  14947. class TreeNode extends System.Object
  14948. {
  14949. protected [__keep_incompatibility]: never;
  14950. public data : any
  14951. public get parent(): FairyGUI.TreeNode;
  14952. public get tree(): FairyGUI.TreeView;
  14953. public get cell(): FairyGUI.GComponent;
  14954. public get level(): number;
  14955. public get expanded(): boolean;
  14956. public set expanded(value: boolean);
  14957. public get isFolder(): boolean;
  14958. public get text(): string;
  14959. public get numChildren(): number;
  14960. public AddChild ($child: FairyGUI.TreeNode) : FairyGUI.TreeNode
  14961. public AddChildAt ($child: FairyGUI.TreeNode, $index: number) : FairyGUI.TreeNode
  14962. public RemoveChild ($child: FairyGUI.TreeNode) : FairyGUI.TreeNode
  14963. public RemoveChildAt ($index: number) : FairyGUI.TreeNode
  14964. public RemoveChildren ($beginIndex?: number, $endIndex?: number) : void
  14965. public GetChildAt ($index: number) : FairyGUI.TreeNode
  14966. public GetChildIndex ($child: FairyGUI.TreeNode) : number
  14967. public GetPrevSibling () : FairyGUI.TreeNode
  14968. public GetNextSibling () : FairyGUI.TreeNode
  14969. public SetChildIndex ($child: FairyGUI.TreeNode, $index: number) : void
  14970. public SwapChildren ($child1: FairyGUI.TreeNode, $child2: FairyGUI.TreeNode) : void
  14971. public SwapChildrenAt ($index1: number, $index2: number) : void
  14972. public constructor ($hasChild: boolean)
  14973. public constructor ()
  14974. }
  14975. class TreeView extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  14976. {
  14977. protected [__keep_incompatibility]: never;
  14978. public indent : number
  14979. public treeNodeCreateCell : FairyGUI.TreeView.TreeNodeCreateCellDelegate
  14980. public treeNodeRender : FairyGUI.TreeView.TreeNodeRenderDelegate
  14981. public treeNodeWillExpand : FairyGUI.TreeView.TreeNodeWillExpandDelegate
  14982. public get list(): FairyGUI.GList;
  14983. public get root(): FairyGUI.TreeNode;
  14984. public get onClickNode(): FairyGUI.EventListener;
  14985. public get onRightClickNode(): FairyGUI.EventListener;
  14986. public GetSelectedNode () : FairyGUI.TreeNode
  14987. public GetSelection () : System.Collections.Generic.List$1<FairyGUI.TreeNode>
  14988. public AddSelection ($node: FairyGUI.TreeNode, $scrollItToView?: boolean) : void
  14989. public RemoveSelection ($node: FairyGUI.TreeNode) : void
  14990. public ClearSelection () : void
  14991. public GetNodeIndex ($node: FairyGUI.TreeNode) : number
  14992. public UpdateNode ($node: FairyGUI.TreeNode) : void
  14993. public UpdateNodes ($nodes: System.Collections.Generic.List$1<FairyGUI.TreeNode>) : void
  14994. public ExpandAll ($folderNode: FairyGUI.TreeNode) : void
  14995. public CollapseAll ($folderNode: FairyGUI.TreeNode) : void
  14996. public constructor ($list: FairyGUI.GList)
  14997. public constructor ()
  14998. }
  14999. class UIConfig extends UnityEngine.MonoBehaviour
  15000. {
  15001. protected [__keep_incompatibility]: never;
  15002. public static defaultFont : string
  15003. public static windowModalWaiting : string
  15004. public static globalModalWaiting : string
  15005. public static modalLayerColor : UnityEngine.Color
  15006. public static buttonSound : FairyGUI.NAudioClip
  15007. public static buttonSoundVolumeScale : number
  15008. public static horizontalScrollBar : string
  15009. public static verticalScrollBar : string
  15010. public static defaultScrollStep : number
  15011. public static defaultScrollDecelerationRate : number
  15012. public static defaultScrollBarDisplay : FairyGUI.ScrollBarDisplayType
  15013. public static defaultScrollTouchEffect : boolean
  15014. public static defaultScrollBounceEffect : boolean
  15015. public static defaultScrollSnappingThreshold : number
  15016. public static defaultScrollPagingThreshold : number
  15017. public static popupMenu : string
  15018. public static popupMenu_seperator : string
  15019. public static loaderErrorSign : string
  15020. public static tooltipsWin : string
  15021. public static defaultComboBoxVisibleItemCount : number
  15022. public static touchScrollSensitivity : number
  15023. public static touchDragSensitivity : number
  15024. public static clickDragSensitivity : number
  15025. public static allowSoftnessOnTopOrLeftSide : boolean
  15026. public static bringWindowToFrontOnClick : boolean
  15027. public static inputCaretSize : number
  15028. public static inputHighlightColor : UnityEngine.Color
  15029. public static frameTimeForAsyncUIConstruction : number
  15030. public static depthSupportForPaintingMode : boolean
  15031. public static enhancedTextOutlineEffect : boolean
  15032. public static makePixelPerfect : boolean
  15033. public Items : System.Collections.Generic.List$1<FairyGUI.UIConfig.ConfigValue>
  15034. public PreloadPackages : System.Collections.Generic.List$1<string>
  15035. public static soundLoader : FairyGUI.UIConfig.SoundLoader
  15036. public Load () : void
  15037. public static SetDefaultValue ($key: FairyGUI.UIConfig.ConfigKey, $value: FairyGUI.UIConfig.ConfigValue) : void
  15038. public static ClearResourceRefs () : void
  15039. public ApplyModifiedProperties () : void
  15040. public constructor ()
  15041. }
  15042. enum ScrollBarDisplayType
  15043. { Default = 0, Visible = 1, Auto = 2, Hidden = 3 }
  15044. class UIContentScaler extends UnityEngine.MonoBehaviour
  15045. {
  15046. protected [__keep_incompatibility]: never;
  15047. public scaleMode : FairyGUI.UIContentScaler.ScaleMode
  15048. public screenMatchMode : FairyGUI.UIContentScaler.ScreenMatchMode
  15049. public designResolutionX : number
  15050. public designResolutionY : number
  15051. public fallbackScreenDPI : number
  15052. public defaultSpriteDPI : number
  15053. public constantScaleFactor : number
  15054. public ignoreOrientation : boolean
  15055. public static scaleFactor : number
  15056. public static scaleLevel : number
  15057. public ApplyModifiedProperties () : void
  15058. public ApplyChange () : void
  15059. public constructor ()
  15060. }
  15061. class UIObjectFactory extends System.Object
  15062. {
  15063. protected [__keep_incompatibility]: never;
  15064. public static SetPackageItemExtension ($url: string, $type: System.Type) : void
  15065. public static SetPackageItemExtension ($url: string, $creator: FairyGUI.UIObjectFactory.GComponentCreator) : void
  15066. public static SetLoaderExtension ($type: System.Type) : void
  15067. public static SetLoaderExtension ($creator: FairyGUI.UIObjectFactory.GLoaderCreator) : void
  15068. public static Clear () : void
  15069. public static NewObject ($pi: FairyGUI.PackageItem, $userClass?: System.Type) : FairyGUI.GObject
  15070. public static NewObject ($type: FairyGUI.ObjectType) : FairyGUI.GObject
  15071. public constructor ()
  15072. }
  15073. class UIPainter extends UnityEngine.MonoBehaviour implements FairyGUI.EMRenderTarget
  15074. {
  15075. protected [__keep_incompatibility]: never;
  15076. public packageName : string
  15077. public componentName : string
  15078. public sortingOrder : number
  15079. public get container(): FairyGUI.Container;
  15080. public get ui(): FairyGUI.GComponent;
  15081. public get EM_sortingOrder(): number;
  15082. public SetSortingOrder ($value: number, $apply: boolean) : void
  15083. public CreateUI () : void
  15084. public ApplyModifiedProperties ($sortingOrderChanged: boolean) : void
  15085. public OnUpdateSource ($data: System.Array$1<any>) : void
  15086. public EM_BeforeUpdate () : void
  15087. public EM_Update ($context: FairyGUI.UpdateContext) : void
  15088. public EM_Reload () : void
  15089. public constructor ()
  15090. }
  15091. class UIPanel extends UnityEngine.MonoBehaviour implements FairyGUI.EMRenderTarget
  15092. {
  15093. protected [__keep_incompatibility]: never;
  15094. public packageName : string
  15095. public componentName : string
  15096. public fitScreen : FairyGUI.FitScreen
  15097. public sortingOrder : number
  15098. public get container(): FairyGUI.Container;
  15099. public get ui(): FairyGUI.GComponent;
  15100. public get EM_sortingOrder(): number;
  15101. public CreateUI () : void
  15102. public SetSortingOrder ($value: number, $apply: boolean) : void
  15103. public SetHitTestMode ($value: FairyGUI.HitTestMode) : void
  15104. public CacheNativeChildrenRenderers () : void
  15105. public ApplyModifiedProperties ($sortingOrderChanged: boolean, $fitScreenChanged: boolean) : void
  15106. public MoveUI ($delta: UnityEngine.Vector3) : void
  15107. public GetUIWorldPosition () : UnityEngine.Vector3
  15108. public EM_BeforeUpdate () : void
  15109. public EM_Update ($context: FairyGUI.UpdateContext) : void
  15110. public EM_Reload () : void
  15111. public constructor ()
  15112. }
  15113. enum FitScreen
  15114. { None = 0, FitSize = 1, FitWidthAndSetMiddle = 2, FitHeightAndSetCenter = 3 }
  15115. enum HitTestMode
  15116. { Default = 0, Raycast = 1 }
  15117. class Timers extends System.Object
  15118. {
  15119. protected [__keep_incompatibility]: never;
  15120. public static repeat : number
  15121. public static time : number
  15122. public static catchCallbackExceptions : boolean
  15123. public static get inst(): FairyGUI.Timers;
  15124. public Add ($interval: number, $repeat: number, $callback: FairyGUI.TimerCallback) : void
  15125. public Add ($interval: number, $repeat: number, $callback: FairyGUI.TimerCallback, $callbackParam: any) : void
  15126. public CallLater ($callback: FairyGUI.TimerCallback) : void
  15127. public CallLater ($callback: FairyGUI.TimerCallback, $callbackParam: any) : void
  15128. public AddUpdate ($callback: FairyGUI.TimerCallback) : void
  15129. public AddUpdate ($callback: FairyGUI.TimerCallback, $callbackParam: any) : void
  15130. public StartCoroutine ($routine: System.Collections.IEnumerator) : void
  15131. public Exists ($callback: FairyGUI.TimerCallback) : boolean
  15132. public Remove ($callback: FairyGUI.TimerCallback) : void
  15133. public Update () : void
  15134. public constructor ()
  15135. }
  15136. interface TimerCallback
  15137. {
  15138. (param: any) : void;
  15139. Invoke?: (param: any) => void;
  15140. }
  15141. var TimerCallback: { new (func: (param: any) => void): TimerCallback; }
  15142. }
  15143. namespace FairyEditor.Dialog {
  15144. class DialogBase extends FairyGUI.Window implements FairyGUI.IEventDispatcher
  15145. {
  15146. protected [__keep_incompatibility]: never;
  15147. public __actionHandler : System.Action
  15148. public __cancelHandler : System.Action
  15149. public ActionHandler () : void
  15150. public CancelHandler () : void
  15151. public constructor ()
  15152. }
  15153. }
  15154. namespace SFB {
  15155. class ExtensionFilter extends System.ValueType
  15156. {
  15157. protected [__keep_incompatibility]: never;
  15158. public Name : string
  15159. public Extensions : System.Array$1<string>
  15160. public constructor ($filterName: string, ...filterExtensions: string[])
  15161. public constructor ()
  15162. }
  15163. }
  15164. namespace System.Net.Http {
  15165. class HttpMessageInvoker extends System.Object implements System.IDisposable
  15166. {
  15167. protected [__keep_incompatibility]: never;
  15168. public SendAsync ($request: System.Net.Http.HttpRequestMessage, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15169. public Dispose () : void
  15170. public constructor ($handler: System.Net.Http.HttpMessageHandler)
  15171. public constructor ($handler: System.Net.Http.HttpMessageHandler, $disposeHandler: boolean)
  15172. public constructor ()
  15173. }
  15174. class HttpClient extends System.Net.Http.HttpMessageInvoker implements System.IDisposable
  15175. {
  15176. protected [__keep_incompatibility]: never;
  15177. public get DefaultRequestHeaders(): System.Net.Http.Headers.HttpRequestHeaders;
  15178. public get BaseAddress(): System.Uri;
  15179. public set BaseAddress(value: System.Uri);
  15180. public get Timeout(): System.TimeSpan;
  15181. public set Timeout(value: System.TimeSpan);
  15182. public get MaxResponseContentBufferSize(): bigint;
  15183. public set MaxResponseContentBufferSize(value: bigint);
  15184. public GetStringAsync ($requestUri: string) : System.Threading.Tasks.Task$1<string>
  15185. public GetStringAsync ($requestUri: System.Uri) : System.Threading.Tasks.Task$1<string>
  15186. public GetByteArrayAsync ($requestUri: string) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15187. public GetByteArrayAsync ($requestUri: System.Uri) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15188. public GetStreamAsync ($requestUri: string) : System.Threading.Tasks.Task$1<System.IO.Stream>
  15189. public GetStreamAsync ($requestUri: System.Uri) : System.Threading.Tasks.Task$1<System.IO.Stream>
  15190. public GetAsync ($requestUri: string) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15191. public GetAsync ($requestUri: System.Uri) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15192. public GetAsync ($requestUri: string, $completionOption: System.Net.Http.HttpCompletionOption) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15193. public GetAsync ($requestUri: System.Uri, $completionOption: System.Net.Http.HttpCompletionOption) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15194. public GetAsync ($requestUri: string, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15195. public GetAsync ($requestUri: System.Uri, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15196. public GetAsync ($requestUri: string, $completionOption: System.Net.Http.HttpCompletionOption, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15197. public GetAsync ($requestUri: System.Uri, $completionOption: System.Net.Http.HttpCompletionOption, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15198. public PostAsync ($requestUri: string, $content: System.Net.Http.HttpContent) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15199. public PostAsync ($requestUri: System.Uri, $content: System.Net.Http.HttpContent) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15200. public PostAsync ($requestUri: string, $content: System.Net.Http.HttpContent, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15201. public PostAsync ($requestUri: System.Uri, $content: System.Net.Http.HttpContent, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15202. public PutAsync ($requestUri: string, $content: System.Net.Http.HttpContent) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15203. public PutAsync ($requestUri: System.Uri, $content: System.Net.Http.HttpContent) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15204. public PutAsync ($requestUri: string, $content: System.Net.Http.HttpContent, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15205. public PutAsync ($requestUri: System.Uri, $content: System.Net.Http.HttpContent, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15206. public PatchAsync ($requestUri: string, $content: System.Net.Http.HttpContent) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15207. public PatchAsync ($requestUri: System.Uri, $content: System.Net.Http.HttpContent) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15208. public PatchAsync ($requestUri: string, $content: System.Net.Http.HttpContent, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15209. public PatchAsync ($requestUri: System.Uri, $content: System.Net.Http.HttpContent, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15210. public DeleteAsync ($requestUri: string) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15211. public DeleteAsync ($requestUri: System.Uri) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15212. public DeleteAsync ($requestUri: string, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15213. public DeleteAsync ($requestUri: System.Uri, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15214. public SendAsync ($request: System.Net.Http.HttpRequestMessage) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15215. public SendAsync ($request: System.Net.Http.HttpRequestMessage, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15216. public SendAsync ($request: System.Net.Http.HttpRequestMessage, $completionOption: System.Net.Http.HttpCompletionOption) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15217. public SendAsync ($request: System.Net.Http.HttpRequestMessage, $completionOption: System.Net.Http.HttpCompletionOption, $cancellationToken: System.Threading.CancellationToken) : System.Threading.Tasks.Task$1<System.Net.Http.HttpResponseMessage>
  15218. public CancelPendingRequests () : void
  15219. public constructor ()
  15220. public constructor ($handler: System.Net.Http.HttpMessageHandler)
  15221. public constructor ($handler: System.Net.Http.HttpMessageHandler, $disposeHandler: boolean)
  15222. }
  15223. class HttpResponseMessage extends System.Object implements System.IDisposable
  15224. {
  15225. protected [__keep_incompatibility]: never;
  15226. public get Version(): System.Version;
  15227. public set Version(value: System.Version);
  15228. public get Content(): System.Net.Http.HttpContent;
  15229. public set Content(value: System.Net.Http.HttpContent);
  15230. public get StatusCode(): System.Net.HttpStatusCode;
  15231. public set StatusCode(value: System.Net.HttpStatusCode);
  15232. public get ReasonPhrase(): string;
  15233. public set ReasonPhrase(value: string);
  15234. public get Headers(): System.Net.Http.Headers.HttpResponseHeaders;
  15235. public get RequestMessage(): System.Net.Http.HttpRequestMessage;
  15236. public set RequestMessage(value: System.Net.Http.HttpRequestMessage);
  15237. public get IsSuccessStatusCode(): boolean;
  15238. public get TrailingHeaders(): System.Net.Http.Headers.HttpResponseHeaders;
  15239. public EnsureSuccessStatusCode () : System.Net.Http.HttpResponseMessage
  15240. public Dispose () : void
  15241. public constructor ()
  15242. public constructor ($statusCode: System.Net.HttpStatusCode)
  15243. }
  15244. enum HttpCompletionOption
  15245. { ResponseContentRead = 0, ResponseHeadersRead = 1 }
  15246. class HttpContent extends System.Object implements System.IDisposable
  15247. {
  15248. protected [__keep_incompatibility]: never;
  15249. public get Headers(): System.Net.Http.Headers.HttpContentHeaders;
  15250. public ReadAsStringAsync () : System.Threading.Tasks.Task$1<string>
  15251. public ReadAsByteArrayAsync () : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15252. public ReadAsStreamAsync () : System.Threading.Tasks.Task$1<System.IO.Stream>
  15253. public CopyToAsync ($stream: System.IO.Stream, $context: System.Net.TransportContext) : $Task<any>
  15254. public CopyToAsync ($stream: System.IO.Stream) : $Task<any>
  15255. public LoadIntoBufferAsync () : $Task<any>
  15256. public LoadIntoBufferAsync ($maxBufferSize: bigint) : $Task<any>
  15257. public Dispose () : void
  15258. }
  15259. class HttpRequestMessage extends System.Object implements System.IDisposable
  15260. {
  15261. protected [__keep_incompatibility]: never;
  15262. public get Version(): System.Version;
  15263. public set Version(value: System.Version);
  15264. public get Content(): System.Net.Http.HttpContent;
  15265. public set Content(value: System.Net.Http.HttpContent);
  15266. public get Method(): System.Net.Http.HttpMethod;
  15267. public set Method(value: System.Net.Http.HttpMethod);
  15268. public get RequestUri(): System.Uri;
  15269. public set RequestUri(value: System.Uri);
  15270. public get Headers(): System.Net.Http.Headers.HttpRequestHeaders;
  15271. public get Properties(): System.Collections.Generic.IDictionary$2<string, any>;
  15272. public Dispose () : void
  15273. public constructor ()
  15274. public constructor ($method: System.Net.Http.HttpMethod, $requestUri: System.Uri)
  15275. public constructor ($method: System.Net.Http.HttpMethod, $requestUri: string)
  15276. }
  15277. class HttpMessageHandler extends System.Object implements System.IDisposable
  15278. {
  15279. protected [__keep_incompatibility]: never;
  15280. public Dispose () : void
  15281. }
  15282. class ByteArrayContent extends System.Net.Http.HttpContent implements System.IDisposable
  15283. {
  15284. protected [__keep_incompatibility]: never;
  15285. public constructor ($content: System.Array$1<number>)
  15286. public constructor ($content: System.Array$1<number>, $offset: number, $count: number)
  15287. public constructor ()
  15288. }
  15289. class DelegatingHandler extends System.Net.Http.HttpMessageHandler implements System.IDisposable
  15290. {
  15291. protected [__keep_incompatibility]: never;
  15292. public get InnerHandler(): System.Net.Http.HttpMessageHandler;
  15293. public set InnerHandler(value: System.Net.Http.HttpMessageHandler);
  15294. }
  15295. class FormUrlEncodedContent extends System.Net.Http.ByteArrayContent implements System.IDisposable
  15296. {
  15297. protected [__keep_incompatibility]: never;
  15298. public constructor ($nameValueCollection: System.Collections.Generic.IEnumerable$1<System.Collections.Generic.KeyValuePair$2<string, string>>)
  15299. public constructor ($content: System.Array$1<number>)
  15300. public constructor ($content: System.Array$1<number>, $offset: number, $count: number)
  15301. public constructor ()
  15302. }
  15303. class HttpClientHandler extends System.Net.Http.HttpMessageHandler implements System.IDisposable
  15304. {
  15305. protected [__keep_incompatibility]: never;
  15306. public static get DangerousAcceptAnyServerCertificateValidator(): System.Func$5<System.Net.Http.HttpRequestMessage, System.Security.Cryptography.X509Certificates.X509Certificate2, System.Security.Cryptography.X509Certificates.X509Chain, System.Net.Security.SslPolicyErrors, boolean>;
  15307. public get SupportsAutomaticDecompression(): boolean;
  15308. public get SupportsProxy(): boolean;
  15309. public get SupportsRedirectConfiguration(): boolean;
  15310. public get UseCookies(): boolean;
  15311. public set UseCookies(value: boolean);
  15312. public get CookieContainer(): System.Net.CookieContainer;
  15313. public set CookieContainer(value: System.Net.CookieContainer);
  15314. public get ClientCertificateOptions(): System.Net.Http.ClientCertificateOption;
  15315. public set ClientCertificateOptions(value: System.Net.Http.ClientCertificateOption);
  15316. public get ClientCertificates(): System.Security.Cryptography.X509Certificates.X509CertificateCollection;
  15317. public get ServerCertificateCustomValidationCallback(): System.Func$5<System.Net.Http.HttpRequestMessage, System.Security.Cryptography.X509Certificates.X509Certificate2, System.Security.Cryptography.X509Certificates.X509Chain, System.Net.Security.SslPolicyErrors, boolean>;
  15318. public set ServerCertificateCustomValidationCallback(value: System.Func$5<System.Net.Http.HttpRequestMessage, System.Security.Cryptography.X509Certificates.X509Certificate2, System.Security.Cryptography.X509Certificates.X509Chain, System.Net.Security.SslPolicyErrors, boolean>);
  15319. public get CheckCertificateRevocationList(): boolean;
  15320. public set CheckCertificateRevocationList(value: boolean);
  15321. public get SslProtocols(): System.Security.Authentication.SslProtocols;
  15322. public set SslProtocols(value: System.Security.Authentication.SslProtocols);
  15323. public get AutomaticDecompression(): System.Net.DecompressionMethods;
  15324. public set AutomaticDecompression(value: System.Net.DecompressionMethods);
  15325. public get UseProxy(): boolean;
  15326. public set UseProxy(value: boolean);
  15327. public get Proxy(): System.Net.IWebProxy;
  15328. public set Proxy(value: System.Net.IWebProxy);
  15329. public get DefaultProxyCredentials(): System.Net.ICredentials;
  15330. public set DefaultProxyCredentials(value: System.Net.ICredentials);
  15331. public get PreAuthenticate(): boolean;
  15332. public set PreAuthenticate(value: boolean);
  15333. public get UseDefaultCredentials(): boolean;
  15334. public set UseDefaultCredentials(value: boolean);
  15335. public get Credentials(): System.Net.ICredentials;
  15336. public set Credentials(value: System.Net.ICredentials);
  15337. public get AllowAutoRedirect(): boolean;
  15338. public set AllowAutoRedirect(value: boolean);
  15339. public get MaxAutomaticRedirections(): number;
  15340. public set MaxAutomaticRedirections(value: number);
  15341. public get MaxConnectionsPerServer(): number;
  15342. public set MaxConnectionsPerServer(value: number);
  15343. public get MaxResponseHeadersLength(): number;
  15344. public set MaxResponseHeadersLength(value: number);
  15345. public get MaxRequestContentBufferSize(): bigint;
  15346. public set MaxRequestContentBufferSize(value: bigint);
  15347. public get Properties(): System.Collections.Generic.IDictionary$2<string, any>;
  15348. public constructor ()
  15349. }
  15350. enum ClientCertificateOption
  15351. { Manual = 0, Automatic = 1 }
  15352. class HttpMethod extends System.Object implements System.IEquatable$1<System.Net.Http.HttpMethod>
  15353. {
  15354. protected [__keep_incompatibility]: never;
  15355. public static get Get(): System.Net.Http.HttpMethod;
  15356. public static get Put(): System.Net.Http.HttpMethod;
  15357. public static get Post(): System.Net.Http.HttpMethod;
  15358. public static get Delete(): System.Net.Http.HttpMethod;
  15359. public static get Head(): System.Net.Http.HttpMethod;
  15360. public static get Options(): System.Net.Http.HttpMethod;
  15361. public static get Trace(): System.Net.Http.HttpMethod;
  15362. public static get Patch(): System.Net.Http.HttpMethod;
  15363. public get Method(): string;
  15364. public Equals ($other: System.Net.Http.HttpMethod) : boolean
  15365. public Equals ($obj: any) : boolean
  15366. public static op_Equality ($left: System.Net.Http.HttpMethod, $right: System.Net.Http.HttpMethod) : boolean
  15367. public static op_Inequality ($left: System.Net.Http.HttpMethod, $right: System.Net.Http.HttpMethod) : boolean
  15368. public constructor ($method: string)
  15369. public static Equals ($objA: any, $objB: any) : boolean
  15370. public constructor ()
  15371. }
  15372. class HttpRequestException extends System.Exception implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  15373. {
  15374. protected [__keep_incompatibility]: never;
  15375. public constructor ()
  15376. public constructor ($message: string)
  15377. public constructor ($message: string, $inner: System.Exception)
  15378. }
  15379. class MessageProcessingHandler extends System.Net.Http.DelegatingHandler implements System.IDisposable
  15380. {
  15381. protected [__keep_incompatibility]: never;
  15382. }
  15383. class MultipartContent extends System.Net.Http.HttpContent implements System.Collections.Generic.IEnumerable$1<System.Net.Http.HttpContent>, System.Collections.IEnumerable, System.IDisposable
  15384. {
  15385. protected [__keep_incompatibility]: never;
  15386. public Add ($content: System.Net.Http.HttpContent) : void
  15387. public GetEnumerator () : System.Collections.Generic.IEnumerator$1<System.Net.Http.HttpContent>
  15388. public constructor ()
  15389. public constructor ($subtype: string)
  15390. public constructor ($subtype: string, $boundary: string)
  15391. }
  15392. class MultipartFormDataContent extends System.Net.Http.MultipartContent implements System.Collections.Generic.IEnumerable$1<System.Net.Http.HttpContent>, System.Collections.IEnumerable, System.IDisposable
  15393. {
  15394. protected [__keep_incompatibility]: never;
  15395. public Add ($content: System.Net.Http.HttpContent) : void
  15396. public Add ($content: System.Net.Http.HttpContent, $name: string) : void
  15397. public Add ($content: System.Net.Http.HttpContent, $name: string, $fileName: string) : void
  15398. public constructor ()
  15399. public constructor ($boundary: string)
  15400. public constructor ($subtype: string)
  15401. public constructor ($subtype: string, $boundary: string)
  15402. }
  15403. class ReadOnlyMemoryContent extends System.Net.Http.HttpContent implements System.IDisposable
  15404. {
  15405. protected [__keep_incompatibility]: never;
  15406. public constructor ($content: System.ReadOnlyMemory$1<number>)
  15407. public constructor ()
  15408. }
  15409. class SocketsHttpHandler extends System.Net.Http.HttpMessageHandler implements System.Net.Http.IMonoHttpClientHandler, System.IDisposable
  15410. {
  15411. protected [__keep_incompatibility]: never;
  15412. public get UseCookies(): boolean;
  15413. public set UseCookies(value: boolean);
  15414. public get CookieContainer(): System.Net.CookieContainer;
  15415. public set CookieContainer(value: System.Net.CookieContainer);
  15416. public get AutomaticDecompression(): System.Net.DecompressionMethods;
  15417. public set AutomaticDecompression(value: System.Net.DecompressionMethods);
  15418. public get UseProxy(): boolean;
  15419. public set UseProxy(value: boolean);
  15420. public get Proxy(): System.Net.IWebProxy;
  15421. public set Proxy(value: System.Net.IWebProxy);
  15422. public get DefaultProxyCredentials(): System.Net.ICredentials;
  15423. public set DefaultProxyCredentials(value: System.Net.ICredentials);
  15424. public get PreAuthenticate(): boolean;
  15425. public set PreAuthenticate(value: boolean);
  15426. public get Credentials(): System.Net.ICredentials;
  15427. public set Credentials(value: System.Net.ICredentials);
  15428. public get AllowAutoRedirect(): boolean;
  15429. public set AllowAutoRedirect(value: boolean);
  15430. public get MaxAutomaticRedirections(): number;
  15431. public set MaxAutomaticRedirections(value: number);
  15432. public get MaxConnectionsPerServer(): number;
  15433. public set MaxConnectionsPerServer(value: number);
  15434. public get MaxResponseDrainSize(): number;
  15435. public set MaxResponseDrainSize(value: number);
  15436. public get ResponseDrainTimeout(): System.TimeSpan;
  15437. public set ResponseDrainTimeout(value: System.TimeSpan);
  15438. public get MaxResponseHeadersLength(): number;
  15439. public set MaxResponseHeadersLength(value: number);
  15440. public get SslOptions(): System.Net.Security.SslClientAuthenticationOptions;
  15441. public set SslOptions(value: System.Net.Security.SslClientAuthenticationOptions);
  15442. public get PooledConnectionLifetime(): System.TimeSpan;
  15443. public set PooledConnectionLifetime(value: System.TimeSpan);
  15444. public get PooledConnectionIdleTimeout(): System.TimeSpan;
  15445. public set PooledConnectionIdleTimeout(value: System.TimeSpan);
  15446. public get ConnectTimeout(): System.TimeSpan;
  15447. public set ConnectTimeout(value: System.TimeSpan);
  15448. public get Expect100ContinueTimeout(): System.TimeSpan;
  15449. public set Expect100ContinueTimeout(value: System.TimeSpan);
  15450. public get Properties(): System.Collections.Generic.IDictionary$2<string, any>;
  15451. public constructor ()
  15452. }
  15453. interface IMonoHttpClientHandler extends System.IDisposable
  15454. {
  15455. }
  15456. class StreamContent extends System.Net.Http.HttpContent implements System.IDisposable
  15457. {
  15458. protected [__keep_incompatibility]: never;
  15459. public constructor ($content: System.IO.Stream)
  15460. public constructor ($content: System.IO.Stream, $bufferSize: number)
  15461. public constructor ()
  15462. }
  15463. class StringContent extends System.Net.Http.ByteArrayContent implements System.IDisposable
  15464. {
  15465. protected [__keep_incompatibility]: never;
  15466. public constructor ($content: string)
  15467. public constructor ($content: string, $encoding: System.Text.Encoding)
  15468. public constructor ($content: string, $encoding: System.Text.Encoding, $mediaType: string)
  15469. public constructor ($content: System.Array$1<number>)
  15470. public constructor ($content: System.Array$1<number>, $offset: number, $count: number)
  15471. public constructor ()
  15472. }
  15473. }
  15474. namespace System.Net.Http.Headers {
  15475. class HttpHeaders extends System.Object implements System.Collections.Generic.IEnumerable$1<System.Collections.Generic.KeyValuePair$2<string, System.Collections.Generic.IEnumerable$1<string>>>, System.Collections.IEnumerable
  15476. {
  15477. protected [__keep_incompatibility]: never;
  15478. }
  15479. class HttpRequestHeaders extends System.Net.Http.Headers.HttpHeaders implements System.Collections.Generic.IEnumerable$1<System.Collections.Generic.KeyValuePair$2<string, System.Collections.Generic.IEnumerable$1<string>>>, System.Collections.IEnumerable
  15480. {
  15481. protected [__keep_incompatibility]: never;
  15482. }
  15483. class HttpContentHeaders extends System.Net.Http.Headers.HttpHeaders implements System.Collections.Generic.IEnumerable$1<System.Collections.Generic.KeyValuePair$2<string, System.Collections.Generic.IEnumerable$1<string>>>, System.Collections.IEnumerable
  15484. {
  15485. protected [__keep_incompatibility]: never;
  15486. }
  15487. class HttpResponseHeaders extends System.Net.Http.Headers.HttpHeaders implements System.Collections.Generic.IEnumerable$1<System.Collections.Generic.KeyValuePair$2<string, System.Collections.Generic.IEnumerable$1<string>>>, System.Collections.IEnumerable
  15488. {
  15489. protected [__keep_incompatibility]: never;
  15490. }
  15491. }
  15492. namespace System.Net {
  15493. class HttpVersion extends System.Object
  15494. {
  15495. protected [__keep_incompatibility]: never;
  15496. public static Unknown : System.Version
  15497. public static Version10 : System.Version
  15498. public static Version11 : System.Version
  15499. public static Version20 : System.Version
  15500. public constructor ()
  15501. }
  15502. class IPAddress extends System.Object
  15503. {
  15504. protected [__keep_incompatibility]: never;
  15505. public static Any : System.Net.IPAddress
  15506. public static Loopback : System.Net.IPAddress
  15507. public static Broadcast : System.Net.IPAddress
  15508. public static None : System.Net.IPAddress
  15509. public static IPv6Any : System.Net.IPAddress
  15510. public static IPv6Loopback : System.Net.IPAddress
  15511. public static IPv6None : System.Net.IPAddress
  15512. public get AddressFamily(): System.Net.Sockets.AddressFamily;
  15513. public get ScopeId(): bigint;
  15514. public set ScopeId(value: bigint);
  15515. public get IsIPv6Multicast(): boolean;
  15516. public get IsIPv6LinkLocal(): boolean;
  15517. public get IsIPv6SiteLocal(): boolean;
  15518. public get IsIPv6Teredo(): boolean;
  15519. public get IsIPv4MappedToIPv6(): boolean;
  15520. public static TryParse ($ipString: string, $address: $Ref<System.Net.IPAddress>) : boolean
  15521. public static Parse ($ipString: string) : System.Net.IPAddress
  15522. public GetAddressBytes () : System.Array$1<number>
  15523. public static HostToNetworkOrder ($host: bigint) : bigint
  15524. public static HostToNetworkOrder ($host: number) : number
  15525. public static NetworkToHostOrder ($network: bigint) : bigint
  15526. public static NetworkToHostOrder ($network: number) : number
  15527. public static IsLoopback ($address: System.Net.IPAddress) : boolean
  15528. public MapToIPv6 () : System.Net.IPAddress
  15529. public MapToIPv4 () : System.Net.IPAddress
  15530. public constructor ($newAddress: bigint)
  15531. public constructor ($address: System.Array$1<number>, $scopeid: bigint)
  15532. public constructor ($address: System.Array$1<number>)
  15533. public constructor ()
  15534. }
  15535. class EndPoint extends System.Object
  15536. {
  15537. protected [__keep_incompatibility]: never;
  15538. public get AddressFamily(): System.Net.Sockets.AddressFamily;
  15539. public Serialize () : System.Net.SocketAddress
  15540. public Create ($socketAddress: System.Net.SocketAddress) : System.Net.EndPoint
  15541. }
  15542. class IPEndPoint extends System.Net.EndPoint
  15543. {
  15544. protected [__keep_incompatibility]: never;
  15545. public static MinPort : number
  15546. public static MaxPort : number
  15547. public get AddressFamily(): System.Net.Sockets.AddressFamily;
  15548. public get Address(): System.Net.IPAddress;
  15549. public set Address(value: System.Net.IPAddress);
  15550. public get Port(): number;
  15551. public set Port(value: number);
  15552. public constructor ($address: bigint, $port: number)
  15553. public constructor ($address: System.Net.IPAddress, $port: number)
  15554. public constructor ()
  15555. }
  15556. class SocketAddress extends System.Object
  15557. {
  15558. protected [__keep_incompatibility]: never;
  15559. public get Family(): System.Net.Sockets.AddressFamily;
  15560. public get Size(): number;
  15561. public get_Item ($offset: number) : number
  15562. public set_Item ($offset: number, $value: number) : void
  15563. public constructor ($family: System.Net.Sockets.AddressFamily)
  15564. public constructor ($family: System.Net.Sockets.AddressFamily, $size: number)
  15565. public constructor ()
  15566. }
  15567. class WebRequest extends System.MarshalByRefObject implements System.Runtime.Serialization.ISerializable
  15568. {
  15569. protected [__keep_incompatibility]: never;
  15570. public static get DefaultCachePolicy(): System.Net.Cache.RequestCachePolicy;
  15571. public static set DefaultCachePolicy(value: System.Net.Cache.RequestCachePolicy);
  15572. public get CachePolicy(): System.Net.Cache.RequestCachePolicy;
  15573. public set CachePolicy(value: System.Net.Cache.RequestCachePolicy);
  15574. public get Method(): string;
  15575. public set Method(value: string);
  15576. public get RequestUri(): System.Uri;
  15577. public get ConnectionGroupName(): string;
  15578. public set ConnectionGroupName(value: string);
  15579. public get Headers(): System.Net.WebHeaderCollection;
  15580. public set Headers(value: System.Net.WebHeaderCollection);
  15581. public get ContentLength(): bigint;
  15582. public set ContentLength(value: bigint);
  15583. public get ContentType(): string;
  15584. public set ContentType(value: string);
  15585. public get Credentials(): System.Net.ICredentials;
  15586. public set Credentials(value: System.Net.ICredentials);
  15587. public get UseDefaultCredentials(): boolean;
  15588. public set UseDefaultCredentials(value: boolean);
  15589. public get Proxy(): System.Net.IWebProxy;
  15590. public set Proxy(value: System.Net.IWebProxy);
  15591. public get PreAuthenticate(): boolean;
  15592. public set PreAuthenticate(value: boolean);
  15593. public get Timeout(): number;
  15594. public set Timeout(value: number);
  15595. public get AuthenticationLevel(): System.Net.Security.AuthenticationLevel;
  15596. public set AuthenticationLevel(value: System.Net.Security.AuthenticationLevel);
  15597. public get ImpersonationLevel(): System.Security.Principal.TokenImpersonationLevel;
  15598. public set ImpersonationLevel(value: System.Security.Principal.TokenImpersonationLevel);
  15599. public static get DefaultWebProxy(): System.Net.IWebProxy;
  15600. public static set DefaultWebProxy(value: System.Net.IWebProxy);
  15601. public static Create ($requestUriString: string) : System.Net.WebRequest
  15602. public static Create ($requestUri: System.Uri) : System.Net.WebRequest
  15603. public static CreateDefault ($requestUri: System.Uri) : System.Net.WebRequest
  15604. public static CreateHttp ($requestUriString: string) : System.Net.HttpWebRequest
  15605. public static CreateHttp ($requestUri: System.Uri) : System.Net.HttpWebRequest
  15606. public static RegisterPrefix ($prefix: string, $creator: System.Net.IWebRequestCreate) : boolean
  15607. public GetRequestStream () : System.IO.Stream
  15608. public GetResponse () : System.Net.WebResponse
  15609. public BeginGetResponse ($callback: System.AsyncCallback, $state: any) : System.IAsyncResult
  15610. public EndGetResponse ($asyncResult: System.IAsyncResult) : System.Net.WebResponse
  15611. public BeginGetRequestStream ($callback: System.AsyncCallback, $state: any) : System.IAsyncResult
  15612. public EndGetRequestStream ($asyncResult: System.IAsyncResult) : System.IO.Stream
  15613. public GetRequestStreamAsync () : System.Threading.Tasks.Task$1<System.IO.Stream>
  15614. public GetResponseAsync () : System.Threading.Tasks.Task$1<System.Net.WebResponse>
  15615. public Abort () : void
  15616. public static GetSystemWebProxy () : System.Net.IWebProxy
  15617. }
  15618. class FtpWebRequest extends System.Net.WebRequest implements System.Runtime.Serialization.ISerializable
  15619. {
  15620. protected [__keep_incompatibility]: never;
  15621. public static get DefaultCachePolicy(): System.Net.Cache.RequestCachePolicy;
  15622. public static set DefaultCachePolicy(value: System.Net.Cache.RequestCachePolicy);
  15623. public get Method(): string;
  15624. public set Method(value: string);
  15625. public get RenameTo(): string;
  15626. public set RenameTo(value: string);
  15627. public get Credentials(): System.Net.ICredentials;
  15628. public set Credentials(value: System.Net.ICredentials);
  15629. public get RequestUri(): System.Uri;
  15630. public get Timeout(): number;
  15631. public set Timeout(value: number);
  15632. public get ReadWriteTimeout(): number;
  15633. public set ReadWriteTimeout(value: number);
  15634. public get ContentOffset(): bigint;
  15635. public set ContentOffset(value: bigint);
  15636. public get ContentLength(): bigint;
  15637. public set ContentLength(value: bigint);
  15638. public get Proxy(): System.Net.IWebProxy;
  15639. public set Proxy(value: System.Net.IWebProxy);
  15640. public get ConnectionGroupName(): string;
  15641. public set ConnectionGroupName(value: string);
  15642. public get ServicePoint(): System.Net.ServicePoint;
  15643. public get KeepAlive(): boolean;
  15644. public set KeepAlive(value: boolean);
  15645. public get CachePolicy(): System.Net.Cache.RequestCachePolicy;
  15646. public set CachePolicy(value: System.Net.Cache.RequestCachePolicy);
  15647. public get UseBinary(): boolean;
  15648. public set UseBinary(value: boolean);
  15649. public get UsePassive(): boolean;
  15650. public set UsePassive(value: boolean);
  15651. public get ClientCertificates(): System.Security.Cryptography.X509Certificates.X509CertificateCollection;
  15652. public set ClientCertificates(value: System.Security.Cryptography.X509Certificates.X509CertificateCollection);
  15653. public get EnableSsl(): boolean;
  15654. public set EnableSsl(value: boolean);
  15655. public get Headers(): System.Net.WebHeaderCollection;
  15656. public set Headers(value: System.Net.WebHeaderCollection);
  15657. public get ContentType(): string;
  15658. public set ContentType(value: string);
  15659. public get UseDefaultCredentials(): boolean;
  15660. public set UseDefaultCredentials(value: boolean);
  15661. public get PreAuthenticate(): boolean;
  15662. public set PreAuthenticate(value: boolean);
  15663. }
  15664. interface ICredentials
  15665. {
  15666. GetCredential ($uri: System.Uri, $authType: string) : System.Net.NetworkCredential
  15667. }
  15668. interface IWebProxy
  15669. {
  15670. Credentials : System.Net.ICredentials
  15671. GetProxy ($destination: System.Uri) : System.Uri
  15672. IsBypassed ($host: System.Uri) : boolean
  15673. }
  15674. class ServicePoint extends System.Object
  15675. {
  15676. protected [__keep_incompatibility]: never;
  15677. public get Address(): System.Uri;
  15678. public get BindIPEndPointDelegate(): System.Net.BindIPEndPoint;
  15679. public set BindIPEndPointDelegate(value: System.Net.BindIPEndPoint);
  15680. public get ConnectionLeaseTimeout(): number;
  15681. public set ConnectionLeaseTimeout(value: number);
  15682. public get ConnectionLimit(): number;
  15683. public set ConnectionLimit(value: number);
  15684. public get ConnectionName(): string;
  15685. public get CurrentConnections(): number;
  15686. public get IdleSince(): System.DateTime;
  15687. public get MaxIdleTime(): number;
  15688. public set MaxIdleTime(value: number);
  15689. public get ProtocolVersion(): System.Version;
  15690. public get ReceiveBufferSize(): number;
  15691. public set ReceiveBufferSize(value: number);
  15692. public get SupportsPipelining(): boolean;
  15693. public get Expect100Continue(): boolean;
  15694. public set Expect100Continue(value: boolean);
  15695. public get UseNagleAlgorithm(): boolean;
  15696. public set UseNagleAlgorithm(value: boolean);
  15697. public get Certificate(): System.Security.Cryptography.X509Certificates.X509Certificate;
  15698. public get ClientCertificate(): System.Security.Cryptography.X509Certificates.X509Certificate;
  15699. public SetTcpKeepAlive ($enabled: boolean, $keepAliveTime: number, $keepAliveInterval: number) : void
  15700. public CloseConnectionGroup ($connectionGroupName: string) : boolean
  15701. }
  15702. class WebResponse extends System.MarshalByRefObject implements System.IDisposable, System.Runtime.Serialization.ISerializable
  15703. {
  15704. protected [__keep_incompatibility]: never;
  15705. public get IsFromCache(): boolean;
  15706. public get IsMutuallyAuthenticated(): boolean;
  15707. public get ContentLength(): bigint;
  15708. public set ContentLength(value: bigint);
  15709. public get ContentType(): string;
  15710. public set ContentType(value: string);
  15711. public get ResponseUri(): System.Uri;
  15712. public get Headers(): System.Net.WebHeaderCollection;
  15713. public get SupportsHeaders(): boolean;
  15714. public Close () : void
  15715. public Dispose () : void
  15716. public GetResponseStream () : System.IO.Stream
  15717. }
  15718. class WebHeaderCollection extends System.Collections.Specialized.NameValueCollection implements System.Collections.ICollection, System.Runtime.Serialization.IDeserializationCallback, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable
  15719. {
  15720. protected [__keep_incompatibility]: never;
  15721. public get Count(): number;
  15722. public get Keys(): System.Collections.Specialized.NameObjectCollectionBase.KeysCollection;
  15723. public get AllKeys(): System.Array$1<string>;
  15724. public get_Item ($header: System.Net.HttpRequestHeader) : string
  15725. public set_Item ($header: System.Net.HttpRequestHeader, $value: string) : void
  15726. public get_Item ($header: System.Net.HttpResponseHeader) : string
  15727. public set_Item ($header: System.Net.HttpResponseHeader, $value: string) : void
  15728. public Add ($header: System.Net.HttpRequestHeader, $value: string) : void
  15729. public Add ($header: System.Net.HttpResponseHeader, $value: string) : void
  15730. public Set ($header: System.Net.HttpRequestHeader, $value: string) : void
  15731. public Set ($header: System.Net.HttpResponseHeader, $value: string) : void
  15732. public Remove ($header: System.Net.HttpRequestHeader) : void
  15733. public Remove ($header: System.Net.HttpResponseHeader) : void
  15734. public Add ($name: string, $value: string) : void
  15735. public Add ($header: string) : void
  15736. public Set ($name: string, $value: string) : void
  15737. public Remove ($name: string) : void
  15738. public ToByteArray () : System.Array$1<number>
  15739. public static IsRestricted ($headerName: string) : boolean
  15740. public static IsRestricted ($headerName: string, $response: boolean) : boolean
  15741. public constructor ()
  15742. }
  15743. class FtpWebResponse extends System.Net.WebResponse implements System.Runtime.Serialization.ISerializable, System.IDisposable
  15744. {
  15745. protected [__keep_incompatibility]: never;
  15746. public get ContentLength(): bigint;
  15747. public get Headers(): System.Net.WebHeaderCollection;
  15748. public get SupportsHeaders(): boolean;
  15749. public get ResponseUri(): System.Uri;
  15750. public get StatusCode(): System.Net.FtpStatusCode;
  15751. public get StatusDescription(): string;
  15752. public get LastModified(): System.DateTime;
  15753. public get BannerMessage(): string;
  15754. public get WelcomeMessage(): string;
  15755. public get ExitMessage(): string;
  15756. }
  15757. enum FtpStatusCode
  15758. { Undefined = 0, RestartMarker = 110, ServiceTemporarilyNotAvailable = 120, DataAlreadyOpen = 125, OpeningData = 150, CommandOK = 200, CommandExtraneous = 202, DirectoryStatus = 212, FileStatus = 213, SystemType = 215, SendUserCommand = 220, ClosingControl = 221, ClosingData = 226, EnteringPassive = 227, LoggedInProceed = 230, ServerWantsSecureSession = 234, FileActionOK = 250, PathnameCreated = 257, SendPasswordCommand = 331, NeedLoginAccount = 332, FileCommandPending = 350, ServiceNotAvailable = 421, CantOpenData = 425, ConnectionClosed = 426, ActionNotTakenFileUnavailableOrBusy = 450, ActionAbortedLocalProcessingError = 451, ActionNotTakenInsufficientSpace = 452, CommandSyntaxError = 500, ArgumentSyntaxError = 501, CommandNotImplemented = 502, BadCommandSequence = 503, NotLoggedIn = 530, AccountNeeded = 532, ActionNotTakenFileUnavailable = 550, ActionAbortedUnknownPageType = 551, FileActionAborted = 552, ActionNotTakenFilenameNotAllowed = 553 }
  15759. class WebClient extends System.ComponentModel.Component implements System.ComponentModel.IComponent, System.IDisposable
  15760. {
  15761. protected [__keep_incompatibility]: never;
  15762. public get Encoding(): System.Text.Encoding;
  15763. public set Encoding(value: System.Text.Encoding);
  15764. public get BaseAddress(): string;
  15765. public set BaseAddress(value: string);
  15766. public get Credentials(): System.Net.ICredentials;
  15767. public set Credentials(value: System.Net.ICredentials);
  15768. public get UseDefaultCredentials(): boolean;
  15769. public set UseDefaultCredentials(value: boolean);
  15770. public get Headers(): System.Net.WebHeaderCollection;
  15771. public set Headers(value: System.Net.WebHeaderCollection);
  15772. public get QueryString(): System.Collections.Specialized.NameValueCollection;
  15773. public set QueryString(value: System.Collections.Specialized.NameValueCollection);
  15774. public get ResponseHeaders(): System.Net.WebHeaderCollection;
  15775. public get Proxy(): System.Net.IWebProxy;
  15776. public set Proxy(value: System.Net.IWebProxy);
  15777. public get CachePolicy(): System.Net.Cache.RequestCachePolicy;
  15778. public set CachePolicy(value: System.Net.Cache.RequestCachePolicy);
  15779. public get IsBusy(): boolean;
  15780. public add_DownloadStringCompleted ($value: System.Net.DownloadStringCompletedEventHandler) : void
  15781. public remove_DownloadStringCompleted ($value: System.Net.DownloadStringCompletedEventHandler) : void
  15782. public add_DownloadDataCompleted ($value: System.Net.DownloadDataCompletedEventHandler) : void
  15783. public remove_DownloadDataCompleted ($value: System.Net.DownloadDataCompletedEventHandler) : void
  15784. public add_DownloadFileCompleted ($value: System.ComponentModel.AsyncCompletedEventHandler) : void
  15785. public remove_DownloadFileCompleted ($value: System.ComponentModel.AsyncCompletedEventHandler) : void
  15786. public add_UploadStringCompleted ($value: System.Net.UploadStringCompletedEventHandler) : void
  15787. public remove_UploadStringCompleted ($value: System.Net.UploadStringCompletedEventHandler) : void
  15788. public add_UploadDataCompleted ($value: System.Net.UploadDataCompletedEventHandler) : void
  15789. public remove_UploadDataCompleted ($value: System.Net.UploadDataCompletedEventHandler) : void
  15790. public add_UploadFileCompleted ($value: System.Net.UploadFileCompletedEventHandler) : void
  15791. public remove_UploadFileCompleted ($value: System.Net.UploadFileCompletedEventHandler) : void
  15792. public add_UploadValuesCompleted ($value: System.Net.UploadValuesCompletedEventHandler) : void
  15793. public remove_UploadValuesCompleted ($value: System.Net.UploadValuesCompletedEventHandler) : void
  15794. public add_OpenReadCompleted ($value: System.Net.OpenReadCompletedEventHandler) : void
  15795. public remove_OpenReadCompleted ($value: System.Net.OpenReadCompletedEventHandler) : void
  15796. public add_OpenWriteCompleted ($value: System.Net.OpenWriteCompletedEventHandler) : void
  15797. public remove_OpenWriteCompleted ($value: System.Net.OpenWriteCompletedEventHandler) : void
  15798. public add_DownloadProgressChanged ($value: System.Net.DownloadProgressChangedEventHandler) : void
  15799. public remove_DownloadProgressChanged ($value: System.Net.DownloadProgressChangedEventHandler) : void
  15800. public add_UploadProgressChanged ($value: System.Net.UploadProgressChangedEventHandler) : void
  15801. public remove_UploadProgressChanged ($value: System.Net.UploadProgressChangedEventHandler) : void
  15802. public DownloadData ($address: string) : System.Array$1<number>
  15803. public DownloadData ($address: System.Uri) : System.Array$1<number>
  15804. public DownloadFile ($address: string, $fileName: string) : void
  15805. public DownloadFile ($address: System.Uri, $fileName: string) : void
  15806. public OpenRead ($address: string) : System.IO.Stream
  15807. public OpenRead ($address: System.Uri) : System.IO.Stream
  15808. public OpenWrite ($address: string) : System.IO.Stream
  15809. public OpenWrite ($address: System.Uri) : System.IO.Stream
  15810. public OpenWrite ($address: string, $method: string) : System.IO.Stream
  15811. public OpenWrite ($address: System.Uri, $method: string) : System.IO.Stream
  15812. public UploadData ($address: string, $data: System.Array$1<number>) : System.Array$1<number>
  15813. public UploadData ($address: System.Uri, $data: System.Array$1<number>) : System.Array$1<number>
  15814. public UploadData ($address: string, $method: string, $data: System.Array$1<number>) : System.Array$1<number>
  15815. public UploadData ($address: System.Uri, $method: string, $data: System.Array$1<number>) : System.Array$1<number>
  15816. public UploadFile ($address: string, $fileName: string) : System.Array$1<number>
  15817. public UploadFile ($address: System.Uri, $fileName: string) : System.Array$1<number>
  15818. public UploadFile ($address: string, $method: string, $fileName: string) : System.Array$1<number>
  15819. public UploadFile ($address: System.Uri, $method: string, $fileName: string) : System.Array$1<number>
  15820. public UploadValues ($address: string, $data: System.Collections.Specialized.NameValueCollection) : System.Array$1<number>
  15821. public UploadValues ($address: System.Uri, $data: System.Collections.Specialized.NameValueCollection) : System.Array$1<number>
  15822. public UploadValues ($address: string, $method: string, $data: System.Collections.Specialized.NameValueCollection) : System.Array$1<number>
  15823. public UploadValues ($address: System.Uri, $method: string, $data: System.Collections.Specialized.NameValueCollection) : System.Array$1<number>
  15824. public UploadString ($address: string, $data: string) : string
  15825. public UploadString ($address: System.Uri, $data: string) : string
  15826. public UploadString ($address: string, $method: string, $data: string) : string
  15827. public UploadString ($address: System.Uri, $method: string, $data: string) : string
  15828. public DownloadString ($address: string) : string
  15829. public DownloadString ($address: System.Uri) : string
  15830. public OpenReadAsync ($address: System.Uri) : void
  15831. public OpenReadAsync ($address: System.Uri, $userToken: any) : void
  15832. public OpenWriteAsync ($address: System.Uri) : void
  15833. public OpenWriteAsync ($address: System.Uri, $method: string) : void
  15834. public OpenWriteAsync ($address: System.Uri, $method: string, $userToken: any) : void
  15835. public DownloadStringAsync ($address: System.Uri) : void
  15836. public DownloadStringAsync ($address: System.Uri, $userToken: any) : void
  15837. public DownloadDataAsync ($address: System.Uri) : void
  15838. public DownloadDataAsync ($address: System.Uri, $userToken: any) : void
  15839. public DownloadFileAsync ($address: System.Uri, $fileName: string) : void
  15840. public DownloadFileAsync ($address: System.Uri, $fileName: string, $userToken: any) : void
  15841. public UploadStringAsync ($address: System.Uri, $data: string) : void
  15842. public UploadStringAsync ($address: System.Uri, $method: string, $data: string) : void
  15843. public UploadStringAsync ($address: System.Uri, $method: string, $data: string, $userToken: any) : void
  15844. public UploadDataAsync ($address: System.Uri, $data: System.Array$1<number>) : void
  15845. public UploadDataAsync ($address: System.Uri, $method: string, $data: System.Array$1<number>) : void
  15846. public UploadDataAsync ($address: System.Uri, $method: string, $data: System.Array$1<number>, $userToken: any) : void
  15847. public UploadFileAsync ($address: System.Uri, $fileName: string) : void
  15848. public UploadFileAsync ($address: System.Uri, $method: string, $fileName: string) : void
  15849. public UploadFileAsync ($address: System.Uri, $method: string, $fileName: string, $userToken: any) : void
  15850. public UploadValuesAsync ($address: System.Uri, $data: System.Collections.Specialized.NameValueCollection) : void
  15851. public UploadValuesAsync ($address: System.Uri, $method: string, $data: System.Collections.Specialized.NameValueCollection) : void
  15852. public UploadValuesAsync ($address: System.Uri, $method: string, $data: System.Collections.Specialized.NameValueCollection, $userToken: any) : void
  15853. public CancelAsync () : void
  15854. public DownloadStringTaskAsync ($address: string) : System.Threading.Tasks.Task$1<string>
  15855. public DownloadStringTaskAsync ($address: System.Uri) : System.Threading.Tasks.Task$1<string>
  15856. public OpenReadTaskAsync ($address: string) : System.Threading.Tasks.Task$1<System.IO.Stream>
  15857. public OpenReadTaskAsync ($address: System.Uri) : System.Threading.Tasks.Task$1<System.IO.Stream>
  15858. public OpenWriteTaskAsync ($address: string) : System.Threading.Tasks.Task$1<System.IO.Stream>
  15859. public OpenWriteTaskAsync ($address: System.Uri) : System.Threading.Tasks.Task$1<System.IO.Stream>
  15860. public OpenWriteTaskAsync ($address: string, $method: string) : System.Threading.Tasks.Task$1<System.IO.Stream>
  15861. public OpenWriteTaskAsync ($address: System.Uri, $method: string) : System.Threading.Tasks.Task$1<System.IO.Stream>
  15862. public UploadStringTaskAsync ($address: string, $data: string) : System.Threading.Tasks.Task$1<string>
  15863. public UploadStringTaskAsync ($address: System.Uri, $data: string) : System.Threading.Tasks.Task$1<string>
  15864. public UploadStringTaskAsync ($address: string, $method: string, $data: string) : System.Threading.Tasks.Task$1<string>
  15865. public UploadStringTaskAsync ($address: System.Uri, $method: string, $data: string) : System.Threading.Tasks.Task$1<string>
  15866. public DownloadDataTaskAsync ($address: string) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15867. public DownloadDataTaskAsync ($address: System.Uri) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15868. public DownloadFileTaskAsync ($address: string, $fileName: string) : $Task<any>
  15869. public DownloadFileTaskAsync ($address: System.Uri, $fileName: string) : $Task<any>
  15870. public UploadDataTaskAsync ($address: string, $data: System.Array$1<number>) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15871. public UploadDataTaskAsync ($address: System.Uri, $data: System.Array$1<number>) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15872. public UploadDataTaskAsync ($address: string, $method: string, $data: System.Array$1<number>) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15873. public UploadDataTaskAsync ($address: System.Uri, $method: string, $data: System.Array$1<number>) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15874. public UploadFileTaskAsync ($address: string, $fileName: string) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15875. public UploadFileTaskAsync ($address: System.Uri, $fileName: string) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15876. public UploadFileTaskAsync ($address: string, $method: string, $fileName: string) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15877. public UploadFileTaskAsync ($address: System.Uri, $method: string, $fileName: string) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15878. public UploadValuesTaskAsync ($address: string, $data: System.Collections.Specialized.NameValueCollection) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15879. public UploadValuesTaskAsync ($address: string, $method: string, $data: System.Collections.Specialized.NameValueCollection) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15880. public UploadValuesTaskAsync ($address: System.Uri, $data: System.Collections.Specialized.NameValueCollection) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15881. public UploadValuesTaskAsync ($address: System.Uri, $method: string, $data: System.Collections.Specialized.NameValueCollection) : System.Threading.Tasks.Task$1<System.Array$1<number>>
  15882. public add_WriteStreamClosed ($value: System.Net.WriteStreamClosedEventHandler) : void
  15883. public remove_WriteStreamClosed ($value: System.Net.WriteStreamClosedEventHandler) : void
  15884. public constructor ()
  15885. }
  15886. interface DownloadStringCompletedEventHandler
  15887. {
  15888. (sender: any, e: System.Net.DownloadStringCompletedEventArgs) : void;
  15889. Invoke?: (sender: any, e: System.Net.DownloadStringCompletedEventArgs) => void;
  15890. }
  15891. var DownloadStringCompletedEventHandler: { new (func: (sender: any, e: System.Net.DownloadStringCompletedEventArgs) => void): DownloadStringCompletedEventHandler; }
  15892. class DownloadStringCompletedEventArgs extends System.ComponentModel.AsyncCompletedEventArgs
  15893. {
  15894. protected [__keep_incompatibility]: never;
  15895. public get Result(): string;
  15896. }
  15897. interface DownloadDataCompletedEventHandler
  15898. {
  15899. (sender: any, e: System.Net.DownloadDataCompletedEventArgs) : void;
  15900. Invoke?: (sender: any, e: System.Net.DownloadDataCompletedEventArgs) => void;
  15901. }
  15902. var DownloadDataCompletedEventHandler: { new (func: (sender: any, e: System.Net.DownloadDataCompletedEventArgs) => void): DownloadDataCompletedEventHandler; }
  15903. class DownloadDataCompletedEventArgs extends System.ComponentModel.AsyncCompletedEventArgs
  15904. {
  15905. protected [__keep_incompatibility]: never;
  15906. public get Result(): System.Array$1<number>;
  15907. }
  15908. interface UploadStringCompletedEventHandler
  15909. {
  15910. (sender: any, e: System.Net.UploadStringCompletedEventArgs) : void;
  15911. Invoke?: (sender: any, e: System.Net.UploadStringCompletedEventArgs) => void;
  15912. }
  15913. var UploadStringCompletedEventHandler: { new (func: (sender: any, e: System.Net.UploadStringCompletedEventArgs) => void): UploadStringCompletedEventHandler; }
  15914. class UploadStringCompletedEventArgs extends System.ComponentModel.AsyncCompletedEventArgs
  15915. {
  15916. protected [__keep_incompatibility]: never;
  15917. public get Result(): string;
  15918. }
  15919. interface UploadDataCompletedEventHandler
  15920. {
  15921. (sender: any, e: System.Net.UploadDataCompletedEventArgs) : void;
  15922. Invoke?: (sender: any, e: System.Net.UploadDataCompletedEventArgs) => void;
  15923. }
  15924. var UploadDataCompletedEventHandler: { new (func: (sender: any, e: System.Net.UploadDataCompletedEventArgs) => void): UploadDataCompletedEventHandler; }
  15925. class UploadDataCompletedEventArgs extends System.ComponentModel.AsyncCompletedEventArgs
  15926. {
  15927. protected [__keep_incompatibility]: never;
  15928. public get Result(): System.Array$1<number>;
  15929. }
  15930. interface UploadFileCompletedEventHandler
  15931. {
  15932. (sender: any, e: System.Net.UploadFileCompletedEventArgs) : void;
  15933. Invoke?: (sender: any, e: System.Net.UploadFileCompletedEventArgs) => void;
  15934. }
  15935. var UploadFileCompletedEventHandler: { new (func: (sender: any, e: System.Net.UploadFileCompletedEventArgs) => void): UploadFileCompletedEventHandler; }
  15936. class UploadFileCompletedEventArgs extends System.ComponentModel.AsyncCompletedEventArgs
  15937. {
  15938. protected [__keep_incompatibility]: never;
  15939. public get Result(): System.Array$1<number>;
  15940. }
  15941. interface UploadValuesCompletedEventHandler
  15942. {
  15943. (sender: any, e: System.Net.UploadValuesCompletedEventArgs) : void;
  15944. Invoke?: (sender: any, e: System.Net.UploadValuesCompletedEventArgs) => void;
  15945. }
  15946. var UploadValuesCompletedEventHandler: { new (func: (sender: any, e: System.Net.UploadValuesCompletedEventArgs) => void): UploadValuesCompletedEventHandler; }
  15947. class UploadValuesCompletedEventArgs extends System.ComponentModel.AsyncCompletedEventArgs
  15948. {
  15949. protected [__keep_incompatibility]: never;
  15950. public get Result(): System.Array$1<number>;
  15951. }
  15952. interface OpenReadCompletedEventHandler
  15953. {
  15954. (sender: any, e: System.Net.OpenReadCompletedEventArgs) : void;
  15955. Invoke?: (sender: any, e: System.Net.OpenReadCompletedEventArgs) => void;
  15956. }
  15957. var OpenReadCompletedEventHandler: { new (func: (sender: any, e: System.Net.OpenReadCompletedEventArgs) => void): OpenReadCompletedEventHandler; }
  15958. class OpenReadCompletedEventArgs extends System.ComponentModel.AsyncCompletedEventArgs
  15959. {
  15960. protected [__keep_incompatibility]: never;
  15961. public get Result(): System.IO.Stream;
  15962. }
  15963. interface OpenWriteCompletedEventHandler
  15964. {
  15965. (sender: any, e: System.Net.OpenWriteCompletedEventArgs) : void;
  15966. Invoke?: (sender: any, e: System.Net.OpenWriteCompletedEventArgs) => void;
  15967. }
  15968. var OpenWriteCompletedEventHandler: { new (func: (sender: any, e: System.Net.OpenWriteCompletedEventArgs) => void): OpenWriteCompletedEventHandler; }
  15969. class OpenWriteCompletedEventArgs extends System.ComponentModel.AsyncCompletedEventArgs
  15970. {
  15971. protected [__keep_incompatibility]: never;
  15972. public get Result(): System.IO.Stream;
  15973. }
  15974. interface DownloadProgressChangedEventHandler
  15975. {
  15976. (sender: any, e: System.Net.DownloadProgressChangedEventArgs) : void;
  15977. Invoke?: (sender: any, e: System.Net.DownloadProgressChangedEventArgs) => void;
  15978. }
  15979. var DownloadProgressChangedEventHandler: { new (func: (sender: any, e: System.Net.DownloadProgressChangedEventArgs) => void): DownloadProgressChangedEventHandler; }
  15980. class DownloadProgressChangedEventArgs extends System.ComponentModel.ProgressChangedEventArgs
  15981. {
  15982. protected [__keep_incompatibility]: never;
  15983. public get BytesReceived(): bigint;
  15984. public get TotalBytesToReceive(): bigint;
  15985. }
  15986. interface UploadProgressChangedEventHandler
  15987. {
  15988. (sender: any, e: System.Net.UploadProgressChangedEventArgs) : void;
  15989. Invoke?: (sender: any, e: System.Net.UploadProgressChangedEventArgs) => void;
  15990. }
  15991. var UploadProgressChangedEventHandler: { new (func: (sender: any, e: System.Net.UploadProgressChangedEventArgs) => void): UploadProgressChangedEventHandler; }
  15992. class UploadProgressChangedEventArgs extends System.ComponentModel.ProgressChangedEventArgs
  15993. {
  15994. protected [__keep_incompatibility]: never;
  15995. public get BytesReceived(): bigint;
  15996. public get TotalBytesToReceive(): bigint;
  15997. public get BytesSent(): bigint;
  15998. public get TotalBytesToSend(): bigint;
  15999. }
  16000. interface WriteStreamClosedEventHandler
  16001. {
  16002. (sender: any, e: System.Net.WriteStreamClosedEventArgs) : void;
  16003. Invoke?: (sender: any, e: System.Net.WriteStreamClosedEventArgs) => void;
  16004. }
  16005. var WriteStreamClosedEventHandler: { new (func: (sender: any, e: System.Net.WriteStreamClosedEventArgs) => void): WriteStreamClosedEventHandler; }
  16006. class WriteStreamClosedEventArgs extends System.EventArgs
  16007. {
  16008. protected [__keep_incompatibility]: never;
  16009. }
  16010. class Authorization extends System.Object
  16011. {
  16012. protected [__keep_incompatibility]: never;
  16013. public get Message(): string;
  16014. public get ConnectionGroupId(): string;
  16015. public get Complete(): boolean;
  16016. public get ProtectionRealm(): System.Array$1<string>;
  16017. public set ProtectionRealm(value: System.Array$1<string>);
  16018. public get MutuallyAuthenticated(): boolean;
  16019. public set MutuallyAuthenticated(value: boolean);
  16020. public constructor ($token: string)
  16021. public constructor ($token: string, $finished: boolean)
  16022. public constructor ($token: string, $finished: boolean, $connectionGroupId: string)
  16023. public constructor ()
  16024. }
  16025. class CredentialCache extends System.Object implements System.Collections.IEnumerable, System.Net.ICredentials, System.Net.ICredentialsByHost
  16026. {
  16027. protected [__keep_incompatibility]: never;
  16028. public static get DefaultCredentials(): System.Net.ICredentials;
  16029. public static get DefaultNetworkCredentials(): System.Net.NetworkCredential;
  16030. public Add ($uriPrefix: System.Uri, $authType: string, $cred: System.Net.NetworkCredential) : void
  16031. public Add ($host: string, $port: number, $authenticationType: string, $credential: System.Net.NetworkCredential) : void
  16032. public Remove ($uriPrefix: System.Uri, $authType: string) : void
  16033. public Remove ($host: string, $port: number, $authenticationType: string) : void
  16034. public GetCredential ($uriPrefix: System.Uri, $authType: string) : System.Net.NetworkCredential
  16035. public GetCredential ($host: string, $port: number, $authenticationType: string) : System.Net.NetworkCredential
  16036. public GetEnumerator () : System.Collections.IEnumerator
  16037. public constructor ()
  16038. public GetCredential ($uri: System.Uri, $authType: string) : System.Net.NetworkCredential
  16039. }
  16040. interface ICredentialsByHost
  16041. {
  16042. GetCredential ($host: string, $port: number, $authenticationType: string) : System.Net.NetworkCredential
  16043. }
  16044. class NetworkCredential extends System.Object implements System.Net.ICredentials, System.Net.ICredentialsByHost
  16045. {
  16046. protected [__keep_incompatibility]: never;
  16047. public get UserName(): string;
  16048. public set UserName(value: string);
  16049. public get Password(): string;
  16050. public set Password(value: string);
  16051. public get SecurePassword(): System.Security.SecureString;
  16052. public set SecurePassword(value: System.Security.SecureString);
  16053. public get Domain(): string;
  16054. public set Domain(value: string);
  16055. public GetCredential ($uri: System.Uri, $authType: string) : System.Net.NetworkCredential
  16056. public GetCredential ($host: string, $port: number, $authenticationType: string) : System.Net.NetworkCredential
  16057. public constructor ()
  16058. public constructor ($userName: string, $password: string)
  16059. public constructor ($userName: string, $password: System.Security.SecureString)
  16060. public constructor ($userName: string, $password: string, $domain: string)
  16061. public constructor ($userName: string, $password: System.Security.SecureString, $domain: string)
  16062. }
  16063. class DnsEndPoint extends System.Net.EndPoint
  16064. {
  16065. protected [__keep_incompatibility]: never;
  16066. public get Host(): string;
  16067. public get AddressFamily(): System.Net.Sockets.AddressFamily;
  16068. public get Port(): number;
  16069. public constructor ($host: string, $port: number)
  16070. public constructor ($host: string, $port: number, $addressFamily: System.Net.Sockets.AddressFamily)
  16071. public constructor ()
  16072. }
  16073. class GlobalProxySelection extends System.Object
  16074. {
  16075. protected [__keep_incompatibility]: never;
  16076. public static get Select(): System.Net.IWebProxy;
  16077. public static set Select(value: System.Net.IWebProxy);
  16078. public static GetEmptyWebProxy () : System.Net.IWebProxy
  16079. public constructor ()
  16080. }
  16081. class HttpListenerException extends System.ComponentModel.Win32Exception implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  16082. {
  16083. protected [__keep_incompatibility]: never;
  16084. public get ErrorCode(): number;
  16085. public constructor ()
  16086. public constructor ($errorCode: number)
  16087. public constructor ($errorCode: number, $message: string)
  16088. }
  16089. interface IAuthenticationModule
  16090. {
  16091. CanPreAuthenticate : boolean
  16092. AuthenticationType : string
  16093. Authenticate ($challenge: string, $request: System.Net.WebRequest, $credentials: System.Net.ICredentials) : System.Net.Authorization
  16094. PreAuthenticate ($request: System.Net.WebRequest, $credentials: System.Net.ICredentials) : System.Net.Authorization
  16095. }
  16096. interface ICertificatePolicy
  16097. {
  16098. CheckValidationResult ($srvPoint: System.Net.ServicePoint, $certificate: System.Security.Cryptography.X509Certificates.X509Certificate, $request: System.Net.WebRequest, $certificateProblem: number) : boolean
  16099. }
  16100. class IPHostEntry extends System.Object
  16101. {
  16102. protected [__keep_incompatibility]: never;
  16103. public get HostName(): string;
  16104. public set HostName(value: string);
  16105. public get Aliases(): System.Array$1<string>;
  16106. public set Aliases(value: System.Array$1<string>);
  16107. public get AddressList(): System.Array$1<System.Net.IPAddress>;
  16108. public set AddressList(value: System.Array$1<System.Net.IPAddress>);
  16109. public constructor ()
  16110. }
  16111. interface IWebRequestCreate
  16112. {
  16113. Create ($uri: System.Uri) : System.Net.WebRequest
  16114. }
  16115. class ProtocolViolationException extends System.InvalidOperationException implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  16116. {
  16117. protected [__keep_incompatibility]: never;
  16118. public constructor ()
  16119. public constructor ($message: string)
  16120. }
  16121. class TransportContext extends System.Object
  16122. {
  16123. protected [__keep_incompatibility]: never;
  16124. public GetChannelBinding ($kind: System.Security.Authentication.ExtendedProtection.ChannelBindingKind) : System.Security.Authentication.ExtendedProtection.ChannelBinding
  16125. public GetTlsTokenBindings () : System.Collections.Generic.IEnumerable$1<System.Security.Authentication.ExtendedProtection.TokenBinding>
  16126. }
  16127. class WebException extends System.InvalidOperationException implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  16128. {
  16129. protected [__keep_incompatibility]: never;
  16130. public get Status(): System.Net.WebExceptionStatus;
  16131. public get Response(): System.Net.WebResponse;
  16132. public constructor ()
  16133. public constructor ($message: string)
  16134. public constructor ($message: string, $innerException: System.Exception)
  16135. public constructor ($message: string, $status: System.Net.WebExceptionStatus)
  16136. public constructor ($message: string, $innerException: System.Exception, $status: System.Net.WebExceptionStatus, $response: System.Net.WebResponse)
  16137. }
  16138. enum WebExceptionStatus
  16139. { Success = 0, NameResolutionFailure = 1, ConnectFailure = 2, ReceiveFailure = 3, SendFailure = 4, PipelineFailure = 5, RequestCanceled = 6, ProtocolError = 7, ConnectionClosed = 8, TrustFailure = 9, SecureChannelFailure = 10, ServerProtocolViolation = 11, KeepAliveFailure = 12, Pending = 13, Timeout = 14, ProxyNameResolutionFailure = 15, UnknownError = 16, MessageLengthLimitExceeded = 17, CacheEntryNotFound = 18, RequestProhibitedByCachePolicy = 19, RequestProhibitedByProxy = 20 }
  16140. enum HttpRequestHeader
  16141. { CacheControl = 0, Connection = 1, Date = 2, KeepAlive = 3, Pragma = 4, Trailer = 5, TransferEncoding = 6, Upgrade = 7, Via = 8, Warning = 9, Allow = 10, ContentLength = 11, ContentType = 12, ContentEncoding = 13, ContentLanguage = 14, ContentLocation = 15, ContentMd5 = 16, ContentRange = 17, Expires = 18, LastModified = 19, Accept = 20, AcceptCharset = 21, AcceptEncoding = 22, AcceptLanguage = 23, Authorization = 24, Cookie = 25, Expect = 26, From = 27, Host = 28, IfMatch = 29, IfModifiedSince = 30, IfNoneMatch = 31, IfRange = 32, IfUnmodifiedSince = 33, MaxForwards = 34, ProxyAuthorization = 35, Referer = 36, Range = 37, Te = 38, Translate = 39, UserAgent = 40 }
  16142. enum HttpResponseHeader
  16143. { CacheControl = 0, Connection = 1, Date = 2, KeepAlive = 3, Pragma = 4, Trailer = 5, TransferEncoding = 6, Upgrade = 7, Via = 8, Warning = 9, Allow = 10, ContentLength = 11, ContentType = 12, ContentEncoding = 13, ContentLanguage = 14, ContentLocation = 15, ContentMd5 = 16, ContentRange = 17, Expires = 18, LastModified = 19, AcceptRanges = 20, Age = 21, ETag = 22, Location = 23, ProxyAuthenticate = 24, RetryAfter = 25, Server = 26, SetCookie = 27, Vary = 28, WwwAuthenticate = 29 }
  16144. class WebPermissionAttribute extends System.Security.Permissions.CodeAccessSecurityAttribute implements System.Runtime.InteropServices._Attribute
  16145. {
  16146. protected [__keep_incompatibility]: never;
  16147. public get Connect(): string;
  16148. public set Connect(value: string);
  16149. public get Accept(): string;
  16150. public set Accept(value: string);
  16151. public get ConnectPattern(): string;
  16152. public set ConnectPattern(value: string);
  16153. public get AcceptPattern(): string;
  16154. public set AcceptPattern(value: string);
  16155. public constructor ($action: System.Security.Permissions.SecurityAction)
  16156. public constructor ()
  16157. }
  16158. class WebPermission extends System.Security.CodeAccessPermission implements System.Security.IPermission, System.Security.ISecurityEncodable, System.Security.Permissions.IUnrestrictedPermission, System.Security.IStackWalk
  16159. {
  16160. protected [__keep_incompatibility]: never;
  16161. public get ConnectList(): System.Collections.IEnumerator;
  16162. public get AcceptList(): System.Collections.IEnumerator;
  16163. public AddPermission ($access: System.Net.NetworkAccess, $uriString: string) : void
  16164. public AddPermission ($access: System.Net.NetworkAccess, $uriRegex: System.Text.RegularExpressions.Regex) : void
  16165. public IsUnrestricted () : boolean
  16166. public constructor ($state: System.Security.Permissions.PermissionState)
  16167. public constructor ()
  16168. public constructor ($access: System.Net.NetworkAccess, $uriRegex: System.Text.RegularExpressions.Regex)
  16169. public constructor ($access: System.Net.NetworkAccess, $uriString: string)
  16170. }
  16171. enum NetworkAccess
  16172. { Accept = 128, Connect = 64 }
  16173. class HttpWebRequest extends System.Net.WebRequest implements System.Runtime.Serialization.ISerializable
  16174. {
  16175. protected [__keep_incompatibility]: never;
  16176. public get Accept(): string;
  16177. public set Accept(value: string);
  16178. public get Address(): System.Uri;
  16179. public get AllowAutoRedirect(): boolean;
  16180. public set AllowAutoRedirect(value: boolean);
  16181. public get AllowWriteStreamBuffering(): boolean;
  16182. public set AllowWriteStreamBuffering(value: boolean);
  16183. public get AllowReadStreamBuffering(): boolean;
  16184. public set AllowReadStreamBuffering(value: boolean);
  16185. public get AutomaticDecompression(): System.Net.DecompressionMethods;
  16186. public set AutomaticDecompression(value: System.Net.DecompressionMethods);
  16187. public get ClientCertificates(): System.Security.Cryptography.X509Certificates.X509CertificateCollection;
  16188. public set ClientCertificates(value: System.Security.Cryptography.X509Certificates.X509CertificateCollection);
  16189. public get Connection(): string;
  16190. public set Connection(value: string);
  16191. public get ConnectionGroupName(): string;
  16192. public set ConnectionGroupName(value: string);
  16193. public get ContentLength(): bigint;
  16194. public set ContentLength(value: bigint);
  16195. public get ContentType(): string;
  16196. public set ContentType(value: string);
  16197. public get ContinueDelegate(): System.Net.HttpContinueDelegate;
  16198. public set ContinueDelegate(value: System.Net.HttpContinueDelegate);
  16199. public get CookieContainer(): System.Net.CookieContainer;
  16200. public set CookieContainer(value: System.Net.CookieContainer);
  16201. public get Credentials(): System.Net.ICredentials;
  16202. public set Credentials(value: System.Net.ICredentials);
  16203. public get Date(): System.DateTime;
  16204. public set Date(value: System.DateTime);
  16205. public static get DefaultCachePolicy(): System.Net.Cache.RequestCachePolicy;
  16206. public static set DefaultCachePolicy(value: System.Net.Cache.RequestCachePolicy);
  16207. public static get DefaultMaximumErrorResponseLength(): number;
  16208. public static set DefaultMaximumErrorResponseLength(value: number);
  16209. public get Expect(): string;
  16210. public set Expect(value: string);
  16211. public get HaveResponse(): boolean;
  16212. public get Headers(): System.Net.WebHeaderCollection;
  16213. public set Headers(value: System.Net.WebHeaderCollection);
  16214. public get Host(): string;
  16215. public set Host(value: string);
  16216. public get IfModifiedSince(): System.DateTime;
  16217. public set IfModifiedSince(value: System.DateTime);
  16218. public get KeepAlive(): boolean;
  16219. public set KeepAlive(value: boolean);
  16220. public get MaximumAutomaticRedirections(): number;
  16221. public set MaximumAutomaticRedirections(value: number);
  16222. public get MaximumResponseHeadersLength(): number;
  16223. public set MaximumResponseHeadersLength(value: number);
  16224. public static get DefaultMaximumResponseHeadersLength(): number;
  16225. public static set DefaultMaximumResponseHeadersLength(value: number);
  16226. public get ReadWriteTimeout(): number;
  16227. public set ReadWriteTimeout(value: number);
  16228. public get ContinueTimeout(): number;
  16229. public set ContinueTimeout(value: number);
  16230. public get MediaType(): string;
  16231. public set MediaType(value: string);
  16232. public get Method(): string;
  16233. public set Method(value: string);
  16234. public get Pipelined(): boolean;
  16235. public set Pipelined(value: boolean);
  16236. public get PreAuthenticate(): boolean;
  16237. public set PreAuthenticate(value: boolean);
  16238. public get ProtocolVersion(): System.Version;
  16239. public set ProtocolVersion(value: System.Version);
  16240. public get Proxy(): System.Net.IWebProxy;
  16241. public set Proxy(value: System.Net.IWebProxy);
  16242. public get Referer(): string;
  16243. public set Referer(value: string);
  16244. public get RequestUri(): System.Uri;
  16245. public get SendChunked(): boolean;
  16246. public set SendChunked(value: boolean);
  16247. public get ServicePoint(): System.Net.ServicePoint;
  16248. public get SupportsCookieContainer(): boolean;
  16249. public get Timeout(): number;
  16250. public set Timeout(value: number);
  16251. public get TransferEncoding(): string;
  16252. public set TransferEncoding(value: string);
  16253. public get UseDefaultCredentials(): boolean;
  16254. public set UseDefaultCredentials(value: boolean);
  16255. public get UserAgent(): string;
  16256. public set UserAgent(value: string);
  16257. public get UnsafeAuthenticatedConnectionSharing(): boolean;
  16258. public set UnsafeAuthenticatedConnectionSharing(value: boolean);
  16259. public get ServerCertificateValidationCallback(): System.Net.Security.RemoteCertificateValidationCallback;
  16260. public set ServerCertificateValidationCallback(value: System.Net.Security.RemoteCertificateValidationCallback);
  16261. public AddRange ($range: number) : void
  16262. public AddRange ($from: number, $to: number) : void
  16263. public AddRange ($rangeSpecifier: string, $range: number) : void
  16264. public AddRange ($rangeSpecifier: string, $from: number, $to: number) : void
  16265. public AddRange ($range: bigint) : void
  16266. public AddRange ($from: bigint, $to: bigint) : void
  16267. public AddRange ($rangeSpecifier: string, $range: bigint) : void
  16268. public AddRange ($rangeSpecifier: string, $from: bigint, $to: bigint) : void
  16269. public EndGetRequestStream ($asyncResult: System.IAsyncResult) : System.IO.Stream
  16270. public GetRequestStream () : System.IO.Stream
  16271. public GetRequestStream ($context: $Ref<System.Net.TransportContext>) : System.IO.Stream
  16272. public EndGetRequestStream ($asyncResult: System.IAsyncResult, $context: $Ref<System.Net.TransportContext>) : System.IO.Stream
  16273. }
  16274. class WebRequestMethods extends System.Object
  16275. {
  16276. protected [__keep_incompatibility]: never;
  16277. }
  16278. class WebUtility extends System.Object
  16279. {
  16280. protected [__keep_incompatibility]: never;
  16281. public static HtmlEncode ($value: string) : string
  16282. public static HtmlEncode ($value: string, $output: System.IO.TextWriter) : void
  16283. public static HtmlDecode ($value: string) : string
  16284. public static HtmlDecode ($value: string, $output: System.IO.TextWriter) : void
  16285. public static UrlEncode ($value: string) : string
  16286. public static UrlEncodeToBytes ($value: System.Array$1<number>, $offset: number, $count: number) : System.Array$1<number>
  16287. public static UrlDecode ($encodedValue: string) : string
  16288. public static UrlDecodeToBytes ($encodedValue: System.Array$1<number>, $offset: number, $count: number) : System.Array$1<number>
  16289. }
  16290. class Cookie extends System.Object
  16291. {
  16292. protected [__keep_incompatibility]: never;
  16293. public get Comment(): string;
  16294. public set Comment(value: string);
  16295. public get CommentUri(): System.Uri;
  16296. public set CommentUri(value: System.Uri);
  16297. public get HttpOnly(): boolean;
  16298. public set HttpOnly(value: boolean);
  16299. public get Discard(): boolean;
  16300. public set Discard(value: boolean);
  16301. public get Domain(): string;
  16302. public set Domain(value: string);
  16303. public get Expired(): boolean;
  16304. public set Expired(value: boolean);
  16305. public get Expires(): System.DateTime;
  16306. public set Expires(value: System.DateTime);
  16307. public get Name(): string;
  16308. public set Name(value: string);
  16309. public get Path(): string;
  16310. public set Path(value: string);
  16311. public get Port(): string;
  16312. public set Port(value: string);
  16313. public get Secure(): boolean;
  16314. public set Secure(value: boolean);
  16315. public get TimeStamp(): System.DateTime;
  16316. public get Value(): string;
  16317. public set Value(value: string);
  16318. public get Version(): number;
  16319. public set Version(value: number);
  16320. public constructor ()
  16321. public constructor ($name: string, $value: string)
  16322. public constructor ($name: string, $value: string, $path: string)
  16323. public constructor ($name: string, $value: string, $path: string, $domain: string)
  16324. }
  16325. class CookieCollection extends System.Object implements System.Collections.ICollection, System.Collections.IEnumerable
  16326. {
  16327. protected [__keep_incompatibility]: never;
  16328. public get IsReadOnly(): boolean;
  16329. public get Count(): number;
  16330. public get IsSynchronized(): boolean;
  16331. public get SyncRoot(): any;
  16332. public get_Item ($index: number) : System.Net.Cookie
  16333. public get_Item ($name: string) : System.Net.Cookie
  16334. public Add ($cookie: System.Net.Cookie) : void
  16335. public Add ($cookies: System.Net.CookieCollection) : void
  16336. public CopyTo ($array: System.Array, $index: number) : void
  16337. public CopyTo ($array: System.Array$1<System.Net.Cookie>, $index: number) : void
  16338. public GetEnumerator () : System.Collections.IEnumerator
  16339. public constructor ()
  16340. }
  16341. class CookieContainer extends System.Object
  16342. {
  16343. protected [__keep_incompatibility]: never;
  16344. public static DefaultCookieLimit : number
  16345. public static DefaultPerDomainCookieLimit : number
  16346. public static DefaultCookieLengthLimit : number
  16347. public get Capacity(): number;
  16348. public set Capacity(value: number);
  16349. public get Count(): number;
  16350. public get MaxCookieSize(): number;
  16351. public set MaxCookieSize(value: number);
  16352. public get PerDomainCapacity(): number;
  16353. public set PerDomainCapacity(value: number);
  16354. public Add ($cookie: System.Net.Cookie) : void
  16355. public Add ($cookies: System.Net.CookieCollection) : void
  16356. public Add ($uri: System.Uri, $cookie: System.Net.Cookie) : void
  16357. public Add ($uri: System.Uri, $cookies: System.Net.CookieCollection) : void
  16358. public GetCookies ($uri: System.Uri) : System.Net.CookieCollection
  16359. public GetCookieHeader ($uri: System.Uri) : string
  16360. public SetCookies ($uri: System.Uri, $cookieHeader: string) : void
  16361. public constructor ()
  16362. public constructor ($capacity: number)
  16363. public constructor ($capacity: number, $perDomainCapacity: number, $maxCookieSize: number)
  16364. }
  16365. class CookieException extends System.FormatException implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  16366. {
  16367. protected [__keep_incompatibility]: never;
  16368. public constructor ()
  16369. }
  16370. class FileWebRequest extends System.Net.WebRequest implements System.Runtime.Serialization.ISerializable
  16371. {
  16372. protected [__keep_incompatibility]: never;
  16373. public get ConnectionGroupName(): string;
  16374. public set ConnectionGroupName(value: string);
  16375. public get ContentLength(): bigint;
  16376. public set ContentLength(value: bigint);
  16377. public get ContentType(): string;
  16378. public set ContentType(value: string);
  16379. public get Credentials(): System.Net.ICredentials;
  16380. public set Credentials(value: System.Net.ICredentials);
  16381. public get Headers(): System.Net.WebHeaderCollection;
  16382. public get Method(): string;
  16383. public set Method(value: string);
  16384. public get PreAuthenticate(): boolean;
  16385. public set PreAuthenticate(value: boolean);
  16386. public get Proxy(): System.Net.IWebProxy;
  16387. public set Proxy(value: System.Net.IWebProxy);
  16388. public get Timeout(): number;
  16389. public set Timeout(value: number);
  16390. public get RequestUri(): System.Uri;
  16391. public get UseDefaultCredentials(): boolean;
  16392. public set UseDefaultCredentials(value: boolean);
  16393. }
  16394. class FileWebResponse extends System.Net.WebResponse implements System.Net.ICloseEx, System.IDisposable, System.Runtime.Serialization.ISerializable
  16395. {
  16396. protected [__keep_incompatibility]: never;
  16397. public get ContentLength(): bigint;
  16398. public get ContentType(): string;
  16399. public get Headers(): System.Net.WebHeaderCollection;
  16400. public get SupportsHeaders(): boolean;
  16401. public get ResponseUri(): System.Uri;
  16402. }
  16403. interface ICloseEx
  16404. {
  16405. }
  16406. class WebProxy extends System.Object implements System.Net.IAutoWebProxy, System.Net.IWebProxy, System.Runtime.Serialization.ISerializable
  16407. {
  16408. protected [__keep_incompatibility]: never;
  16409. public get Address(): System.Uri;
  16410. public set Address(value: System.Uri);
  16411. public get BypassProxyOnLocal(): boolean;
  16412. public set BypassProxyOnLocal(value: boolean);
  16413. public get BypassList(): System.Array$1<string>;
  16414. public set BypassList(value: System.Array$1<string>);
  16415. public get Credentials(): System.Net.ICredentials;
  16416. public set Credentials(value: System.Net.ICredentials);
  16417. public get UseDefaultCredentials(): boolean;
  16418. public set UseDefaultCredentials(value: boolean);
  16419. public get BypassArrayList(): System.Collections.ArrayList;
  16420. public GetProxy ($destination: System.Uri) : System.Uri
  16421. public IsBypassed ($host: System.Uri) : boolean
  16422. public static CreateDefaultProxy () : System.Net.IWebProxy
  16423. public constructor ()
  16424. public constructor ($Address: System.Uri)
  16425. public constructor ($Address: System.Uri, $BypassOnLocal: boolean)
  16426. public constructor ($Address: System.Uri, $BypassOnLocal: boolean, $BypassList: System.Array$1<string>)
  16427. public constructor ($Address: System.Uri, $BypassOnLocal: boolean, $BypassList: System.Array$1<string>, $Credentials: System.Net.ICredentials)
  16428. public constructor ($Host: string, $Port: number)
  16429. public constructor ($Address: string)
  16430. public constructor ($Address: string, $BypassOnLocal: boolean)
  16431. public constructor ($Address: string, $BypassOnLocal: boolean, $BypassList: System.Array$1<string>)
  16432. public constructor ($Address: string, $BypassOnLocal: boolean, $BypassList: System.Array$1<string>, $Credentials: System.Net.ICredentials)
  16433. }
  16434. interface IAutoWebProxy extends System.Net.IWebProxy
  16435. {
  16436. Credentials : System.Net.ICredentials
  16437. GetProxy ($destination: System.Uri) : System.Uri
  16438. IsBypassed ($host: System.Uri) : boolean
  16439. }
  16440. class AuthenticationManager extends System.Object
  16441. {
  16442. protected [__keep_incompatibility]: never;
  16443. public static get CredentialPolicy(): System.Net.ICredentialPolicy;
  16444. public static set CredentialPolicy(value: System.Net.ICredentialPolicy);
  16445. public static get CustomTargetNameDictionary(): System.Collections.Specialized.StringDictionary;
  16446. public static get RegisteredModules(): System.Collections.IEnumerator;
  16447. public static Authenticate ($challenge: string, $request: System.Net.WebRequest, $credentials: System.Net.ICredentials) : System.Net.Authorization
  16448. public static PreAuthenticate ($request: System.Net.WebRequest, $credentials: System.Net.ICredentials) : System.Net.Authorization
  16449. public static Register ($authenticationModule: System.Net.IAuthenticationModule) : void
  16450. public static Unregister ($authenticationModule: System.Net.IAuthenticationModule) : void
  16451. public static Unregister ($authenticationScheme: string) : void
  16452. }
  16453. interface ICredentialPolicy
  16454. {
  16455. ShouldSendCredential ($challengeUri: System.Uri, $request: System.Net.WebRequest, $credential: System.Net.NetworkCredential, $authenticationModule: System.Net.IAuthenticationModule) : boolean
  16456. }
  16457. class Dns extends System.Object
  16458. {
  16459. protected [__keep_incompatibility]: never;
  16460. public static BeginGetHostAddresses ($hostNameOrAddress: string, $requestCallback: System.AsyncCallback, $state: any) : System.IAsyncResult
  16461. public static BeginGetHostEntry ($hostNameOrAddress: string, $requestCallback: System.AsyncCallback, $stateObject: any) : System.IAsyncResult
  16462. public static BeginGetHostEntry ($address: System.Net.IPAddress, $requestCallback: System.AsyncCallback, $stateObject: any) : System.IAsyncResult
  16463. public static EndGetHostAddresses ($asyncResult: System.IAsyncResult) : System.Array$1<System.Net.IPAddress>
  16464. public static EndGetHostEntry ($asyncResult: System.IAsyncResult) : System.Net.IPHostEntry
  16465. public static GetHostEntry ($hostNameOrAddress: string) : System.Net.IPHostEntry
  16466. public static GetHostEntry ($address: System.Net.IPAddress) : System.Net.IPHostEntry
  16467. public static GetHostAddresses ($hostNameOrAddress: string) : System.Array$1<System.Net.IPAddress>
  16468. public static GetHostName () : string
  16469. public static GetHostAddressesAsync ($hostNameOrAddress: string) : System.Threading.Tasks.Task$1<System.Array$1<System.Net.IPAddress>>
  16470. public static GetHostEntryAsync ($address: System.Net.IPAddress) : System.Threading.Tasks.Task$1<System.Net.IPHostEntry>
  16471. public static GetHostEntryAsync ($hostNameOrAddress: string) : System.Threading.Tasks.Task$1<System.Net.IPHostEntry>
  16472. }
  16473. class DnsPermission extends System.Security.CodeAccessPermission implements System.Security.IPermission, System.Security.ISecurityEncodable, System.Security.Permissions.IUnrestrictedPermission, System.Security.IStackWalk
  16474. {
  16475. protected [__keep_incompatibility]: never;
  16476. public IsUnrestricted () : boolean
  16477. public constructor ($state: System.Security.Permissions.PermissionState)
  16478. public constructor ()
  16479. }
  16480. class DnsPermissionAttribute extends System.Security.Permissions.CodeAccessSecurityAttribute implements System.Runtime.InteropServices._Attribute
  16481. {
  16482. protected [__keep_incompatibility]: never;
  16483. public constructor ($action: System.Security.Permissions.SecurityAction)
  16484. public constructor ()
  16485. }
  16486. class EndpointPermission extends System.Object
  16487. {
  16488. protected [__keep_incompatibility]: never;
  16489. public get Hostname(): string;
  16490. public get Port(): number;
  16491. public get Transport(): System.Net.TransportType;
  16492. }
  16493. enum TransportType
  16494. { Udp = 1, Connectionless = 1, Tcp = 2, ConnectionOriented = 2, All = 3 }
  16495. class HttpListener extends System.Object implements System.IDisposable
  16496. {
  16497. protected [__keep_incompatibility]: never;
  16498. public get AuthenticationSchemes(): System.Net.AuthenticationSchemes;
  16499. public set AuthenticationSchemes(value: System.Net.AuthenticationSchemes);
  16500. public get AuthenticationSchemeSelectorDelegate(): System.Net.AuthenticationSchemeSelector;
  16501. public set AuthenticationSchemeSelectorDelegate(value: System.Net.AuthenticationSchemeSelector);
  16502. public get ExtendedProtectionSelectorDelegate(): System.Net.HttpListener.ExtendedProtectionSelector;
  16503. public set ExtendedProtectionSelectorDelegate(value: System.Net.HttpListener.ExtendedProtectionSelector);
  16504. public get IgnoreWriteExceptions(): boolean;
  16505. public set IgnoreWriteExceptions(value: boolean);
  16506. public get IsListening(): boolean;
  16507. public static get IsSupported(): boolean;
  16508. public get Prefixes(): System.Net.HttpListenerPrefixCollection;
  16509. public get TimeoutManager(): System.Net.HttpListenerTimeoutManager;
  16510. public get ExtendedProtectionPolicy(): System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy;
  16511. public set ExtendedProtectionPolicy(value: System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy);
  16512. public get DefaultServiceNames(): System.Security.Authentication.ExtendedProtection.ServiceNameCollection;
  16513. public get Realm(): string;
  16514. public set Realm(value: string);
  16515. public get UnsafeConnectionNtlmAuthentication(): boolean;
  16516. public set UnsafeConnectionNtlmAuthentication(value: boolean);
  16517. public Abort () : void
  16518. public Close () : void
  16519. public BeginGetContext ($callback: System.AsyncCallback, $state: any) : System.IAsyncResult
  16520. public EndGetContext ($asyncResult: System.IAsyncResult) : System.Net.HttpListenerContext
  16521. public GetContext () : System.Net.HttpListenerContext
  16522. public Start () : void
  16523. public Stop () : void
  16524. public GetContextAsync () : System.Threading.Tasks.Task$1<System.Net.HttpListenerContext>
  16525. public constructor ()
  16526. }
  16527. enum AuthenticationSchemes
  16528. { None = 0, Digest = 1, Negotiate = 2, Ntlm = 4, Basic = 8, Anonymous = 32768, IntegratedWindowsAuthentication = 6 }
  16529. interface AuthenticationSchemeSelector
  16530. {
  16531. (httpRequest: System.Net.HttpListenerRequest) : System.Net.AuthenticationSchemes;
  16532. Invoke?: (httpRequest: System.Net.HttpListenerRequest) => System.Net.AuthenticationSchemes;
  16533. }
  16534. var AuthenticationSchemeSelector: { new (func: (httpRequest: System.Net.HttpListenerRequest) => System.Net.AuthenticationSchemes): AuthenticationSchemeSelector; }
  16535. class HttpListenerRequest extends System.Object
  16536. {
  16537. protected [__keep_incompatibility]: never;
  16538. public get AcceptTypes(): System.Array$1<string>;
  16539. public get ClientCertificateError(): number;
  16540. public get ContentEncoding(): System.Text.Encoding;
  16541. public get ContentLength64(): bigint;
  16542. public get ContentType(): string;
  16543. public get Cookies(): System.Net.CookieCollection;
  16544. public get HasEntityBody(): boolean;
  16545. public get Headers(): System.Collections.Specialized.NameValueCollection;
  16546. public get HttpMethod(): string;
  16547. public get InputStream(): System.IO.Stream;
  16548. public get IsAuthenticated(): boolean;
  16549. public get IsLocal(): boolean;
  16550. public get IsSecureConnection(): boolean;
  16551. public get KeepAlive(): boolean;
  16552. public get LocalEndPoint(): System.Net.IPEndPoint;
  16553. public get ProtocolVersion(): System.Version;
  16554. public get QueryString(): System.Collections.Specialized.NameValueCollection;
  16555. public get RawUrl(): string;
  16556. public get RemoteEndPoint(): System.Net.IPEndPoint;
  16557. public get RequestTraceIdentifier(): System.Guid;
  16558. public get Url(): System.Uri;
  16559. public get UrlReferrer(): System.Uri;
  16560. public get UserAgent(): string;
  16561. public get UserHostAddress(): string;
  16562. public get UserHostName(): string;
  16563. public get UserLanguages(): System.Array$1<string>;
  16564. public get ServiceName(): string;
  16565. public get TransportContext(): System.Net.TransportContext;
  16566. public get IsWebSocketRequest(): boolean;
  16567. public BeginGetClientCertificate ($requestCallback: System.AsyncCallback, $state: any) : System.IAsyncResult
  16568. public EndGetClientCertificate ($asyncResult: System.IAsyncResult) : System.Security.Cryptography.X509Certificates.X509Certificate2
  16569. public GetClientCertificate () : System.Security.Cryptography.X509Certificates.X509Certificate2
  16570. public GetClientCertificateAsync () : System.Threading.Tasks.Task$1<System.Security.Cryptography.X509Certificates.X509Certificate2>
  16571. }
  16572. class HttpListenerPrefixCollection extends System.Object implements System.Collections.Generic.IEnumerable$1<string>, System.Collections.IEnumerable, System.Collections.Generic.ICollection$1<string>
  16573. {
  16574. protected [__keep_incompatibility]: never;
  16575. public get Count(): number;
  16576. public get IsReadOnly(): boolean;
  16577. public get IsSynchronized(): boolean;
  16578. public Add ($uriPrefix: string) : void
  16579. public Clear () : void
  16580. public Contains ($uriPrefix: string) : boolean
  16581. public CopyTo ($array: System.Array$1<string>, $offset: number) : void
  16582. public CopyTo ($array: System.Array, $offset: number) : void
  16583. public GetEnumerator () : System.Collections.Generic.IEnumerator$1<string>
  16584. public Remove ($uriPrefix: string) : boolean
  16585. }
  16586. class HttpListenerTimeoutManager extends System.Object
  16587. {
  16588. protected [__keep_incompatibility]: never;
  16589. public get EntityBody(): System.TimeSpan;
  16590. public set EntityBody(value: System.TimeSpan);
  16591. public get DrainEntityBody(): System.TimeSpan;
  16592. public set DrainEntityBody(value: System.TimeSpan);
  16593. public get RequestQueue(): System.TimeSpan;
  16594. public set RequestQueue(value: System.TimeSpan);
  16595. public get IdleConnection(): System.TimeSpan;
  16596. public set IdleConnection(value: System.TimeSpan);
  16597. public get HeaderWait(): System.TimeSpan;
  16598. public set HeaderWait(value: System.TimeSpan);
  16599. public get MinSendBytesPerSecond(): bigint;
  16600. public set MinSendBytesPerSecond(value: bigint);
  16601. public constructor ()
  16602. }
  16603. class HttpListenerContext extends System.Object
  16604. {
  16605. protected [__keep_incompatibility]: never;
  16606. public get Request(): System.Net.HttpListenerRequest;
  16607. public get Response(): System.Net.HttpListenerResponse;
  16608. public get User(): System.Security.Principal.IPrincipal;
  16609. public AcceptWebSocketAsync ($subProtocol: string) : System.Threading.Tasks.Task$1<System.Net.WebSockets.HttpListenerWebSocketContext>
  16610. public AcceptWebSocketAsync ($subProtocol: string, $keepAliveInterval: System.TimeSpan) : System.Threading.Tasks.Task$1<System.Net.WebSockets.HttpListenerWebSocketContext>
  16611. public AcceptWebSocketAsync ($subProtocol: string, $receiveBufferSize: number, $keepAliveInterval: System.TimeSpan) : System.Threading.Tasks.Task$1<System.Net.WebSockets.HttpListenerWebSocketContext>
  16612. public AcceptWebSocketAsync ($subProtocol: string, $receiveBufferSize: number, $keepAliveInterval: System.TimeSpan, $internalBuffer: System.ArraySegment$1<number>) : System.Threading.Tasks.Task$1<System.Net.WebSockets.HttpListenerWebSocketContext>
  16613. }
  16614. class HttpListenerBasicIdentity extends System.Security.Principal.GenericIdentity implements System.Security.Principal.IIdentity
  16615. {
  16616. protected [__keep_incompatibility]: never;
  16617. public get Password(): string;
  16618. public constructor ($username: string, $password: string)
  16619. public constructor ()
  16620. }
  16621. class HttpListenerResponse extends System.Object implements System.IDisposable
  16622. {
  16623. protected [__keep_incompatibility]: never;
  16624. public get ContentEncoding(): System.Text.Encoding;
  16625. public set ContentEncoding(value: System.Text.Encoding);
  16626. public get ContentLength64(): bigint;
  16627. public set ContentLength64(value: bigint);
  16628. public get ContentType(): string;
  16629. public set ContentType(value: string);
  16630. public get Cookies(): System.Net.CookieCollection;
  16631. public set Cookies(value: System.Net.CookieCollection);
  16632. public get Headers(): System.Net.WebHeaderCollection;
  16633. public set Headers(value: System.Net.WebHeaderCollection);
  16634. public get KeepAlive(): boolean;
  16635. public set KeepAlive(value: boolean);
  16636. public get OutputStream(): System.IO.Stream;
  16637. public get ProtocolVersion(): System.Version;
  16638. public set ProtocolVersion(value: System.Version);
  16639. public get RedirectLocation(): string;
  16640. public set RedirectLocation(value: string);
  16641. public get SendChunked(): boolean;
  16642. public set SendChunked(value: boolean);
  16643. public get StatusCode(): number;
  16644. public set StatusCode(value: number);
  16645. public get StatusDescription(): string;
  16646. public set StatusDescription(value: string);
  16647. public Abort () : void
  16648. public AddHeader ($name: string, $value: string) : void
  16649. public AppendCookie ($cookie: System.Net.Cookie) : void
  16650. public AppendHeader ($name: string, $value: string) : void
  16651. public Close () : void
  16652. public Close ($responseEntity: System.Array$1<number>, $willBlock: boolean) : void
  16653. public CopyFrom ($templateResponse: System.Net.HttpListenerResponse) : void
  16654. public Redirect ($url: string) : void
  16655. public SetCookie ($cookie: System.Net.Cookie) : void
  16656. }
  16657. enum DecompressionMethods
  16658. { None = 0, GZip = 1, Deflate = 2 }
  16659. interface HttpContinueDelegate
  16660. {
  16661. (StatusCode: number, httpHeaders: System.Net.WebHeaderCollection) : void;
  16662. Invoke?: (StatusCode: number, httpHeaders: System.Net.WebHeaderCollection) => void;
  16663. }
  16664. var HttpContinueDelegate: { new (func: (StatusCode: number, httpHeaders: System.Net.WebHeaderCollection) => void): HttpContinueDelegate; }
  16665. class HttpWebResponse extends System.Net.WebResponse implements System.IDisposable, System.Runtime.Serialization.ISerializable
  16666. {
  16667. protected [__keep_incompatibility]: never;
  16668. public get CharacterSet(): string;
  16669. public get ContentEncoding(): string;
  16670. public get ContentLength(): bigint;
  16671. public get ContentType(): string;
  16672. public get Cookies(): System.Net.CookieCollection;
  16673. public set Cookies(value: System.Net.CookieCollection);
  16674. public get Headers(): System.Net.WebHeaderCollection;
  16675. public get IsMutuallyAuthenticated(): boolean;
  16676. public get LastModified(): System.DateTime;
  16677. public get Method(): string;
  16678. public get ProtocolVersion(): System.Version;
  16679. public get ResponseUri(): System.Uri;
  16680. public get Server(): string;
  16681. public get StatusCode(): System.Net.HttpStatusCode;
  16682. public get StatusDescription(): string;
  16683. public get SupportsHeaders(): boolean;
  16684. public GetResponseHeader ($headerName: string) : string
  16685. public constructor ()
  16686. }
  16687. enum HttpStatusCode
  16688. { Continue = 100, SwitchingProtocols = 101, Processing = 102, EarlyHints = 103, OK = 200, Created = 201, Accepted = 202, NonAuthoritativeInformation = 203, NoContent = 204, ResetContent = 205, PartialContent = 206, MultiStatus = 207, AlreadyReported = 208, IMUsed = 226, MultipleChoices = 300, Ambiguous = 300, MovedPermanently = 301, Moved = 301, Found = 302, Redirect = 302, SeeOther = 303, RedirectMethod = 303, NotModified = 304, UseProxy = 305, Unused = 306, TemporaryRedirect = 307, RedirectKeepVerb = 307, PermanentRedirect = 308, BadRequest = 400, Unauthorized = 401, PaymentRequired = 402, Forbidden = 403, NotFound = 404, MethodNotAllowed = 405, NotAcceptable = 406, ProxyAuthenticationRequired = 407, RequestTimeout = 408, Conflict = 409, Gone = 410, LengthRequired = 411, PreconditionFailed = 412, RequestEntityTooLarge = 413, RequestUriTooLong = 414, UnsupportedMediaType = 415, RequestedRangeNotSatisfiable = 416, ExpectationFailed = 417, MisdirectedRequest = 421, UnprocessableEntity = 422, Locked = 423, FailedDependency = 424, UpgradeRequired = 426, PreconditionRequired = 428, TooManyRequests = 429, RequestHeaderFieldsTooLarge = 431, UnavailableForLegalReasons = 451, InternalServerError = 500, NotImplemented = 501, BadGateway = 502, ServiceUnavailable = 503, GatewayTimeout = 504, HttpVersionNotSupported = 505, VariantAlsoNegotiates = 506, InsufficientStorage = 507, LoopDetected = 508, NotExtended = 510, NetworkAuthenticationRequired = 511 }
  16689. interface IWebProxyScript
  16690. {
  16691. Close () : void
  16692. Load ($scriptLocation: System.Uri, $script: string, $helperType: System.Type) : boolean
  16693. Run ($url: string, $host: string) : string
  16694. }
  16695. interface BindIPEndPoint
  16696. {
  16697. (servicePoint: System.Net.ServicePoint, remoteEndPoint: System.Net.IPEndPoint, retryCount: number) : System.Net.IPEndPoint;
  16698. Invoke?: (servicePoint: System.Net.ServicePoint, remoteEndPoint: System.Net.IPEndPoint, retryCount: number) => System.Net.IPEndPoint;
  16699. }
  16700. var BindIPEndPoint: { new (func: (servicePoint: System.Net.ServicePoint, remoteEndPoint: System.Net.IPEndPoint, retryCount: number) => System.Net.IPEndPoint): BindIPEndPoint; }
  16701. class ServicePointManager extends System.Object
  16702. {
  16703. protected [__keep_incompatibility]: never;
  16704. public static DefaultNonPersistentConnectionLimit : number
  16705. public static DefaultPersistentConnectionLimit : number
  16706. public static get CheckCertificateRevocationList(): boolean;
  16707. public static set CheckCertificateRevocationList(value: boolean);
  16708. public static get DefaultConnectionLimit(): number;
  16709. public static set DefaultConnectionLimit(value: number);
  16710. public static get DnsRefreshTimeout(): number;
  16711. public static set DnsRefreshTimeout(value: number);
  16712. public static get EnableDnsRoundRobin(): boolean;
  16713. public static set EnableDnsRoundRobin(value: boolean);
  16714. public static get MaxServicePointIdleTime(): number;
  16715. public static set MaxServicePointIdleTime(value: number);
  16716. public static get MaxServicePoints(): number;
  16717. public static set MaxServicePoints(value: number);
  16718. public static get ReusePort(): boolean;
  16719. public static set ReusePort(value: boolean);
  16720. public static get SecurityProtocol(): System.Net.SecurityProtocolType;
  16721. public static set SecurityProtocol(value: System.Net.SecurityProtocolType);
  16722. public static get ServerCertificateValidationCallback(): System.Net.Security.RemoteCertificateValidationCallback;
  16723. public static set ServerCertificateValidationCallback(value: System.Net.Security.RemoteCertificateValidationCallback);
  16724. public static get EncryptionPolicy(): System.Net.Security.EncryptionPolicy;
  16725. public static get Expect100Continue(): boolean;
  16726. public static set Expect100Continue(value: boolean);
  16727. public static get UseNagleAlgorithm(): boolean;
  16728. public static set UseNagleAlgorithm(value: boolean);
  16729. public static SetTcpKeepAlive ($enabled: boolean, $keepAliveTime: number, $keepAliveInterval: number) : void
  16730. public static FindServicePoint ($address: System.Uri) : System.Net.ServicePoint
  16731. public static FindServicePoint ($uriString: string, $proxy: System.Net.IWebProxy) : System.Net.ServicePoint
  16732. public static FindServicePoint ($address: System.Uri, $proxy: System.Net.IWebProxy) : System.Net.ServicePoint
  16733. }
  16734. enum SecurityProtocolType
  16735. { SystemDefault = 0, Ssl3 = 48, Tls = 192, Tls11 = 768, Tls12 = 3072, Tls13 = 12288 }
  16736. class SocketPermission extends System.Security.CodeAccessPermission implements System.Security.IPermission, System.Security.ISecurityEncodable, System.Security.Permissions.IUnrestrictedPermission, System.Security.IStackWalk
  16737. {
  16738. protected [__keep_incompatibility]: never;
  16739. public static AllPorts : number
  16740. public get AcceptList(): System.Collections.IEnumerator;
  16741. public get ConnectList(): System.Collections.IEnumerator;
  16742. public AddPermission ($access: System.Net.NetworkAccess, $transport: System.Net.TransportType, $hostName: string, $portNumber: number) : void
  16743. public IsUnrestricted () : boolean
  16744. public constructor ($state: System.Security.Permissions.PermissionState)
  16745. public constructor ($access: System.Net.NetworkAccess, $transport: System.Net.TransportType, $hostName: string, $portNumber: number)
  16746. public constructor ()
  16747. }
  16748. class SocketPermissionAttribute extends System.Security.Permissions.CodeAccessSecurityAttribute implements System.Runtime.InteropServices._Attribute
  16749. {
  16750. protected [__keep_incompatibility]: never;
  16751. public get Access(): string;
  16752. public set Access(value: string);
  16753. public get Host(): string;
  16754. public set Host(value: string);
  16755. public get Port(): string;
  16756. public set Port(value: string);
  16757. public get Transport(): string;
  16758. public set Transport(value: string);
  16759. public constructor ($action: System.Security.Permissions.SecurityAction)
  16760. public constructor ()
  16761. }
  16762. }
  16763. namespace System.Net.Sockets {
  16764. enum AddressFamily
  16765. { Unknown = -1, Unspecified = 0, Unix = 1, InterNetwork = 2, ImpLink = 3, Pup = 4, Chaos = 5, NS = 6, Ipx = 6, Iso = 7, Osi = 7, Ecma = 8, DataKit = 9, Ccitt = 10, Sna = 11, DecNet = 12, DataLink = 13, Lat = 14, HyperChannel = 15, AppleTalk = 16, NetBios = 17, VoiceView = 18, FireFox = 19, Banyan = 21, Atm = 22, InterNetworkV6 = 23, Cluster = 24, Ieee12844 = 25, Irda = 26, NetworkDesigners = 28, Max = 29 }
  16766. }
  16767. namespace System.Net.Cache {
  16768. class RequestCachePolicy extends System.Object
  16769. {
  16770. protected [__keep_incompatibility]: never;
  16771. }
  16772. }
  16773. namespace System.Security.Cryptography.X509Certificates {
  16774. class X509CertificateCollection extends System.Collections.CollectionBase implements System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList
  16775. {
  16776. protected [__keep_incompatibility]: never;
  16777. }
  16778. class X509Certificate extends System.Object implements System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, System.IDisposable
  16779. {
  16780. protected [__keep_incompatibility]: never;
  16781. }
  16782. class X509Certificate2 extends System.Security.Cryptography.X509Certificates.X509Certificate implements System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, System.IDisposable
  16783. {
  16784. protected [__keep_incompatibility]: never;
  16785. }
  16786. class X509Chain extends System.Object implements System.IDisposable
  16787. {
  16788. protected [__keep_incompatibility]: never;
  16789. }
  16790. }
  16791. namespace System.Collections.Specialized {
  16792. class NameObjectCollectionBase extends System.Object implements System.Collections.ICollection, System.Runtime.Serialization.IDeserializationCallback, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable
  16793. {
  16794. protected [__keep_incompatibility]: never;
  16795. }
  16796. class NameValueCollection extends System.Collections.Specialized.NameObjectCollectionBase implements System.Collections.ICollection, System.Runtime.Serialization.IDeserializationCallback, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable
  16797. {
  16798. protected [__keep_incompatibility]: never;
  16799. }
  16800. class StringDictionary extends System.Object implements System.Collections.IEnumerable
  16801. {
  16802. protected [__keep_incompatibility]: never;
  16803. }
  16804. }
  16805. namespace System.ComponentModel {
  16806. class Component extends System.MarshalByRefObject implements System.ComponentModel.IComponent, System.IDisposable
  16807. {
  16808. protected [__keep_incompatibility]: never;
  16809. }
  16810. interface IComponent extends System.IDisposable
  16811. {
  16812. }
  16813. class AsyncCompletedEventArgs extends System.EventArgs
  16814. {
  16815. protected [__keep_incompatibility]: never;
  16816. }
  16817. interface AsyncCompletedEventHandler
  16818. {
  16819. (sender: any, e: System.ComponentModel.AsyncCompletedEventArgs) : void;
  16820. Invoke?: (sender: any, e: System.ComponentModel.AsyncCompletedEventArgs) => void;
  16821. }
  16822. var AsyncCompletedEventHandler: { new (func: (sender: any, e: System.ComponentModel.AsyncCompletedEventArgs) => void): AsyncCompletedEventHandler; }
  16823. class ProgressChangedEventArgs extends System.EventArgs
  16824. {
  16825. protected [__keep_incompatibility]: never;
  16826. }
  16827. class Win32Exception extends System.Runtime.InteropServices.ExternalException implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  16828. {
  16829. protected [__keep_incompatibility]: never;
  16830. }
  16831. }
  16832. namespace System.Runtime.ConstrainedExecution {
  16833. class CriticalFinalizerObject extends System.Object
  16834. {
  16835. protected [__keep_incompatibility]: never;
  16836. }
  16837. }
  16838. namespace Microsoft.Win32.SafeHandles {
  16839. class SafeHandleZeroOrMinusOneIsInvalid extends System.Runtime.InteropServices.SafeHandle implements System.IDisposable
  16840. {
  16841. protected [__keep_incompatibility]: never;
  16842. }
  16843. }
  16844. namespace System.Security.Authentication.ExtendedProtection {
  16845. class ChannelBinding extends Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid implements System.IDisposable
  16846. {
  16847. protected [__keep_incompatibility]: never;
  16848. }
  16849. enum ChannelBindingKind
  16850. { Unknown = 0, Unique = 25, Endpoint = 26 }
  16851. class TokenBinding extends System.Object
  16852. {
  16853. protected [__keep_incompatibility]: never;
  16854. }
  16855. class ExtendedProtectionPolicy extends System.Object implements System.Runtime.Serialization.ISerializable
  16856. {
  16857. protected [__keep_incompatibility]: never;
  16858. }
  16859. class ServiceNameCollection extends System.Collections.ReadOnlyCollectionBase implements System.Collections.ICollection, System.Collections.IEnumerable
  16860. {
  16861. protected [__keep_incompatibility]: never;
  16862. }
  16863. }
  16864. namespace System.Collections.Specialized.NameObjectCollectionBase {
  16865. class KeysCollection extends System.Object implements System.Collections.ICollection, System.Collections.IEnumerable
  16866. {
  16867. protected [__keep_incompatibility]: never;
  16868. }
  16869. }
  16870. namespace System.Security.Permissions {
  16871. class SecurityAttribute extends System.Attribute implements System.Runtime.InteropServices._Attribute
  16872. {
  16873. protected [__keep_incompatibility]: never;
  16874. }
  16875. class CodeAccessSecurityAttribute extends System.Security.Permissions.SecurityAttribute implements System.Runtime.InteropServices._Attribute
  16876. {
  16877. protected [__keep_incompatibility]: never;
  16878. }
  16879. enum SecurityAction
  16880. { Demand = 2, Assert = 3, Deny = 4, PermitOnly = 5, LinkDemand = 6, InheritanceDemand = 7, RequestMinimum = 8, RequestOptional = 9, RequestRefuse = 10 }
  16881. interface IUnrestrictedPermission
  16882. {
  16883. }
  16884. enum PermissionState
  16885. { None = 0, Unrestricted = 1 }
  16886. }
  16887. namespace System.Text.RegularExpressions {
  16888. class Regex extends System.Object implements System.Runtime.Serialization.ISerializable
  16889. {
  16890. protected [__keep_incompatibility]: never;
  16891. }
  16892. }
  16893. namespace System.Net.Security {
  16894. enum AuthenticationLevel
  16895. { None = 0, MutualAuthRequested = 1, MutualAuthRequired = 2 }
  16896. interface RemoteCertificateValidationCallback
  16897. {
  16898. (sender: any, certificate: System.Security.Cryptography.X509Certificates.X509Certificate, chain: System.Security.Cryptography.X509Certificates.X509Chain, sslPolicyErrors: System.Net.Security.SslPolicyErrors) : boolean;
  16899. Invoke?: (sender: any, certificate: System.Security.Cryptography.X509Certificates.X509Certificate, chain: System.Security.Cryptography.X509Certificates.X509Chain, sslPolicyErrors: System.Net.Security.SslPolicyErrors) => boolean;
  16900. }
  16901. var RemoteCertificateValidationCallback: { new (func: (sender: any, certificate: System.Security.Cryptography.X509Certificates.X509Certificate, chain: System.Security.Cryptography.X509Certificates.X509Chain, sslPolicyErrors: System.Net.Security.SslPolicyErrors) => boolean): RemoteCertificateValidationCallback; }
  16902. enum SslPolicyErrors
  16903. { None = 0, RemoteCertificateNotAvailable = 1, RemoteCertificateNameMismatch = 2, RemoteCertificateChainErrors = 4 }
  16904. enum EncryptionPolicy
  16905. { RequireEncryption = 0, AllowNoEncryption = 1, NoEncryption = 2 }
  16906. class SslClientAuthenticationOptions extends System.Object
  16907. {
  16908. protected [__keep_incompatibility]: never;
  16909. }
  16910. }
  16911. namespace System.Security.Principal {
  16912. enum TokenImpersonationLevel
  16913. { None = 0, Anonymous = 1, Identification = 2, Impersonation = 3, Delegation = 4 }
  16914. interface IIdentity
  16915. {
  16916. }
  16917. class GenericIdentity extends System.Security.Claims.ClaimsIdentity implements System.Security.Principal.IIdentity
  16918. {
  16919. protected [__keep_incompatibility]: never;
  16920. }
  16921. interface IPrincipal
  16922. {
  16923. }
  16924. }
  16925. namespace System.Net.WebRequestMethods {
  16926. class Ftp extends System.Object
  16927. {
  16928. protected [__keep_incompatibility]: never;
  16929. public static DownloadFile : string
  16930. public static ListDirectory : string
  16931. public static UploadFile : string
  16932. public static DeleteFile : string
  16933. public static AppendFile : string
  16934. public static GetFileSize : string
  16935. public static UploadFileWithUniqueName : string
  16936. public static MakeDirectory : string
  16937. public static RemoveDirectory : string
  16938. public static ListDirectoryDetails : string
  16939. public static GetDateTimestamp : string
  16940. public static PrintWorkingDirectory : string
  16941. public static Rename : string
  16942. }
  16943. class Http extends System.Object
  16944. {
  16945. protected [__keep_incompatibility]: never;
  16946. public static Get : string
  16947. public static Connect : string
  16948. public static Head : string
  16949. public static Put : string
  16950. public static Post : string
  16951. public static MkCol : string
  16952. }
  16953. class File extends System.Object
  16954. {
  16955. protected [__keep_incompatibility]: never;
  16956. public static DownloadFile : string
  16957. public static UploadFile : string
  16958. }
  16959. }
  16960. namespace System.Net.HttpListener {
  16961. interface ExtendedProtectionSelector
  16962. {
  16963. (request: System.Net.HttpListenerRequest) : System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy;
  16964. Invoke?: (request: System.Net.HttpListenerRequest) => System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy;
  16965. }
  16966. var ExtendedProtectionSelector: { new (func: (request: System.Net.HttpListenerRequest) => System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy): ExtendedProtectionSelector; }
  16967. }
  16968. namespace System.Security.Claims {
  16969. class ClaimsIdentity extends System.Object implements System.Security.Principal.IIdentity
  16970. {
  16971. protected [__keep_incompatibility]: never;
  16972. }
  16973. }
  16974. namespace System.Net.WebSockets {
  16975. class WebSocketContext extends System.Object
  16976. {
  16977. protected [__keep_incompatibility]: never;
  16978. }
  16979. class HttpListenerWebSocketContext extends System.Net.WebSockets.WebSocketContext
  16980. {
  16981. protected [__keep_incompatibility]: never;
  16982. }
  16983. }
  16984. namespace FairyEditor {
  16985. class App extends System.Object
  16986. {
  16987. protected [__keep_incompatibility]: never;
  16988. public static isMacOS : boolean
  16989. public static language : string
  16990. public static batchMode : boolean
  16991. public static batchModeAction : string
  16992. public static preferences : FairyEditor.Preferences
  16993. public static localStore : FairyEditor.LocalStore
  16994. public static hotkeyManager : FairyEditor.HotkeyManager
  16995. public static externalImagePool : ExternalImagePool
  16996. public static get groot(): FairyGUI.GRoot;
  16997. public static get project(): FairyEditor.FProject;
  16998. public static get workspaceSettings(): FairyEditor.WorkspaceSettings;
  16999. public static get mainView(): FairyEditor.View.MainView;
  17000. public static get docView(): FairyEditor.View.DocumentView;
  17001. public static get libView(): FairyEditor.View.LibraryView;
  17002. public static get inspectorView(): FairyEditor.View.InspectorView;
  17003. public static get testView(): FairyEditor.View.TestView;
  17004. public static get timelineView(): FairyEditor.View.TimelineView;
  17005. public static get consoleView(): FairyEditor.View.ConsoleView;
  17006. public static get menu(): FairyEditor.Component.IMenu;
  17007. public static get viewManager(): FairyEditor.ViewManager;
  17008. public static get dragManager(): FairyEditor.DragDropManager;
  17009. public static get pluginManager(): FairyEditor.PluginManager;
  17010. public static get docFactory(): FairyEditor.View.DocumentFactory;
  17011. public static get activeDoc(): FairyEditor.View.Document;
  17012. public static get preferenceFolder(): string;
  17013. public static get isActive(): boolean;
  17014. public static add_onProjectOpened ($value: System.Action) : void
  17015. public static remove_onProjectOpened ($value: System.Action) : void
  17016. public static add_onProjectClosed ($value: System.Action) : void
  17017. public static remove_onProjectClosed ($value: System.Action) : void
  17018. public static add_onUpdate ($value: System.Action) : void
  17019. public static remove_onUpdate ($value: System.Action) : void
  17020. public static add_onLateUpdate ($value: System.Action) : void
  17021. public static remove_onLateUpdate ($value: System.Action) : void
  17022. public static add_onValidate ($value: System.Action) : void
  17023. public static remove_onValidate ($value: System.Action) : void
  17024. public static GetString ($index: number) : string
  17025. public static GetString ($index: string) : string
  17026. public static GetIcon ($key: string) : string
  17027. public static GetIcon ($key: string, $big: boolean) : string
  17028. public static StartBackgroundJob () : void
  17029. public static EndBackgroundJob () : void
  17030. public static SetFrameRateFactor ($factor: FairyEditor.App.FrameRateFactor, $enabled: boolean) : void
  17031. public static OpenProject ($path: string) : void
  17032. public static CloseProject () : void
  17033. public static RefreshProject () : void
  17034. public static ShowPreview ($pi: FairyEditor.FPackageItem) : void
  17035. public static FindReference ($source: string) : void
  17036. public static GetActiveFolder () : FairyEditor.FPackageItem
  17037. public static QueryToClose ($restart: boolean) : void
  17038. public static Close () : void
  17039. public static Alert ($msg: string) : void
  17040. public static Alert ($msg: string, $err: System.Exception) : void
  17041. public static Alert ($msg: string, $err: System.Exception, $callback: System.Action) : void
  17042. public static Confirm ($msg: string, $callback: System.Action$1<string>) : void
  17043. public static Input ($msg: string, $text: string, $callback: System.Action$1<string>) : void
  17044. public static SetWaitCursor ($value: boolean) : void
  17045. public static ShowWaiting () : void
  17046. public static ShowWaiting ($msg: string) : void
  17047. public static ShowWaiting ($msg: string, $cancelCallback: System.Action) : void
  17048. public static CloseWaiting () : void
  17049. public static SetVar ($key: string, $value: any) : void
  17050. public static On ($eventType: string, $callback: FairyGUI.EventCallback1) : void
  17051. public static Off ($eventType: string, $callback: FairyGUI.EventCallback1) : void
  17052. public static Dispatch ($eventType: string, $eventData?: any) : void
  17053. public static ChangeColorSapce ($colorSpace: UnityEngine.ColorSpace) : void
  17054. public constructor ()
  17055. }
  17056. class Preferences extends System.Object
  17057. {
  17058. protected [__keep_incompatibility]: never;
  17059. public language : string
  17060. public checkNewVersion : string
  17061. public genComPreview : boolean
  17062. public meaningfullChildName : boolean
  17063. public hideInvisibleChild : boolean
  17064. public publishAction : string
  17065. public saveBeforePublish : boolean
  17066. public PNGCompressionToolPath : string
  17067. public editorFont : string
  17068. public hotkeys : System.Collections.Generic.Dictionary$2<string, string>
  17069. public Load () : void
  17070. public Save () : void
  17071. public constructor ()
  17072. }
  17073. class LocalStore extends System.Object
  17074. {
  17075. protected [__keep_incompatibility]: never;
  17076. public Set ($key: string, $value: any) : void
  17077. public Load () : void
  17078. public Save () : void
  17079. public constructor ()
  17080. }
  17081. class HotkeyManager extends System.Object
  17082. {
  17083. protected [__keep_incompatibility]: never;
  17084. public get functions(): System.Collections.Generic.List$1<FairyEditor.HotkeyManager.FunctionDef>;
  17085. public Init () : void
  17086. public SetHotkey ($funcId: string, $hotkey: string) : void
  17087. public ResetHotkey ($funcId: string) : void
  17088. public ResetAll () : void
  17089. public CaptureHotkey ($receiver: FairyGUI.GObject) : void
  17090. public GetFunctionDef ($funcId: string) : FairyEditor.HotkeyManager.FunctionDef
  17091. public GetFunction ($evt: FairyGUI.InputEvent, $code: $Ref<number>) : string
  17092. public TranslateKey ($hotkey: string) : number
  17093. public constructor ()
  17094. }
  17095. class FProject extends System.Object
  17096. {
  17097. protected [__keep_incompatibility]: never;
  17098. public isMain : boolean
  17099. public _globalFontVersion : number
  17100. public static FILE_EXT : string
  17101. public static ASSETS_PATH : string
  17102. public static SETTINGS_PATH : string
  17103. public static OBJS_PATH : string
  17104. public get versionCode(): number;
  17105. public get serialNumberSeed(): string;
  17106. public get lastChanged(): number;
  17107. public get opened(): boolean;
  17108. public get id(): string;
  17109. public get name(): string;
  17110. public get type(): string;
  17111. public set type(value: string);
  17112. public get supportAtlas(): boolean;
  17113. public get isH5(): boolean;
  17114. public get supportExtractAlpha(): boolean;
  17115. public get supportAlphaMask(): boolean;
  17116. public get zipFormatOption(): boolean;
  17117. public get binaryFormatOption(): boolean;
  17118. public get supportCustomFileExtension(): boolean;
  17119. public get basePath(): string;
  17120. public get assetsPath(): string;
  17121. public get objsPath(): string;
  17122. public get settingsPath(): string;
  17123. public get activeBranch(): string;
  17124. public set activeBranch(value: string);
  17125. public get allPackages(): System.Collections.Generic.List$1<FairyEditor.FPackage>;
  17126. public get allBranches(): System.Collections.Generic.List$1<string>;
  17127. public SetChanged () : void
  17128. public static CreateNew ($projectPath: string, $name: string, $type: string, $pkgName?: string) : void
  17129. public Open ($projectDescFile: string) : void
  17130. public ScanBranches () : boolean
  17131. public Dispose () : void
  17132. public GetSettings ($name: string) : FairyEditor.SettingsBase
  17133. public LoadAllSettings () : void
  17134. public GetDefaultFont () : string
  17135. public Rename ($newName: string) : void
  17136. public GetPackage ($packageId: string) : FairyEditor.FPackage
  17137. public GetPackageByName ($packageName: string) : FairyEditor.FPackage
  17138. public CreatePackage ($newName: string) : FairyEditor.FPackage
  17139. public AddPackage ($folder: string) : FairyEditor.FPackage
  17140. public DeletePackage ($packageId: string) : void
  17141. public Save () : void
  17142. public GetItemByURL ($url: string) : FairyEditor.FPackageItem
  17143. public GetItem ($pkgId: string, $itemId: string) : FairyEditor.FPackageItem
  17144. public FindItemByFile ($file: string) : FairyEditor.FPackageItem
  17145. public GetItemNameByURL ($url: string) : string
  17146. public CreateBranch ($branchName: string) : void
  17147. public RenameBranch ($oldName: string, $newName: string) : void
  17148. public RemoveBranch ($branchName: string) : void
  17149. public RegisterComExtension ($name: string, $className: string, $superClassName: string) : void
  17150. public GetComExtension ($className: string) : FairyEditor.ComExtensionDef
  17151. public GetComExtensionNames () : System.Collections.Generic.List$1<string>
  17152. public ClearComExtensions () : void
  17153. public static ValidateName ($newName: string) : string
  17154. public constructor ($main?: boolean)
  17155. public constructor ()
  17156. }
  17157. class WorkspaceSettings extends System.Object
  17158. {
  17159. protected [__keep_incompatibility]: never;
  17160. public Set ($key: string, $value: any) : void
  17161. public Load () : void
  17162. public Save () : void
  17163. public constructor ()
  17164. }
  17165. class ViewManager extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  17166. {
  17167. protected [__keep_incompatibility]: never;
  17168. public get playMode(): boolean;
  17169. public set playMode(value: boolean);
  17170. public get viewIds(): System.Collections.Generic.List$1<string>;
  17171. public get lastFocusedView(): FairyGUI.GComponent;
  17172. public AddView ($view: FairyGUI.GComponent, $viewId: string, $options: FairyEditor.ViewOptions) : FairyGUI.GComponent
  17173. public RemoveView ($viewId: string) : void
  17174. public GetView ($viewId: string) : FairyGUI.GComponent
  17175. public IsViewShowing ($viewId: string) : boolean
  17176. public SetViewTitle ($viewId: string, $title: string) : void
  17177. public ShowView ($viewId: string) : void
  17178. public HideView ($viewId: string) : void
  17179. public LoadLayout () : void
  17180. public ResetLayout () : void
  17181. public SaveLayout () : void
  17182. public ShowTabMenu ($view: FairyGUI.GComponent) : void
  17183. public OnDragGridStart ($grid: FairyEditor.Component.ViewGrid, $tabButton: FairyGUI.GObject) : void
  17184. public constructor ()
  17185. }
  17186. class DragDropManager extends System.Object
  17187. {
  17188. protected [__keep_incompatibility]: never;
  17189. public get agent(): FairyGUI.GObject;
  17190. public get dragging(): boolean;
  17191. 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
  17192. public Cancel () : void
  17193. public constructor ()
  17194. }
  17195. class PluginManager extends System.Object
  17196. {
  17197. protected [__keep_incompatibility]: never;
  17198. public allPlugins : System.Collections.Generic.List$1<FairyEditor.PluginManager.PluginInfo>
  17199. public get userPluginFolder(): string;
  17200. public get projectPluginFolder(): string;
  17201. public get basePath(): string;
  17202. public Dispose () : void
  17203. public Load () : void
  17204. public LoadUIPackage ($filePath: string) : void
  17205. public SetHotkey ($hotkey: string, $callback: System.Action) : void
  17206. public HandleHotkey ($keyCode: number) : boolean
  17207. public CreateNewPlugin ($name: string, $displayName: string, $icon: string, $desc: string, $template: string) : void
  17208. public constructor ()
  17209. }
  17210. class FPackageItem extends System.Object
  17211. {
  17212. protected [__keep_incompatibility]: never;
  17213. public exported : boolean
  17214. public favorite : boolean
  17215. public isError : boolean
  17216. public get owner(): FairyEditor.FPackage;
  17217. public get parent(): FairyEditor.FPackageItem;
  17218. public get type(): string;
  17219. public get id(): string;
  17220. public set id(value: string);
  17221. public get path(): string;
  17222. public get branch(): string;
  17223. public get isRoot(): boolean;
  17224. public get isBranchRoot(): boolean;
  17225. public get name(): string;
  17226. public get file(): string;
  17227. public get fileName(): string;
  17228. public get modificationTime(): System.DateTime;
  17229. public get sortKey(): string;
  17230. public get version(): number;
  17231. public get width(): number;
  17232. public set width(value: number);
  17233. public get height(): number;
  17234. public set height(value: number);
  17235. public get thumbnail(): FairyGUI.NTexture;
  17236. public get children(): System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  17237. public get folderAtlas(): string;
  17238. public set folderAtlas(value: string);
  17239. public get supportAtlas(): boolean;
  17240. public get supportResolution(): boolean;
  17241. public get title(): string;
  17242. public get contentHash(): string;
  17243. public get isDisposed(): boolean;
  17244. public add_onChanged ($value: System.Action$1<FairyEditor.FPackageItem>) : void
  17245. public remove_onChanged ($value: System.Action$1<FairyEditor.FPackageItem>) : void
  17246. public add_onAlternativeAdded ($value: System.Action$1<FairyEditor.FPackageItem>) : void
  17247. public remove_onAlternativeAdded ($value: System.Action$1<FairyEditor.FPackageItem>) : void
  17248. public MatchName ($key: string) : boolean
  17249. public GetURL () : string
  17250. public GetIcon ($opened?: boolean, $big?: boolean, $thumbnail?: boolean) : string
  17251. public CopySettings ($source: FairyEditor.FPackageItem) : void
  17252. public SetFile ($path: string, $fileName: string, $checkStatus?: boolean) : void
  17253. public SetChanged () : void
  17254. public Touch () : void
  17255. public SetUptoDate () : void
  17256. public FileExists () : boolean
  17257. public GetAsset () : FairyEditor.AssetBase
  17258. public ReadAssetSettings ($xml: FairyGUI.Utils.XML) : void
  17259. public OpenWithDefaultApplication () : void
  17260. public GetBranch ($branchName: string) : FairyEditor.FPackageItem
  17261. public GetTrunk () : FairyEditor.FPackageItem
  17262. public GetHighResolution ($scaleLevel: number) : FairyEditor.FPackageItem
  17263. public GetStdResolution () : FairyEditor.FPackageItem
  17264. public GetAtlasIndex () : number
  17265. public SetVar ($key: string, $value: any) : void
  17266. public AddRef () : void
  17267. public ReleaseRef () : void
  17268. public UnloadAsset ($timestamp?: number) : void
  17269. public Dispose () : void
  17270. public Serialize ($forPublish?: boolean) : FairyGUI.Utils.XML
  17271. public constructor ($owner: FairyEditor.FPackage, $type: string, $id: string)
  17272. public constructor ()
  17273. }
  17274. class Bootstrap extends UnityEngine.MonoBehaviour
  17275. {
  17276. protected [__keep_incompatibility]: never;
  17277. public constructor ()
  17278. }
  17279. class LoaderExtension extends FairyGUI.GLoader implements FairyGUI.IEventDispatcher, FairyGUI.IAnimationGear, FairyGUI.IColorGear
  17280. {
  17281. protected [__keep_incompatibility]: never;
  17282. public constructor ()
  17283. }
  17284. class AniSprite extends FairyGUI.Image implements FairyGUI.IEventDispatcher, FairyGUI.IMeshFactory
  17285. {
  17286. protected [__keep_incompatibility]: never;
  17287. public get onPlayEnd(): FairyGUI.EventListener;
  17288. public get animation(): FairyEditor.AniData;
  17289. public set animation(value: FairyEditor.AniData);
  17290. public get playing(): boolean;
  17291. public set playing(value: boolean);
  17292. public get frame(): number;
  17293. public set frame(value: number);
  17294. public get frameCount(): number;
  17295. public Rewind () : void
  17296. public Advance ($time: number) : void
  17297. public SetPlaySettings () : void
  17298. public SetPlaySettings ($start: number, $end: number, $times: number, $endAt: number) : void
  17299. public StepNext () : void
  17300. public StepPrev () : void
  17301. public constructor ()
  17302. }
  17303. class AniData extends System.Object
  17304. {
  17305. protected [__keep_incompatibility]: never;
  17306. public version : number
  17307. public boundsRect : UnityEngine.Rect
  17308. public fps : number
  17309. public speed : number
  17310. public repeatDelay : number
  17311. public swing : boolean
  17312. public frameList : System.Collections.Generic.List$1<FairyEditor.AniData.Frame>
  17313. public spriteList : System.Collections.Generic.List$1<FairyEditor.AniData.FrameSprite>
  17314. public static FILE_MARK : string
  17315. public get frameCount(): number;
  17316. public Load ($file: string) : void
  17317. public Load ($ba: FairyGUI.Utils.ByteBuffer) : void
  17318. public Save ($file: string) : void
  17319. public Save () : System.Array$1<number>
  17320. public CalculateBoundsRect () : void
  17321. public CopySettings ($source: FairyEditor.AniData) : void
  17322. public CopyFrom ($source: FairyEditor.AniData) : void
  17323. public Reset ($ownsTexture?: boolean) : void
  17324. public ImportImages ($images: System.Collections.Generic.IList$1<string>, $CompressPng: boolean) : void
  17325. public constructor ()
  17326. }
  17327. class AssetBase extends System.Object
  17328. {
  17329. protected [__keep_incompatibility]: never;
  17330. public get isLoading(): boolean;
  17331. public get isLoaded(): boolean;
  17332. public ReadSettings ($xml: FairyGUI.Utils.XML) : void
  17333. public WriteSettings ($xml: FairyGUI.Utils.XML, $forPublish: boolean) : void
  17334. public LoadMeta () : void
  17335. public Unload () : void
  17336. public Dispose () : void
  17337. public GetThumbnail () : FairyGUI.NTexture
  17338. public constructor ($item: FairyEditor.FPackageItem)
  17339. public constructor ()
  17340. }
  17341. class AniAsset extends FairyEditor.AssetBase
  17342. {
  17343. protected [__keep_incompatibility]: never;
  17344. public smoothing : boolean
  17345. public atlas : string
  17346. public get animation(): FairyEditor.AniData;
  17347. public Load () : $Task<any>
  17348. public constructor ($packageItem: FairyEditor.FPackageItem)
  17349. public constructor ($item: FairyEditor.FPackageItem)
  17350. public constructor ()
  17351. }
  17352. class BmFontData extends System.Object
  17353. {
  17354. protected [__keep_incompatibility]: never;
  17355. public face : string
  17356. public xadvance : number
  17357. public canTint : boolean
  17358. public resizable : boolean
  17359. public fontSize : number
  17360. public lineHeight : number
  17361. public atlasFile : string
  17362. public pages : number
  17363. public hasChannel : boolean
  17364. public baseline : number
  17365. public packed : number
  17366. public alphaChnl : number
  17367. public redChnl : number
  17368. public greenChnl : number
  17369. public blueChnl : number
  17370. public glyphs : System.Collections.Generic.List$1<FairyEditor.BmFontData.Glyph>
  17371. public Load ($content: string, $lazyLoadChars?: boolean) : void
  17372. public LoadChars () : void
  17373. public Build () : string
  17374. public constructor ()
  17375. }
  17376. class ComponentAsset extends FairyEditor.AssetBase
  17377. {
  17378. protected [__keep_incompatibility]: never;
  17379. public get extension(): string;
  17380. public get xml(): FairyGUI.Utils.XML;
  17381. public get displayList(): System.Collections.Generic.List$1<FairyEditor.ComponentAsset.DisplayListItem>;
  17382. public GetCustomProperties () : System.Collections.Generic.IList$1<FairyEditor.ComProperty>
  17383. public GetControllerPages ($name: string, $pageNames: System.Collections.Generic.List$1<string>, $pageIds: System.Collections.Generic.List$1<string>) : void
  17384. public CreateObject ($item: FairyEditor.FPackageItem, $flags?: number) : System.Threading.Tasks.Task$1<FairyEditor.FComponent>
  17385. public constructor ($packageItem: FairyEditor.FPackageItem)
  17386. public constructor ($item: FairyEditor.FPackageItem)
  17387. public constructor ()
  17388. }
  17389. class ComProperty extends System.Object
  17390. {
  17391. protected [__keep_incompatibility]: never;
  17392. public target : string
  17393. public propertyId : number
  17394. public label : string
  17395. public value : any
  17396. public CopyFrom ($source: FairyEditor.ComProperty) : void
  17397. public constructor ()
  17398. }
  17399. class FObject extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  17400. {
  17401. protected [__keep_incompatibility]: never;
  17402. public _parent : FairyEditor.FComponent
  17403. public _id : string
  17404. public _width : number
  17405. public _height : number
  17406. public _rawWidth : number
  17407. public _rawHeight : number
  17408. public _widthEnabled : boolean
  17409. public _heightEnabled : boolean
  17410. public _renderDepth : number
  17411. public _outlineVersion : number
  17412. public _opened : boolean
  17413. public _group : FairyEditor.FGroup
  17414. public _sizePercentInGroup : number
  17415. public _gearLocked : boolean
  17416. public _internalVisible : boolean
  17417. public _hasSnapshot : boolean
  17418. public _treeNode : FairyEditor.FTreeNode
  17419. public _pivotFromSource : boolean
  17420. public _pkg : FairyEditor.FPackage
  17421. public _res : FairyEditor.ResourceRef
  17422. public _objectType : string
  17423. public _docElement : FairyEditor.View.DocElement
  17424. public _flags : number
  17425. public _underConstruct : boolean
  17426. public sourceWidth : number
  17427. public sourceHeight : number
  17428. public initWidth : number
  17429. public initHeight : number
  17430. public customData : string
  17431. public notes : string
  17432. public static loadingSnapshot : boolean
  17433. public static MAX_GEAR_INDEX : number
  17434. public get id(): string;
  17435. public get name(): string;
  17436. public set name(value: string);
  17437. public get objectType(): string;
  17438. public get pkg(): FairyEditor.FPackage;
  17439. public get docElement(): FairyEditor.View.DocElement;
  17440. public get touchable(): boolean;
  17441. public set touchable(value: boolean);
  17442. public get touchDisabled(): boolean;
  17443. public get grayed(): boolean;
  17444. public set grayed(value: boolean);
  17445. public get enabled(): boolean;
  17446. public set enabled(value: boolean);
  17447. public get resourceURL(): string;
  17448. public get x(): number;
  17449. public set x(value: number);
  17450. public get y(): number;
  17451. public set y(value: number);
  17452. public get xy(): UnityEngine.Vector2;
  17453. public set xy(value: UnityEngine.Vector2);
  17454. public get xMin(): number;
  17455. public set xMin(value: number);
  17456. public get xMax(): number;
  17457. public set xMax(value: number);
  17458. public get yMin(): number;
  17459. public set yMin(value: number);
  17460. public get yMax(): number;
  17461. public set yMax(value: number);
  17462. public get height(): number;
  17463. public set height(value: number);
  17464. public get width(): number;
  17465. public set width(value: number);
  17466. public get size(): UnityEngine.Vector2;
  17467. public get minWidth(): number;
  17468. public set minWidth(value: number);
  17469. public get minHeight(): number;
  17470. public set minHeight(value: number);
  17471. public get maxWidth(): number;
  17472. public set maxWidth(value: number);
  17473. public get maxHeight(): number;
  17474. public set maxHeight(value: number);
  17475. public get actualWidth(): number;
  17476. public get actualHeight(): number;
  17477. public get scaleX(): number;
  17478. public set scaleX(value: number);
  17479. public get scaleY(): number;
  17480. public set scaleY(value: number);
  17481. public get aspectLocked(): boolean;
  17482. public set aspectLocked(value: boolean);
  17483. public get aspectRatio(): number;
  17484. public get skewX(): number;
  17485. public set skewX(value: number);
  17486. public get skewY(): number;
  17487. public set skewY(value: number);
  17488. public get pivotX(): number;
  17489. public set pivotX(value: number);
  17490. public get pivotY(): number;
  17491. public set pivotY(value: number);
  17492. public get anchor(): boolean;
  17493. public set anchor(value: boolean);
  17494. public get locked(): boolean;
  17495. public set locked(value: boolean);
  17496. public get hideByEditor(): boolean;
  17497. public set hideByEditor(value: boolean);
  17498. public get useSourceSize(): boolean;
  17499. public set useSourceSize(value: boolean);
  17500. public get rotation(): number;
  17501. public set rotation(value: number);
  17502. public get alpha(): number;
  17503. public set alpha(value: number);
  17504. public get visible(): boolean;
  17505. public set visible(value: boolean);
  17506. public get internalVisible(): boolean;
  17507. public get internalVisible2(): boolean;
  17508. public get internalVisible3(): boolean;
  17509. public get groupId(): string;
  17510. public set groupId(value: string);
  17511. public get tooltips(): string;
  17512. public set tooltips(value: string);
  17513. public get filterData(): FairyEditor.FilterData;
  17514. public set filterData(value: FairyEditor.FilterData);
  17515. public get filter(): string;
  17516. public set filter(value: string);
  17517. public get blendMode(): string;
  17518. public set blendMode(value: string);
  17519. public get relations(): FairyEditor.FRelations;
  17520. public get displayObject(): FairyEditor.FDisplayObject;
  17521. public get parent(): FairyEditor.FComponent;
  17522. public get text(): string;
  17523. public set text(value: string);
  17524. public get icon(): string;
  17525. public set icon(value: string);
  17526. public get errorStatus(): boolean;
  17527. public set errorStatus(value: boolean);
  17528. public get topmost(): FairyEditor.FComponent;
  17529. public SetXY ($xv: number, $yv: number) : void
  17530. public SetTopLeft ($xv: number, $yv: number) : void
  17531. public SetSize ($wv: number, $hv: number, $ignorePivot?: boolean, $dontCheckLock?: boolean) : void
  17532. public SetScale ($sx: number, $sy: number) : void
  17533. public SetSkew ($xv: number, $yv: number) : void
  17534. public SetPivot ($xv: number, $yv: number, $asAnchor: boolean) : void
  17535. public InGroup ($group: FairyEditor.FGroup) : boolean
  17536. public GetGear ($index: number, $createIfNull?: boolean) : FairyEditor.Framework.Gears.IGear
  17537. public UpdateGear ($index: number) : void
  17538. public UpdateGearFromRelations ($index: number, $dx: number, $dy: number) : void
  17539. public SupportGear ($index: number) : boolean
  17540. public ValidateGears () : void
  17541. public HasGears () : boolean
  17542. public CheckGearController ($index: number, $c: FairyEditor.FController) : boolean
  17543. public CheckGearsController ($c: FairyEditor.FController) : boolean
  17544. public AddDisplayLock () : number
  17545. public ReleaseDisplayLock ($token: number) : void
  17546. public CheckGearDisplay () : void
  17547. public RemoveFromParent () : void
  17548. public LocalToGlobal ($pt: UnityEngine.Vector2) : UnityEngine.Vector2
  17549. public GlobalToLocal ($pt: UnityEngine.Vector2) : UnityEngine.Vector2
  17550. public static cast ($obj: FairyGUI.DisplayObject) : FairyEditor.FObject
  17551. public HandleXYChanged () : void
  17552. public HandleSizeChanged () : void
  17553. public HandleGrayedChanged () : void
  17554. public HandleAlphaChanged () : void
  17555. public HandleVisibleChanged () : void
  17556. public HandleControllerChanged ($c: FairyEditor.FController) : void
  17557. public GetProperty ($propName: string) : any
  17558. public SetProperty ($propName: string, $value: any) : void
  17559. public GetProp ($index: FairyEditor.ObjectPropID) : any
  17560. public SetProp ($index: FairyEditor.ObjectPropID, $value: any) : void
  17561. public IsObsolete () : boolean
  17562. public Validate ($checkOnly?: boolean) : boolean
  17563. public GetDetailString () : string
  17564. public Create () : void
  17565. public Dispose () : void
  17566. public Recreate () : void
  17567. public Read_beforeAdd ($xml: FairyGUI.Utils.XML, $strings: System.Collections.Generic.Dictionary$2<string, string>) : void
  17568. public Read_afterAdd ($xml: FairyGUI.Utils.XML, $strings: System.Collections.Generic.Dictionary$2<string, string>) : void
  17569. public Write () : FairyGUI.Utils.XML
  17570. public ReadGears ($xml: FairyGUI.Utils.XML) : void
  17571. public WriteGears ($xml?: FairyGUI.Utils.XML) : FairyGUI.Utils.XML
  17572. public TakeSnapshot ($ss: FairyEditor.ObjectSnapshot) : void
  17573. public ReadSnapshot ($ss: FairyEditor.ObjectSnapshot) : void
  17574. public constructor ($flags: number)
  17575. public constructor ()
  17576. }
  17577. class FComponent extends FairyEditor.FObject implements FairyGUI.IEventDispatcher
  17578. {
  17579. protected [__keep_incompatibility]: never;
  17580. public customExtentionId : string
  17581. public initName : string
  17582. public designImage : string
  17583. public designImageOffsetX : number
  17584. public designImageOffsetY : number
  17585. public designImageAlpha : number
  17586. public designImageLayer : number
  17587. public designImageForTest : boolean
  17588. public bgColor : UnityEngine.Color
  17589. public bgColorEnabled : boolean
  17590. public hitTestSource : FairyEditor.FObject
  17591. public mask : FairyEditor.FObject
  17592. public reversedMask : boolean
  17593. public remark : string
  17594. public baseNotes : string
  17595. public headerRes : string
  17596. public footerRes : string
  17597. public showSound : string
  17598. public hideSound : string
  17599. public get numChildren(): number;
  17600. public get children(): System.Collections.Generic.List$1<FairyEditor.FObject>;
  17601. public get controllers(): System.Collections.Generic.List$1<FairyEditor.FController>;
  17602. public get transitions(): FairyEditor.FTransitions;
  17603. public get customProperties(): System.Collections.Generic.List$1<FairyEditor.ComProperty>;
  17604. public set customProperties(value: System.Collections.Generic.List$1<FairyEditor.ComProperty>);
  17605. public get bounds(): UnityEngine.Rect;
  17606. public get extention(): FairyEditor.ComExtention;
  17607. public get extentionId(): string;
  17608. public set extentionId(value: string);
  17609. public get scrollPane(): FairyEditor.FScrollPane;
  17610. public get overflow(): string;
  17611. public set overflow(value: string);
  17612. public get overflow2(): string;
  17613. public set overflow2(value: string);
  17614. public get scroll(): string;
  17615. public set scroll(value: string);
  17616. public get scrollBarFlags(): number;
  17617. public set scrollBarFlags(value: number);
  17618. public get scrollBarDisplay(): string;
  17619. public set scrollBarDisplay(value: string);
  17620. public get margin(): FairyEditor.FMargin;
  17621. public get marginStr(): string;
  17622. public set marginStr(value: string);
  17623. public get scrollBarMargin(): FairyEditor.FMargin;
  17624. public get scrollBarMarginStr(): string;
  17625. public set scrollBarMarginStr(value: string);
  17626. public get hzScrollBarRes(): string;
  17627. public set hzScrollBarRes(value: string);
  17628. public get vtScrollBarRes(): string;
  17629. public set vtScrollBarRes(value: string);
  17630. public get clipSoftnessX(): number;
  17631. public set clipSoftnessX(value: number);
  17632. public get clipSoftnessY(): number;
  17633. public set clipSoftnessY(value: number);
  17634. public get viewWidth(): number;
  17635. public set viewWidth(value: number);
  17636. public get viewHeight(): number;
  17637. public set viewHeight(value: number);
  17638. public get opaque(): boolean;
  17639. public set opaque(value: boolean);
  17640. public get text(): string;
  17641. public set text(value: string);
  17642. public get icon(): string;
  17643. public set icon(value: string);
  17644. public get childrenRenderOrder(): string;
  17645. public set childrenRenderOrder(value: string);
  17646. public get apexIndex(): number;
  17647. public set apexIndex(value: number);
  17648. public get pageController(): string;
  17649. public set pageController(value: string);
  17650. public get pageControllerObj(): FairyEditor.FController;
  17651. public get scriptData(): FairyGUI.Utils.XML;
  17652. public AddChild ($child: FairyEditor.FObject) : FairyEditor.FObject
  17653. public AddChildAt ($child: FairyEditor.FObject, $index: number) : FairyEditor.FObject
  17654. public RemoveChild ($child: FairyEditor.FObject, $dispose?: boolean) : FairyEditor.FObject
  17655. public RemoveChildAt ($index: number, $dispose?: boolean) : FairyEditor.FObject
  17656. public RemoveChildren ($beginIndex?: number, $endIndex?: number, $dispose?: boolean) : void
  17657. public GetChildAt ($index: number) : FairyEditor.FObject
  17658. public GetChild ($name: string) : FairyEditor.FObject
  17659. public GetChildByPath ($path: string) : FairyEditor.FObject
  17660. public GetChildById ($id: string) : FairyEditor.FObject
  17661. public GetChildIndex ($child: FairyEditor.FObject) : number
  17662. public SetChildIndex ($child: FairyEditor.FObject, $index: number) : void
  17663. public SwapChildren ($child1: FairyEditor.FObject, $child2: FairyEditor.FObject) : void
  17664. public SwapChildrenAt ($index1: number, $index2: number) : void
  17665. public AddController ($controller: FairyEditor.FController, $applyNow?: boolean) : void
  17666. public GetController ($name: string) : FairyEditor.FController
  17667. public RemoveController ($c: FairyEditor.FController) : void
  17668. public UpdateChildrenVisible () : void
  17669. public UpdateDisplayList ($immediatelly?: boolean) : void
  17670. public GetSnappingPosition ($xValue: number, $yValue: number) : UnityEngine.Vector2
  17671. public EnsureBoundsCorrect () : void
  17672. public SetBoundsChangedFlag () : void
  17673. public GetBounds () : UnityEngine.Rect
  17674. public SetBounds ($ax: number, $ay: number, $aw: number, $ah: number) : void
  17675. public ApplyController ($c: FairyEditor.FController) : void
  17676. public ApplyAllControllers () : void
  17677. public AdjustRadioGroupDepth ($obj: FairyEditor.FObject, $c: FairyEditor.FController) : void
  17678. public GetCustomProperty ($target: string, $propertyId: number) : FairyEditor.ComProperty
  17679. public ApplyCustomProperty ($cp: FairyEditor.ComProperty) : void
  17680. public UpdateOverflow () : void
  17681. public Write_editMode () : FairyGUI.Utils.XML
  17682. public ValidateChildren ($checkOnly?: boolean) : boolean
  17683. public CreateChild ($xml: FairyGUI.Utils.XML) : FairyEditor.FObject
  17684. public GetChildrenInfo () : string
  17685. public GetNextId () : string
  17686. public IsIdInUse ($val: string) : boolean
  17687. public ContainsComponent ($pi: FairyEditor.FPackageItem) : boolean
  17688. public NotifyChildReplaced ($source: FairyEditor.FObject, $target: FairyEditor.FObject) : void
  17689. public constructor ($flags: number)
  17690. }
  17691. class SkeletonAsset extends FairyEditor.AssetBase
  17692. {
  17693. protected [__keep_incompatibility]: never;
  17694. public files : System.Array$1<string>
  17695. public atlasNames : System.Array$1<string>
  17696. public anchorX : number
  17697. public anchorY : number
  17698. public shader : string
  17699. public pma : boolean
  17700. public get data(): FairyEditor.ISkeletonDataAsset;
  17701. public get animations(): System.Collections.Generic.List$1<string>;
  17702. public get skins(): System.Collections.Generic.List$1<string>;
  17703. public Load () : $Task<any>
  17704. }
  17705. class DragonBonesAsset extends FairyEditor.SkeletonAsset
  17706. {
  17707. protected [__keep_incompatibility]: never;
  17708. public static ParseBounds ($sourceFile: string) : UnityEngine.Rect
  17709. public constructor ($packageItem: FairyEditor.FPackageItem)
  17710. public constructor ($item: FairyEditor.FPackageItem)
  17711. public constructor ()
  17712. }
  17713. class FBitmapFont extends FairyGUI.BitmapFont
  17714. {
  17715. protected [__keep_incompatibility]: never;
  17716. public get fontData(): FairyEditor.BmFontData;
  17717. public get usingAtlas(): boolean;
  17718. public get branch(): string;
  17719. public GetSubFont ($branch: string, $scaleLevel: number) : FairyEditor.FBitmapFont
  17720. public constructor ($packageItem: FairyEditor.FPackageItem)
  17721. public constructor ($parent: FairyEditor.FBitmapFont, $branch: string, $scaleLevel: number)
  17722. public constructor ()
  17723. }
  17724. class FontAsset extends FairyEditor.AssetBase
  17725. {
  17726. protected [__keep_incompatibility]: never;
  17727. public texture : string
  17728. public samplePointSize : number
  17729. public renderMode : string
  17730. public italicStyle : number
  17731. public boldWeight : number
  17732. public atlasPadding : number
  17733. public static DefaultItalicStyle : number
  17734. public static DefaultBoldWeight : number
  17735. public static DefaultAtlasPadding : number
  17736. public get fontType(): FairyEditor.FontAsset.FontType;
  17737. public static IsTTF ($file: string) : boolean
  17738. public GetFont ($flags: number) : FairyGUI.BaseFont
  17739. public GetFont ($branch: string, $scaleLevel: number) : FairyGUI.BaseFont
  17740. public static ParseRenderMode ($str: string) : UnityEngine.TextCore.LowLevel.GlyphRenderMode
  17741. public constructor ($packageItem: FairyEditor.FPackageItem)
  17742. public constructor ($item: FairyEditor.FPackageItem)
  17743. public constructor ()
  17744. }
  17745. class ImageAsset extends FairyEditor.AssetBase
  17746. {
  17747. protected [__keep_incompatibility]: never;
  17748. public scale9Grid : UnityEngine.Rect
  17749. public scaleOption : string
  17750. public qualityOption : string
  17751. public quality : number
  17752. public smoothing : boolean
  17753. public gridTile : number
  17754. public atlas : string
  17755. public duplicatePadding : boolean
  17756. public disableTrim : boolean
  17757. public svgWidth : number
  17758. public svgHeight : number
  17759. public static QUALITY_DEFAULT : string
  17760. public static QUALITY_SOURCE : string
  17761. public static QUALITY_CUSTOM : string
  17762. public static SCALE_9GRID : string
  17763. public static SCALE_TILE : string
  17764. public get texture(): FairyGUI.NTexture;
  17765. public get converting(): boolean;
  17766. public get format(): string;
  17767. public get targetQuality(): number;
  17768. public get file(): string;
  17769. public LoadTexture () : $Task<any>
  17770. public LoadForPublish ($trim: boolean) : $Task<any>
  17771. public constructor ($packageItem: FairyEditor.FPackageItem)
  17772. public constructor ($item: FairyEditor.FPackageItem)
  17773. public constructor ()
  17774. }
  17775. interface ISkeletonDataAsset
  17776. {
  17777. GetAnimations () : System.Collections.Generic.List$1<string>
  17778. GetSkins () : System.Collections.Generic.List$1<string>
  17779. CreateComponent () : FairyEditor.ISkeletonAnimationComponent
  17780. Dispose () : void
  17781. }
  17782. class SoundAsset extends FairyEditor.AssetBase
  17783. {
  17784. protected [__keep_incompatibility]: never;
  17785. public get audio(): UnityEngine.AudioClip;
  17786. public Play ($volumeScale?: number) : void
  17787. public constructor ($packageItem: FairyEditor.FPackageItem)
  17788. public constructor ($item: FairyEditor.FPackageItem)
  17789. public constructor ()
  17790. }
  17791. class SpineAsset extends FairyEditor.SkeletonAsset
  17792. {
  17793. protected [__keep_incompatibility]: never;
  17794. public static ParseBounds ($sourceFile: string) : UnityEngine.Rect
  17795. public constructor ($packageItem: FairyEditor.FPackageItem)
  17796. public constructor ($item: FairyEditor.FPackageItem)
  17797. public constructor ()
  17798. }
  17799. class SwfAsset extends FairyEditor.AssetBase
  17800. {
  17801. protected [__keep_incompatibility]: never;
  17802. public constructor ($packageItem: FairyEditor.FPackageItem)
  17803. public constructor ($item: FairyEditor.FPackageItem)
  17804. public constructor ()
  17805. }
  17806. class ComExtensionDef extends System.Object
  17807. {
  17808. protected [__keep_incompatibility]: never;
  17809. public name : string
  17810. public className : string
  17811. public superClassName : string
  17812. public constructor ()
  17813. }
  17814. class ComExtention extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  17815. {
  17816. protected [__keep_incompatibility]: never;
  17817. public _type : string
  17818. public get owner(): FairyEditor.FComponent;
  17819. public set owner(value: FairyEditor.FComponent);
  17820. public get text(): string;
  17821. public set text(value: string);
  17822. public get icon(): string;
  17823. public set icon(value: string);
  17824. public Create () : void
  17825. public Dispose () : void
  17826. public Read_editMode ($xml: FairyGUI.Utils.XML) : void
  17827. public Write_editMode () : FairyGUI.Utils.XML
  17828. public Read ($xml: FairyGUI.Utils.XML, $strings: System.Collections.Generic.Dictionary$2<string, string>) : void
  17829. public Write () : FairyGUI.Utils.XML
  17830. public HandleControllerChanged ($c: FairyEditor.FController) : void
  17831. public GetProp ($index: FairyEditor.ObjectPropID) : any
  17832. public SetProp ($index: FairyEditor.ObjectPropID, $value: any) : void
  17833. public GetProperty ($propName: string) : any
  17834. public SetProperty ($propName: string, $value: any) : void
  17835. public constructor ()
  17836. }
  17837. class FController extends FairyGUI.EventDispatcher implements FairyGUI.IEventDispatcher
  17838. {
  17839. protected [__keep_incompatibility]: never;
  17840. public name : string
  17841. public autoRadioGroupDepth : boolean
  17842. public exported : boolean
  17843. public alias : string
  17844. public homePageType : string
  17845. public homePage : string
  17846. public parent : FairyEditor.FComponent
  17847. public changing : boolean
  17848. public get selectedIndex(): number;
  17849. public set selectedIndex(value: number);
  17850. public get previsousIndex(): number;
  17851. public get selectedPage(): string;
  17852. public set selectedPage(value: string);
  17853. public get selectedPageId(): string;
  17854. public set selectedPageId(value: string);
  17855. public set oppositePageId(value: string);
  17856. public get previousPage(): string;
  17857. public get previousPageId(): string;
  17858. public get pageCount(): number;
  17859. public SetSelectedIndex ($value: number) : void
  17860. public GetPages () : System.Collections.Generic.List$1<FairyEditor.FControllerPage>
  17861. public GetPageIds ($ret?: System.Collections.Generic.List$1<string>) : System.Collections.Generic.List$1<string>
  17862. public GetPageNames ($ret?: System.Collections.Generic.List$1<string>) : System.Collections.Generic.List$1<string>
  17863. public HasPageId ($value: string) : boolean
  17864. public HasPageName ($value: string) : boolean
  17865. public GetNameById ($id: string, $emptyMsg: string) : string
  17866. public GetNamesByIds ($ids: System.Collections.IList, $emptyMsg: string) : string
  17867. public AddPage ($name: string) : FairyEditor.FControllerPage
  17868. public AddPageAt ($name: string, $index: number) : FairyEditor.FControllerPage
  17869. public RemovePageAt ($index: number) : void
  17870. public SetPages ($pages: System.Collections.Generic.IList$1<string>) : void
  17871. public SwapPage ($index1: number, $index2: number) : void
  17872. public GetActions () : System.Collections.Generic.List$1<FairyEditor.FControllerAction>
  17873. public AddAction ($type: string) : FairyEditor.FControllerAction
  17874. public RemoveAction ($action: FairyEditor.FControllerAction) : void
  17875. public SwapAction ($index1: number, $index2: number) : void
  17876. public RunActions () : void
  17877. public Read ($xml: FairyGUI.Utils.XML) : void
  17878. public Write () : FairyGUI.Utils.XML
  17879. public Reset () : void
  17880. public constructor ()
  17881. }
  17882. enum ObjectPropID
  17883. { Text = 0, Icon = 1, Color = 2, OutlineColor = 3, Playing = 4, Frame = 5, DeltaTime = 6, TimeScale = 7, FontSize = 8, Selected = 9, AnimationName = 10, SkinName = 11 }
  17884. class FEvents extends System.Object
  17885. {
  17886. protected [__keep_incompatibility]: never;
  17887. public static POS_CHANGED : string
  17888. public static SIZE_CHANGED : string
  17889. public static CHANGED : string
  17890. public static PLAY_END : string
  17891. public static SUBMIT : string
  17892. public static ADDED : string
  17893. public static REMOVED : string
  17894. public static CLICK_ITEM : string
  17895. }
  17896. class AlignConst extends System.Object
  17897. {
  17898. protected [__keep_incompatibility]: never;
  17899. public static LEFT : string
  17900. public static CENTER : string
  17901. public static RIGHT : string
  17902. public static Parse ($str: string) : FairyGUI.AlignType
  17903. public static ToString ($type: FairyGUI.AlignType) : string
  17904. public ToString () : string
  17905. }
  17906. class VerticalAlignConst extends System.Object
  17907. {
  17908. protected [__keep_incompatibility]: never;
  17909. public static TOP : string
  17910. public static MIDDLE : string
  17911. public static BOTTOM : string
  17912. public static Parse ($str: string) : FairyGUI.VertAlignType
  17913. public static ToString ($type: FairyGUI.VertAlignType) : string
  17914. public ToString () : string
  17915. }
  17916. class AutoSizeConst extends System.Object
  17917. {
  17918. protected [__keep_incompatibility]: never;
  17919. public static NONE : string
  17920. public static HEIGHT : string
  17921. public static BOTH : string
  17922. public static SHRINK : string
  17923. public static ELLIPSIS : string
  17924. public static Parse ($str: string) : FairyGUI.AutoSizeType
  17925. public static ToString ($type: FairyGUI.AutoSizeType) : string
  17926. public ToString () : string
  17927. }
  17928. class OverflowConst extends System.Object
  17929. {
  17930. protected [__keep_incompatibility]: never;
  17931. public static VISIBLE : string
  17932. public static HIDDEN : string
  17933. public static SCROLL : string
  17934. }
  17935. class ScrollBarDisplayConst extends System.Object
  17936. {
  17937. protected [__keep_incompatibility]: never;
  17938. public static DEFAULT : string
  17939. public static VISIBLE : string
  17940. public static AUTO : string
  17941. public static HIDDEN : string
  17942. }
  17943. class ScrollConst extends System.Object
  17944. {
  17945. protected [__keep_incompatibility]: never;
  17946. public static HORIZONTAL : string
  17947. public static VERTICAL : string
  17948. public static BOTH : string
  17949. }
  17950. class FlipConst extends System.Object
  17951. {
  17952. protected [__keep_incompatibility]: never;
  17953. public static NONE : string
  17954. public static HZ : string
  17955. public static VT : string
  17956. public static BOTH : string
  17957. public static Parse ($str: string) : FairyGUI.FlipType
  17958. }
  17959. class LoaderFillConst extends System.Object
  17960. {
  17961. protected [__keep_incompatibility]: never;
  17962. public static NONE : string
  17963. public static SCALE_SHOW_ALL : string
  17964. public static SCALE_NO_BORDER : string
  17965. public static SCALE_MATCH_HEIGHT : string
  17966. public static SCALE_MATCH_WIDTH : string
  17967. public static SCALE_FREE : string
  17968. }
  17969. class FillMethodConst extends System.Object
  17970. {
  17971. protected [__keep_incompatibility]: never;
  17972. public static Parse ($str: string) : FairyGUI.FillMethod
  17973. }
  17974. class EaseTypeConst extends System.Object
  17975. {
  17976. protected [__keep_incompatibility]: never;
  17977. public static easeType : System.Array$1<string>
  17978. public static easeInOutType : System.Array$1<string>
  17979. public static Parse ($value: string) : FairyGUI.EaseType
  17980. }
  17981. class FButton extends FairyEditor.ComExtention implements FairyGUI.IEventDispatcher
  17982. {
  17983. protected [__keep_incompatibility]: never;
  17984. public changeStageOnClick : boolean
  17985. public static COMMON : string
  17986. public static CHECK : string
  17987. public static RADIO : string
  17988. public static UP : string
  17989. public static DOWN : string
  17990. public static OVER : string
  17991. public static SELECTED_OVER : string
  17992. public static DISABLED : string
  17993. public static SELECTED_DISABLED : string
  17994. public get icon(): string;
  17995. public set icon(value: string);
  17996. public get selectedIcon(): string;
  17997. public set selectedIcon(value: string);
  17998. public get title(): string;
  17999. public set title(value: string);
  18000. public get text(): string;
  18001. public set text(value: string);
  18002. public get selectedTitle(): string;
  18003. public set selectedTitle(value: string);
  18004. public get titleColor(): UnityEngine.Color;
  18005. public set titleColor(value: UnityEngine.Color);
  18006. public get titleColorSet(): boolean;
  18007. public set titleColorSet(value: boolean);
  18008. public get titleFontSize(): number;
  18009. public set titleFontSize(value: number);
  18010. public get titleFontSizeSet(): boolean;
  18011. public set titleFontSizeSet(value: boolean);
  18012. public get sound(): string;
  18013. public set sound(value: string);
  18014. public get volume(): number;
  18015. public set volume(value: number);
  18016. public get baseSound(): string;
  18017. public set baseSound(value: string);
  18018. public get baseVolume(): number;
  18019. public set baseVolume(value: number);
  18020. public get soundSet(): boolean;
  18021. public set soundSet(value: boolean);
  18022. public get downEffect(): string;
  18023. public set downEffect(value: string);
  18024. public get downEffectValue(): number;
  18025. public set downEffectValue(value: number);
  18026. public get selected(): boolean;
  18027. public set selected(value: boolean);
  18028. public get mode(): string;
  18029. public set mode(value: string);
  18030. public get controller(): string;
  18031. public set controller(value: string);
  18032. public get controllerObj(): FairyEditor.FController;
  18033. public get page(): string;
  18034. public set page(value: string);
  18035. public GetTextField () : FairyEditor.FTextField
  18036. public HandleGrayChanged () : boolean
  18037. public constructor ()
  18038. }
  18039. class FTextField extends FairyEditor.FObject implements FairyGUI.IEventDispatcher
  18040. {
  18041. protected [__keep_incompatibility]: never;
  18042. public clearOnPublish : boolean
  18043. public get text(): string;
  18044. public set text(value: string);
  18045. public get textFormat(): FairyGUI.TextFormat;
  18046. public get supportProEffect(): boolean;
  18047. public get font(): string;
  18048. public set font(value: string);
  18049. public get fontSize(): number;
  18050. public set fontSize(value: number);
  18051. public get color(): UnityEngine.Color;
  18052. public set color(value: UnityEngine.Color);
  18053. public get align(): string;
  18054. public set align(value: string);
  18055. public get verticalAlign(): string;
  18056. public set verticalAlign(value: string);
  18057. public get leading(): number;
  18058. public set leading(value: number);
  18059. public get letterSpacing(): number;
  18060. public set letterSpacing(value: number);
  18061. public get underline(): boolean;
  18062. public set underline(value: boolean);
  18063. public get bold(): boolean;
  18064. public set bold(value: boolean);
  18065. public get italic(): boolean;
  18066. public set italic(value: boolean);
  18067. public get strike(): boolean;
  18068. public set strike(value: boolean);
  18069. public get stroke(): boolean;
  18070. public set stroke(value: boolean);
  18071. public get strokeColor(): UnityEngine.Color;
  18072. public set strokeColor(value: UnityEngine.Color);
  18073. public get strokeSize(): number;
  18074. public set strokeSize(value: number);
  18075. public get shadowY(): number;
  18076. public set shadowY(value: number);
  18077. public get shadowX(): number;
  18078. public set shadowX(value: number);
  18079. public get shadow(): boolean;
  18080. public set shadow(value: boolean);
  18081. public get shadowColor(): UnityEngine.Color;
  18082. public set shadowColor(value: UnityEngine.Color);
  18083. public get outlineSoftness(): number;
  18084. public set outlineSoftness(value: number);
  18085. public get underlaySoftness(): number;
  18086. public set underlaySoftness(value: number);
  18087. public get faceDilate(): number;
  18088. public set faceDilate(value: number);
  18089. public get ubbEnabled(): boolean;
  18090. public set ubbEnabled(value: boolean);
  18091. public get varsEnabled(): boolean;
  18092. public set varsEnabled(value: boolean);
  18093. public get autoSize(): string;
  18094. public set autoSize(value: string);
  18095. public get singleLine(): boolean;
  18096. public set singleLine(value: boolean);
  18097. public InitFrom ($other: FairyEditor.FTextField) : void
  18098. public CopyTextFormat ($source: FairyEditor.FTextField) : void
  18099. public constructor ($flags: number)
  18100. }
  18101. class FComboBox extends FairyEditor.ComExtention implements FairyGUI.IEventDispatcher
  18102. {
  18103. protected [__keep_incompatibility]: never;
  18104. public clearOnPublish : boolean
  18105. public get title(): string;
  18106. public set title(value: string);
  18107. public get text(): string;
  18108. public set text(value: string);
  18109. public get icon(): string;
  18110. public set icon(value: string);
  18111. public get titleColor(): UnityEngine.Color;
  18112. public set titleColor(value: UnityEngine.Color);
  18113. public get titleColorSet(): boolean;
  18114. public set titleColorSet(value: boolean);
  18115. public get dropdown(): string;
  18116. public set dropdown(value: string);
  18117. public get visibleItemCount(): number;
  18118. public set visibleItemCount(value: number);
  18119. public get direction(): string;
  18120. public set direction(value: string);
  18121. public get items(): System.Array$1<System.Array$1<string>>;
  18122. public set items(value: System.Array$1<System.Array$1<string>>);
  18123. public set selectedIndex(value: number);
  18124. public get selectionController(): string;
  18125. public set selectionController(value: string);
  18126. public get selectionControllerObj(): FairyEditor.FController;
  18127. public get sound(): string;
  18128. public set sound(value: string);
  18129. public get volume(): number;
  18130. public set volume(value: number);
  18131. public GetTextField () : FairyEditor.FTextField
  18132. public constructor ()
  18133. }
  18134. class FTransitions extends System.Object
  18135. {
  18136. protected [__keep_incompatibility]: never;
  18137. public _loadingSnapshot : boolean
  18138. public get items(): System.Collections.Generic.List$1<FairyEditor.FTransition>;
  18139. public get isEmpty(): boolean;
  18140. public AddItem ($name?: string) : FairyEditor.FTransition
  18141. public RemoveItem ($item: FairyEditor.FTransition) : void
  18142. public GetItem ($name: string) : FairyEditor.FTransition
  18143. public Read ($xml: FairyGUI.Utils.XML) : void
  18144. public Write ($xml?: FairyGUI.Utils.XML) : FairyGUI.Utils.XML
  18145. public Dispose () : void
  18146. public ClearSnapshot () : void
  18147. public TakeSnapshot () : void
  18148. public ReadSnapshot ($readController?: boolean) : void
  18149. public OnOwnerAddedToStage () : void
  18150. public OnOwnerRemovedFromStage () : void
  18151. public constructor ($owner: FairyEditor.FComponent)
  18152. public constructor ()
  18153. }
  18154. class FScrollPane extends System.Object
  18155. {
  18156. protected [__keep_incompatibility]: never;
  18157. public static DISPLAY_ON_LEFT : number
  18158. public static SNAP_TO_ITEM : number
  18159. public static DISPLAY_IN_DEMAND : number
  18160. public static PAGE_MODE : number
  18161. public static TOUCH_EFFECT_ON : number
  18162. public static TOUCH_EFFECT_OFF : number
  18163. public static BOUNCE_BACK_EFFECT_ON : number
  18164. public static BOUNCE_BACK_EFFECT_OFF : number
  18165. public static INERTIA_DISABLED : number
  18166. public static MASK_DISABLED : number
  18167. public static FLOATING : number
  18168. public static DONT_CLIP_MARGIN : number
  18169. public get vtScrollBar(): FairyEditor.FScrollBar;
  18170. public get hzScrollBar(): FairyEditor.FScrollBar;
  18171. public get owner(): FairyEditor.FComponent;
  18172. public get percX(): number;
  18173. public set percX(value: number);
  18174. public get percY(): number;
  18175. public set percY(value: number);
  18176. public get posX(): number;
  18177. public set posX(value: number);
  18178. public get posY(): number;
  18179. public set posY(value: number);
  18180. public get contentWidth(): number;
  18181. public get contentHeight(): number;
  18182. public get viewWidth(): number;
  18183. public set viewWidth(value: number);
  18184. public get viewHeight(): number;
  18185. public set viewHeight(value: number);
  18186. public get pageX(): number;
  18187. public set pageX(value: number);
  18188. public get pageY(): number;
  18189. public set pageY(value: number);
  18190. public Dispose () : void
  18191. public Install () : void
  18192. public Uninstall () : void
  18193. public SetPercX ($value: number, $ani?: boolean) : void
  18194. public SetPercY ($value: number, $ani?: boolean) : void
  18195. public SetPosX ($value: number, $ani?: boolean) : void
  18196. public SetPosY ($value: number, $ani?: boolean) : void
  18197. public SetPageX ($value: number, $ani?: boolean) : void
  18198. public SetPageY ($value: number, $ani?: boolean) : void
  18199. public ScrollTop ($ani?: boolean) : void
  18200. public ScrollBottom ($ani?: boolean) : void
  18201. public ScrollUp ($ratio?: number, $ani?: boolean) : void
  18202. public ScrollDown ($ratio?: number, $ani?: boolean) : void
  18203. public ScrollLeft ($ratio?: number, $ani?: boolean) : void
  18204. public ScrollRight ($ratio?: number, $ani?: boolean) : void
  18205. public ScrollToView ($obj: FairyEditor.FObject, $ani?: boolean, $setFirst?: boolean) : void
  18206. public ScrollToView ($rect: UnityEngine.Rect, $ani?: boolean, $setFirst?: boolean) : void
  18207. public OnOwnerSizeChanged () : void
  18208. public OnFlagsChanged ($forceReceate?: boolean) : void
  18209. public Validate ($checkOnly?: boolean) : boolean
  18210. public UpdateScrollRect () : void
  18211. public SetContentSize ($aWidth: number, $aHeight: number) : void
  18212. public HandleControllerChanged ($c: FairyEditor.FController) : void
  18213. public UpdateScrollBarVisible () : void
  18214. public constructor ($owner: FairyEditor.FComponent)
  18215. public constructor ()
  18216. }
  18217. class FMargin extends System.Object
  18218. {
  18219. protected [__keep_incompatibility]: never;
  18220. public left : number
  18221. public right : number
  18222. public top : number
  18223. public bottom : number
  18224. public get empty(): boolean;
  18225. public Parse ($str: string) : void
  18226. public Reset () : void
  18227. public Copy ($source: FairyEditor.FMargin) : void
  18228. public constructor ()
  18229. }
  18230. class FControllerPage extends System.Object
  18231. {
  18232. protected [__keep_incompatibility]: never;
  18233. public id : string
  18234. public name : string
  18235. public remark : string
  18236. public constructor ()
  18237. }
  18238. class FControllerAction extends System.Object
  18239. {
  18240. protected [__keep_incompatibility]: never;
  18241. public type : string
  18242. public fromPage : System.Array$1<string>
  18243. public toPage : System.Array$1<string>
  18244. public transitionName : string
  18245. public repeat : number
  18246. public delay : number
  18247. public stopOnExit : boolean
  18248. public objectId : string
  18249. public controllerName : string
  18250. public targetPage : string
  18251. public Run ($controller: FairyEditor.FController, $prevPage: string, $curPage: string) : void
  18252. public Reset () : void
  18253. public GetFullControllerName ($gcom: FairyEditor.FComponent) : string
  18254. public GetControllerObj ($gcom: FairyEditor.FComponent) : FairyEditor.FController
  18255. public Read ($xml: FairyGUI.Utils.XML) : void
  18256. public Write () : FairyGUI.Utils.XML
  18257. public constructor ()
  18258. }
  18259. class FCustomEase extends FairyGUI.CustomEase
  18260. {
  18261. protected [__keep_incompatibility]: never;
  18262. public points : System.Collections.Generic.List$1<FairyGUI.GPathPoint>
  18263. public Update () : void
  18264. public constructor ()
  18265. }
  18266. class FDisplayObject extends FairyGUI.Container implements FairyGUI.IEventDispatcher
  18267. {
  18268. protected [__keep_incompatibility]: never;
  18269. public get owner(): FairyEditor.FObject;
  18270. public get container(): FairyGUI.Container;
  18271. public get content(): FairyGUI.DisplayObject;
  18272. public set content(value: FairyGUI.DisplayObject);
  18273. public get errorStatus(): boolean;
  18274. public set errorStatus(value: boolean);
  18275. public Reset () : void
  18276. public HandleSizeChanged () : void
  18277. public SetLoading ($value: boolean) : void
  18278. public ApplyBlendMode () : void
  18279. public ApplyFilter () : void
  18280. public constructor ($owner: FairyEditor.FObject)
  18281. public constructor ()
  18282. public constructor ($gameObjectName: string)
  18283. public constructor ($attachTarget: UnityEngine.GameObject)
  18284. }
  18285. class FGraph extends FairyEditor.FObject implements FairyGUI.IEventDispatcher, FairyGUI.IHitTest
  18286. {
  18287. protected [__keep_incompatibility]: never;
  18288. public static EMPTY : string
  18289. public static RECT : string
  18290. public static ELLIPSE : string
  18291. public static POLYGON : string
  18292. public static REGULAR_POLYGON : string
  18293. public get type(): string;
  18294. public set type(value: string);
  18295. public get isVerticesEditable(): boolean;
  18296. public get shapeLocked(): boolean;
  18297. public set shapeLocked(value: boolean);
  18298. public get cornerRadius(): string;
  18299. public set cornerRadius(value: string);
  18300. public get lineColor(): UnityEngine.Color;
  18301. public set lineColor(value: UnityEngine.Color);
  18302. public get lineSize(): number;
  18303. public set lineSize(value: number);
  18304. public get fillColor(): UnityEngine.Color;
  18305. public set fillColor(value: UnityEngine.Color);
  18306. public get polygonPoints(): System.Collections.Generic.List$1<UnityEngine.Vector2>;
  18307. public get verticesDistance(): System.Collections.Generic.List$1<number>;
  18308. public get sides(): number;
  18309. public set sides(value: number);
  18310. public get startAngle(): number;
  18311. public set startAngle(value: number);
  18312. public get polygonData(): any;
  18313. public set polygonData(value: any);
  18314. public AddVertex ($vx: number, $vy: number, $near: boolean) : void
  18315. public RemoveVertex ($index: number) : void
  18316. public UpdateVertex ($index: number, $xv: number, $yv: number) : void
  18317. public UpdateVertexDistance ($index: number, $value: number) : void
  18318. public CalculatePolygonBounds () : UnityEngine.Rect
  18319. public UpdateGraph () : void
  18320. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  18321. public constructor ($flags: number)
  18322. }
  18323. class FGroup extends FairyEditor.FObject implements FairyGUI.IEventDispatcher
  18324. {
  18325. protected [__keep_incompatibility]: never;
  18326. public _updating : number
  18327. public _childrenDirty : boolean
  18328. public static HORIZONTAL : string
  18329. public static VERTICAL : string
  18330. public get advanced(): boolean;
  18331. public set advanced(value: boolean);
  18332. public get excludeInvisibles(): boolean;
  18333. public set excludeInvisibles(value: boolean);
  18334. public get autoSizeDisabled(): boolean;
  18335. public set autoSizeDisabled(value: boolean);
  18336. public get mainGridMinSize(): number;
  18337. public set mainGridMinSize(value: number);
  18338. public get mainGridIndex(): number;
  18339. public set mainGridIndex(value: number);
  18340. public get hasMainGrid(): boolean;
  18341. public set hasMainGrid(value: boolean);
  18342. public get collapsed(): boolean;
  18343. public set collapsed(value: boolean);
  18344. public get layout(): string;
  18345. public set layout(value: string);
  18346. public get lineGap(): number;
  18347. public set lineGap(value: number);
  18348. public get columnGap(): number;
  18349. public set columnGap(value: number);
  18350. public get boundsChanged(): boolean;
  18351. public get children(): System.Collections.Generic.List$1<FairyEditor.FObject>;
  18352. public get empty(): boolean;
  18353. public Refresh ($positionChangedOnly?: boolean) : void
  18354. public FreeChildrenArray () : void
  18355. public GetStartIndex () : number
  18356. public UpdateImmdediately ($param?: any) : void
  18357. public MoveChildren ($dx: number, $dy: number) : void
  18358. public ResizeChildren ($dw: number, $dh: number) : void
  18359. public constructor ($flags: number)
  18360. }
  18361. class FilterData extends System.Object
  18362. {
  18363. protected [__keep_incompatibility]: never;
  18364. public type : string
  18365. public brightness : number
  18366. public contrast : number
  18367. public saturation : number
  18368. public hue : number
  18369. public Read ($xml: FairyGUI.Utils.XML) : void
  18370. public Write ($xml: FairyGUI.Utils.XML) : void
  18371. public CopyFrom ($source: FairyEditor.FilterData) : void
  18372. public Clone () : FairyEditor.FilterData
  18373. public constructor ()
  18374. }
  18375. class FImage extends FairyEditor.FObject implements FairyGUI.IEventDispatcher, FairyGUI.IHitTest
  18376. {
  18377. protected [__keep_incompatibility]: never;
  18378. public get color(): UnityEngine.Color;
  18379. public set color(value: UnityEngine.Color);
  18380. public get flip(): string;
  18381. public set flip(value: string);
  18382. public get fillOrigin(): number;
  18383. public set fillOrigin(value: number);
  18384. public get fillClockwise(): boolean;
  18385. public set fillClockwise(value: boolean);
  18386. public get fillMethod(): string;
  18387. public set fillMethod(value: string);
  18388. public get fillAmount(): number;
  18389. public set fillAmount(value: number);
  18390. public get bitmap(): FairyGUI.Image;
  18391. public HitTest ($contentRect: UnityEngine.Rect, $localPoint: UnityEngine.Vector2) : boolean
  18392. public constructor ($flags: number)
  18393. }
  18394. class FLabel extends FairyEditor.ComExtention implements FairyGUI.IEventDispatcher
  18395. {
  18396. protected [__keep_incompatibility]: never;
  18397. public restrict : string
  18398. public maxLength : number
  18399. public keyboardType : number
  18400. public get icon(): string;
  18401. public set icon(value: string);
  18402. public get title(): string;
  18403. public set title(value: string);
  18404. public get text(): string;
  18405. public set text(value: string);
  18406. public get titleColor(): UnityEngine.Color;
  18407. public set titleColor(value: UnityEngine.Color);
  18408. public get titleColorSet(): boolean;
  18409. public set titleColorSet(value: boolean);
  18410. public get titleFontSize(): number;
  18411. public set titleFontSize(value: number);
  18412. public get titleFontSizeSet(): boolean;
  18413. public set titleFontSizeSet(value: boolean);
  18414. public get input(): boolean;
  18415. public get password(): boolean;
  18416. public set password(value: boolean);
  18417. public get promptText(): string;
  18418. public set promptText(value: string);
  18419. public get sound(): string;
  18420. public set sound(value: string);
  18421. public get volume(): number;
  18422. public set volume(value: number);
  18423. public GetTextField () : FairyEditor.FTextField
  18424. public constructor ()
  18425. }
  18426. class FList extends FairyEditor.FComponent implements FairyGUI.IEventDispatcher
  18427. {
  18428. protected [__keep_incompatibility]: never;
  18429. public clearOnPublish : boolean
  18430. public scrollItemToViewOnClick : boolean
  18431. public foldInvisibleItems : boolean
  18432. public clickToExpand : number
  18433. public static SINGLE_COLUMN : string
  18434. public static SINGLE_ROW : string
  18435. public static FLOW_HZ : string
  18436. public static FLOW_VT : string
  18437. public static PAGINATION : string
  18438. public get layout(): string;
  18439. public set layout(value: string);
  18440. public get selectionMode(): string;
  18441. public set selectionMode(value: string);
  18442. public get lineGap(): number;
  18443. public set lineGap(value: number);
  18444. public get columnGap(): number;
  18445. public set columnGap(value: number);
  18446. public get repeatX(): number;
  18447. public set repeatX(value: number);
  18448. public get repeatY(): number;
  18449. public set repeatY(value: number);
  18450. public get defaultItem(): string;
  18451. public set defaultItem(value: string);
  18452. public get autoResizeItem(): boolean;
  18453. public set autoResizeItem(value: boolean);
  18454. public get autoResizeItem1(): boolean;
  18455. public set autoResizeItem1(value: boolean);
  18456. public get autoResizeItem2(): boolean;
  18457. public set autoResizeItem2(value: boolean);
  18458. public get treeViewEnabled(): boolean;
  18459. public set treeViewEnabled(value: boolean);
  18460. public get indent(): number;
  18461. public set indent(value: number);
  18462. public get items(): System.Collections.Generic.List$1<FairyEditor.ListItemData>;
  18463. public set items(value: System.Collections.Generic.List$1<FairyEditor.ListItemData>);
  18464. public get align(): string;
  18465. public set align(value: string);
  18466. public get verticalAlign(): string;
  18467. public set verticalAlign(value: string);
  18468. public get selectionController(): string;
  18469. public set selectionController(value: string);
  18470. public get selectionControllerObj(): FairyEditor.FController;
  18471. public get selectedIndex(): number;
  18472. public set selectedIndex(value: number);
  18473. public GetSelection ($result?: System.Collections.Generic.List$1<number>) : System.Collections.Generic.List$1<number>
  18474. public AddSelection ($index: number, $scrollItToView?: boolean) : void
  18475. public RemoveSelection ($index: number) : void
  18476. public ClearSelection () : void
  18477. public AddItem ($url: string) : FairyEditor.FObject
  18478. public AddItemAt ($url: string, $index: number) : FairyEditor.FObject
  18479. public ResizeToFit ($itemCount?: number, $minSize?: number) : void
  18480. public constructor ($flags: number)
  18481. }
  18482. class ListItemData extends System.Object
  18483. {
  18484. protected [__keep_incompatibility]: never;
  18485. public url : string
  18486. public name : string
  18487. public title : string
  18488. public icon : string
  18489. public selectedTitle : string
  18490. public selectedIcon : string
  18491. public level : number
  18492. public get properties(): System.Collections.Generic.List$1<FairyEditor.ComProperty>;
  18493. public CopyFrom ($source: FairyEditor.ListItemData) : void
  18494. public constructor ()
  18495. }
  18496. class FLoader extends FairyEditor.FObject implements FairyGUI.IEventDispatcher
  18497. {
  18498. protected [__keep_incompatibility]: never;
  18499. public clearOnPublish : boolean
  18500. public get url(): string;
  18501. public set url(value: string);
  18502. public get texture(): FairyGUI.NTexture;
  18503. public set texture(value: FairyGUI.NTexture);
  18504. public get icon(): string;
  18505. public set icon(value: string);
  18506. public get align(): string;
  18507. public set align(value: string);
  18508. public get verticalAlign(): string;
  18509. public set verticalAlign(value: string);
  18510. public get fill(): string;
  18511. public set fill(value: string);
  18512. public get shrinkOnly(): boolean;
  18513. public set shrinkOnly(value: boolean);
  18514. public get autoSize(): boolean;
  18515. public set autoSize(value: boolean);
  18516. public get playing(): boolean;
  18517. public set playing(value: boolean);
  18518. public get frame(): number;
  18519. public set frame(value: number);
  18520. public get showErrorSign(): boolean;
  18521. public set showErrorSign(value: boolean);
  18522. public get color(): UnityEngine.Color;
  18523. public set color(value: UnityEngine.Color);
  18524. public get fillOrigin(): number;
  18525. public set fillOrigin(value: number);
  18526. public get fillClockwise(): boolean;
  18527. public set fillClockwise(value: boolean);
  18528. public get fillMethod(): string;
  18529. public set fillMethod(value: string);
  18530. public get fillAmount(): number;
  18531. public set fillAmount(value: number);
  18532. public get contentRes(): FairyEditor.ResourceRef;
  18533. public constructor ($flags: number)
  18534. }
  18535. class ResourceRef extends System.Object
  18536. {
  18537. protected [__keep_incompatibility]: never;
  18538. public get packageItem(): FairyEditor.FPackageItem;
  18539. public get displayItem(): FairyEditor.FPackageItem;
  18540. public get displayFont(): FairyGUI.BaseFont;
  18541. public get name(): string;
  18542. public get desc(): string;
  18543. public get isMissing(): boolean;
  18544. public get missingInfo(): FairyEditor.MissingInfo;
  18545. public get sourceWidth(): number;
  18546. public get sourceHeight(): number;
  18547. public SetPackageItem ($res: FairyEditor.FPackageItem, $ownerFlags?: number) : void
  18548. public IsObsolete () : boolean
  18549. public GetURL () : string
  18550. public Update () : void
  18551. public Release () : void
  18552. public constructor ($pi?: FairyEditor.FPackageItem, $missingInfo?: FairyEditor.MissingInfo, $ownerFlags?: number)
  18553. public constructor ()
  18554. }
  18555. class FLoader3D extends FairyEditor.FObject implements FairyGUI.IEventDispatcher
  18556. {
  18557. protected [__keep_incompatibility]: never;
  18558. public clearOnPublish : boolean
  18559. public get url(): string;
  18560. public set url(value: string);
  18561. public get icon(): string;
  18562. public set icon(value: string);
  18563. public get autoSize(): boolean;
  18564. public set autoSize(value: boolean);
  18565. public get fill(): string;
  18566. public set fill(value: string);
  18567. public get shrinkOnly(): boolean;
  18568. public set shrinkOnly(value: boolean);
  18569. public get align(): string;
  18570. public set align(value: string);
  18571. public get verticalAlign(): string;
  18572. public set verticalAlign(value: string);
  18573. public get playing(): boolean;
  18574. public set playing(value: boolean);
  18575. public get frame(): number;
  18576. public set frame(value: number);
  18577. public get animationName(): string;
  18578. public set animationName(value: string);
  18579. public get skinName(): string;
  18580. public set skinName(value: string);
  18581. public get loop(): boolean;
  18582. public set loop(value: boolean);
  18583. public get color(): UnityEngine.Color;
  18584. public set color(value: UnityEngine.Color);
  18585. public get contentRes(): FairyEditor.ResourceRef;
  18586. public constructor ($flags: number)
  18587. }
  18588. class FMovieClip extends FairyEditor.FObject implements FairyGUI.IEventDispatcher
  18589. {
  18590. protected [__keep_incompatibility]: never;
  18591. public get playing(): boolean;
  18592. public set playing(value: boolean);
  18593. public get frame(): number;
  18594. public set frame(value: number);
  18595. public get color(): UnityEngine.Color;
  18596. public set color(value: UnityEngine.Color);
  18597. public Advance ($time: number) : void
  18598. public constructor ($flags: number)
  18599. }
  18600. class FTreeNode extends System.Object
  18601. {
  18602. protected [__keep_incompatibility]: never;
  18603. public get expanded(): boolean;
  18604. public set expanded(value: boolean);
  18605. public get isFolder(): boolean;
  18606. public get parent(): FairyEditor.FTreeNode;
  18607. public get data(): any;
  18608. public set data(value: any);
  18609. public get text(): string;
  18610. public get cell(): FairyEditor.FComponent;
  18611. public get level(): number;
  18612. public get numChildren(): number;
  18613. public get tree(): FairyEditor.FTree;
  18614. public AddChild ($child: FairyEditor.FTreeNode) : FairyEditor.FTreeNode
  18615. public AddChildAt ($child: FairyEditor.FTreeNode, $index: number) : FairyEditor.FTreeNode
  18616. public RemoveChild ($child: FairyEditor.FTreeNode) : FairyEditor.FTreeNode
  18617. public RemoveChildAt ($index: number) : FairyEditor.FTreeNode
  18618. public RemoveChildren ($beginIndex?: number, $endIndex?: number) : void
  18619. public GetChildAt ($index: number) : FairyEditor.FTreeNode
  18620. public GetChildIndex ($child: FairyEditor.FTreeNode) : number
  18621. public GetPrevSibling () : FairyEditor.FTreeNode
  18622. public GetNextSibling () : FairyEditor.FTreeNode
  18623. public SetChildIndex ($child: FairyEditor.FTreeNode, $index: number) : void
  18624. public SwapChildren ($child1: FairyEditor.FTreeNode, $child2: FairyEditor.FTreeNode) : void
  18625. public SwapChildrenAt ($index1: number, $index2: number) : void
  18626. public ExpandToRoot () : void
  18627. public constructor ($hasChild: boolean, $resURL?: string)
  18628. public constructor ()
  18629. }
  18630. class FPackage extends System.Object
  18631. {
  18632. protected [__keep_incompatibility]: never;
  18633. public get opened(): boolean;
  18634. public get project(): FairyEditor.FProject;
  18635. public get id(): string;
  18636. public get name(): string;
  18637. public get basePath(): string;
  18638. public get cacheFolder(): string;
  18639. public get metaFolder(): string;
  18640. public get items(): System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  18641. public get publishSettings(): FairyEditor.PublishSettings;
  18642. public get rootItem(): FairyEditor.FPackageItem;
  18643. public get strings(): System.Collections.Generic.Dictionary$2<string, System.Collections.Generic.Dictionary$2<string, string>>;
  18644. public set strings(value: System.Collections.Generic.Dictionary$2<string, System.Collections.Generic.Dictionary$2<string, string>>);
  18645. public GetBranchRootItem ($branch: string) : FairyEditor.FPackageItem
  18646. public BeginBatch () : void
  18647. public EndBatch () : void
  18648. public Open () : void
  18649. public Save () : void
  18650. public SetChanged () : void
  18651. public Touch () : void
  18652. public Dispose () : void
  18653. public EnsureOpen () : void
  18654. public FreeUnusedResources ($ignoreTimeStamp: boolean) : void
  18655. public GetNextId () : string
  18656. public GetSequenceName ($resName: string) : string
  18657. public GetUniqueName ($folder: FairyEditor.FPackageItem, $fileName: string) : string
  18658. 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>
  18659. public GetFavoriteItems ($result?: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) : System.Collections.Generic.List$1<FairyEditor.FPackageItem>
  18660. public GetItem ($itemId: string) : FairyEditor.FPackageItem
  18661. public FindItemByName ($itemName: string) : FairyEditor.FPackageItem
  18662. public GetItemByPath ($path: string) : FairyEditor.FPackageItem
  18663. public GetItemByName ($folder: FairyEditor.FPackageItem, $itemName: string) : FairyEditor.FPackageItem
  18664. public GetItemByFileName ($folder: FairyEditor.FPackageItem, $fileName: string) : FairyEditor.FPackageItem
  18665. public GetItemPath ($pi: FairyEditor.FPackageItem, $result?: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) : System.Collections.Generic.List$1<FairyEditor.FPackageItem>
  18666. public AddItem ($pi: FairyEditor.FPackageItem) : void
  18667. public RenameItem ($pi: FairyEditor.FPackageItem, $newName: string) : void
  18668. public MoveItem ($pi: FairyEditor.FPackageItem, $path: string) : void
  18669. public DeleteItem ($pi: FairyEditor.FPackageItem) : number
  18670. public DuplicateItem ($pi: FairyEditor.FPackageItem, $newName: string) : FairyEditor.FPackageItem
  18671. public EnsurePathExists ($path: string, $allowCreateDirectory: boolean) : FairyEditor.FPackageItem
  18672. public GetBranchPath ($branch: string) : string
  18673. public CreateBranch ($branch: string) : void
  18674. public CreateFolder ($cname: string, $path?: string, $autoRename?: boolean) : FairyEditor.FPackageItem
  18675. public CreatePath ($path: string) : FairyEditor.FPackageItem
  18676. public CreateComponentItem ($cname: string, $width: number, $height: number, $path?: string, $extentionId?: string, $exported?: boolean, $autoRename?: boolean) : FairyEditor.FPackageItem
  18677. public CreateFontItem ($cname: string, $path?: string, $autoRename?: boolean) : FairyEditor.FPackageItem
  18678. public CreateMovieClipItem ($cname: string, $path?: string, $autoRename?: boolean) : FairyEditor.FPackageItem
  18679. public ImportResource ($sourceFile: string, $toPath: string, $resName: string) : System.Threading.Tasks.Task$1<FairyEditor.FPackageItem>
  18680. public UpdateResource ($pi: FairyEditor.FPackageItem, $sourceFile: string) : $Task<any>
  18681. public constructor ($project: FairyEditor.FProject, $folder: string)
  18682. public constructor ()
  18683. }
  18684. class FRelations extends System.Object
  18685. {
  18686. protected [__keep_incompatibility]: never;
  18687. public handling : FairyEditor.FObject
  18688. public get widthLocked(): boolean;
  18689. public get heightLocked(): boolean;
  18690. public get items(): System.Collections.Generic.List$1<FairyEditor.FRelationItem>;
  18691. public get isEmpty(): boolean;
  18692. public AddItem ($target: FairyEditor.FObject, $type: number, $usePercent?: boolean) : FairyEditor.FRelationItem
  18693. public AddItem ($target: FairyEditor.FObject, $sidePair: string) : FairyEditor.FRelationItem
  18694. public RemoveItem ($item: FairyEditor.FRelationItem) : void
  18695. public ReplaceItem ($index: number, $target: FairyEditor.FObject, $sidePair: string) : void
  18696. public GetItem ($target: FairyEditor.FObject) : FairyEditor.FRelationItem
  18697. public HasTarget ($target: FairyEditor.FObject) : boolean
  18698. public RemoveTarget ($target: FairyEditor.FObject) : void
  18699. public ReplaceTarget ($originTarget: FairyEditor.FObject, $newTarget: FairyEditor.FObject) : void
  18700. public OnOwnerSizeChanged ($dWidth: number, $dHeight: number, $applyPivot: boolean) : void
  18701. public Reset () : void
  18702. public Read ($xml: FairyGUI.Utils.XML, $inSource?: boolean) : void
  18703. public Write ($xml?: FairyGUI.Utils.XML) : FairyGUI.Utils.XML
  18704. public constructor ($owner: FairyEditor.FObject)
  18705. public constructor ()
  18706. }
  18707. class ObjectSnapshot extends System.Object
  18708. {
  18709. protected [__keep_incompatibility]: never;
  18710. public x : number
  18711. public y : number
  18712. public width : number
  18713. public height : number
  18714. public scaleX : number
  18715. public scaleY : number
  18716. public skewX : number
  18717. public skewY : number
  18718. public pivotX : number
  18719. public pivotY : number
  18720. public anchor : boolean
  18721. public alpha : number
  18722. public rotation : number
  18723. public color : UnityEngine.Color
  18724. public playing : boolean
  18725. public frame : number
  18726. public visible : boolean
  18727. public filterData : FairyEditor.FilterData
  18728. public text : string
  18729. public icon : string
  18730. public animationName : string
  18731. public skinName : string
  18732. public static GetFromPool ($obj: FairyEditor.FObject) : FairyEditor.ObjectSnapshot
  18733. public static ReturnToPool ($col: System.Collections.Generic.List$1<FairyEditor.ObjectSnapshot>) : void
  18734. public Take () : void
  18735. public Load () : void
  18736. public constructor ()
  18737. }
  18738. class FObjectFactory extends System.Object
  18739. {
  18740. protected [__keep_incompatibility]: never;
  18741. public static constructingDepth : number
  18742. public static CreateObject ($pi: FairyEditor.FPackageItem, $flags?: number) : FairyEditor.FObject
  18743. public static CreateObject ($pkg: FairyEditor.FPackage, $type: string, $missingInfo?: FairyEditor.MissingInfo, $flags?: number) : FairyEditor.FObject
  18744. public static CreateObject ($di: FairyEditor.ComponentAsset.DisplayListItem, $flags?: number) : FairyEditor.FObject
  18745. public static NewObject ($pi: FairyEditor.FPackageItem, $flags?: number) : FairyEditor.FObject
  18746. public static NewObject ($pkg: FairyEditor.FPackage, $type: string, $missingInfo?: FairyEditor.MissingInfo, $flags?: number) : FairyEditor.FObject
  18747. public static NewObject ($di: FairyEditor.ComponentAsset.DisplayListItem, $flags?: number) : FairyEditor.FObject
  18748. public static NewExtention ($pkg: FairyEditor.FPackage, $type: string) : FairyEditor.ComExtention
  18749. public static GetClassByType ($type: string) : System.Type
  18750. public constructor ()
  18751. }
  18752. class MissingInfo extends System.Object
  18753. {
  18754. protected [__keep_incompatibility]: never;
  18755. public pkgName : string
  18756. public pkgId : string
  18757. public itemId : string
  18758. public fileName : string
  18759. public constructor ($pkgId: string, $itemId: string, $fileName: string)
  18760. public constructor ($url: string)
  18761. public constructor ()
  18762. }
  18763. class FObjectFlags extends System.Object
  18764. {
  18765. protected [__keep_incompatibility]: never;
  18766. public static IN_DOC : number
  18767. public static IN_TEST : number
  18768. public static IN_PREVIEW : number
  18769. public static INSPECTING : number
  18770. public static ROOT : number
  18771. public static IsDocRoot ($flags: number) : boolean
  18772. public static GetScaleLevel ($flags: number) : number
  18773. public constructor ()
  18774. }
  18775. class FObjectType extends System.Object
  18776. {
  18777. protected [__keep_incompatibility]: never;
  18778. public static PACKAGE : string
  18779. public static FOLDER : string
  18780. public static IMAGE : string
  18781. public static GRAPH : string
  18782. public static LIST : string
  18783. public static LOADER : string
  18784. public static TEXT : string
  18785. public static RICHTEXT : string
  18786. public static INPUTTEXT : string
  18787. public static GROUP : string
  18788. public static SWF : string
  18789. public static MOVIECLIP : string
  18790. public static COMPONENT : string
  18791. public static Loader3D : string
  18792. public static EXT_BUTTON : string
  18793. public static EXT_LABEL : string
  18794. public static EXT_COMBOBOX : string
  18795. public static EXT_PROGRESS_BAR : string
  18796. public static EXT_SLIDER : string
  18797. public static EXT_SCROLLBAR : string
  18798. public static NAME_PREFIX : System.Collections.Generic.Dictionary$2<string, string>
  18799. public constructor ()
  18800. }
  18801. class PublishSettings extends System.Object
  18802. {
  18803. protected [__keep_incompatibility]: never;
  18804. public path : string
  18805. public fileName : string
  18806. public packageCount : number
  18807. public genCode : boolean
  18808. public codePath : string
  18809. public branchPath : string
  18810. public useGlobalAtlasSettings : boolean
  18811. public atlasList : System.Collections.Generic.List$1<FairyEditor.AtlasSettings>
  18812. public excludedList : System.Collections.Generic.List$1<string>
  18813. public FillCombo ($cb: FairyGUI.GComboBox) : void
  18814. public constructor ()
  18815. }
  18816. class FPackageItemType extends System.Object
  18817. {
  18818. protected [__keep_incompatibility]: never;
  18819. public static FOLDER : string
  18820. public static IMAGE : string
  18821. public static SWF : string
  18822. public static MOVIECLIP : string
  18823. public static SOUND : string
  18824. public static COMPONENT : string
  18825. public static FONT : string
  18826. public static MISC : string
  18827. public static ATLAS : string
  18828. public static SPINE : string
  18829. public static DRAGONBONES : string
  18830. public static fileExtensionMap : System.Collections.Generic.Dictionary$2<string, string>
  18831. public static GetFileType ($file: string) : string
  18832. public constructor ()
  18833. }
  18834. class FProgressBar extends FairyEditor.ComExtention implements FairyGUI.IEventDispatcher
  18835. {
  18836. protected [__keep_incompatibility]: never;
  18837. public static TITLE_PERCENT : string
  18838. public static TITLE_VALUE_AND_MAX : string
  18839. public static TITLE_VALUE_ONLY : string
  18840. public static TITLE_MAX_ONLY : string
  18841. public get titleType(): string;
  18842. public set titleType(value: string);
  18843. public get min(): number;
  18844. public set min(value: number);
  18845. public get max(): number;
  18846. public set max(value: number);
  18847. public get value(): number;
  18848. public set value(value: number);
  18849. public get reverse(): boolean;
  18850. public set reverse(value: boolean);
  18851. public get sound(): string;
  18852. public set sound(value: string);
  18853. public get volume(): number;
  18854. public set volume(value: number);
  18855. public Update () : void
  18856. public constructor ()
  18857. }
  18858. class SettingsBase extends System.Object
  18859. {
  18860. protected [__keep_incompatibility]: never;
  18861. public get fileName(): string;
  18862. public Touch ($forced?: boolean) : void
  18863. public Save () : void
  18864. }
  18865. class FRelationDef extends System.Object
  18866. {
  18867. protected [__keep_incompatibility]: never;
  18868. public affectBySelfSizeChanged : boolean
  18869. public percent : boolean
  18870. public type : number
  18871. public constructor ()
  18872. }
  18873. class FRelationItem extends System.Object
  18874. {
  18875. protected [__keep_incompatibility]: never;
  18876. public get owner(): FairyEditor.FObject;
  18877. public get readOnly(): boolean;
  18878. public get target(): FairyEditor.FObject;
  18879. public set target(value: FairyEditor.FObject);
  18880. public get containsWidthRelated(): boolean;
  18881. public get containsHeightRelated(): boolean;
  18882. public get defs(): System.Collections.Generic.List$1<FairyEditor.FRelationDef>;
  18883. public get desc(): string;
  18884. public set desc(value: string);
  18885. public Set ($target: FairyEditor.FObject, $sidePairs: string, $readOnly?: boolean) : void
  18886. public Dispose () : void
  18887. public AddDef ($type: number, $usePercent?: boolean, $checkDuplicated?: boolean) : void
  18888. public AddDefs ($sidePairs: string, $checkDuplicated?: boolean) : void
  18889. public HasDef ($type: number) : boolean
  18890. public ApplySelfSizeChanged ($dWidth: number, $dHeight: number, $applyPivot: boolean) : void
  18891. public constructor ($owner: FairyEditor.FObject)
  18892. public constructor ()
  18893. }
  18894. class FRelationType extends System.Object
  18895. {
  18896. protected [__keep_incompatibility]: never;
  18897. public static Left_Left : number
  18898. public static Left_Center : number
  18899. public static Left_Right : number
  18900. public static Center_Center : number
  18901. public static Right_Left : number
  18902. public static Right_Center : number
  18903. public static Right_Right : number
  18904. public static LeftExt_Left : number
  18905. public static LeftExt_Right : number
  18906. public static RightExt_Left : number
  18907. public static RightExt_Right : number
  18908. public static Width : number
  18909. public static Top_Top : number
  18910. public static Top_Middle : number
  18911. public static Top_Bottom : number
  18912. public static Middle_Middle : number
  18913. public static Bottom_Top : number
  18914. public static Bottom_Middle : number
  18915. public static Bottom_Bottom : number
  18916. public static TopExt_Top : number
  18917. public static TopExt_Bottom : number
  18918. public static BottomExt_Top : number
  18919. public static BottomExt_Bottom : number
  18920. public static Height : number
  18921. public static Size : number
  18922. public static Names : System.Array$1<string>
  18923. public constructor ()
  18924. }
  18925. class FRichTextField extends FairyEditor.FTextField implements FairyGUI.IEventDispatcher
  18926. {
  18927. protected [__keep_incompatibility]: never;
  18928. public constructor ($flags: number)
  18929. }
  18930. class FScrollBar extends FairyEditor.ComExtention implements FairyGUI.IEventDispatcher
  18931. {
  18932. protected [__keep_incompatibility]: never;
  18933. public get minSize(): number;
  18934. public get fixedGripSize(): boolean;
  18935. public set fixedGripSize(value: boolean);
  18936. public get gripDragging(): boolean;
  18937. public SetScrollPane ($scrollPane: FairyEditor.FScrollPane, $vertical: boolean) : void
  18938. public SetDisplayPerc ($value: number) : void
  18939. public SetScrollPerc ($val: number) : void
  18940. public constructor ()
  18941. }
  18942. class FSlider extends FairyEditor.ComExtention implements FairyGUI.IEventDispatcher
  18943. {
  18944. protected [__keep_incompatibility]: never;
  18945. public changeOnClick : boolean
  18946. public static TITLE_PERCENT : string
  18947. public static TITLE_VALUE_AND_MAX : string
  18948. public static TITLE_VALUE_ONLY : string
  18949. public static TITLE_MAX_ONLY : string
  18950. public get titleType(): string;
  18951. public set titleType(value: string);
  18952. public get min(): number;
  18953. public set min(value: number);
  18954. public get max(): number;
  18955. public set max(value: number);
  18956. public get value(): number;
  18957. public set value(value: number);
  18958. public get reverse(): boolean;
  18959. public set reverse(value: boolean);
  18960. public get wholeNumbers(): boolean;
  18961. public set wholeNumbers(value: boolean);
  18962. public Update () : void
  18963. public constructor ()
  18964. }
  18965. class FSwfObject extends FairyEditor.FObject implements FairyGUI.IEventDispatcher
  18966. {
  18967. protected [__keep_incompatibility]: never;
  18968. public get playing(): boolean;
  18969. public set playing(value: boolean);
  18970. public get frame(): number;
  18971. public set frame(value: number);
  18972. public Advance ($timeInMiniseconds: number) : void
  18973. public constructor ($flags: number)
  18974. }
  18975. class FTextInput extends FairyEditor.FTextField implements FairyGUI.IEventDispatcher
  18976. {
  18977. protected [__keep_incompatibility]: never;
  18978. public get password(): boolean;
  18979. public set password(value: boolean);
  18980. public get keyboardType(): number;
  18981. public set keyboardType(value: number);
  18982. public get maxLength(): number;
  18983. public set maxLength(value: number);
  18984. public get restrict(): string;
  18985. public set restrict(value: string);
  18986. public get promptText(): string;
  18987. public set promptText(value: string);
  18988. public constructor ($flags: number)
  18989. }
  18990. class FTransition extends System.Object
  18991. {
  18992. protected [__keep_incompatibility]: never;
  18993. public static OPTION_IGNORE_DISPLAY_CONTROLLER : number
  18994. public static OPTION_AUTO_STOP_DISABLED : number
  18995. public static OPTION_AUTO_STOP_AT_END : number
  18996. public get owner(): FairyEditor.FComponent;
  18997. public set owner(value: FairyEditor.FComponent);
  18998. public get name(): string;
  18999. public set name(value: string);
  19000. public get options(): number;
  19001. public set options(value: number);
  19002. public get autoPlay(): boolean;
  19003. public set autoPlay(value: boolean);
  19004. public get autoPlayDelay(): number;
  19005. public set autoPlayDelay(value: number);
  19006. public get autoPlayRepeat(): number;
  19007. public set autoPlayRepeat(value: number);
  19008. public get frameRate(): number;
  19009. public set frameRate(value: number);
  19010. public get items(): System.Collections.Generic.List$1<FairyEditor.FTransitionItem>;
  19011. public get maxFrame(): number;
  19012. public get playing(): boolean;
  19013. public get playTimes(): number;
  19014. public set playTimes(value: number);
  19015. public Dispose () : void
  19016. public CreateItem ($targetId: string, $type: string, $frame: number) : FairyEditor.FTransitionItem
  19017. public FindItem ($frame: number, $targetId: string, $type: string) : FairyEditor.FTransitionItem
  19018. public FindItems ($frameStart: number, $frameEnd: number, $targetId: string, $type: string, $result: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>) : void
  19019. public GetItemWithPath ($frame: number, $targetId: string) : FairyEditor.FTransitionItem
  19020. public AddItem ($transItem: FairyEditor.FTransitionItem) : void
  19021. public AddItems ($items: System.Collections.Generic.IEnumerable$1<FairyEditor.FTransitionItem>) : void
  19022. public DeleteItem ($item: FairyEditor.FTransitionItem) : void
  19023. public DeleteItems ($targetId: string, $type: string) : System.Array$1<FairyEditor.FTransitionItem>
  19024. public CopyItems ($targetId: string, $type: string) : FairyGUI.Utils.XML
  19025. public CopyItems ($items: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>) : FairyGUI.Utils.XML
  19026. public static GetAllowType ($obj: FairyEditor.FObject, $type: string) : boolean
  19027. public static SupportTween ($type: string) : boolean
  19028. public UpdateFromRelations ($targetId: string, $dx: number, $dy: number) : void
  19029. public Validate () : void
  19030. public Read ($xml: FairyGUI.Utils.XML) : void
  19031. public Write ($forSaving: boolean) : FairyGUI.Utils.XML
  19032. public OnExit () : void
  19033. public OnOwnerAddedToStage () : void
  19034. public OnOwnerRemovedFromStage () : void
  19035. public Play ($onComplete?: System.Action, $times?: number, $delay?: number, $startFrame?: number, $endFrame?: number, $editMode?: boolean) : void
  19036. public Stop ($setToComplete?: boolean, $processCallback?: boolean) : void
  19037. public GetProperty ($propName: string) : any
  19038. public SetProperty ($propName: string, $value: any) : void
  19039. public static ReadItems ($owner: FairyEditor.FTransition, $col: System.Collections.Generic.List$1<FairyGUI.Utils.XML>, $result: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>) : void
  19040. public static WriteItems ($items: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>, $xml: FairyGUI.Utils.XML, $forSaving: boolean) : void
  19041. public constructor ($owner: FairyEditor.FComponent)
  19042. public constructor ()
  19043. }
  19044. class FTransitionItem extends System.Object
  19045. {
  19046. protected [__keep_incompatibility]: never;
  19047. public easeType : string
  19048. public easeInOutType : string
  19049. public repeat : number
  19050. public yoyo : boolean
  19051. public label : string
  19052. public value : FairyEditor.FTransitionValue
  19053. public tweenValue : FairyEditor.FTransitionValue
  19054. public pathOffsetX : number
  19055. public pathOffsetY : number
  19056. public target : FairyEditor.FObject
  19057. public owner : FairyEditor.FTransition
  19058. public tweener : FairyGUI.GTweener
  19059. public innerTrans : FairyEditor.FTransition
  19060. public nextItem : FairyEditor.FTransitionItem
  19061. public prevItem : FairyEditor.FTransitionItem
  19062. public displayLockToken : number
  19063. public get type(): string;
  19064. public set type(value: string);
  19065. public get targetId(): string;
  19066. public set targetId(value: string);
  19067. public get frame(): number;
  19068. public set frame(value: number);
  19069. public get tween(): boolean;
  19070. public set tween(value: boolean);
  19071. public get easeName(): string;
  19072. public get usePath(): boolean;
  19073. public set usePath(value: boolean);
  19074. public get path(): FairyEditor.GPathExt;
  19075. public get pathPoints(): System.Collections.Generic.List$1<FairyGUI.GPathPoint>;
  19076. public set pathPoints(value: System.Collections.Generic.List$1<FairyGUI.GPathPoint>);
  19077. public get customEase(): FairyEditor.FCustomEase;
  19078. public get pathData(): string;
  19079. public set pathData(value: string);
  19080. public get customEaseData(): string;
  19081. public set customEaseData(value: string);
  19082. public get encodedValue(): string;
  19083. public set encodedValue(value: string);
  19084. public SetPathToTweener () : void
  19085. public AddPathPoint ($px: number, $py: number, $near: boolean) : void
  19086. public RemovePathPoint ($pointIndex: number) : void
  19087. public UpdatePathPoint ($pointIndex: number, $x: number, $y: number) : void
  19088. public UpdateControlPoint ($pointIndex: number, $controlIndex: number, $x: number, $y: number) : void
  19089. public GetProperty ($propName: string) : any
  19090. public SetProperty ($propName: string, $value: any) : void
  19091. public constructor ($owner: FairyEditor.FTransition)
  19092. public constructor ()
  19093. }
  19094. class FTransitionValue extends System.Object
  19095. {
  19096. protected [__keep_incompatibility]: never;
  19097. public f1 : number
  19098. public f2 : number
  19099. public f3 : number
  19100. public f4 : number
  19101. public iu : UnityEngine.Color
  19102. public i : number
  19103. public s : string
  19104. public s2 : string
  19105. public b1 : boolean
  19106. public b2 : boolean
  19107. public b3 : boolean
  19108. public b4 : boolean
  19109. public aniHandledFlag : boolean
  19110. public CopyFrom ($source: FairyEditor.FTransitionValue) : void
  19111. public Reset () : void
  19112. public Equals ($other: FairyEditor.FTransitionValue) : boolean
  19113. public Decode ($type: string, $str: string) : void
  19114. public Encode ($type: string) : string
  19115. public constructor ()
  19116. public Equals ($obj: any) : boolean
  19117. public static Equals ($objA: any, $objB: any) : boolean
  19118. }
  19119. class GPathExt extends FairyGUI.GPath
  19120. {
  19121. protected [__keep_incompatibility]: never;
  19122. public points : System.Collections.Generic.List$1<FairyGUI.GPathPoint>
  19123. public Update () : void
  19124. public GetSegmentType ($segmentIndex: number) : FairyGUI.GPathPoint.CurveType
  19125. public GetAnchorsInSegment ($segmentIndex: number, $result?: System.Collections.Generic.List$1<UnityEngine.Vector2>) : System.Collections.Generic.List$1<UnityEngine.Vector2>
  19126. public FindSegmentNear ($pt: UnityEngine.Vector3) : number
  19127. public static PointLineDistance ($pointX: number, $pointY: number, $startX: number, $startY: number, $endX: number, $endY: number, $isSegment: boolean) : number
  19128. public constructor ()
  19129. }
  19130. class FTree extends FairyEditor.FTreeNode
  19131. {
  19132. protected [__keep_incompatibility]: never;
  19133. public treeNodeRender : FairyEditor.FTree.TreeNodeRenderDelegate
  19134. public treeNodeWillExpand : FairyEditor.FTree.TreeNodeWillExpandDelegate
  19135. public get indent(): number;
  19136. public set indent(value: number);
  19137. public GetSelectedNode () : FairyEditor.FTreeNode
  19138. public GetSelectedNodes ($result?: System.Collections.Generic.List$1<FairyEditor.FTreeNode>) : System.Collections.Generic.List$1<FairyEditor.FTreeNode>
  19139. public SelectNode ($node: FairyEditor.FTreeNode, $scrollItToView?: boolean) : void
  19140. public UnselectNode ($node: FairyEditor.FTreeNode) : void
  19141. public GetNodeIndex ($node: FairyEditor.FTreeNode) : number
  19142. public UpdateNode ($node: FairyEditor.FTreeNode) : void
  19143. public UpdateNodes ($nodes: System.Collections.Generic.List$1<FairyEditor.FTreeNode>) : void
  19144. public ExpandAll ($folderNode?: FairyEditor.FTreeNode) : void
  19145. public CollapseAll ($folderNode?: FairyEditor.FTreeNode) : void
  19146. public CreateCell ($node: FairyEditor.FTreeNode) : void
  19147. public constructor ($list: FairyEditor.FList)
  19148. public constructor ($hasChild: boolean, $resURL?: string)
  19149. public constructor ()
  19150. }
  19151. class FHtmlImage extends System.Object implements FairyGUI.Utils.IHtmlObject
  19152. {
  19153. protected [__keep_incompatibility]: never;
  19154. public get loader(): FairyEditor.FLoader;
  19155. public get displayObject(): FairyGUI.DisplayObject;
  19156. public get element(): FairyGUI.Utils.HtmlElement;
  19157. public get width(): number;
  19158. public get height(): number;
  19159. public Create ($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement) : void
  19160. public SetPosition ($x: number, $y: number) : void
  19161. public Add () : void
  19162. public Remove () : void
  19163. public Release () : void
  19164. public Dispose () : void
  19165. public constructor ()
  19166. }
  19167. class FHtmlPageContext extends System.Object implements FairyGUI.Utils.IHtmlPageContext
  19168. {
  19169. protected [__keep_incompatibility]: never;
  19170. public static inst : FairyGUI.Utils.HtmlPageContext
  19171. public CreateObject ($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement) : FairyGUI.Utils.IHtmlObject
  19172. public FreeObject ($obj: FairyGUI.Utils.IHtmlObject) : void
  19173. public GetImageTexture ($image: FairyGUI.Utils.HtmlImage) : FairyGUI.NTexture
  19174. public FreeImageTexture ($image: FairyGUI.Utils.HtmlImage, $texture: FairyGUI.NTexture) : void
  19175. public constructor ()
  19176. }
  19177. class ProjectType extends System.Object
  19178. {
  19179. protected [__keep_incompatibility]: never;
  19180. public static Flash : string
  19181. public static Starling : string
  19182. public static Unity : string
  19183. public static Egret : string
  19184. public static Layabox : string
  19185. public static Haxe : string
  19186. public static PIXI : string
  19187. public static Cocos2dx : string
  19188. public static CryEngine : string
  19189. public static Vision : string
  19190. public static MonoGame : string
  19191. public static CocosCreator : string
  19192. public static LibGDX : string
  19193. public static Unreal : string
  19194. public static Corona : string
  19195. public static ThreeJS : string
  19196. public static CreateJS : string
  19197. public static DOM : string
  19198. public static IDs : System.Array$1<string>
  19199. public static Names : System.Array$1<string>
  19200. public constructor ()
  19201. }
  19202. interface ISkeletonAnimationComponent
  19203. {
  19204. gameObject : UnityEngine.GameObject
  19205. SetColor ($c: UnityEngine.Color) : void
  19206. SetAlpha ($alpha: number) : void
  19207. UpdateAnimation ($animationName: string, $loop: boolean, $playing: boolean, $frame: number, $skinName: string) : void
  19208. Advance ($time: number) : void
  19209. Dispose () : void
  19210. }
  19211. class SpineCompatibilityHelper extends System.Object
  19212. {
  19213. protected [__keep_incompatibility]: never;
  19214. public static GetFunction ($info: Spine40.Unity.SkeletonDataCompatibility.VersionInfo) : FairyEditor.SpineCompatibilityHelper.Delegates
  19215. public static GetVersionInfo ($descAsset: UnityEngine.TextAsset, $problemDescription: $Ref<string>) : Spine40.Unity.SkeletonDataCompatibility.VersionInfo
  19216. }
  19217. class PublishHandler extends System.Object
  19218. {
  19219. protected [__keep_incompatibility]: never;
  19220. public static CODE_FILE_MARK : string
  19221. public genCodeHandler : System.Action$1<FairyEditor.PublishHandler>
  19222. public get pkg(): FairyEditor.FPackage;
  19223. public get project(): FairyEditor.FProject;
  19224. public get isSuccess(): boolean;
  19225. public get publishDescOnly(): boolean;
  19226. public set publishDescOnly(value: boolean);
  19227. public get exportPath(): string;
  19228. public set exportPath(value: string);
  19229. public get exportCodePath(): string;
  19230. public set exportCodePath(value: string);
  19231. public get useAtlas(): boolean;
  19232. public get fileName(): string;
  19233. public get fileExtension(): string;
  19234. public get genCode(): boolean;
  19235. public set genCode(value: boolean);
  19236. public get items(): System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  19237. public get paused(): boolean;
  19238. public set paused(value: boolean);
  19239. public ExportBinaryDesc ($descFile: string) : void
  19240. public ExportDescZip ($zipArchive: System.IO.Compression.ZipStorer) : void
  19241. public ExportResZip ($zipArchive: System.IO.Compression.ZipStorer, $compress: boolean) : void
  19242. public ExportResFiles ($resPrefix: string) : $Task<any>
  19243. public ClearOldResFiles ($folder: string) : void
  19244. public CollectClasses ($stripMember: boolean, $stripClass: boolean, $fguiNamespace: string) : System.Collections.Generic.List$1<FairyEditor.PublishHandler.ClassInfo>
  19245. public SetupCodeFolder ($path: string, $codeFileExtensions: string) : void
  19246. public SetupCodeFolder ($path: string, $codeFileExtensions: string, $fileMark: string) : void
  19247. public ToFilename ($source: string) : string
  19248. public add_onComplete ($value: System.Action) : void
  19249. public remove_onComplete ($value: System.Action) : void
  19250. public IsInList ($item: FairyEditor.FPackageItem) : boolean
  19251. public GetItemDesc ($item: FairyEditor.FPackageItem) : any
  19252. public GetScriptData ($item: FairyEditor.FPackageItem) : FairyGUI.Utils.XML
  19253. public Run () : $Task<any>
  19254. public Exit () : void
  19255. public constructor ($pkg: FairyEditor.FPackage, $branch: string)
  19256. public constructor ()
  19257. }
  19258. class Clipboard extends System.Object
  19259. {
  19260. protected [__keep_incompatibility]: never;
  19261. public static TEXT : string
  19262. public static OBJECT_KEY : string
  19263. public static ITEM_KEY : string
  19264. public static TIMELINE_KEY : string
  19265. public static CONTROLLER_KEY : string
  19266. public static RELATION_PROPS_KEY : string
  19267. public static GEAR_PROPS_KEY : string
  19268. public static SetText ($value: string) : void
  19269. public static GetText () : string
  19270. public static GetValue ($key: string) : any
  19271. public static SetValue ($key: string, $value: any) : void
  19272. public static HasFormat ($key: string) : boolean
  19273. }
  19274. class ComponentTemplates extends System.Object
  19275. {
  19276. protected [__keep_incompatibility]: never;
  19277. public CreateLabelItem ($cname: string, $width: number, $height: number, $path: string) : FairyEditor.FPackageItem
  19278. 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
  19279. public CreateComboBoxItem ($cname: string, $buttonImages: System.Array$1<string>, $bgImage: string, $itemImages: System.Array$1<string>, $path: string) : FairyEditor.FPackageItem
  19280. 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
  19281. public CreateProgressBarItem ($cname: string, $bgImage: string, $barImage: string, $titleType: string, $reverse: boolean, $path: string) : FairyEditor.FPackageItem
  19282. public CreateSliderItem ($cname: string, $type: number, $bgImage: string, $barImage: string, $gripImages: System.Array$1<string>, $titleType: string, $path: string) : FairyEditor.FPackageItem
  19283. public CreatePopupMenuItem ($cname: string, $bgImage: string, $itemImages: System.Array$1<string>, $path: string) : FairyEditor.FPackageItem
  19284. public CreateWindowFrameItem ($cname: string, $bgImage: string, $closeButton: string, $createTitle: boolean, $createIcon: boolean, $path: string) : FairyEditor.FPackageItem
  19285. public constructor ($pkg: FairyEditor.FPackage)
  19286. public constructor ()
  19287. }
  19288. class CopyHandler extends System.Object
  19289. {
  19290. protected [__keep_incompatibility]: never;
  19291. public get resultList(): System.Collections.Generic.List$1<FairyEditor.DepItem>;
  19292. public get existsItemCount(): number;
  19293. public InitWithItems ($items: System.Collections.Generic.IList$1<FairyEditor.FPackageItem>, $targetPkg: FairyEditor.FPackage, $targetPath: string, $seekLevel: FairyEditor.DependencyQuery.SeekLevel) : void
  19294. public InitWithObject ($sourcePkg: FairyEditor.FPackage, $xml: FairyGUI.Utils.XML, $targetPkg: FairyEditor.FPackage, $targetPath: string, $ignoreExported?: boolean) : void
  19295. public Copy ($targetPkg: FairyEditor.FPackage, $overrideOption: FairyEditor.CopyHandler.OverrideOption, $isMove?: boolean) : void
  19296. public constructor ()
  19297. }
  19298. class DepItem extends System.Object
  19299. {
  19300. protected [__keep_incompatibility]: never;
  19301. public item : FairyEditor.FPackageItem
  19302. public content : any
  19303. public isSource : boolean
  19304. public analysed : boolean
  19305. public targetPath : string
  19306. public refCount : number
  19307. public constructor ()
  19308. }
  19309. class CursorType extends System.Object
  19310. {
  19311. protected [__keep_incompatibility]: never;
  19312. public static H_RESIZE : string
  19313. public static V_RESIZE : string
  19314. public static TL_RESIZE : string
  19315. public static TR_RESIZE : string
  19316. public static BL_RESIZE : string
  19317. public static BR_RESIZE : string
  19318. public static SELECT : string
  19319. public static HAND : string
  19320. public static DRAG : string
  19321. public static ADJUST : string
  19322. public static FINGER : string
  19323. public static COLOR_PICKER : string
  19324. public static WAIT : string
  19325. public constructor ()
  19326. }
  19327. class DependencyQuery extends System.Object
  19328. {
  19329. protected [__keep_incompatibility]: never;
  19330. public get resultList(): System.Collections.Generic.List$1<FairyEditor.DepItem>;
  19331. public get references(): System.Collections.Generic.List$1<FairyEditor.ReferenceInfo>;
  19332. public QueryDependencies ($items: System.Collections.Generic.IList$1<FairyEditor.FPackageItem>, $seekLevel: FairyEditor.DependencyQuery.SeekLevel) : void
  19333. public QueryDependencies ($project: FairyEditor.FProject, $url: string, $seekLevel: FairyEditor.DependencyQuery.SeekLevel) : void
  19334. public QueryDependencies ($pkg: FairyEditor.FPackage, $xml: FairyGUI.Utils.XML, $seekLevel: FairyEditor.DependencyQuery.SeekLevel) : void
  19335. public QueryReferences ($project: FairyEditor.FProject, $url: string) : void
  19336. public ReplaceReferences ($newItem: FairyEditor.FPackageItem) : void
  19337. public constructor ()
  19338. }
  19339. class ReferenceInfo extends System.Object
  19340. {
  19341. protected [__keep_incompatibility]: never;
  19342. public ownerPkg : FairyEditor.FPackage
  19343. public pkgId : string
  19344. public itemId : string
  19345. public content : any
  19346. public propKey : string
  19347. public arrayIndex : number
  19348. public valueType : FairyEditor.ReferenceInfo.ValueType
  19349. public Update ($newItem: FairyEditor.FPackageItem) : boolean
  19350. public constructor ()
  19351. }
  19352. class EditorEvents extends System.Object
  19353. {
  19354. protected [__keep_incompatibility]: never;
  19355. public static SelectionChanged : string
  19356. public static DocumentActivated : string
  19357. public static DocumentDeactivated : string
  19358. public static TestStart : string
  19359. public static TestStop : string
  19360. public static PackageListChanged : string
  19361. public static PackageReloaded : string
  19362. public static PackageTreeChanged : string
  19363. public static PackageItemChanged : string
  19364. public static HierarchyChanged : string
  19365. public static ProjectRefreshStart : string
  19366. public static ProjectRefreshEnd : string
  19367. public static BackgroundChanged : string
  19368. public static PluginListChanged : string
  19369. public constructor ()
  19370. }
  19371. class ExportStringsHandler extends System.Object
  19372. {
  19373. protected [__keep_incompatibility]: never;
  19374. public Parse ($pkgs: System.Collections.Generic.IList$1<FairyEditor.FPackage>, $ignoreDiscarded?: boolean, $ignoreUnusedComponents?: boolean) : void
  19375. public Export ($file: string, $merge: boolean) : void
  19376. public constructor ()
  19377. }
  19378. class FindDuplicateResource extends System.Object
  19379. {
  19380. protected [__keep_incompatibility]: never;
  19381. public get result(): System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  19382. public GetGroup ($index: number, $result: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) : void
  19383. public Start ($pkgs: System.Collections.Generic.List$1<FairyEditor.FPackage>, $onProgress: System.Action$1<number>, $onComplete: System.Action) : void
  19384. public Cancel () : void
  19385. public constructor ()
  19386. }
  19387. class FindUnusedResource extends System.Object
  19388. {
  19389. protected [__keep_incompatibility]: never;
  19390. public countExports : boolean
  19391. public get result(): System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  19392. public Start ($pkgs: System.Collections.Generic.List$1<FairyEditor.FPackage>, $onProgress: System.Action$1<number>, $onComplete: System.Action) : void
  19393. public Cancel () : void
  19394. public constructor ()
  19395. }
  19396. class FullSearch extends System.Object
  19397. {
  19398. protected [__keep_incompatibility]: never;
  19399. public get result(): System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  19400. public Start ($strName: string, $strTypes: string, $includeBrances: boolean) : void
  19401. public constructor ($maxResultCount?: number)
  19402. public constructor ()
  19403. }
  19404. class ImportStringsHandler extends System.Object
  19405. {
  19406. protected [__keep_incompatibility]: never;
  19407. public get strings(): System.Collections.Generic.Dictionary$2<string, System.Collections.Generic.Dictionary$2<string, System.Collections.Generic.Dictionary$2<string, string>>>;
  19408. public Parse ($file: string) : void
  19409. public Import () : void
  19410. public constructor ()
  19411. }
  19412. class ProjectRefreshHandler extends System.Object
  19413. {
  19414. protected [__keep_incompatibility]: never;
  19415. public Dispose () : void
  19416. public Run () : void
  19417. public constructor ()
  19418. }
  19419. class ResourceImportQueue extends System.Object
  19420. {
  19421. protected [__keep_incompatibility]: never;
  19422. public static Create ($toPkg: FairyEditor.FPackage) : FairyEditor.ResourceImportQueue
  19423. public Add ($file: string, $targetPath?: string, $resName?: string) : FairyEditor.ResourceImportQueue
  19424. public AddRelative ($file: string, $targetPath?: string, $basePath?: string, $resName?: string) : FairyEditor.ResourceImportQueue
  19425. public Process ($callback?: System.Action$1<System.Collections.Generic.IList$1<FairyEditor.FPackageItem>>, $dropToDocument?: boolean, $dropPos?: UnityEngine.Vector2 | null) : void
  19426. }
  19427. class ViewOptions extends System.Object
  19428. {
  19429. protected [__keep_incompatibility]: never;
  19430. public title : string
  19431. public icon : string
  19432. public hResizePriority : number
  19433. public vResizePriority : number
  19434. public location : string
  19435. public constructor ()
  19436. }
  19437. class AdaptationSettings extends FairyEditor.SettingsBase
  19438. {
  19439. protected [__keep_incompatibility]: never;
  19440. public scaleMode : string
  19441. public screenMathMode : string
  19442. public designResolutionX : number
  19443. public designResolutionY : number
  19444. public devices : System.Collections.Generic.List$1<FairyEditor.AdaptationSettings.DeviceInfo>
  19445. public defaultDevices : System.Collections.Generic.List$1<FairyEditor.AdaptationSettings.DeviceInfo>
  19446. public GetDeviceResolution ($device: string) : FairyEditor.AdaptationSettings.DeviceInfo
  19447. public FillCombo ($cb: FairyGUI.GComboBox) : void
  19448. public constructor ($project: FairyEditor.FProject)
  19449. public constructor ()
  19450. }
  19451. class AtlasSettings extends System.Object
  19452. {
  19453. protected [__keep_incompatibility]: never;
  19454. public name : string
  19455. public compression : boolean
  19456. public extractAlpha : boolean
  19457. public packSettings : FairyEditor.PackSettings
  19458. public CopyFrom ($source: FairyEditor.AtlasSettings) : void
  19459. public constructor ()
  19460. }
  19461. class PackSettings extends System.Object
  19462. {
  19463. protected [__keep_incompatibility]: never;
  19464. public pot : boolean
  19465. public mof : boolean
  19466. public padding : number
  19467. public rotation : boolean
  19468. public minWidth : number
  19469. public minHeight : number
  19470. public maxWidth : number
  19471. public maxHeight : number
  19472. public square : boolean
  19473. public fast : boolean
  19474. public edgePadding : boolean
  19475. public duplicatePadding : boolean
  19476. public multiPage : boolean
  19477. public CopyFrom ($source: FairyEditor.PackSettings) : void
  19478. public constructor ()
  19479. }
  19480. class CommonSettings extends FairyEditor.SettingsBase
  19481. {
  19482. protected [__keep_incompatibility]: never;
  19483. public font : string
  19484. public fontSize : number
  19485. public textColor : UnityEngine.Color
  19486. public fontAdjustment : boolean
  19487. public colorScheme : System.Collections.Generic.List$1<string>
  19488. public fontSizeScheme : System.Collections.Generic.List$1<string>
  19489. public fontScheme : System.Collections.Generic.List$1<string>
  19490. public scrollBars : FairyEditor.CommonSettings.ScrollBarConfig
  19491. public tipsRes : string
  19492. public buttonClickSound : string
  19493. public pivot : string
  19494. public listClearOnPublish : boolean
  19495. public constructor ($project: FairyEditor.FProject)
  19496. public constructor ()
  19497. }
  19498. class CustomProps extends FairyEditor.SettingsBase
  19499. {
  19500. protected [__keep_incompatibility]: never;
  19501. public elements : System.Collections.Generic.Dictionary$2<string, string>
  19502. public FillCombo ($cb: FairyGUI.GComboBox) : void
  19503. public constructor ($project: FairyEditor.FProject)
  19504. public constructor ()
  19505. }
  19506. class GlobalPublishSettings extends FairyEditor.SettingsBase
  19507. {
  19508. protected [__keep_incompatibility]: never;
  19509. public path : string
  19510. public branchPath : string
  19511. public fileExtension : string
  19512. public packageCount : number
  19513. public compressDesc : boolean
  19514. public binaryFormat : boolean
  19515. public jpegQuality : number
  19516. public compressPNG : boolean
  19517. public codeGeneration : FairyEditor.GlobalPublishSettings.CodeGenerationConfig
  19518. public includeHighResolution : number
  19519. public branchProcessing : number
  19520. public seperatedAtlasForBranch : boolean
  19521. public atlasSetting : FairyEditor.GlobalPublishSettings.AtlasSetting
  19522. public get include2x(): boolean;
  19523. public set include2x(value: boolean);
  19524. public get include3x(): boolean;
  19525. public set include3x(value: boolean);
  19526. public get include4x(): boolean;
  19527. public set include4x(value: boolean);
  19528. public constructor ($project: FairyEditor.FProject)
  19529. public constructor ()
  19530. }
  19531. class I18nSettings extends FairyEditor.SettingsBase
  19532. {
  19533. protected [__keep_incompatibility]: never;
  19534. public langFiles : System.Collections.Generic.List$1<FairyEditor.I18nSettings.LanguageFile>
  19535. public get lang(): FairyEditor.I18nSettings.LanguageFile;
  19536. public SetLangByName ($langName: string) : void
  19537. public LoadStrings () : void
  19538. public FillCombo ($cb: FairyGUI.GComboBox) : void
  19539. public constructor ($project: FairyEditor.FProject)
  19540. public constructor ()
  19541. }
  19542. interface ILicenseManager
  19543. {
  19544. clientId : string
  19545. isPro : boolean
  19546. isExpired : boolean
  19547. expireDateString : string
  19548. keyHash : string
  19549. Init () : void
  19550. SetKey ($key: string) : void
  19551. Revoke () : void
  19552. }
  19553. class PackageGroupSettings extends FairyEditor.SettingsBase
  19554. {
  19555. protected [__keep_incompatibility]: never;
  19556. public groups : System.Collections.Generic.List$1<FairyEditor.PackageGroupSettings.PackageGroup>
  19557. public GetGroup ($name: string) : FairyEditor.PackageGroupSettings.PackageGroup
  19558. public constructor ($project: FairyEditor.FProject)
  19559. public constructor ()
  19560. }
  19561. class ArrowKeyHelper extends System.Object
  19562. {
  19563. protected [__keep_incompatibility]: never;
  19564. public static direction : number
  19565. public static shift : boolean
  19566. public static ctrlOrCmd : boolean
  19567. public static OnKeyDown ($evt: FairyGUI.InputEvent) : void
  19568. public static OnKeyUp ($evt: FairyGUI.InputEvent) : void
  19569. public static Reset () : void
  19570. }
  19571. class AssetSizeUtil extends System.Object
  19572. {
  19573. protected [__keep_incompatibility]: never;
  19574. public static GetSize ($file: string) : FairyEditor.AssetSizeUtil.Result
  19575. }
  19576. class BuilderUtil extends System.Object
  19577. {
  19578. protected [__keep_incompatibility]: never;
  19579. public static TimeBase : System.DateTime
  19580. public static GenerateUID () : string
  19581. public static GenDevCode () : string
  19582. public static ToStringBase36 ($num: bigint) : string
  19583. public static ToNumberBase36 ($str: string) : number
  19584. public static Encrypt_MD5 ($input: string, $encode?: System.Text.Encoding) : string
  19585. public static GetMD5HashFromFile ($filePath: string) : string
  19586. public static Decrypt_DES16 ($base64String: string, $key: string) : string
  19587. public static Encrypt_DES16 ($source: string, $key: string) : string
  19588. public static Union ($rect1: UnityEngine.Rect, $rect2: UnityEngine.Rect) : UnityEngine.Rect
  19589. public static GetNameFromId ($aId: string) : string
  19590. public static GetFileExtension ($fileName: string, $keepCase?: boolean) : string
  19591. public static PointLineDistance ($pointX: number, $pointY: number, $startX: number, $startY: number, $endX: number, $endY: number, $isSegment: boolean) : number
  19592. public static GetSizeName ($val: number, $digits?: number) : string
  19593. public static OpenURL ($url: string) : void
  19594. public static OpenWithDefaultApp ($file: string) : void
  19595. public static RevealInExplorer ($file: string) : void
  19596. public static ToUnixTimestamp ($dateTime: System.DateTime) : bigint
  19597. public static WaitForNextFrame () : $Task<any>
  19598. public static CreateZip ($zipFile: string, $dir: string) : void
  19599. public static Unzip ($zipFile: string, $dir: string) : void
  19600. }
  19601. class BytesWriter extends System.Object
  19602. {
  19603. protected [__keep_incompatibility]: never;
  19604. public littleEndian : boolean
  19605. public get length(): number;
  19606. public get position(): number;
  19607. public set position(value: number);
  19608. public ReadByte ($pos: number) : number
  19609. public WriteByte ($value: number) : void
  19610. public WriteBoolean ($value: boolean) : void
  19611. public WriteShort ($value: number) : void
  19612. public WriteInt ($value: number) : void
  19613. public WriteFloat ($value: number) : void
  19614. public WriteUTF ($str: string) : void
  19615. public WriteUTFBytes ($str: string) : void
  19616. public WriteBytes ($bytes: System.Array$1<number>) : void
  19617. public WriteBytes ($ba: FairyEditor.BytesWriter) : void
  19618. public WriteColor ($c: UnityEngine.Color32) : void
  19619. public ToBytes () : System.Array$1<number>
  19620. public constructor ()
  19621. }
  19622. class ColorUtil extends System.Object
  19623. {
  19624. protected [__keep_incompatibility]: never;
  19625. public static ToHexString ($color: UnityEngine.Color, $includeAlpha?: boolean) : string
  19626. public static FromHexString ($str: string, $hasAlpha?: boolean) : UnityEngine.Color
  19627. public static FromARGB ($argb: number) : UnityEngine.Color
  19628. public static FromRGB ($rgb: number) : UnityEngine.Color
  19629. public static ToRGB ($color: UnityEngine.Color) : number
  19630. public static ToARGB ($color: UnityEngine.Color) : number
  19631. }
  19632. class FontUtil extends System.Object
  19633. {
  19634. protected [__keep_incompatibility]: never;
  19635. public static GetOSInstalledFontNames ($forceRefresh: boolean) : System.Collections.Generic.List$1<FairyEditor.FontUtil.FontInfo>
  19636. public static RequestFont ($family: string) : void
  19637. public static GetFontName ($fontFile: string) : FairyEditor.FontUtil.FontName
  19638. public static GetPreviewTexture ($fontInfo: FairyEditor.FontUtil.FontInfo) : FairyGUI.NTexture
  19639. }
  19640. class ImageUtil extends System.Object
  19641. {
  19642. protected [__keep_incompatibility]: never;
  19643. public static get ToolAvailable(): boolean;
  19644. public static Init () : void
  19645. public static Quantize ($image: FairyEditor.VImage) : System.Array$1<number>
  19646. public static Quantize ($pngFile: string, $targetFile: string) : boolean
  19647. public static Quantize ($pngFile: string) : string
  19648. }
  19649. class VImage extends System.Object implements System.IDisposable
  19650. {
  19651. protected [__keep_incompatibility]: never;
  19652. public get width(): number;
  19653. public get height(): number;
  19654. public get transparent(): boolean;
  19655. public get bandCount(): number;
  19656. public static New ($width: number, $height: number, $transparent: boolean) : FairyEditor.VImage
  19657. public static New ($width: number, $height: number, $transparent: boolean, $fillColor: UnityEngine.Color) : FairyEditor.VImage
  19658. public static New ($file: string) : FairyEditor.VImage
  19659. public static New ($data: System.Array$1<number>) : FairyEditor.VImage
  19660. public static New ($file: string, $width: number, $height: number) : FairyEditor.VImage
  19661. public static Thumbnail ($file: string, $width: number) : FairyEditor.VImage
  19662. public static GetImageSize ($file: string, $width: $Ref<number>, $height: $Ref<number>) : boolean
  19663. public Dispose () : void
  19664. public Resize ($width: number, $height: number, $kernel?: FairyEditor.VImage.Kernel) : void
  19665. public ResizeBy ($hscale: number, $vscale: number, $kernel?: FairyEditor.VImage.Kernel) : void
  19666. public Rotate ($angle: number) : void
  19667. public FindTrim () : UnityEngine.Rect
  19668. public Crop ($rect: UnityEngine.Rect) : void
  19669. public Embed ($x: number, $y: number, $width: number, $height: number, $extend: FairyEditor.VImage.Extend, $background: UnityEngine.Color) : void
  19670. public AlphaBlend ($another: FairyEditor.VImage, $x: number, $y: number) : void
  19671. public CopyPixels ($another: FairyEditor.VImage, $x: number, $y: number) : void
  19672. public CopyPixels ($another: FairyEditor.VImage, $sourceRect: UnityEngine.Rect, $destPoint: UnityEngine.Vector2) : void
  19673. public Composite ($another: FairyEditor.VImage, $x: number, $y: number, $blendMode: FairyEditor.VImage.BlendMode, $premultiplied: boolean) : void
  19674. 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
  19675. public ExtractAlpha ($returnAlpha: boolean) : FairyEditor.VImage
  19676. public Clear ($color: UnityEngine.Color) : void
  19677. public DrawRect ($x: number, $y: number, $width: number, $height: number, $color: UnityEngine.Color, $fill: boolean) : void
  19678. public GetRawData () : System.IntPtr
  19679. public GetRawDataSize () : number
  19680. public GetPixels () : System.Array$1<number>
  19681. public ToTexture ($smoothing: boolean, $makeNoLongerReadable: boolean) : UnityEngine.Texture2D
  19682. public GetAnimation () : FairyEditor.VImage.Animation
  19683. public Save ($file: string) : void
  19684. public Save ($file: string, $format: string) : void
  19685. public Save ($file: string, $format: string, $quality: number) : void
  19686. public Clone () : FairyEditor.VImage
  19687. public static InitLibrary () : void
  19688. }
  19689. class IOUtil extends System.Object
  19690. {
  19691. protected [__keep_incompatibility]: never;
  19692. public static DeleteFile ($file: string, $toTrash?: boolean) : void
  19693. public static CopyFile ($sourceFile: string, $destFile: string) : void
  19694. public static BrowseForDirectory ($title: string, $callback: System.Action$1<string>) : void
  19695. public static BrowseForOpen ($title: string, $directory: string, $extensions: System.Array$1<SFB.ExtensionFilter>, $callback: System.Action$1<string>) : void
  19696. public static BrowseForOpenMultiple ($title: string, $directory: string, $extensions: System.Array$1<SFB.ExtensionFilter>, $callback: System.Action$1<System.Array$1<string>>) : void
  19697. public static BrowseForSave ($title: string, $directory: string, $extension: SFB.ExtensionFilter, $callback: System.Action$1<string>) : void
  19698. public static BrowseForSave ($title: string, $directory: string, $defaultName: string, $defaultExt: string, $callback: System.Action$1<string>) : void
  19699. }
  19700. class JsonUtil extends System.Object
  19701. {
  19702. protected [__keep_incompatibility]: never;
  19703. public static ColorHexFormat : boolean
  19704. public static DecodeJson ($content: string) : any
  19705. public static EncodeJson ($obj: any) : string
  19706. public static EncodeJson ($obj: any, $indent: boolean) : string
  19707. }
  19708. class NativeDragDrop extends System.Object
  19709. {
  19710. protected [__keep_incompatibility]: never;
  19711. public static Init () : void
  19712. public static Dispose () : void
  19713. }
  19714. class UserActionException extends System.Exception implements System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable
  19715. {
  19716. protected [__keep_incompatibility]: never;
  19717. public constructor ($message: string)
  19718. public constructor ()
  19719. }
  19720. class PathPointsUtil extends System.Object
  19721. {
  19722. protected [__keep_incompatibility]: never;
  19723. public static InsertPoint ($pos: UnityEngine.Vector3, $index: number, $points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>) : void
  19724. public static RemovePoint ($index: number, $points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>) : void
  19725. public static UpdatePoint ($index: number, $pos: UnityEngine.Vector3, $points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>) : void
  19726. public static UpdateControlPoint ($pointIndex: number, $controlIndex: number, $pos: UnityEngine.Vector3, $points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>) : void
  19727. public static SerializeFrom ($source: string, $points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>) : void
  19728. public static SerializeTo ($points: System.Collections.Generic.List$1<FairyGUI.GPathPoint>) : string
  19729. }
  19730. class PlistElement extends System.Object
  19731. {
  19732. protected [__keep_incompatibility]: never;
  19733. public AsString () : string
  19734. public AsInteger () : number
  19735. public AsBoolean () : boolean
  19736. public AsArray () : FairyEditor.PlistElementArray
  19737. public AsDict () : FairyEditor.PlistElementDict
  19738. public AsReal () : number
  19739. public AsDate () : System.DateTime
  19740. public get_Item ($key: string) : FairyEditor.PlistElement
  19741. public set_Item ($key: string, $value: FairyEditor.PlistElement) : void
  19742. }
  19743. class PlistElementArray extends FairyEditor.PlistElement
  19744. {
  19745. protected [__keep_incompatibility]: never;
  19746. public values : System.Collections.Generic.List$1<FairyEditor.PlistElement>
  19747. public AddString ($val: string) : void
  19748. public AddInteger ($val: number) : void
  19749. public AddBoolean ($val: boolean) : void
  19750. public AddDate ($val: System.DateTime) : void
  19751. public AddReal ($val: number) : void
  19752. public AddArray () : FairyEditor.PlistElementArray
  19753. public AddDict () : FairyEditor.PlistElementDict
  19754. public constructor ()
  19755. }
  19756. class PlistElementDict extends FairyEditor.PlistElement
  19757. {
  19758. protected [__keep_incompatibility]: never;
  19759. public get values(): System.Collections.Generic.IDictionary$2<string, FairyEditor.PlistElement>;
  19760. public get_Item ($key: string) : FairyEditor.PlistElement
  19761. public set_Item ($key: string, $value: FairyEditor.PlistElement) : void
  19762. public SetInteger ($key: string, $val: number) : void
  19763. public SetString ($key: string, $val: string) : void
  19764. public SetBoolean ($key: string, $val: boolean) : void
  19765. public SetDate ($key: string, $val: System.DateTime) : void
  19766. public SetReal ($key: string, $val: number) : void
  19767. public CreateArray ($key: string) : FairyEditor.PlistElementArray
  19768. public CreateDict ($key: string) : FairyEditor.PlistElementDict
  19769. public constructor ()
  19770. }
  19771. class PlistElementString extends FairyEditor.PlistElement
  19772. {
  19773. protected [__keep_incompatibility]: never;
  19774. public value : string
  19775. public constructor ($v: string)
  19776. public constructor ()
  19777. }
  19778. class PlistElementInteger extends FairyEditor.PlistElement
  19779. {
  19780. protected [__keep_incompatibility]: never;
  19781. public value : number
  19782. public constructor ($v: number)
  19783. public constructor ()
  19784. }
  19785. class PlistElementReal extends FairyEditor.PlistElement
  19786. {
  19787. protected [__keep_incompatibility]: never;
  19788. public value : number
  19789. public constructor ($v: number)
  19790. public constructor ()
  19791. }
  19792. class PlistElementBoolean extends FairyEditor.PlistElement
  19793. {
  19794. protected [__keep_incompatibility]: never;
  19795. public value : boolean
  19796. public constructor ($v: boolean)
  19797. public constructor ()
  19798. }
  19799. class PlistElementDate extends FairyEditor.PlistElement
  19800. {
  19801. protected [__keep_incompatibility]: never;
  19802. public value : System.DateTime
  19803. public constructor ($date: System.DateTime)
  19804. public constructor ()
  19805. }
  19806. class PlistDocument extends System.Object
  19807. {
  19808. protected [__keep_incompatibility]: never;
  19809. public root : FairyEditor.PlistElementDict
  19810. public version : string
  19811. public Create () : void
  19812. public ReadFromFile ($path: string) : void
  19813. public ReadFromStream ($tr: System.IO.TextReader) : void
  19814. public ReadFromString ($text: string) : void
  19815. public WriteToFile ($path: string) : void
  19816. public WriteToStream ($tw: System.IO.TextWriter) : void
  19817. public WriteToString () : string
  19818. public constructor ()
  19819. }
  19820. class PrimitiveExtension extends System.Object
  19821. {
  19822. protected [__keep_incompatibility]: never;
  19823. public static FormattedString ($value: number, $fractionDigits?: number) : string
  19824. }
  19825. class ProcessUtil extends System.Object
  19826. {
  19827. protected [__keep_incompatibility]: never;
  19828. public static LaunchApp () : void
  19829. public static Start ($path: string, $args: System.Array$1<string>, $dir: string, $waitUntilExit: boolean) : string
  19830. public static GetOpenFilename () : string
  19831. public static GetUUID () : string
  19832. public static GetAppVersion () : string
  19833. }
  19834. class ReflectionUtil extends System.Object
  19835. {
  19836. protected [__keep_incompatibility]: never;
  19837. public static GetInfo ($type: System.Type, $propName: string) : any
  19838. public static GetProperty ($obj: any, $propName: string) : any
  19839. public static SetProperty ($obj: any, $propName: string, $value: any) : void
  19840. }
  19841. class WindowUtil extends System.Object
  19842. {
  19843. protected [__keep_incompatibility]: never;
  19844. public static ChangeTitle ($title: string) : void
  19845. public static ChangeIcon ($icon: string) : void
  19846. public static GetScaleFactor () : number
  19847. public static BringToFront () : void
  19848. }
  19849. class XMLExtension extends System.Object
  19850. {
  19851. protected [__keep_incompatibility]: never;
  19852. public static Load ($file: string) : FairyGUI.Utils.XML
  19853. public static LoadXMLBrief ($file: string) : FairyGUI.Utils.XML
  19854. public static GetAttributeArray ($xml: FairyGUI.Utils.XML, $attrName: string, $i1: $Ref<number>, $i2: $Ref<number>) : boolean
  19855. public static GetAttributeArray ($xml: FairyGUI.Utils.XML, $attrName: string, $i1: $Ref<number>, $i2: $Ref<number>, $i3: $Ref<number>, $i4: $Ref<number>) : boolean
  19856. public static GetAttributeArray ($xml: FairyGUI.Utils.XML, $attrName: string, $f1: $Ref<number>, $f2: $Ref<number>, $f3: $Ref<number>, $f4: $Ref<number>) : boolean
  19857. public static GetAttributeArray ($xml: FairyGUI.Utils.XML, $attrName: string, $f1: $Ref<number>, $f2: $Ref<number>) : boolean
  19858. public static GetAttributeArray ($xml: FairyGUI.Utils.XML, $attrName: string, $s1: $Ref<string>, $s2: $Ref<string>) : boolean
  19859. }
  19860. }
  19861. class ExternalImagePool extends System.Object
  19862. {
  19863. protected [__keep_incompatibility]: never;
  19864. }
  19865. namespace FairyEditor.View {
  19866. class MainView extends System.Object
  19867. {
  19868. protected [__keep_incompatibility]: never;
  19869. public get panel(): FairyGUI.GComponent;
  19870. public get toolbar(): FairyGUI.GComponent;
  19871. public UpdateUserInfo () : void
  19872. public ShowNewVersionPrompt ($versionName: string) : void
  19873. public ShowRestartPrompt () : void
  19874. public ShowAlreadyUpdatedPrompt () : void
  19875. public ShowStartScene () : void
  19876. public HandleGlobalHotkey ($funcId: string) : boolean
  19877. public FillLanguages () : void
  19878. public DropFiles ($mousePos: UnityEngine.Vector2, $arrFiles: System.Array$1<string>) : void
  19879. public constructor ()
  19880. }
  19881. class DocumentView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  19882. {
  19883. protected [__keep_incompatibility]: never;
  19884. public get docContainer(): FairyGUI.GComponent;
  19885. public get activeDoc(): FairyEditor.View.IDocument;
  19886. public set activeDoc(value: FairyEditor.View.IDocument);
  19887. public get viewScale(): number;
  19888. public set viewScale(value: number);
  19889. public AddFactory ($factory: FairyEditor.View.IDocumentFactory) : void
  19890. public RemoveFactory ($factory: FairyEditor.View.IDocumentFactory) : void
  19891. public FindDocument ($docURL: string) : FairyEditor.View.IDocument
  19892. public CloseDocuments ($pkg: FairyEditor.FPackage) : void
  19893. public OpenDocument ($url: string, $activateIt?: boolean) : FairyEditor.View.IDocument
  19894. public SaveDocument ($doc?: FairyEditor.View.IDocument) : void
  19895. public SaveAllDocuments () : void
  19896. public CloseDocument ($doc?: FairyEditor.View.IDocument) : void
  19897. public CloseAllDocuments () : void
  19898. public QueryToCloseDocument ($doc?: FairyEditor.View.IDocument) : void
  19899. public QueryToCloseOtherDocuments () : void
  19900. public QueryToCloseAllDocuments () : void
  19901. public QueryToSaveAllDocuments ($callback: System.Action$1<string>) : void
  19902. public HasUnsavedDocuments () : boolean
  19903. public UpdateTab ($doc: FairyEditor.View.IDocument) : void
  19904. public HandleHotkey ($context: FairyGUI.EventContext) : void
  19905. public constructor ()
  19906. }
  19907. class LibraryView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  19908. {
  19909. protected [__keep_incompatibility]: never;
  19910. public get contextMenu(): FairyEditor.Component.IMenu;
  19911. public get contextMenu_Folder(): FairyEditor.Component.IMenu;
  19912. public get contextMenu_Package(): FairyEditor.Component.IMenu;
  19913. public get currentGroup(): string;
  19914. public GetFolderUnderPoint ($globalPos: UnityEngine.Vector2, $touchTarget: FairyGUI.GObject) : FairyEditor.FPackageItem
  19915. public GetSelectedResource () : FairyEditor.FPackageItem
  19916. public GetSelectedResources ($includeChildren: boolean) : System.Collections.Generic.List$1<FairyEditor.FPackageItem>
  19917. public GetSelectedFolder () : FairyEditor.FPackageItem
  19918. public Highlight ($pi: FairyEditor.FPackageItem, $setFocus?: boolean) : void
  19919. public MoveResources ($dropTarget: FairyEditor.FPackageItem, $items: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) : void
  19920. public DeleteResources ($items: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) : void
  19921. public SetResourcesExported ($items: System.Collections.Generic.List$1<FairyEditor.FPackageItem>, $value: boolean) : void
  19922. public SetResourcesFavorite ($items: System.Collections.Generic.List$1<FairyEditor.FPackageItem>, $value: boolean) : void
  19923. public OpenResource ($pi: FairyEditor.FPackageItem) : void
  19924. public OpenResources ($pis: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) : void
  19925. public RevealInExplorer ($pi: FairyEditor.FPackageItem) : void
  19926. public ShowUpdateResourceDialog ($pi: FairyEditor.FPackageItem) : void
  19927. public ShowImportResourcesDialog ($pkg?: FairyEditor.FPackage, $toPath?: string) : void
  19928. public AddPackageToGroup ($pkg: FairyEditor.FPackage) : void
  19929. public GetPackagesInGroup ($group: string, $result: System.Collections.Generic.List$1<FairyEditor.FPackage>) : System.Collections.Generic.List$1<FairyEditor.FPackage>
  19930. public constructor ()
  19931. }
  19932. class InspectorView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  19933. {
  19934. protected [__keep_incompatibility]: never;
  19935. public get visibleInspectors(): System.Collections.Generic.List$1<FairyEditor.View.IInspector>;
  19936. public get scrollPos(): number;
  19937. public set scrollPos(value: number);
  19938. public GetInspector ($name: string) : FairyEditor.View.IInspector
  19939. public AddInspector ($type: System.Type, $name: string, $title: string) : void
  19940. public AddInspector ($luaTable: XLua.LuaTable, $name: string, $title: string) : void
  19941. public AddInspector ($factoryMethod: System.Func$1<FairyEditor.View.PluginInspector>, $name: string, $title: string) : void
  19942. public RemoveInspector ($name: string) : void
  19943. public RemoveAllPluginInspectors () : void
  19944. public SetTitle ($name: string, $title: string) : void
  19945. public Show ($name: string) : void
  19946. public Show ($names: System.Array$1<string>) : void
  19947. public Show ($names: System.Collections.Generic.List$1<string>) : void
  19948. public UpdateInspector ($inst: FairyEditor.View.IInspector) : void
  19949. public ShowPopup ($name: string, $target: FairyGUI.GObject, $dir?: FairyGUI.PopupDirection, $closeUntilMouseUp?: boolean) : void
  19950. public Refresh ($name: string) : void
  19951. public Clear () : void
  19952. public constructor ()
  19953. }
  19954. class TestView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  19955. {
  19956. protected [__keep_incompatibility]: never;
  19957. public get running(): boolean;
  19958. public Start () : void
  19959. public Reload () : void
  19960. public Stop () : void
  19961. public PlayTransition ($name: string) : void
  19962. public TogglePopup ($popup: FairyEditor.FObject, $target?: FairyEditor.FObject, $direction?: string) : void
  19963. public ShowPopup ($popup: FairyEditor.FObject, $target?: FairyEditor.FObject, $direction?: string) : void
  19964. public HidePopup () : void
  19965. public ShowTooltips ($msg: string) : void
  19966. public HideTooltips () : void
  19967. public constructor ()
  19968. }
  19969. class TimelineView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  19970. {
  19971. protected [__keep_incompatibility]: never;
  19972. public Refresh ($transItem?: FairyEditor.FTransitionItem) : void
  19973. public SelectKeyFrame ($transItem: FairyEditor.FTransitionItem) : void
  19974. public GetSelection () : FairyEditor.FTransitionItem
  19975. public GetSelections ($result: System.Collections.Generic.List$1<FairyEditor.FTransitionItem>) : void
  19976. public constructor ()
  19977. }
  19978. class ConsoleView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  19979. {
  19980. protected [__keep_incompatibility]: never;
  19981. public Log ($msg: string) : void
  19982. public Log ($logType: UnityEngine.LogType, $msg: string) : void
  19983. public LogError ($msg: string) : void
  19984. public LogError ($msg: string, $err?: System.Exception) : void
  19985. public LogWarning ($msg: string) : void
  19986. public Clear () : void
  19987. public constructor ()
  19988. }
  19989. class DocumentFactory extends System.Object implements FairyEditor.View.IDocumentFactory
  19990. {
  19991. protected [__keep_incompatibility]: never;
  19992. public get contextMenu(): FairyEditor.Component.IMenu;
  19993. public CreateDocument ($docURL: string) : FairyEditor.View.IDocument
  19994. public InvokeDocumentMethod ($methodName: string, $args?: System.Array$1<any>) : void
  19995. public ConnectInspector ($inspectorName: string) : void
  19996. public ConnectInspector ($inspectorName: string, $forObjectType: string, $forEmptySelection: boolean, $forTimelineMode: boolean) : void
  19997. public disconnectInspector ($inspectorName: string) : void
  19998. public constructor ()
  19999. public CreateDocument ($url: string) : FairyEditor.View.IDocument
  20000. }
  20001. interface IDocumentFactory
  20002. {
  20003. CreateDocument ($url: string) : FairyEditor.View.IDocument
  20004. }
  20005. class Document extends System.Object implements FairyEditor.View.IDocument
  20006. {
  20007. protected [__keep_incompatibility]: never;
  20008. public get panel(): FairyGUI.GComponent;
  20009. public get selectionLayer(): FairyGUI.Container;
  20010. public get inspectingTarget(): FairyEditor.FObject;
  20011. public get inspectingTargets(): System.Collections.Generic.IList$1<FairyEditor.FObject>;
  20012. public get inspectingObjectType(): string;
  20013. public get packageItem(): FairyEditor.FPackageItem;
  20014. public get content(): FairyEditor.FComponent;
  20015. public get displayTitle(): string;
  20016. public get displayIcon(): string;
  20017. public get history(): FairyEditor.View.ActionHistory;
  20018. public get docURL(): string;
  20019. public get isModified(): boolean;
  20020. public get savedVersion(): number;
  20021. public get openedGroup(): FairyEditor.FObject;
  20022. public get isPickingObject(): boolean;
  20023. public get timelineMode(): boolean;
  20024. public get editingTransition(): FairyEditor.FTransition;
  20025. public get head(): number;
  20026. public set head(value: number);
  20027. public Open ($pi: FairyEditor.FPackageItem) : void
  20028. public DiscardChanges () : void
  20029. public OnEnable () : void
  20030. public OnDisable () : void
  20031. public OnDestroy () : void
  20032. public OnValidate () : void
  20033. public SetMeta ($key: string, $value: any) : void
  20034. public OnUpdate () : void
  20035. public GetInspectingTargetCount ($objectType: string) : number
  20036. public SetModified ($value?: boolean) : void
  20037. public Serialize () : FairyGUI.Utils.XML
  20038. public Save () : void
  20039. public OnViewSizeChanged () : void
  20040. public OnViewScaleChanged () : void
  20041. public OnViewBackgroundChanged () : void
  20042. public SelectObject ($obj: FairyEditor.FObject, $scrollToView?: boolean, $allowOpenGroups?: boolean) : void
  20043. public SelectAll () : void
  20044. public GetSelection () : System.Collections.Generic.IList$1<FairyEditor.FObject>
  20045. public UnselectObject ($obj: FairyEditor.FObject) : void
  20046. public UnselectAll () : void
  20047. public SetSelection ($obj: FairyEditor.FObject) : void
  20048. public SetSelection ($objs: System.Collections.Generic.IList$1<FairyEditor.FObject>) : void
  20049. public CopySelection () : void
  20050. public DeleteSelection () : void
  20051. public DeleteGroupContent ($group: FairyEditor.FGroup) : void
  20052. public MoveSelection ($dx: number, $dy: number) : void
  20053. public GlobalToCanvas ($stagePos: UnityEngine.Vector2) : UnityEngine.Vector2
  20054. public GetCenterPos () : UnityEngine.Vector2
  20055. public Paste ($pos?: UnityEngine.Vector2 | null, $pasteToCenter?: boolean) : void
  20056. public ReplaceSelection ($url: string) : void
  20057. public OpenChild ($target: FairyEditor.FObject) : void
  20058. public StartInlineEdit ($target: FairyEditor.FTextField) : void
  20059. public ShowContextMenu () : void
  20060. public UpdateEditMenu ($editMeu: FairyEditor.Component.IMenu) : void
  20061. public InsertObject ($url: string, $pos?: UnityEngine.Vector2 | null, $insertIndex?: number) : FairyEditor.FObject
  20062. public RemoveObject ($obj: FairyEditor.FObject) : void
  20063. public AdjustDepth ($index: number) : void
  20064. public CreateGroup () : void
  20065. public DestroyGroup () : void
  20066. public OpenGroup ($group: FairyEditor.FObject) : void
  20067. public CloseGroup ($depth?: number) : void
  20068. public NotifyGroupRemoved ($group: FairyEditor.FGroup) : void
  20069. public HandleHotkey ($hotkeyId: string) : void
  20070. public PickObject ($initValue: FairyEditor.FObject, $callback: System.Action$1<FairyEditor.FObject>, $validator?: System.Func$2<FairyEditor.FObject, boolean>, $cancelCallback?: System.Action) : void
  20071. public CancelPickObject () : void
  20072. public EnterTimelineMode ($name: string) : void
  20073. public ExitTimelineMode () : void
  20074. public RefreshTransition () : void
  20075. public RefreshInspectors ($flag?: number) : void
  20076. public GetOutlineLocks ($obj: FairyEditor.FObject) : number
  20077. public SetTransitionProperty ($trans: FairyEditor.FTransition, $propName: string, $propValue: any) : void
  20078. public SetKeyFrameProperty ($item: FairyEditor.FTransitionItem, $propName: string, $propValue: any) : void
  20079. public SetKeyFrameValue ($item: FairyEditor.FTransitionItem, ...values: any[]) : void
  20080. public SetKeyFramePathPos ($item: FairyEditor.FTransitionItem, $pointIndex: number, $x: number, $y: number) : void
  20081. public SetKeyFrameControlPointPos ($item: FairyEditor.FTransitionItem, $pointIndex: number, $controlIndex: number, $x: number, $y: number) : void
  20082. public SetKeyFrameControlPointSmooth ($item: FairyEditor.FTransitionItem, $pointIndex: number, $smooth: boolean) : void
  20083. public SetKeyFrame ($targetId: string, $type: string, $frame: number) : void
  20084. public AddKeyFrames ($keyFrames: System.Collections.Generic.IEnumerable$1<FairyEditor.FTransitionItem>) : void
  20085. public CreateKeyFrame ($transType: string) : void
  20086. public CreateKeyFrame ($child: FairyEditor.FObject, $type: string) : FairyEditor.FTransitionItem
  20087. public AddKeyFrame ($item: FairyEditor.FTransitionItem) : void
  20088. public AddKeyFrames ($items: System.Array$1<FairyEditor.FTransitionItem>) : void
  20089. public RemoveKeyFrame ($item: FairyEditor.FTransitionItem) : void
  20090. public RemoveKeyFrames ($targetId: string, $type: string) : void
  20091. public UpdateTransition ($xml: FairyGUI.Utils.XML) : void
  20092. public AddTransition ($name?: string) : FairyEditor.FTransition
  20093. public RemoveTransition ($name: string) : void
  20094. public DuplicateTransition ($name: string, $newInstanceName?: string) : FairyEditor.FTransition
  20095. public UpdateTransitions ($data: FairyGUI.Utils.XML) : void
  20096. public AddController ($data: FairyGUI.Utils.XML) : void
  20097. public UpdateController ($controllerName: string, $data: FairyGUI.Utils.XML) : void
  20098. public RemoveController ($controllerName: string) : void
  20099. public SwitchPage ($controllerName: string, $index: number) : number
  20100. public constructor ()
  20101. public UpdateEditMenu ($editMenu: FairyEditor.Component.IMenu) : void
  20102. }
  20103. interface IDocument
  20104. {
  20105. panel : FairyGUI.GComponent
  20106. packageItem : FairyEditor.FPackageItem
  20107. docURL : string
  20108. displayTitle : string
  20109. displayIcon : string
  20110. isModified : boolean
  20111. Save () : void
  20112. DiscardChanges () : void
  20113. UpdateEditMenu ($editMenu: FairyEditor.Component.IMenu) : void
  20114. HandleHotkey ($hotkeyId: string) : void
  20115. OnEnable () : void
  20116. OnDisable () : void
  20117. OnValidate () : void
  20118. OnUpdate () : void
  20119. OnDestroy () : void
  20120. OnViewSizeChanged () : void
  20121. OnViewScaleChanged () : void
  20122. OnViewBackgroundChanged () : void
  20123. }
  20124. class DocElement extends System.Object
  20125. {
  20126. protected [__keep_incompatibility]: never;
  20127. public get owner(): FairyEditor.View.Document;
  20128. public get isRoot(): boolean;
  20129. public get isValid(): boolean;
  20130. public get relationsDisabled(): boolean;
  20131. public get displayIcon(): string;
  20132. public get selected(): boolean;
  20133. public set selected(value: boolean);
  20134. public get gizmo(): FairyEditor.View.Gizmo;
  20135. public SetProperty ($propName: string, $propValue: any) : void
  20136. public SetGearProperty ($gearIndex: number, $propName: string, $propValue: any) : void
  20137. public UpdateGears ($data: FairyGUI.Utils.XML) : void
  20138. public SetRelation ($target: FairyEditor.FObject, $desc: string) : void
  20139. public RemoveRelation ($target: FairyEditor.FObject) : void
  20140. public UpdateRelations ($data: FairyGUI.Utils.XML) : void
  20141. public SetExtensionProperty ($propName: string, $propValue: any) : void
  20142. public SetChildProperty ($target: string, $propertyId: number, $propValue: any) : void
  20143. public SetVertexPosition ($pointIndex: number, $x: number, $y: number) : void
  20144. public SetVertexDistance ($pointIndex: number, $distance: number) : void
  20145. public SetScriptData ($name: string, $value: string) : void
  20146. public constructor ($doc: FairyEditor.View.Document, $obj: FairyEditor.FObject, $isRoot?: boolean)
  20147. public constructor ()
  20148. }
  20149. interface IActionHistoryItem
  20150. {
  20151. isPersists : boolean
  20152. Process ($owner: FairyEditor.View.Document) : boolean
  20153. }
  20154. class ActionHistory extends System.Object
  20155. {
  20156. protected [__keep_incompatibility]: never;
  20157. public get processing(): boolean;
  20158. public CanUndo () : boolean
  20159. public CanRedo () : boolean
  20160. public Add ($item: FairyEditor.View.IActionHistoryItem) : void
  20161. public GetPendingList () : System.Collections.Generic.List$1<FairyEditor.View.IActionHistoryItem>
  20162. public Reset () : void
  20163. public PushHistory () : void
  20164. public PopHistory () : void
  20165. public Undo () : boolean
  20166. public Redo () : boolean
  20167. public constructor ($doc: FairyEditor.View.Document)
  20168. public constructor ()
  20169. }
  20170. class Gizmo extends FairyGUI.Container implements FairyGUI.IEventDispatcher
  20171. {
  20172. protected [__keep_incompatibility]: never;
  20173. public static RESIZE_HANDLE : number
  20174. public static VERTEX_HANDLE : number
  20175. public static PATH_HANDLE : number
  20176. public static CONTROL_HANDLE : number
  20177. public static HANDLE_SIZE : number
  20178. public static OUTLINE_COLOR : UnityEngine.Color
  20179. public static OUTLINE_COLOR_COM : UnityEngine.Color
  20180. public static OUTLINE_COLOR_GROUP : UnityEngine.Color
  20181. public static PATH_COLOR : UnityEngine.Color
  20182. public static TANGENT_COLOR : UnityEngine.Color
  20183. public static VERTEX_HANDLE_COLOR : UnityEngine.Color
  20184. public static PATH_HANDLE_COLOR : UnityEngine.Color
  20185. public static CONTROLL_HANDLE_COLOR : UnityEngine.Color
  20186. public get owner(): FairyEditor.FObject;
  20187. public get activeHandleIndex(): number;
  20188. public get activeHandleType(): number;
  20189. public get verticesEditing(): boolean;
  20190. public get keyFrame(): FairyEditor.FTransitionItem;
  20191. public get activeHandle(): FairyEditor.View.GizmoHandle;
  20192. public set activeHandle(value: FairyEditor.View.GizmoHandle);
  20193. public EditVertices () : void
  20194. public EditPath ($keyFrame: FairyEditor.FTransitionItem) : void
  20195. public EditComplete () : void
  20196. public Refresh ($immediately?: boolean) : void
  20197. public ShowDecorations ($visible: boolean) : void
  20198. public SetSelected ($value: boolean) : void
  20199. public OnUpdate () : void
  20200. public OnDragStart ($context: FairyGUI.EventContext) : void
  20201. public OnDragMove ($context: FairyGUI.EventContext) : void
  20202. public OnDragEnd ($context: FairyGUI.EventContext) : void
  20203. public constructor ($doc: FairyEditor.View.Document, $owner: FairyEditor.FObject)
  20204. public constructor ()
  20205. public constructor ($gameObjectName: string)
  20206. public constructor ($attachTarget: UnityEngine.GameObject)
  20207. }
  20208. class GizmoHandle extends FairyGUI.Shape implements FairyGUI.IEventDispatcher
  20209. {
  20210. protected [__keep_incompatibility]: never;
  20211. public index : number
  20212. public get type(): number;
  20213. public get selected(): boolean;
  20214. public set selected(value: boolean);
  20215. public constructor ($type: number, $color: UnityEngine.Color, $shape?: number)
  20216. public constructor ()
  20217. }
  20218. class GizmoHandleSet extends System.Object
  20219. {
  20220. protected [__keep_incompatibility]: never;
  20221. public ResetIndex () : void
  20222. public GetHandle () : FairyEditor.View.GizmoHandle
  20223. public RemoveSpares () : void
  20224. public constructor ($manager: FairyGUI.DisplayObject, $type: number, $color: UnityEngine.Color, $shape?: number)
  20225. public constructor ()
  20226. }
  20227. class GridMesh extends System.Object implements FairyGUI.IMeshFactory
  20228. {
  20229. protected [__keep_incompatibility]: never;
  20230. public gridSize : number
  20231. public offset : UnityEngine.Vector2
  20232. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  20233. public constructor ()
  20234. }
  20235. class InspectorUpdateFlags extends System.Object
  20236. {
  20237. protected [__keep_incompatibility]: never;
  20238. public static COMMON : number
  20239. public static TRANSFORM : number
  20240. public static GEAR : number
  20241. public static RELATION : number
  20242. public static GIZMO : number
  20243. public static FlagsByName : System.Collections.Generic.Dictionary$2<string, number>
  20244. }
  20245. class PathLineMesh extends System.Object implements FairyGUI.IMeshFactory
  20246. {
  20247. protected [__keep_incompatibility]: never;
  20248. public pathLine : FairyGUI.LineMesh
  20249. public controlLines : System.Collections.Generic.List$1<FairyGUI.StraightLineMesh>
  20250. public controlLineCount : number
  20251. public GetControlLine () : FairyGUI.StraightLineMesh
  20252. public OnPopulateMesh ($vb: FairyGUI.VertexBuffer) : void
  20253. public constructor ()
  20254. }
  20255. class DocCamera extends UnityEngine.MonoBehaviour
  20256. {
  20257. protected [__keep_incompatibility]: never;
  20258. public cachedTransform : UnityEngine.Transform
  20259. public cachedCamera : UnityEngine.Camera
  20260. public owner : FairyGUI.GComponent
  20261. public constructor ()
  20262. }
  20263. class FavoritesView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  20264. {
  20265. protected [__keep_incompatibility]: never;
  20266. public constructor ()
  20267. }
  20268. class HierarchyView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  20269. {
  20270. protected [__keep_incompatibility]: never;
  20271. public constructor ()
  20272. }
  20273. interface IInspector
  20274. {
  20275. panel : FairyGUI.GComponent
  20276. UpdateUI () : boolean
  20277. Dispose () : void
  20278. }
  20279. class PluginInspector extends System.Object implements FairyEditor.View.IInspector
  20280. {
  20281. protected [__keep_incompatibility]: never;
  20282. public updateAction : System.Func$1<boolean>
  20283. public disposeAction : System.Action
  20284. public get panel(): FairyGUI.GComponent;
  20285. public set panel(value: FairyGUI.GComponent);
  20286. public UpdateUI () : boolean
  20287. public Dispose () : void
  20288. public constructor ()
  20289. }
  20290. class MainMenu extends System.Object
  20291. {
  20292. protected [__keep_incompatibility]: never;
  20293. public get root(): FairyEditor.Component.IMenu;
  20294. public AddStartSceneMenu () : void
  20295. public AddProjectMenu () : void
  20296. public constructor ($root: FairyEditor.Component.IMenu)
  20297. public constructor ()
  20298. }
  20299. class PlugInView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  20300. {
  20301. protected [__keep_incompatibility]: never;
  20302. public constructor ()
  20303. }
  20304. class PreviewView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  20305. {
  20306. protected [__keep_incompatibility]: never;
  20307. public Show ($pi?: FairyEditor.FPackageItem) : void
  20308. public constructor ()
  20309. }
  20310. class ProjectView extends System.Object
  20311. {
  20312. protected [__keep_incompatibility]: never;
  20313. public onContextMenu : FairyEditor.View.ProjectView.OnContextMenuDelegate
  20314. public onGetItemListing : FairyEditor.View.ProjectView.OnGetItemListingDelegate
  20315. public allowDrag : boolean
  20316. public get project(): FairyEditor.FProject;
  20317. public set project(value: FairyEditor.FProject);
  20318. public get treeView(): FairyGUI.GTree;
  20319. public get listView(): FairyGUI.GList;
  20320. public set showListView(value: boolean);
  20321. public SetChanged ($pi: FairyEditor.FPackageItem) : boolean
  20322. public SetTreeChanged ($pi: FairyEditor.FPackageItem, $recursive?: boolean, $applyImmediately?: boolean) : void
  20323. public GetSelectedPackage () : FairyEditor.FPackage
  20324. public GetSelectedFolder () : FairyEditor.FPackageItem
  20325. public GetSelectedResource () : FairyEditor.FPackageItem
  20326. public GetSelectedResources ($result?: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) : System.Collections.Generic.List$1<FairyEditor.FPackageItem>
  20327. public GetFolderUnderPoint ($globalPos: UnityEngine.Vector2, $touchTarget: FairyGUI.GObject) : FairyEditor.FPackageItem
  20328. public GetExpandedFolders ($parentNode?: FairyGUI.GTreeNode, $result?: System.Collections.Generic.List$1<string>) : System.Collections.Generic.List$1<string>
  20329. public SetExpanedFolders ($arr: System.Collections.IList) : void
  20330. public IsInView ($pi: FairyEditor.FPackageItem) : boolean
  20331. public Select ($pi: FairyEditor.FPackageItem) : boolean
  20332. public SelectNextTo ($pi: FairyEditor.FPackageItem) : void
  20333. public Expand ($pi: FairyEditor.FPackageItem) : void
  20334. public Rename ($pi?: FairyEditor.FPackageItem) : void
  20335. public Open () : void
  20336. public ChangeIconSize ($scale: number) : void
  20337. public constructor ($proj: FairyEditor.FProject, $tree: FairyGUI.GTree, $sep?: FairyGUI.GObject, $list?: FairyGUI.GList)
  20338. public constructor ()
  20339. }
  20340. class QuickFinder extends System.Object
  20341. {
  20342. protected [__keep_incompatibility]: never;
  20343. public Show () : void
  20344. public constructor ()
  20345. }
  20346. class ReferenceView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  20347. {
  20348. protected [__keep_incompatibility]: never;
  20349. public Open ($source: string) : void
  20350. public FillMenuTargets () : void
  20351. public constructor ()
  20352. }
  20353. class ResourceMenu extends System.Object
  20354. {
  20355. protected [__keep_incompatibility]: never;
  20356. public get realMenu(): FairyEditor.Component.IMenu;
  20357. public get targetItems(): System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  20358. public Show () : void
  20359. public constructor ()
  20360. }
  20361. class SearchView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  20362. {
  20363. protected [__keep_incompatibility]: never;
  20364. public FillMenuTargets () : void
  20365. public constructor ()
  20366. }
  20367. class TransitionListView extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  20368. {
  20369. protected [__keep_incompatibility]: never;
  20370. public Refresh () : void
  20371. public constructor ()
  20372. }
  20373. }
  20374. namespace FairyEditor.Component {
  20375. interface IMenu
  20376. {
  20377. AddItem ($caption: string, $name: string, $selectCallback: System.Action$1<string>) : void
  20378. AddItem ($caption: string, $name: string, $atIndex: number, $isSubMenu: boolean, $selectCallback: System.Action$1<string>) : void
  20379. AddSeperator () : void
  20380. AddSeperator ($atIndex: number) : void
  20381. RemoveItem ($name: string) : void
  20382. SetItemEnabled ($name: string, $enabled: boolean) : void
  20383. SetItemChecked ($name: string, $checked: boolean) : void
  20384. IsItemChecked ($name: string) : boolean
  20385. SetItemText ($name: string, $text: string) : void
  20386. ClearItems () : void
  20387. GetSubMenu ($name: string) : FairyEditor.Component.IMenu
  20388. Invoke ($name: string) : void
  20389. Dispose () : void
  20390. }
  20391. class ViewGrid extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  20392. {
  20393. protected [__keep_incompatibility]: never;
  20394. public uid : string
  20395. public get showTabs(): boolean;
  20396. public set showTabs(value: boolean);
  20397. public get numViews(): number;
  20398. public get selectedIndex(): number;
  20399. public set selectedIndex(value: number);
  20400. public get selectedView(): FairyGUI.GComponent;
  20401. public set selectedView(value: FairyGUI.GComponent);
  20402. public GetViewAt ($index: number) : FairyGUI.GComponent
  20403. public AddView ($view: FairyGUI.GComponent) : void
  20404. public AddViewAt ($view: FairyGUI.GComponent, $index: number) : void
  20405. public RemoveView ($view: FairyGUI.GComponent) : void
  20406. public RemoveViewAt ($index: number) : void
  20407. public SetViewIndex ($view: FairyGUI.GComponent, $index: number) : void
  20408. public GetViewIndex ($view: FairyGUI.GComponent) : number
  20409. public GetViewIndexById ($viewId: string) : number
  20410. public ContainsView ($ids: System.Array$1<string>) : boolean
  20411. public MoveViews ($anotherGrid: FairyEditor.Component.ViewGrid) : void
  20412. public Clear () : void
  20413. public Refresh () : void
  20414. public SetViewTitle ($index: number, $title: string) : void
  20415. public constructor ()
  20416. }
  20417. class ChildObjectInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20418. {
  20419. protected [__keep_incompatibility]: never;
  20420. public typeFilter : System.Array$1<string>
  20421. public get value(): FairyEditor.FObject;
  20422. public set value(value: FairyEditor.FObject);
  20423. public Start () : void
  20424. public constructor ()
  20425. }
  20426. class ColorInput extends FairyGUI.GButton implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20427. {
  20428. protected [__keep_incompatibility]: never;
  20429. public showAlpha : boolean
  20430. public get colorValue(): UnityEngine.Color;
  20431. public set colorValue(value: UnityEngine.Color);
  20432. public constructor ()
  20433. }
  20434. class ColorPicker extends System.Object
  20435. {
  20436. protected [__keep_incompatibility]: never;
  20437. public get isShowing(): boolean;
  20438. public Show ($input: FairyEditor.Component.ColorInput, $popupTarget: FairyGUI.GObject, $color: UnityEngine.Color, $showAlpha: boolean) : void
  20439. public Hide () : void
  20440. public constructor ()
  20441. }
  20442. class ComPropertyInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20443. {
  20444. protected [__keep_incompatibility]: never;
  20445. public get value(): any;
  20446. public Update ($cp: FairyEditor.ComProperty, $pagesSupplier: any) : void
  20447. public constructor ()
  20448. }
  20449. class ControllerInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20450. {
  20451. protected [__keep_incompatibility]: never;
  20452. public prompt : string
  20453. public includeChildren : boolean
  20454. public get owner(): FairyEditor.FComponent;
  20455. public set owner(value: FairyEditor.FComponent);
  20456. public get value(): string;
  20457. public set value(value: string);
  20458. public constructor ()
  20459. }
  20460. class ControllerMultiPageInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20461. {
  20462. protected [__keep_incompatibility]: never;
  20463. public prompt : string
  20464. public get controller(): FairyEditor.FController;
  20465. public set controller(value: FairyEditor.FController);
  20466. public get value(): System.Array$1<string>;
  20467. public set value(value: System.Array$1<string>);
  20468. public constructor ()
  20469. }
  20470. class ControllerPageInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20471. {
  20472. protected [__keep_incompatibility]: never;
  20473. public prompt : string
  20474. public nullPageOption : boolean
  20475. public additionalOptions : boolean
  20476. public get controller(): FairyEditor.FController;
  20477. public set controller(value: FairyEditor.FController);
  20478. public get value(): string;
  20479. public set value(value: string);
  20480. public constructor ()
  20481. }
  20482. class ListItem extends FairyGUI.GButton implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20483. {
  20484. protected [__keep_incompatibility]: never;
  20485. public titleObj : FairyGUI.GTextField
  20486. public iconObj : FairyGUI.GLoader
  20487. public sign : FairyGUI.GLoader
  20488. public constructor ()
  20489. }
  20490. class EditableListItem extends FairyEditor.Component.ListItem implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20491. {
  20492. protected [__keep_incompatibility]: never;
  20493. public get editable(): boolean;
  20494. public set editable(value: boolean);
  20495. public get toggleClickCount(): number;
  20496. public set toggleClickCount(value: number);
  20497. public StartEditing ($text?: string) : void
  20498. public constructor ()
  20499. }
  20500. class EditableTreeItem extends FairyGUI.GButton implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20501. {
  20502. protected [__keep_incompatibility]: never;
  20503. public toggleClickCount : number
  20504. public get editable(): boolean;
  20505. public set editable(value: boolean);
  20506. public StartEditing ($text?: string) : void
  20507. public constructor ()
  20508. }
  20509. class FontInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20510. {
  20511. protected [__keep_incompatibility]: never;
  20512. public constructor ()
  20513. }
  20514. class FontSizeInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20515. {
  20516. protected [__keep_incompatibility]: never;
  20517. public get value(): number;
  20518. public set value(value: number);
  20519. public get max(): number;
  20520. public set max(value: number);
  20521. public constructor ()
  20522. }
  20523. class InputElement extends System.ValueType
  20524. {
  20525. protected [__keep_incompatibility]: never;
  20526. public name : string
  20527. public type : string
  20528. public prop : string
  20529. public dummy : boolean
  20530. public extData : any
  20531. public min : FairyEditor.Component.InputElement.OptionalValue$1<number>
  20532. public max : FairyEditor.Component.InputElement.OptionalValue$1<number>
  20533. public step : FairyEditor.Component.InputElement.OptionalValue$1<number>
  20534. public precision : FairyEditor.Component.InputElement.OptionalValue$1<number>
  20535. public items : System.Array$1<string>
  20536. public values : System.Array$1<string>
  20537. public visibleItemCount : FairyEditor.Component.InputElement.OptionalValue$1<number>
  20538. public valueName : string
  20539. public inverted : boolean
  20540. public showAlpha : boolean
  20541. public filter : System.Array$1<string>
  20542. public pages : string
  20543. public includeChildren : boolean
  20544. public prompt : string
  20545. public readonly : boolean
  20546. public disableIME : boolean
  20547. public trim : boolean
  20548. }
  20549. class FormHelper extends System.Object
  20550. {
  20551. protected [__keep_incompatibility]: never;
  20552. public onPropChanged : FairyEditor.Component.FormHelper.OnPropChangedDelegate
  20553. public get owner(): FairyGUI.GComponent;
  20554. public BindControls ($data: System.Collections.Generic.IList$1<FairyEditor.Component.InputElement>) : void
  20555. public GetControl ($controlName: string) : FairyGUI.GObject
  20556. public UpdateValuesFrom ($obj: any, $controlNames?: System.Collections.IList) : void
  20557. public SetValue ($controlName: string, $value: any) : void
  20558. public GetValue ($controlName: string) : any
  20559. public UpdateUI () : void
  20560. public constructor ($owner: FairyGUI.GComponent)
  20561. public constructor ()
  20562. }
  20563. class InlineSearchBar extends FairyGUI.GButton implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20564. {
  20565. protected [__keep_incompatibility]: never;
  20566. public get pattern(): System.Text.RegularExpressions.Regex;
  20567. public Reset () : void
  20568. public HandleKeyEvent ($evt: FairyGUI.InputEvent) : boolean
  20569. public constructor ()
  20570. }
  20571. class LinkButton extends FairyGUI.GButton implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20572. {
  20573. protected [__keep_incompatibility]: never;
  20574. public constructor ()
  20575. }
  20576. class ListHelper extends System.Object
  20577. {
  20578. protected [__keep_incompatibility]: never;
  20579. public onInsert : System.Action$2<number, FairyGUI.GComponent>
  20580. public onRemove : System.Action$1<number>
  20581. public onSwap : System.Action$2<number, number>
  20582. public Add ($context?: FairyGUI.EventContext) : void
  20583. public Insert ($context?: FairyGUI.EventContext) : void
  20584. public Remove ($context?: FairyGUI.EventContext) : void
  20585. public MoveUp ($context?: FairyGUI.EventContext) : void
  20586. public MoveDown ($context?: FairyGUI.EventContext) : void
  20587. public constructor ($list: FairyGUI.GList, $indexColumn?: string)
  20588. public constructor ()
  20589. }
  20590. class ListItemInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20591. {
  20592. protected [__keep_incompatibility]: never;
  20593. public toggleClickCount : number
  20594. public get editable(): boolean;
  20595. public set editable(value: boolean);
  20596. public StartEditing ($text?: string) : void
  20597. public constructor ()
  20598. }
  20599. class ResourceInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20600. {
  20601. protected [__keep_incompatibility]: never;
  20602. public promptText : string
  20603. public isFontInput : boolean
  20604. public set text(value: string);
  20605. public constructor ()
  20606. }
  20607. class ListItemResourceInput extends FairyEditor.Component.ResourceInput implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20608. {
  20609. protected [__keep_incompatibility]: never;
  20610. public toggleClickCount : number
  20611. public StartEditing () : void
  20612. public constructor ()
  20613. }
  20614. class MenuBar extends System.Object implements FairyEditor.Component.IMenu
  20615. {
  20616. protected [__keep_incompatibility]: never;
  20617. public Dispose () : void
  20618. public AddItem ($caption: string, $name: string, $selectCallback: System.Action$1<string>) : void
  20619. public AddItem ($caption: string, $name: string, $atIndex: number, $isSubMenu: boolean, $selectCallback: System.Action$1<string>) : void
  20620. public GetSubMenu ($name: string) : FairyEditor.Component.IMenu
  20621. public RemoveItem ($name: string) : void
  20622. public AddSeperator () : void
  20623. public AddSeperator ($atIndex: number) : void
  20624. public SetItemEnabled ($name: string, $enabled: boolean) : void
  20625. public SetItemChecked ($name: string, $checked: boolean) : void
  20626. public IsItemChecked ($name: string) : boolean
  20627. public SetItemText ($name: string, $text: string) : void
  20628. public ClearItems () : void
  20629. public Invoke ($name: string) : void
  20630. public constructor ($panel: FairyGUI.GComponent)
  20631. public constructor ()
  20632. }
  20633. class NativeMenu extends System.Object implements FairyEditor.Component.IMenu
  20634. {
  20635. protected [__keep_incompatibility]: never;
  20636. public static applicationMenu : FairyEditor.Component.NativeMenu
  20637. public static dockIconMenu : FairyEditor.Component.NativeMenu
  20638. public Dispose () : void
  20639. public AddItem ($caption: string, $name: string, $selectCallback: System.Action$1<string>) : void
  20640. public AddItem ($caption: string, $name: string, $atIndex: number, $isSubMenu: boolean, $selectCallback: System.Action$1<string>) : void
  20641. public AddSeperator () : void
  20642. public AddSeperator ($atIndex: number) : void
  20643. public SetItemEnabled ($name: string, $enabled: boolean) : void
  20644. public SetItemChecked ($name: string, $checked: boolean) : void
  20645. public IsItemChecked ($name: string) : boolean
  20646. public SetItemText ($name: string, $text: string) : void
  20647. public GetSubMenu ($name: string) : FairyEditor.Component.IMenu
  20648. public RemoveItem ($name: string) : void
  20649. public ClearItems () : void
  20650. public Invoke ($name: string) : void
  20651. }
  20652. class NumericInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20653. {
  20654. protected [__keep_incompatibility]: never;
  20655. public get max(): number;
  20656. public set max(value: number);
  20657. public get min(): number;
  20658. public set min(value: number);
  20659. public get value(): number;
  20660. public set value(value: number);
  20661. public get step(): number;
  20662. public set step(value: number);
  20663. public get fractionDigits(): number;
  20664. public set fractionDigits(value: number);
  20665. public set text(value: string);
  20666. public constructor ()
  20667. }
  20668. class SelectAnimationMenu extends System.Object
  20669. {
  20670. protected [__keep_incompatibility]: never;
  20671. public static GetInstance () : FairyEditor.Component.SelectAnimationMenu
  20672. public Show ($input: FairyGUI.GObject, $target: FairyEditor.FLoader3D, $popupTarget?: FairyGUI.GObject) : void
  20673. public constructor ()
  20674. }
  20675. class SelectDesignImageMenu extends System.Object
  20676. {
  20677. protected [__keep_incompatibility]: never;
  20678. public static GetInstance () : FairyEditor.Component.SelectDesignImageMenu
  20679. public Show ($input: FairyGUI.GObject, $popupTarget?: FairyGUI.GObject) : void
  20680. public constructor ()
  20681. }
  20682. class SelectPivotMenu extends System.Object
  20683. {
  20684. protected [__keep_incompatibility]: never;
  20685. public static GetInstance () : FairyEditor.Component.SelectPivotMenu
  20686. public Show ($input1: FairyGUI.GObject, $input2: FairyGUI.GObject, $popupTarget?: FairyGUI.GObject) : void
  20687. public constructor ()
  20688. }
  20689. class SelectSkinMenu extends System.Object
  20690. {
  20691. protected [__keep_incompatibility]: never;
  20692. public static GetInstance () : FairyEditor.Component.SelectSkinMenu
  20693. public Show ($input: FairyGUI.GObject, $target: FairyEditor.FLoader3D, $popupTarget?: FairyGUI.GObject) : void
  20694. public constructor ()
  20695. }
  20696. class TextArea extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20697. {
  20698. protected [__keep_incompatibility]: never;
  20699. public constructor ()
  20700. }
  20701. class TextInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20702. {
  20703. protected [__keep_incompatibility]: never;
  20704. public set text(value: string);
  20705. public constructor ()
  20706. }
  20707. class TransitionInput extends FairyGUI.GLabel implements FairyGUI.IEventDispatcher, FairyGUI.IColorGear
  20708. {
  20709. protected [__keep_incompatibility]: never;
  20710. public prompt : string
  20711. public includeChildren : boolean
  20712. public get owner(): FairyEditor.FComponent;
  20713. public set owner(value: FairyEditor.FComponent);
  20714. public get value(): string;
  20715. public set value(value: string);
  20716. public constructor ()
  20717. }
  20718. class ViewGridGroup extends FairyGUI.GComponent implements FairyGUI.IEventDispatcher
  20719. {
  20720. protected [__keep_incompatibility]: never;
  20721. public uid : string
  20722. public get layout(): FairyGUI.GroupLayoutType;
  20723. public get numGrids(): number;
  20724. public AddGrid ($child: FairyGUI.GObject) : void
  20725. public AddGridAt ($child: FairyGUI.GObject, $index: number) : void
  20726. public ResetChildrenSize () : void
  20727. public RemoveGrid ($child: FairyGUI.GObject, $dispose?: boolean) : void
  20728. public ReplaceGrid ($oldChild: FairyGUI.GObject, $newChild: FairyGUI.GObject) : void
  20729. public MoveGrids ($anotherGroup: FairyEditor.Component.ViewGridGroup, $index: number) : void
  20730. public GetGridAt ($index: number) : FairyGUI.GObject
  20731. public GetGridIndex ($grid: FairyGUI.GObject) : number
  20732. public FindGrid ($view: FairyGUI.GComponent, $recursive?: boolean) : FairyEditor.Component.ViewGrid
  20733. public FindGridById ($id: string, $recursive?: boolean) : FairyEditor.Component.ViewGrid
  20734. public FindGridByIds ($ids: System.Array$1<string>, $recursive?: boolean) : FairyEditor.Component.ViewGrid
  20735. public FindGroup ($id: string) : FairyEditor.Component.ViewGridGroup
  20736. public static EachGrid ($grp: FairyEditor.Component.ViewGridGroup, $recursive: boolean, $callback: FairyEditor.Component.ViewGridGroup.EachGridCallback) : FairyEditor.Component.ViewGrid
  20737. public constructor ($layout: FairyGUI.GroupLayoutType)
  20738. public constructor ()
  20739. }
  20740. }
  20741. namespace FairyEditor.App {
  20742. enum FrameRateFactor
  20743. { BackgroundJob = 1, NativeDragDrop = 2, DraggingObject = 256, Testing = 512 }
  20744. }
  20745. namespace FairyGUI.Utils {
  20746. class XML extends System.Object
  20747. {
  20748. protected [__keep_incompatibility]: never;
  20749. public name : string
  20750. public text : string
  20751. public get attributes(): System.Collections.Generic.Dictionary$2<string, string>;
  20752. public get elements(): FairyGUI.Utils.XMLList;
  20753. public static Create ($tag: string) : FairyGUI.Utils.XML
  20754. public HasAttribute ($attrName: string) : boolean
  20755. public GetAttribute ($attrName: string) : string
  20756. public GetAttribute ($attrName: string, $defValue: string) : string
  20757. public GetAttributeInt ($attrName: string) : number
  20758. public GetAttributeInt ($attrName: string, $defValue: number) : number
  20759. public GetAttributeFloat ($attrName: string) : number
  20760. public GetAttributeFloat ($attrName: string, $defValue: number) : number
  20761. public GetAttributeBool ($attrName: string) : boolean
  20762. public GetAttributeBool ($attrName: string, $defValue: boolean) : boolean
  20763. public GetAttributeArray ($attrName: string) : System.Array$1<string>
  20764. public GetAttributeArray ($attrName: string, $seperator: number) : System.Array$1<string>
  20765. public GetAttributeColor ($attrName: string, $defValue: UnityEngine.Color) : UnityEngine.Color
  20766. public GetAttributeVector ($attrName: string) : UnityEngine.Vector2
  20767. public SetAttribute ($attrName: string, $attrValue: string) : void
  20768. public SetAttribute ($attrName: string, $attrValue: boolean) : void
  20769. public SetAttribute ($attrName: string, $attrValue: number) : void
  20770. public RemoveAttribute ($attrName: string) : void
  20771. public GetNode ($selector: string) : FairyGUI.Utils.XML
  20772. public Elements () : FairyGUI.Utils.XMLList
  20773. public Elements ($selector: string) : FairyGUI.Utils.XMLList
  20774. public GetEnumerator () : FairyGUI.Utils.XMLList.Enumerator
  20775. public GetEnumerator ($selector: string) : FairyGUI.Utils.XMLList.Enumerator
  20776. public AppendChild ($child: FairyGUI.Utils.XML) : void
  20777. public RemoveChild ($child: FairyGUI.Utils.XML) : void
  20778. public RemoveChildren ($selector: string) : void
  20779. public Parse ($aSource: string) : void
  20780. public Reset () : void
  20781. public ToXMLString ($includeHeader: boolean) : string
  20782. public constructor ($XmlString: string)
  20783. public constructor ()
  20784. }
  20785. interface XML {
  20786. GetAttributeArray ($attrName: string, $i1: $Ref<number>, $i2: $Ref<number>) : boolean;
  20787. GetAttributeArray ($attrName: string, $i1: $Ref<number>, $i2: $Ref<number>, $i3: $Ref<number>, $i4: $Ref<number>) : boolean;
  20788. GetAttributeArray ($attrName: string, $f1: $Ref<number>, $f2: $Ref<number>, $f3: $Ref<number>, $f4: $Ref<number>) : boolean;
  20789. GetAttributeArray ($attrName: string, $f1: $Ref<number>, $f2: $Ref<number>) : boolean;
  20790. GetAttributeArray ($attrName: string, $s1: $Ref<string>, $s2: $Ref<string>) : boolean;
  20791. }
  20792. class ByteBuffer extends System.Object
  20793. {
  20794. protected [__keep_incompatibility]: never;
  20795. public littleEndian : boolean
  20796. public stringTable : System.Array$1<string>
  20797. public version : number
  20798. public get position(): number;
  20799. public set position(value: number);
  20800. public get length(): number;
  20801. public get bytesAvailable(): boolean;
  20802. public get buffer(): System.Array$1<number>;
  20803. public set buffer(value: System.Array$1<number>);
  20804. public Skip ($count: number) : number
  20805. public ReadByte () : number
  20806. public ReadBytes ($output: System.Array$1<number>, $destIndex: number, $count: number) : System.Array$1<number>
  20807. public ReadBytes ($count: number) : System.Array$1<number>
  20808. public ReadBuffer () : FairyGUI.Utils.ByteBuffer
  20809. public ReadChar () : number
  20810. public ReadBool () : boolean
  20811. public ReadShort () : number
  20812. public ReadUshort () : number
  20813. public ReadInt () : number
  20814. public ReadUint () : number
  20815. public ReadFloat () : number
  20816. public ReadLong () : bigint
  20817. public ReadDouble () : number
  20818. public ReadString () : string
  20819. public ReadString ($len: number) : string
  20820. public ReadS () : string
  20821. public ReadSArray ($cnt: number) : System.Array$1<string>
  20822. public ReadPath () : System.Collections.Generic.List$1<FairyGUI.GPathPoint>
  20823. public WriteS ($value: string) : void
  20824. public ReadColor () : UnityEngine.Color
  20825. public Seek ($indexTablePos: number, $blockIndex: number) : boolean
  20826. public constructor ($data: System.Array$1<number>, $offset?: number, $length?: number)
  20827. public constructor ()
  20828. }
  20829. interface IHtmlObject
  20830. {
  20831. width : number
  20832. height : number
  20833. displayObject : FairyGUI.DisplayObject
  20834. element : FairyGUI.Utils.HtmlElement
  20835. Create ($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement) : void
  20836. SetPosition ($x: number, $y: number) : void
  20837. Add () : void
  20838. Remove () : void
  20839. Release () : void
  20840. Dispose () : void
  20841. }
  20842. class HtmlElement extends System.Object
  20843. {
  20844. protected [__keep_incompatibility]: never;
  20845. public type : FairyGUI.Utils.HtmlElementType
  20846. public name : string
  20847. public text : string
  20848. public format : FairyGUI.TextFormat
  20849. public charIndex : number
  20850. public htmlObject : FairyGUI.Utils.IHtmlObject
  20851. public status : number
  20852. public space : number
  20853. public position : UnityEngine.Vector2
  20854. public get isEntity(): boolean;
  20855. public Get ($attrName: string) : any
  20856. public Set ($attrName: string, $attrValue: any) : void
  20857. public GetString ($attrName: string) : string
  20858. public GetString ($attrName: string, $defValue: string) : string
  20859. public GetInt ($attrName: string) : number
  20860. public GetInt ($attrName: string, $defValue: number) : number
  20861. public GetFloat ($attrName: string) : number
  20862. public GetFloat ($attrName: string, $defValue: number) : number
  20863. public GetBool ($attrName: string) : boolean
  20864. public GetBool ($attrName: string, $defValue: boolean) : boolean
  20865. public GetColor ($attrName: string, $defValue: UnityEngine.Color) : UnityEngine.Color
  20866. public FetchAttributes () : void
  20867. public static GetElement ($type: FairyGUI.Utils.HtmlElementType) : FairyGUI.Utils.HtmlElement
  20868. public static ReturnElement ($element: FairyGUI.Utils.HtmlElement) : void
  20869. public static ReturnElements ($elements: System.Collections.Generic.List$1<FairyGUI.Utils.HtmlElement>) : void
  20870. public constructor ()
  20871. }
  20872. interface IHtmlPageContext
  20873. {
  20874. CreateObject ($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement) : FairyGUI.Utils.IHtmlObject
  20875. FreeObject ($obj: FairyGUI.Utils.IHtmlObject) : void
  20876. GetImageTexture ($image: FairyGUI.Utils.HtmlImage) : FairyGUI.NTexture
  20877. FreeImageTexture ($image: FairyGUI.Utils.HtmlImage, $texture: FairyGUI.NTexture) : void
  20878. }
  20879. class HtmlPageContext extends System.Object implements FairyGUI.Utils.IHtmlPageContext
  20880. {
  20881. protected [__keep_incompatibility]: never;
  20882. public static inst : FairyGUI.Utils.HtmlPageContext
  20883. public CreateObject ($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement) : FairyGUI.Utils.IHtmlObject
  20884. public FreeObject ($obj: FairyGUI.Utils.IHtmlObject) : void
  20885. public GetImageTexture ($image: FairyGUI.Utils.HtmlImage) : FairyGUI.NTexture
  20886. public FreeImageTexture ($image: FairyGUI.Utils.HtmlImage, $texture: FairyGUI.NTexture) : void
  20887. public constructor ()
  20888. }
  20889. class HtmlImage extends System.Object implements FairyGUI.Utils.IHtmlObject
  20890. {
  20891. protected [__keep_incompatibility]: never;
  20892. public get loader(): FairyGUI.GLoader;
  20893. public get displayObject(): FairyGUI.DisplayObject;
  20894. public get element(): FairyGUI.Utils.HtmlElement;
  20895. public get width(): number;
  20896. public get height(): number;
  20897. public Create ($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement) : void
  20898. public SetPosition ($x: number, $y: number) : void
  20899. public Add () : void
  20900. public Remove () : void
  20901. public Release () : void
  20902. public Dispose () : void
  20903. public constructor ()
  20904. }
  20905. class HtmlParseOptions extends System.Object
  20906. {
  20907. protected [__keep_incompatibility]: never;
  20908. public linkUnderline : boolean
  20909. public linkColor : UnityEngine.Color
  20910. public linkBgColor : UnityEngine.Color
  20911. public linkHoverBgColor : UnityEngine.Color
  20912. public ignoreWhiteSpace : boolean
  20913. public static DefaultLinkUnderline : boolean
  20914. public static DefaultLinkColor : UnityEngine.Color
  20915. public static DefaultLinkBgColor : UnityEngine.Color
  20916. public static DefaultLinkHoverBgColor : UnityEngine.Color
  20917. public constructor ()
  20918. }
  20919. class HtmlButton extends System.Object implements FairyGUI.Utils.IHtmlObject
  20920. {
  20921. protected [__keep_incompatibility]: never;
  20922. public static CLICK_EVENT : string
  20923. public static resource : string
  20924. public get button(): FairyGUI.GComponent;
  20925. public get displayObject(): FairyGUI.DisplayObject;
  20926. public get element(): FairyGUI.Utils.HtmlElement;
  20927. public get width(): number;
  20928. public get height(): number;
  20929. public Create ($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement) : void
  20930. public SetPosition ($x: number, $y: number) : void
  20931. public Add () : void
  20932. public Remove () : void
  20933. public Release () : void
  20934. public Dispose () : void
  20935. public constructor ()
  20936. }
  20937. enum HtmlElementType
  20938. { Text = 0, Link = 1, Image = 2, Input = 3, Select = 4, Object = 5, LinkEnd = 6 }
  20939. class HtmlInput extends System.Object implements FairyGUI.Utils.IHtmlObject
  20940. {
  20941. protected [__keep_incompatibility]: never;
  20942. public static defaultBorderSize : number
  20943. public static defaultBorderColor : UnityEngine.Color
  20944. public static defaultBackgroundColor : UnityEngine.Color
  20945. public get textInput(): FairyGUI.GTextInput;
  20946. public get displayObject(): FairyGUI.DisplayObject;
  20947. public get element(): FairyGUI.Utils.HtmlElement;
  20948. public get width(): number;
  20949. public get height(): number;
  20950. public Create ($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement) : void
  20951. public SetPosition ($x: number, $y: number) : void
  20952. public Add () : void
  20953. public Remove () : void
  20954. public Release () : void
  20955. public Dispose () : void
  20956. public constructor ()
  20957. }
  20958. class HtmlLink extends System.Object implements FairyGUI.Utils.IHtmlObject
  20959. {
  20960. protected [__keep_incompatibility]: never;
  20961. public get displayObject(): FairyGUI.DisplayObject;
  20962. public get element(): FairyGUI.Utils.HtmlElement;
  20963. public get width(): number;
  20964. public get height(): number;
  20965. public Create ($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement) : void
  20966. public SetArea ($startLine: number, $startCharX: number, $endLine: number, $endCharX: number) : void
  20967. public SetPosition ($x: number, $y: number) : void
  20968. public Add () : void
  20969. public Remove () : void
  20970. public Release () : void
  20971. public Dispose () : void
  20972. public constructor ()
  20973. }
  20974. class HtmlParser extends System.Object
  20975. {
  20976. protected [__keep_incompatibility]: never;
  20977. public static inst : FairyGUI.Utils.HtmlParser
  20978. public Parse ($aSource: string, $defaultFormat: FairyGUI.TextFormat, $elements: System.Collections.Generic.List$1<FairyGUI.Utils.HtmlElement>, $parseOptions: FairyGUI.Utils.HtmlParseOptions) : void
  20979. public constructor ()
  20980. }
  20981. class HtmlSelect extends System.Object implements FairyGUI.Utils.IHtmlObject
  20982. {
  20983. protected [__keep_incompatibility]: never;
  20984. public static CHANGED_EVENT : string
  20985. public static resource : string
  20986. public get comboBox(): FairyGUI.GComboBox;
  20987. public get displayObject(): FairyGUI.DisplayObject;
  20988. public get element(): FairyGUI.Utils.HtmlElement;
  20989. public get width(): number;
  20990. public get height(): number;
  20991. public Create ($owner: FairyGUI.RichTextField, $element: FairyGUI.Utils.HtmlElement) : void
  20992. public SetPosition ($x: number, $y: number) : void
  20993. public Add () : void
  20994. public Remove () : void
  20995. public Release () : void
  20996. public Dispose () : void
  20997. public constructor ()
  20998. }
  20999. class ToolSet extends System.Object
  21000. {
  21001. protected [__keep_incompatibility]: never;
  21002. public static ConvertFromHtmlColor ($str: string) : UnityEngine.Color
  21003. public static ColorFromRGB ($value: number) : UnityEngine.Color
  21004. public static ColorFromRGBA ($value: number) : UnityEngine.Color
  21005. public static CharToHex ($c: number) : number
  21006. public static Intersection ($rect1: $Ref<UnityEngine.Rect>, $rect2: $Ref<UnityEngine.Rect>) : UnityEngine.Rect
  21007. public static Union ($rect1: $Ref<UnityEngine.Rect>, $rect2: $Ref<UnityEngine.Rect>) : UnityEngine.Rect
  21008. public static SkewMatrix ($matrix: $Ref<UnityEngine.Matrix4x4>, $skewX: number, $skewY: number) : void
  21009. public static RotateUV ($uv: System.Array$1<UnityEngine.Vector2>, $baseUVRect: $Ref<UnityEngine.Rect>) : void
  21010. }
  21011. class UBBParser extends System.Object
  21012. {
  21013. protected [__keep_incompatibility]: never;
  21014. public static inst : FairyGUI.Utils.UBBParser
  21015. public defaultTagHandler : FairyGUI.Utils.UBBParser.TagHandler
  21016. public handlers : System.Collections.Generic.Dictionary$2<string, FairyGUI.Utils.UBBParser.TagHandler>
  21017. public defaultImgWidth : number
  21018. public defaultImgHeight : number
  21019. public GetTagText ($remove: boolean) : string
  21020. public Parse ($text: string) : string
  21021. public constructor ()
  21022. }
  21023. class XMLList extends System.Object
  21024. {
  21025. protected [__keep_incompatibility]: never;
  21026. public rawList : System.Collections.Generic.List$1<FairyGUI.Utils.XML>
  21027. public get Count(): number;
  21028. public Add ($xml: FairyGUI.Utils.XML) : void
  21029. public Clear () : void
  21030. public get_Item ($index: number) : FairyGUI.Utils.XML
  21031. public GetEnumerator () : FairyGUI.Utils.XMLList.Enumerator
  21032. public GetEnumerator ($selector: string) : FairyGUI.Utils.XMLList.Enumerator
  21033. public Filter ($selector: string) : FairyGUI.Utils.XMLList
  21034. public Find ($selector: string) : FairyGUI.Utils.XML
  21035. public RemoveAll ($selector: string) : void
  21036. public constructor ()
  21037. public constructor ($list: System.Collections.Generic.List$1<FairyGUI.Utils.XML>)
  21038. }
  21039. class XMLIterator extends System.Object
  21040. {
  21041. protected [__keep_incompatibility]: never;
  21042. public static tagName : string
  21043. public static tagType : FairyGUI.Utils.XMLTagType
  21044. public static lastTagName : string
  21045. public static Begin ($source: string, $lowerCaseName?: boolean) : void
  21046. public static NextTag () : boolean
  21047. public static GetTagSource () : string
  21048. public static GetRawText ($trim?: boolean) : string
  21049. public static GetText ($trim?: boolean) : string
  21050. public static HasAttribute ($attrName: string) : boolean
  21051. public static GetAttribute ($attrName: string) : string
  21052. public static GetAttribute ($attrName: string, $defValue: string) : string
  21053. public static GetAttributeInt ($attrName: string) : number
  21054. public static GetAttributeInt ($attrName: string, $defValue: number) : number
  21055. public static GetAttributeFloat ($attrName: string) : number
  21056. public static GetAttributeFloat ($attrName: string, $defValue: number) : number
  21057. public static GetAttributeBool ($attrName: string) : boolean
  21058. public static GetAttributeBool ($attrName: string, $defValue: boolean) : boolean
  21059. public static GetAttributes ($result: System.Collections.Generic.Dictionary$2<string, string>) : System.Collections.Generic.Dictionary$2<string, string>
  21060. public static GetAttributes ($result: System.Collections.Hashtable) : System.Collections.Hashtable
  21061. public constructor ()
  21062. }
  21063. enum XMLTagType
  21064. { Start = 0, End = 1, Void = 2, CDATA = 3, Comment = 4, Instruction = 5 }
  21065. class XMLUtils extends System.Object
  21066. {
  21067. protected [__keep_incompatibility]: never;
  21068. public static DecodeString ($aSource: string) : string
  21069. public static EncodeString ($sb: System.Text.StringBuilder, $start: number, $isAttribute?: boolean) : void
  21070. public static EncodeString ($str: string, $isAttribute?: boolean) : string
  21071. public constructor ()
  21072. }
  21073. class ZipReader extends System.Object
  21074. {
  21075. protected [__keep_incompatibility]: never;
  21076. public get entryCount(): number;
  21077. public GetNextEntry ($entry: FairyGUI.Utils.ZipReader.ZipEntry) : boolean
  21078. public GetEntryData ($entry: FairyGUI.Utils.ZipReader.ZipEntry) : System.Array$1<number>
  21079. public constructor ($data: System.Array$1<number>)
  21080. public constructor ()
  21081. }
  21082. }
  21083. namespace FairyEditor.AniData {
  21084. class Frame extends System.Object
  21085. {
  21086. protected [__keep_incompatibility]: never;
  21087. public rect : UnityEngine.Rect
  21088. public spriteIndex : number
  21089. public delay : number
  21090. public constructor ()
  21091. }
  21092. class FrameSprite extends System.Object
  21093. {
  21094. protected [__keep_incompatibility]: never;
  21095. public texture : FairyGUI.NTexture
  21096. public frameIndex : number
  21097. public raw : System.Array$1<number>
  21098. public constructor ()
  21099. }
  21100. }
  21101. namespace FairyEditor.BmFontData {
  21102. class Glyph extends System.ValueType
  21103. {
  21104. protected [__keep_incompatibility]: never;
  21105. public id : number
  21106. public x : number
  21107. public y : number
  21108. public xoffset : number
  21109. public yoffset : number
  21110. public width : number
  21111. public height : number
  21112. public xadvance : number
  21113. public img : string
  21114. public channel : number
  21115. }
  21116. }
  21117. namespace FairyEditor.ComponentAsset {
  21118. class DisplayListItem extends System.Object
  21119. {
  21120. protected [__keep_incompatibility]: never;
  21121. public packageItem : FairyEditor.FPackageItem
  21122. public pkg : FairyEditor.FPackage
  21123. public type : string
  21124. public desc : FairyGUI.Utils.XML
  21125. public missingInfo : FairyEditor.MissingInfo
  21126. public existingInstance : FairyEditor.FObject
  21127. public constructor ()
  21128. }
  21129. }
  21130. namespace FairyEditor.FontAsset {
  21131. enum FontType
  21132. { Sprites = 0, Fnt = 1, TTF = 2 }
  21133. }
  21134. namespace UnityEngine.TextCore.LowLevel {
  21135. /** The rendering modes used by the Font Engine to render glyphs.
  21136. */
  21137. enum GlyphRenderMode
  21138. { SMOOTH_HINTED = 4121, SMOOTH = 4117, COLOR_HINTED = 69656, COLOR = 69652, RASTER_HINTED = 4122, RASTER = 4118, SDF = 4134, SDF8 = 8230, SDF16 = 16422, SDF32 = 32806, SDFAA_HINTED = 4169, SDFAA = 4165 }
  21139. }
  21140. namespace FairyEditor.Framework.Gears {
  21141. interface IGear
  21142. {
  21143. }
  21144. }
  21145. namespace FairyEditor.FTree {
  21146. interface TreeNodeRenderDelegate
  21147. {
  21148. (node: FairyEditor.FTreeNode, obj: FairyEditor.FComponent) : void;
  21149. Invoke?: (node: FairyEditor.FTreeNode, obj: FairyEditor.FComponent) => void;
  21150. }
  21151. var TreeNodeRenderDelegate: { new (func: (node: FairyEditor.FTreeNode, obj: FairyEditor.FComponent) => void): TreeNodeRenderDelegate; }
  21152. interface TreeNodeWillExpandDelegate
  21153. {
  21154. (node: FairyEditor.FTreeNode, expand: boolean) : void;
  21155. Invoke?: (node: FairyEditor.FTreeNode, expand: boolean) => void;
  21156. }
  21157. var TreeNodeWillExpandDelegate: { new (func: (node: FairyEditor.FTreeNode, expand: boolean) => void): TreeNodeWillExpandDelegate; }
  21158. }
  21159. namespace FairyGUI.GPathPoint {
  21160. enum CurveType
  21161. { CRSpline = 0, Bezier = 1, CubicBezier = 2, Straight = 3 }
  21162. }
  21163. namespace FairyEditor.SpineCompatibilityHelper {
  21164. class Delegates extends System.ValueType
  21165. {
  21166. protected [__keep_incompatibility]: never;
  21167. public CreateRuntimeInstance : FairyEditor.SpineCompatibilityHelper.CreateRuntimeInstanceDelegate
  21168. public ParseBounds : FairyEditor.SpineCompatibilityHelper.ParseBoundsDelegate
  21169. }
  21170. interface CreateRuntimeInstanceDelegate
  21171. {
  21172. (descAsset: UnityEngine.TextAsset, atlasTextAsset: UnityEngine.TextAsset, textures: System.Array$1<UnityEngine.Texture2D>, materialPropertySource: UnityEngine.Material, initialize: boolean) : FairyEditor.ISkeletonDataAsset;
  21173. Invoke?: (descAsset: UnityEngine.TextAsset, atlasTextAsset: UnityEngine.TextAsset, textures: System.Array$1<UnityEngine.Texture2D>, materialPropertySource: UnityEngine.Material, initialize: boolean) => FairyEditor.ISkeletonDataAsset;
  21174. }
  21175. var CreateRuntimeInstanceDelegate: { new (func: (descAsset: UnityEngine.TextAsset, atlasTextAsset: UnityEngine.TextAsset, textures: System.Array$1<UnityEngine.Texture2D>, materialPropertySource: UnityEngine.Material, initialize: boolean) => FairyEditor.ISkeletonDataAsset): CreateRuntimeInstanceDelegate; }
  21176. interface ParseBoundsDelegate
  21177. {
  21178. (sourceFile: string) : UnityEngine.Rect;
  21179. Invoke?: (sourceFile: string) => UnityEngine.Rect;
  21180. }
  21181. var ParseBoundsDelegate: { new (func: (sourceFile: string) => UnityEngine.Rect): ParseBoundsDelegate; }
  21182. }
  21183. namespace Spine40.Unity.SkeletonDataCompatibility {
  21184. class VersionInfo extends System.Object
  21185. {
  21186. protected [__keep_incompatibility]: never;
  21187. }
  21188. }
  21189. namespace System.IO.Compression {
  21190. class ZipStorer extends System.Object implements System.IDisposable
  21191. {
  21192. protected [__keep_incompatibility]: never;
  21193. }
  21194. }
  21195. namespace FairyEditor.PublishHandler {
  21196. class ClassInfo extends System.Object
  21197. {
  21198. protected [__keep_incompatibility]: never;
  21199. public className : string
  21200. public superClassName : string
  21201. public resId : string
  21202. public resName : string
  21203. public res : FairyEditor.FPackageItem
  21204. public members : System.Collections.Generic.List$1<FairyEditor.PublishHandler.MemberInfo>
  21205. public references : System.Collections.Generic.List$1<string>
  21206. public constructor ()
  21207. }
  21208. class MemberInfo extends System.Object
  21209. {
  21210. protected [__keep_incompatibility]: never;
  21211. public name : string
  21212. public varName : string
  21213. public type : string
  21214. public index : number
  21215. public group : number
  21216. public res : FairyEditor.FPackageItem
  21217. public constructor ()
  21218. }
  21219. }
  21220. namespace FairyEditor.DependencyQuery {
  21221. enum SeekLevel
  21222. { SELECTION = 0, SAME_PACKAGE_BUT_NOT_EXPORTED = 1, SAME_PACKAGE = 2, ALL = 3 }
  21223. }
  21224. namespace FairyEditor.CopyHandler {
  21225. enum OverrideOption
  21226. { RENAME = 0, REPLACE = 1, SKIP = 2 }
  21227. }
  21228. namespace FairyEditor.HotkeyManager {
  21229. class FunctionDef extends System.Object
  21230. {
  21231. protected [__keep_incompatibility]: never;
  21232. public id : string
  21233. public hotkey : string
  21234. public desc : string
  21235. public get isCustomized(): boolean;
  21236. public constructor ($id: string, $hotkey: string, $desc: string)
  21237. public constructor ()
  21238. }
  21239. }
  21240. namespace FairyEditor.PluginManager {
  21241. class PluginInfo extends System.Object
  21242. {
  21243. protected [__keep_incompatibility]: never;
  21244. public name : string
  21245. public displayName : string
  21246. public description : string
  21247. public version : string
  21248. public author : FairyEditor.PluginManager.PluginInfo.Author
  21249. public icon : string
  21250. public main : string
  21251. public onPublish : System.Action$1<FairyEditor.PublishHandler>
  21252. public onPublishStart : System.Action$1<System.Array$1<FairyEditor.FPackage>>
  21253. public onPublishEnd : System.Action$1<System.Array$1<FairyEditor.FPackage>>
  21254. public onDestroy : System.Action
  21255. public onRunBatchModeScript : System.Action$2<FairyGUI.EventCallback0, string>
  21256. public constructor ()
  21257. }
  21258. }
  21259. namespace FairyEditor.ReferenceInfo {
  21260. enum ValueType
  21261. { ID = 0, URL = 1, URL_COMPLEX = 2, CHAR_IMG = 3, ASSET_PROP = 4 }
  21262. }
  21263. namespace FairyEditor.AdaptationSettings {
  21264. class DeviceInfo extends System.ValueType
  21265. {
  21266. protected [__keep_incompatibility]: never;
  21267. public name : string
  21268. public resolutionX : number
  21269. public resolutionY : number
  21270. }
  21271. }
  21272. namespace FairyEditor.CommonSettings {
  21273. class ScrollBarConfig extends System.Object
  21274. {
  21275. protected [__keep_incompatibility]: never;
  21276. public horizontal : string
  21277. public vertical : string
  21278. public defaultDisplay : string
  21279. public constructor ()
  21280. }
  21281. }
  21282. namespace FairyEditor.GlobalPublishSettings {
  21283. class CodeGenerationConfig extends System.Object
  21284. {
  21285. protected [__keep_incompatibility]: never;
  21286. public allowGenCode : boolean
  21287. public codePath : string
  21288. public classNamePrefix : string
  21289. public memberNamePrefix : string
  21290. public packageName : string
  21291. public ignoreNoname : boolean
  21292. public getMemberByName : boolean
  21293. public codeType : string
  21294. public constructor ()
  21295. }
  21296. class AtlasSetting extends System.Object
  21297. {
  21298. protected [__keep_incompatibility]: never;
  21299. public maxSize : number
  21300. public paging : boolean
  21301. public sizeOption : string
  21302. public forceSquare : boolean
  21303. public allowRotation : boolean
  21304. public trimImage : boolean
  21305. public constructor ()
  21306. }
  21307. }
  21308. namespace FairyEditor.I18nSettings {
  21309. class LanguageFile extends System.Object
  21310. {
  21311. protected [__keep_incompatibility]: never;
  21312. public name : string
  21313. public path : string
  21314. public fontName : string
  21315. public modificationDate : System.DateTime
  21316. public constructor ()
  21317. }
  21318. }
  21319. namespace FairyEditor.PackageGroupSettings {
  21320. class PackageGroup extends System.Object
  21321. {
  21322. protected [__keep_incompatibility]: never;
  21323. public name : string
  21324. public pkgs : System.Collections.Generic.List$1<string>
  21325. public constructor ()
  21326. }
  21327. }
  21328. namespace FairyEditor.AssetSizeUtil {
  21329. class Result extends System.ValueType
  21330. {
  21331. protected [__keep_incompatibility]: never;
  21332. public width : number
  21333. public height : number
  21334. public type : string
  21335. public bitDepth : number
  21336. public colorType : number
  21337. }
  21338. }
  21339. namespace FairyEditor.FontUtil {
  21340. class FontInfo extends System.Object
  21341. {
  21342. protected [__keep_incompatibility]: never;
  21343. public family : string
  21344. public localeFamily : string
  21345. public file : string
  21346. public externalLoad : boolean
  21347. public constructor ()
  21348. }
  21349. class FontName extends System.Object
  21350. {
  21351. protected [__keep_incompatibility]: never;
  21352. public family : string
  21353. public localeFamily : string
  21354. public constructor ()
  21355. }
  21356. }
  21357. namespace FairyEditor.VImage {
  21358. enum Kernel
  21359. { NEAREST = 0, LINEAR = 1, CUBIC = 2, MITCHELL = 3, LANCZOS2 = 4, LANCZOS3 = 5, LAST = 6 }
  21360. enum Extend
  21361. { BLACK = 0, COPY = 1, REPEAT = 2, MIRROR = 3, WHITE = 4, BACKGROUND = 5, LAST = 6 }
  21362. enum BlendMode
  21363. { 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 }
  21364. class Animation extends System.ValueType
  21365. {
  21366. protected [__keep_incompatibility]: never;
  21367. public frames : System.Array$1<FairyEditor.VImage>
  21368. public frameDelays : System.Array$1<number>
  21369. public loopDelay : number
  21370. }
  21371. }
  21372. namespace XLua {
  21373. class LuaBase extends System.Object implements System.IDisposable
  21374. {
  21375. protected [__keep_incompatibility]: never;
  21376. }
  21377. class LuaTable extends XLua.LuaBase implements System.IDisposable
  21378. {
  21379. protected [__keep_incompatibility]: never;
  21380. }
  21381. }
  21382. namespace FairyEditor.View.ProjectView {
  21383. interface OnContextMenuDelegate
  21384. {
  21385. (pi: FairyEditor.FPackageItem, context: FairyGUI.EventContext) : void;
  21386. Invoke?: (pi: FairyEditor.FPackageItem, context: FairyGUI.EventContext) => void;
  21387. }
  21388. var OnContextMenuDelegate: { new (func: (pi: FairyEditor.FPackageItem, context: FairyGUI.EventContext) => void): OnContextMenuDelegate; }
  21389. interface OnGetItemListingDelegate
  21390. {
  21391. (folder: FairyEditor.FPackageItem, filters: System.Array$1<string>, result: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) : System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  21392. Invoke?: (folder: FairyEditor.FPackageItem, filters: System.Array$1<string>, result: System.Collections.Generic.List$1<FairyEditor.FPackageItem>) => System.Collections.Generic.List$1<FairyEditor.FPackageItem>;
  21393. }
  21394. 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; }
  21395. }
  21396. namespace FairyEditor.Component.InputElement {
  21397. class OptionalValue$1<T> extends System.ValueType
  21398. {
  21399. protected [__keep_incompatibility]: never;
  21400. }
  21401. }
  21402. namespace FairyEditor.Component.FormHelper {
  21403. interface OnPropChangedDelegate
  21404. {
  21405. (propName: string, propValue: any, extData: any) : boolean;
  21406. Invoke?: (propName: string, propValue: any, extData: any) => boolean;
  21407. }
  21408. var OnPropChangedDelegate: { new (func: (propName: string, propValue: any, extData: any) => boolean): OnPropChangedDelegate; }
  21409. }
  21410. namespace FairyEditor.Component.ViewGridGroup {
  21411. interface EachGridCallback
  21412. {
  21413. (grid: FairyEditor.Component.ViewGrid) : boolean;
  21414. Invoke?: (grid: FairyEditor.Component.ViewGrid) => boolean;
  21415. }
  21416. var EachGridCallback: { new (func: (grid: FairyEditor.Component.ViewGrid) => boolean): EachGridCallback; }
  21417. }
  21418. namespace FairyEditor.PluginManager.PluginInfo {
  21419. class Author extends System.Object
  21420. {
  21421. protected [__keep_incompatibility]: never;
  21422. public name : string
  21423. public constructor ()
  21424. }
  21425. }
  21426. namespace FairyGUI.BlendModeUtils {
  21427. class BlendFactor extends System.Object
  21428. {
  21429. protected [__keep_incompatibility]: never;
  21430. public srcFactor : UnityEngine.Rendering.BlendMode
  21431. public dstFactor : UnityEngine.Rendering.BlendMode
  21432. public pma : boolean
  21433. public constructor ($srcFactor: UnityEngine.Rendering.BlendMode, $dstFactor: UnityEngine.Rendering.BlendMode, $pma?: boolean)
  21434. public constructor ()
  21435. }
  21436. }
  21437. namespace FairyGUI.MovieClip {
  21438. class Frame extends System.Object
  21439. {
  21440. protected [__keep_incompatibility]: never;
  21441. public texture : FairyGUI.NTexture
  21442. public addDelay : number
  21443. public constructor ()
  21444. }
  21445. }
  21446. namespace FairyGUI.NGraphics {
  21447. class VertexMatrix extends System.Object
  21448. {
  21449. protected [__keep_incompatibility]: never;
  21450. public cameraPos : UnityEngine.Vector3
  21451. public matrix : UnityEngine.Matrix4x4
  21452. public constructor ()
  21453. }
  21454. }
  21455. namespace FairyGUI.ShaderConfig {
  21456. interface GetFunction
  21457. {
  21458. (name: string) : UnityEngine.Shader;
  21459. Invoke?: (name: string) => UnityEngine.Shader;
  21460. }
  21461. var GetFunction: { new (func: (name: string) => UnityEngine.Shader): GetFunction; }
  21462. }
  21463. namespace FairyGUI.BitmapFont {
  21464. class BMGlyph extends System.Object
  21465. {
  21466. protected [__keep_incompatibility]: never;
  21467. public x : number
  21468. public y : number
  21469. public width : number
  21470. public height : number
  21471. public advance : number
  21472. public lineHeight : number
  21473. public uv : System.Array$1<UnityEngine.Vector2>
  21474. public channel : number
  21475. public constructor ()
  21476. }
  21477. }
  21478. namespace FairyGUI.RTLSupport {
  21479. enum DirectionType
  21480. { UNKNOW = 0, LTR = 1, RTL = 2, NEUTRAL = 3 }
  21481. }
  21482. namespace FairyGUI.TextField {
  21483. class LineInfo extends System.Object
  21484. {
  21485. protected [__keep_incompatibility]: never;
  21486. public width : number
  21487. public height : number
  21488. public baseline : number
  21489. public charIndex : number
  21490. public charCount : number
  21491. public y : number
  21492. public static Borrow () : FairyGUI.TextField.LineInfo
  21493. public static Return ($value: FairyGUI.TextField.LineInfo) : void
  21494. public static Return ($values: System.Collections.Generic.List$1<FairyGUI.TextField.LineInfo>) : void
  21495. public constructor ()
  21496. }
  21497. class CharPosition extends System.ValueType
  21498. {
  21499. protected [__keep_incompatibility]: never;
  21500. public charIndex : number
  21501. public lineIndex : number
  21502. public offsetX : number
  21503. public vertCount : number
  21504. public width : number
  21505. public imgIndex : number
  21506. }
  21507. class LineCharInfo extends System.ValueType
  21508. {
  21509. protected [__keep_incompatibility]: never;
  21510. public width : number
  21511. public height : number
  21512. public baseline : number
  21513. }
  21514. }
  21515. namespace FairyGUI.TextFormat {
  21516. enum SpecialStyle
  21517. { None = 0, Superscript = 1, Subscript = 2 }
  21518. }
  21519. namespace FairyGUI.UpdateContext {
  21520. class ClipInfo extends System.ValueType
  21521. {
  21522. protected [__keep_incompatibility]: never;
  21523. public rect : UnityEngine.Rect
  21524. public clipBox : UnityEngine.Vector4
  21525. public soft : boolean
  21526. public softness : UnityEngine.Vector4
  21527. public clipId : number
  21528. public rectMaskDepth : number
  21529. public referenceValue : number
  21530. public reversed : boolean
  21531. }
  21532. }
  21533. namespace DragonBones {
  21534. class BaseObject extends System.Object
  21535. {
  21536. protected [__keep_incompatibility]: never;
  21537. }
  21538. class EventObject extends DragonBones.BaseObject
  21539. {
  21540. protected [__keep_incompatibility]: never;
  21541. }
  21542. class UnityEventDispatcher$1<T> extends UnityEngine.MonoBehaviour
  21543. {
  21544. protected [__keep_incompatibility]: never;
  21545. }
  21546. class DragonBoneEventDispatcher extends DragonBones.UnityEventDispatcher$1<DragonBones.EventObject> implements DragonBones.IEventDispatcher$1<DragonBones.EventObject>
  21547. {
  21548. protected [__keep_incompatibility]: never;
  21549. }
  21550. interface IEventDispatcher$1<T>
  21551. {
  21552. }
  21553. class UnityArmatureComponent extends DragonBones.DragonBoneEventDispatcher implements DragonBones.IEventDispatcher$1<DragonBones.EventObject>, DragonBones.IArmatureProxy
  21554. {
  21555. protected [__keep_incompatibility]: never;
  21556. }
  21557. interface IArmatureProxy extends DragonBones.IEventDispatcher$1<DragonBones.EventObject>
  21558. {
  21559. }
  21560. class DragonBonesData extends DragonBones.BaseObject
  21561. {
  21562. protected [__keep_incompatibility]: never;
  21563. }
  21564. }
  21565. namespace Spine40.Unity {
  21566. class SkeletonRenderer extends UnityEngine.MonoBehaviour implements Spine40.Unity.IHasSkeletonDataAsset, Spine40.Unity.ISkeletonComponent
  21567. {
  21568. protected [__keep_incompatibility]: never;
  21569. }
  21570. interface IHasSkeletonDataAsset
  21571. {
  21572. }
  21573. interface ISkeletonComponent
  21574. {
  21575. }
  21576. class SkeletonAnimation extends Spine40.Unity.SkeletonRenderer implements Spine40.Unity.ISkeletonAnimation, Spine40.Unity.IHasSkeletonDataAsset, Spine40.Unity.ISkeletonComponent, Spine40.Unity.IAnimationStateComponent
  21577. {
  21578. protected [__keep_incompatibility]: never;
  21579. }
  21580. interface ISkeletonAnimation
  21581. {
  21582. }
  21583. interface IAnimationStateComponent
  21584. {
  21585. }
  21586. class SkeletonDataAsset extends UnityEngine.ScriptableObject
  21587. {
  21588. protected [__keep_incompatibility]: never;
  21589. }
  21590. }
  21591. namespace TMPro {
  21592. class TMP_Asset extends UnityEngine.ScriptableObject
  21593. {
  21594. protected [__keep_incompatibility]: never;
  21595. }
  21596. class TMP_FontAsset extends TMPro.TMP_Asset
  21597. {
  21598. protected [__keep_incompatibility]: never;
  21599. }
  21600. enum FontWeight
  21601. { Thin = 100, ExtraLight = 200, Light = 300, Regular = 400, Medium = 500, SemiBold = 600, Bold = 700, Heavy = 800, Black = 900 }
  21602. }
  21603. namespace FairyGUI.ControllerAction {
  21604. enum ActionType
  21605. { PlayTransition = 0, ChangePage = 1 }
  21606. }
  21607. namespace FairyGUI.UIPackage {
  21608. interface CreateObjectCallback
  21609. {
  21610. (result: FairyGUI.GObject) : void;
  21611. Invoke?: (result: FairyGUI.GObject) => void;
  21612. }
  21613. var CreateObjectCallback: { new (func: (result: FairyGUI.GObject) => void): CreateObjectCallback; }
  21614. interface LoadResource
  21615. {
  21616. (name: string, extension: string, type: System.Type, destroyMethod: $Ref<FairyGUI.DestroyMethod>) : any;
  21617. Invoke?: (name: string, extension: string, type: System.Type, destroyMethod: $Ref<FairyGUI.DestroyMethod>) => any;
  21618. }
  21619. var LoadResource: { new (func: (name: string, extension: string, type: System.Type, destroyMethod: $Ref<FairyGUI.DestroyMethod>) => any): LoadResource; }
  21620. interface LoadResourceAsync
  21621. {
  21622. (name: string, extension: string, type: System.Type, item: FairyGUI.PackageItem) : void;
  21623. Invoke?: (name: string, extension: string, type: System.Type, item: FairyGUI.PackageItem) => void;
  21624. }
  21625. var LoadResourceAsync: { new (func: (name: string, extension: string, type: System.Type, item: FairyGUI.PackageItem) => void): LoadResourceAsync; }
  21626. }
  21627. namespace FairyGUI.GObjectPool {
  21628. interface InitCallbackDelegate
  21629. {
  21630. (obj: FairyGUI.GObject) : void;
  21631. Invoke?: (obj: FairyGUI.GObject) => void;
  21632. }
  21633. var InitCallbackDelegate: { new (func: (obj: FairyGUI.GObject) => void): InitCallbackDelegate; }
  21634. }
  21635. namespace FairyGUI.UIContentScaler {
  21636. enum ScreenMatchMode
  21637. { MatchWidthOrHeight = 0, MatchWidth = 1, MatchHeight = 2 }
  21638. enum ScaleMode
  21639. { ConstantPixelSize = 0, ScaleWithScreenSize = 1, ConstantPhysicalSize = 2 }
  21640. }
  21641. namespace FairyGUI.GTree {
  21642. interface TreeNodeRenderDelegate
  21643. {
  21644. (node: FairyGUI.GTreeNode, obj: FairyGUI.GComponent) : void;
  21645. Invoke?: (node: FairyGUI.GTreeNode, obj: FairyGUI.GComponent) => void;
  21646. }
  21647. var TreeNodeRenderDelegate: { new (func: (node: FairyGUI.GTreeNode, obj: FairyGUI.GComponent) => void): TreeNodeRenderDelegate; }
  21648. interface TreeNodeWillExpandDelegate
  21649. {
  21650. (node: FairyGUI.GTreeNode, expand: boolean) : void;
  21651. Invoke?: (node: FairyGUI.GTreeNode, expand: boolean) => void;
  21652. }
  21653. var TreeNodeWillExpandDelegate: { new (func: (node: FairyGUI.GTreeNode, expand: boolean) => void): TreeNodeWillExpandDelegate; }
  21654. }
  21655. namespace FairyGUI.UIObjectFactory {
  21656. interface GComponentCreator
  21657. {
  21658. () : FairyGUI.GComponent;
  21659. Invoke?: () => FairyGUI.GComponent;
  21660. }
  21661. var GComponentCreator: { new (func: () => FairyGUI.GComponent): GComponentCreator; }
  21662. interface GLoaderCreator
  21663. {
  21664. () : FairyGUI.GLoader;
  21665. Invoke?: () => FairyGUI.GLoader;
  21666. }
  21667. var GLoaderCreator: { new (func: () => FairyGUI.GLoader): GLoaderCreator; }
  21668. }
  21669. namespace FairyGUI.TreeView {
  21670. interface TreeNodeCreateCellDelegate
  21671. {
  21672. (node: FairyGUI.TreeNode) : FairyGUI.GComponent;
  21673. Invoke?: (node: FairyGUI.TreeNode) => FairyGUI.GComponent;
  21674. }
  21675. var TreeNodeCreateCellDelegate: { new (func: (node: FairyGUI.TreeNode) => FairyGUI.GComponent): TreeNodeCreateCellDelegate; }
  21676. interface TreeNodeRenderDelegate
  21677. {
  21678. (node: FairyGUI.TreeNode) : void;
  21679. Invoke?: (node: FairyGUI.TreeNode) => void;
  21680. }
  21681. var TreeNodeRenderDelegate: { new (func: (node: FairyGUI.TreeNode) => void): TreeNodeRenderDelegate; }
  21682. interface TreeNodeWillExpandDelegate
  21683. {
  21684. (node: FairyGUI.TreeNode, expand: boolean) : void;
  21685. Invoke?: (node: FairyGUI.TreeNode, expand: boolean) => void;
  21686. }
  21687. var TreeNodeWillExpandDelegate: { new (func: (node: FairyGUI.TreeNode, expand: boolean) => void): TreeNodeWillExpandDelegate; }
  21688. }
  21689. namespace FairyGUI.UIConfig {
  21690. class ConfigValue extends System.Object
  21691. {
  21692. protected [__keep_incompatibility]: never;
  21693. public valid : boolean
  21694. public s : string
  21695. public i : number
  21696. public f : number
  21697. public b : boolean
  21698. public c : UnityEngine.Color
  21699. public Reset () : void
  21700. public constructor ()
  21701. }
  21702. interface SoundLoader
  21703. {
  21704. (url: string) : FairyGUI.NAudioClip;
  21705. Invoke?: (url: string) => FairyGUI.NAudioClip;
  21706. }
  21707. var SoundLoader: { new (func: (url: string) => FairyGUI.NAudioClip): SoundLoader; }
  21708. enum ConfigKey
  21709. { 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 }
  21710. }
  21711. namespace FairyGUI.Utils.UBBParser {
  21712. interface TagHandler
  21713. {
  21714. (tagName: string, end: boolean, attr: string) : string;
  21715. Invoke?: (tagName: string, end: boolean, attr: string) => string;
  21716. }
  21717. var TagHandler: { new (func: (tagName: string, end: boolean, attr: string) => string): TagHandler; }
  21718. }
  21719. namespace FairyGUI.Utils.XMLList {
  21720. class Enumerator extends System.ValueType
  21721. {
  21722. protected [__keep_incompatibility]: never;
  21723. public get Current(): FairyGUI.Utils.XML;
  21724. public MoveNext () : boolean
  21725. public Erase () : void
  21726. public Reset () : void
  21727. public constructor ($source: System.Collections.Generic.List$1<FairyGUI.Utils.XML>, $selector: string)
  21728. public constructor ()
  21729. }
  21730. }
  21731. namespace FairyGUI.Utils.ZipReader {
  21732. class ZipEntry extends System.Object
  21733. {
  21734. protected [__keep_incompatibility]: never;
  21735. public name : string
  21736. public compress : number
  21737. public crc : number
  21738. public size : number
  21739. public sourceSize : number
  21740. public offset : number
  21741. public isDirectory : boolean
  21742. public constructor ()
  21743. }
  21744. }
  21745. namespace System.Security.Authentication {
  21746. enum SslProtocols
  21747. { None = 0, Ssl2 = 12, Ssl3 = 48, Tls = 192, Tls11 = 768, Tls12 = 3072, Tls13 = 12288, Default = 240 }
  21748. }
  21749. }