LuaScriptAPI.dox 223 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839
  1. namespace Urho3D
  2. {
  3. /**
  4. \page LuaScriptAPI Lua scripting API
  5. \section LuaScriptAPI_TableOfContents Table of contents
  6. \ref LuaScriptAPI_ClassList "Class list"<br>
  7. \ref LuaScriptAPI_Classes "Classes"<br>
  8. \ref LuaScriptAPI_Enums "Enumerations"<br>
  9. \ref LuaScriptAPI_GlobalFunctions "Global functions"<br>
  10. \ref LuaScriptAPI_GlobalProperties "Global properties"<br>
  11. \ref LuaScriptAPI_GlobalConstants "Global constants"<br>
  12. \section LuaScriptAPI_ClassList Class list
  13. <a href="#Class_Animatable"><b>Animatable</b></a>
  14. <a href="#Class_AnimatedModel"><b>AnimatedModel</b></a>
  15. <a href="#Class_AnimatedSprite2D"><b>AnimatedSprite2D</b></a>
  16. <a href="#Class_Animation"><b>Animation</b></a>
  17. <a href="#Class_Animation2D"><b>Animation2D</b></a>
  18. <a href="#Class_AnimationControl"><b>AnimationControl</b></a>
  19. <a href="#Class_AnimationController"><b>AnimationController</b></a>
  20. <a href="#Class_AnimationKeyFrame"><b>AnimationKeyFrame</b></a>
  21. <a href="#Class_AnimationSet2D"><b>AnimationSet2D</b></a>
  22. <a href="#Class_AnimationState"><b>AnimationState</b></a>
  23. <a href="#Class_Audio"><b>Audio</b></a>
  24. <a href="#Class_BiasParameters"><b>BiasParameters</b></a>
  25. <a href="#Class_Billboard"><b>Billboard</b></a>
  26. <a href="#Class_BillboardSet"><b>BillboardSet</b></a>
  27. <a href="#Class_Bone"><b>Bone</b></a>
  28. <a href="#Class_BorderImage"><b>BorderImage</b></a>
  29. <a href="#Class_BoundingBox"><b>BoundingBox</b></a>
  30. <a href="#Class_Button"><b>Button</b></a>
  31. <a href="#Class_Camera"><b>Camera</b></a>
  32. <a href="#Class_CascadeParameters"><b>CascadeParameters</b></a>
  33. <a href="#Class_CheckBox"><b>CheckBox</b></a>
  34. <a href="#Class_CollisionBox2D"><b>CollisionBox2D</b></a>
  35. <a href="#Class_CollisionChain2D"><b>CollisionChain2D</b></a>
  36. <a href="#Class_CollisionCircle2D"><b>CollisionCircle2D</b></a>
  37. <a href="#Class_CollisionEdge2D"><b>CollisionEdge2D</b></a>
  38. <a href="#Class_CollisionPolygon2D"><b>CollisionPolygon2D</b></a>
  39. <a href="#Class_CollisionShape"><b>CollisionShape</b></a>
  40. <a href="#Class_CollisionShape2D"><b>CollisionShape2D</b></a>
  41. <a href="#Class_Color"><b>Color</b></a>
  42. <a href="#Class_ColorFrame"><b>ColorFrame</b></a>
  43. <a href="#Class_Component"><b>Component</b></a>
  44. <a href="#Class_Connection"><b>Connection</b></a>
  45. <a href="#Class_Console"><b>Console</b></a>
  46. <a href="#Class_Constraint"><b>Constraint</b></a>
  47. <a href="#Class_Constraint2D"><b>Constraint2D</b></a>
  48. <a href="#Class_ConstraintDistance2D"><b>ConstraintDistance2D</b></a>
  49. <a href="#Class_ConstraintFriction2D"><b>ConstraintFriction2D</b></a>
  50. <a href="#Class_ConstraintGear2D"><b>ConstraintGear2D</b></a>
  51. <a href="#Class_ConstraintMotor2D"><b>ConstraintMotor2D</b></a>
  52. <a href="#Class_ConstraintMouse2D"><b>ConstraintMouse2D</b></a>
  53. <a href="#Class_ConstraintPrismatic2D"><b>ConstraintPrismatic2D</b></a>
  54. <a href="#Class_ConstraintPulley2D"><b>ConstraintPulley2D</b></a>
  55. <a href="#Class_ConstraintRevolute2D"><b>ConstraintRevolute2D</b></a>
  56. <a href="#Class_ConstraintRope2D"><b>ConstraintRope2D</b></a>
  57. <a href="#Class_ConstraintWeld2D"><b>ConstraintWeld2D</b></a>
  58. <a href="#Class_ConstraintWheel2D"><b>ConstraintWheel2D</b></a>
  59. <a href="#Class_Context"><b>Context</b></a>
  60. <a href="#Class_Controls"><b>Controls</b></a>
  61. <a href="#Class_Cursor"><b>Cursor</b></a>
  62. <a href="#Class_CustomGeometry"><b>CustomGeometry</b></a>
  63. <a href="#Class_CustomGeometryVertex"><b>CustomGeometryVertex</b></a>
  64. <a href="#Class_DebugHud"><b>DebugHud</b></a>
  65. <a href="#Class_DebugRenderer"><b>DebugRenderer</b></a>
  66. <a href="#Class_DecalSet"><b>DecalSet</b></a>
  67. <a href="#Class_Deserializer"><b>Deserializer</b></a>
  68. <a href="#Class_Drawable"><b>Drawable</b></a>
  69. <a href="#Class_Drawable2D"><b>Drawable2D</b></a>
  70. <a href="#Class_DropDownList"><b>DropDownList</b></a>
  71. <a href="#Class_Engine"><b>Engine</b></a>
  72. <a href="#Class_File"><b>File</b></a>
  73. <a href="#Class_FileSelector"><b>FileSelector</b></a>
  74. <a href="#Class_FileSelectorEntry"><b>FileSelectorEntry</b></a>
  75. <a href="#Class_FileSystem"><b>FileSystem</b></a>
  76. <a href="#Class_FocusParameters"><b>FocusParameters</b></a>
  77. <a href="#Class_Font"><b>Font</b></a>
  78. <a href="#Class_Frustum"><b>Frustum</b></a>
  79. <a href="#Class_Graphics"><b>Graphics</b></a>
  80. <a href="#Class_HttpRequest"><b>HttpRequest</b></a>
  81. <a href="#Class_Image"><b>Image</b></a>
  82. <a href="#Class_Input"><b>Input</b></a>
  83. <a href="#Class_IntRect"><b>IntRect</b></a>
  84. <a href="#Class_IntVector2"><b>IntVector2</b></a>
  85. <a href="#Class_JSONFile"><b>JSONFile</b></a>
  86. <a href="#Class_JSONValue"><b>JSONValue</b></a>
  87. <a href="#Class_JoystickState"><b>JoystickState</b></a>
  88. <a href="#Class_Light"><b>Light</b></a>
  89. <a href="#Class_LineEdit"><b>LineEdit</b></a>
  90. <a href="#Class_ListView"><b>ListView</b></a>
  91. <a href="#Class_Log"><b>Log</b></a>
  92. <a href="#Class_LuaScriptInstance"><b>LuaScriptInstance</b></a>
  93. <a href="#Class_Material"><b>Material</b></a>
  94. <a href="#Class_Matrix3"><b>Matrix3</b></a>
  95. <a href="#Class_Matrix3x4"><b>Matrix3x4</b></a>
  96. <a href="#Class_Matrix4"><b>Matrix4</b></a>
  97. <a href="#Class_Menu"><b>Menu</b></a>
  98. <a href="#Class_MessageBox"><b>MessageBox</b></a>
  99. <a href="#Class_Model"><b>Model</b></a>
  100. <a href="#Class_Navigable"><b>Navigable</b></a>
  101. <a href="#Class_NavigationGeometryInfo"><b>NavigationGeometryInfo</b></a>
  102. <a href="#Class_NavigationMesh"><b>NavigationMesh</b></a>
  103. <a href="#Class_Network"><b>Network</b></a>
  104. <a href="#Class_NetworkPriority"><b>NetworkPriority</b></a>
  105. <a href="#Class_Node"><b>Node</b></a>
  106. <a href="#Class_Object"><b>Object</b></a>
  107. <a href="#Class_ObjectAnimation"><b>ObjectAnimation</b></a>
  108. <a href="#Class_Octree"><b>Octree</b></a>
  109. <a href="#Class_OctreeQueryResult"><b>OctreeQueryResult</b></a>
  110. <a href="#Class_OffMeshConnection"><b>OffMeshConnection</b></a>
  111. <a href="#Class_PackageEntry"><b>PackageEntry</b></a>
  112. <a href="#Class_PackageFile"><b>PackageFile</b></a>
  113. <a href="#Class_ParticleEffect"><b>ParticleEffect</b></a>
  114. <a href="#Class_ParticleEffect2D"><b>ParticleEffect2D</b></a>
  115. <a href="#Class_ParticleEmitter"><b>ParticleEmitter</b></a>
  116. <a href="#Class_ParticleEmitter2D"><b>ParticleEmitter2D</b></a>
  117. <a href="#Class_Pass"><b>Pass</b></a>
  118. <a href="#Class_PhysicsRaycastResult"><b>PhysicsRaycastResult</b></a>
  119. <a href="#Class_PhysicsRaycastResult2D"><b>PhysicsRaycastResult2D</b></a>
  120. <a href="#Class_PhysicsWorld"><b>PhysicsWorld</b></a>
  121. <a href="#Class_PhysicsWorld2D"><b>PhysicsWorld2D</b></a>
  122. <a href="#Class_Plane"><b>Plane</b></a>
  123. <a href="#Class_Polyhedron"><b>Polyhedron</b></a>
  124. <a href="#Class_PropertySet2D"><b>PropertySet2D</b></a>
  125. <a href="#Class_Quaternion"><b>Quaternion</b></a>
  126. <a href="#Class_Ray"><b>Ray</b></a>
  127. <a href="#Class_RayQueryResult"><b>RayQueryResult</b></a>
  128. <a href="#Class_Rect"><b>Rect</b></a>
  129. <a href="#Class_RemoteEvent"><b>RemoteEvent</b></a>
  130. <a href="#Class_RenderPath"><b>RenderPath</b></a>
  131. <a href="#Class_RenderPathCommand"><b>RenderPathCommand</b></a>
  132. <a href="#Class_RenderSurface"><b>RenderSurface</b></a>
  133. <a href="#Class_Renderer"><b>Renderer</b></a>
  134. <a href="#Class_Resource"><b>Resource</b></a>
  135. <a href="#Class_ResourceCache"><b>ResourceCache</b></a>
  136. <a href="#Class_ResourceRef"><b>ResourceRef</b></a>
  137. <a href="#Class_ResourceRefList"><b>ResourceRefList</b></a>
  138. <a href="#Class_RigidBody"><b>RigidBody</b></a>
  139. <a href="#Class_RigidBody2D"><b>RigidBody2D</b></a>
  140. <a href="#Class_Scene"><b>Scene</b></a>
  141. <a href="#Class_ScrollBar"><b>ScrollBar</b></a>
  142. <a href="#Class_ScrollView"><b>ScrollView</b></a>
  143. <a href="#Class_Serializable"><b>Serializable</b></a>
  144. <a href="#Class_Serializer"><b>Serializer</b></a>
  145. <a href="#Class_Skeleton"><b>Skeleton</b></a>
  146. <a href="#Class_Skybox"><b>Skybox</b></a>
  147. <a href="#Class_Slider"><b>Slider</b></a>
  148. <a href="#Class_Sound"><b>Sound</b></a>
  149. <a href="#Class_SoundListener"><b>SoundListener</b></a>
  150. <a href="#Class_SoundSource"><b>SoundSource</b></a>
  151. <a href="#Class_SoundSource3D"><b>SoundSource3D</b></a>
  152. <a href="#Class_Sphere"><b>Sphere</b></a>
  153. <a href="#Class_Spline"><b>Spline</b></a>
  154. <a href="#Class_SplinePath"><b>SplinePath</b></a>
  155. <a href="#Class_Sprite"><b>Sprite</b></a>
  156. <a href="#Class_Sprite2D"><b>Sprite2D</b></a>
  157. <a href="#Class_SpriteSheet2D"><b>SpriteSheet2D</b></a>
  158. <a href="#Class_StaticModel"><b>StaticModel</b></a>
  159. <a href="#Class_StaticModelGroup"><b>StaticModelGroup</b></a>
  160. <a href="#Class_StaticSprite2D"><b>StaticSprite2D</b></a>
  161. <a href="#Class_StringHash"><b>StringHash</b></a>
  162. <a href="#Class_Technique"><b>Technique</b></a>
  163. <a href="#Class_Terrain"><b>Terrain</b></a>
  164. <a href="#Class_TerrainPatch"><b>TerrainPatch</b></a>
  165. <a href="#Class_Text"><b>Text</b></a>
  166. <a href="#Class_Text3D"><b>Text3D</b></a>
  167. <a href="#Class_Texture"><b>Texture</b></a>
  168. <a href="#Class_Texture2D"><b>Texture2D</b></a>
  169. <a href="#Class_TextureCube"><b>TextureCube</b></a>
  170. <a href="#Class_TextureFrame"><b>TextureFrame</b></a>
  171. <a href="#Class_Tile2D"><b>Tile2D</b></a>
  172. <a href="#Class_TileMap2D"><b>TileMap2D</b></a>
  173. <a href="#Class_TileMapInfo2D"><b>TileMapInfo2D</b></a>
  174. <a href="#Class_TileMapLayer2D"><b>TileMapLayer2D</b></a>
  175. <a href="#Class_TileMapObject2D"><b>TileMapObject2D</b></a>
  176. <a href="#Class_Time"><b>Time</b></a>
  177. <a href="#Class_TmxFile2D"><b>TmxFile2D</b></a>
  178. <a href="#Class_ToolTip"><b>ToolTip</b></a>
  179. <a href="#Class_TouchState"><b>TouchState</b></a>
  180. <a href="#Class_UI"><b>UI</b></a>
  181. <a href="#Class_UIElement"><b>UIElement</b></a>
  182. <a href="#Class_ValueAnimation"><b>ValueAnimation</b></a>
  183. <a href="#Class_Variant"><b>Variant</b></a>
  184. <a href="#Class_VariantMap"><b>VariantMap</b></a>
  185. <a href="#Class_Vector2"><b>Vector2</b></a>
  186. <a href="#Class_Vector3"><b>Vector3</b></a>
  187. <a href="#Class_Vector4"><b>Vector4</b></a>
  188. <a href="#Class_VectorBuffer"><b>VectorBuffer</b></a>
  189. <a href="#Class_View3D"><b>View3D</b></a>
  190. <a href="#Class_Viewport"><b>Viewport</b></a>
  191. <a href="#Class_Window"><b>Window</b></a>
  192. <a href="#Class_XMLElement"><b>XMLElement</b></a>
  193. <a href="#Class_XMLFile"><b>XMLFile</b></a>
  194. <a href="#Class_Zone"><b>Zone</b></a>
  195. \section LuaScriptAPI_Classes Classes
  196. <a name="Class_Animatable"></a>
  197. ### Animatable : Serializable
  198. Methods:
  199. - void SetAnimationEnabled(bool enable)
  200. - void SetObjectAnimation(ObjectAnimation* objectAnimation)
  201. - void SetAttributeAnimation(const String name, ValueAnimation* attributeAnimation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
  202. - void SetAttributeAnimationWrapMode(const String name, WrapMode wrapMode)
  203. - void SetAttributeAnimationSpeed(const String name, float speed)
  204. - bool GetAnimationEnabled() const
  205. - ObjectAnimation* GetObjectAnimation() const
  206. - ValueAnimation* GetAttributeAnimation(const String name) const
  207. - WrapMode GetAttributeAnimationWrapMode(const String name) const
  208. - float GetAttributeAnimationSpeed(const String name) const
  209. Properties:
  210. - bool animationEnabled
  211. - ObjectAnimation* objectAnimation
  212. <a name="Class_AnimatedModel"></a>
  213. ### AnimatedModel : StaticModel
  214. Methods:
  215. - void SetModel(Model* model)
  216. - AnimationState* AddAnimationState(Animation* animation)
  217. - void RemoveAnimationState(Animation* animation)
  218. - void RemoveAnimationState(const String animationName)
  219. - void RemoveAnimationState(StringHash animationNameHash)
  220. - void RemoveAnimationState(AnimationState* state)
  221. - void RemoveAnimationState(unsigned index)
  222. - void RemoveAllAnimationStates()
  223. - void SetAnimationLodBias(float bias)
  224. - void SetUpdateInvisible(bool enable)
  225. - void SetMorphWeight(const String name, float weight)
  226. - void SetMorphWeight(StringHash nameHash, float weight)
  227. - void SetMorphWeight(unsigned index, float weight)
  228. - void ResetMorphWeights()
  229. - Skeleton& GetSkeleton()
  230. - unsigned GetNumAnimationStates() const
  231. - AnimationState* GetAnimationState(Animation* animation) const
  232. - AnimationState* GetAnimationState(const String animationName) const
  233. - AnimationState* GetAnimationState(const StringHash animationNameHash) const
  234. - AnimationState* GetAnimationState(unsigned index) const
  235. - float GetAnimationLodBias() const
  236. - bool GetUpdateInvisible() const
  237. - unsigned GetNumMorphs() const
  238. - float GetMorphWeight(const String name) const
  239. - float GetMorphWeight(StringHash nameHash) const
  240. - float GetMorphWeight(unsigned index) const
  241. - bool IsMaster() const
  242. Properties:
  243. - Model* model
  244. - Skeleton& skeleton (readonly)
  245. - unsigned numAnimationStates (readonly)
  246. - float animationLodBias
  247. - bool updateInvisible
  248. - unsigned numMorphs (readonly)
  249. - bool master (readonly)
  250. <a name="Class_AnimatedSprite2D"></a>
  251. ### AnimatedSprite2D : StaticSprite2D
  252. Methods:
  253. - void SetSpeed(float speed)
  254. - void SetAnimation(AnimationSet2D* animationSet, const String name, LoopMode2D loopMode = LM_DEFAULT)
  255. - void SetAnimation(const String name, LoopMode2D loopMode = LM_DEFAULT)
  256. - void SetAnimationSet(AnimationSet2D* animationSet)
  257. - void SetLoopMode(LoopMode2D loopMode)
  258. - float GetSpeed() const
  259. - const String GetAnimation() const
  260. - AnimationSet2D* GetAnimationSet() const
  261. - LoopMode2D GetLoopMode() const
  262. Properties:
  263. - float speed
  264. - String animation
  265. - AnimationSet2D* animationSet
  266. - LoopMode2D loopMode
  267. <a name="Class_Animation"></a>
  268. ### Animation : Resource
  269. Methods:
  270. - const String GetAnimationName() const
  271. - StringHash GetAnimationNameHash() const
  272. - float GetLength() const
  273. - unsigned GetNumTracks() const
  274. - const AnimationTrack* GetTrack(const String name) const
  275. - const AnimationTrack* GetTrack(StringHash nameHash) const
  276. - const AnimationTrack* GetTrack(unsigned index) const
  277. - unsigned GetNumTriggers() const
  278. Properties:
  279. - String animationName (readonly)
  280. - StringHash animationNameHash (readonly)
  281. - float length (readonly)
  282. - unsigned numTracks (readonly)
  283. - unsigned numTriggers (readonly)
  284. <a name="Class_Animation2D"></a>
  285. ### Animation2D : RefCounted
  286. Methods:
  287. - const String GetName() const
  288. - float GetLength() const
  289. - bool IsLooped() const
  290. Properties:
  291. - String name (readonly)
  292. - float length (readonly)
  293. - bool looped (readonly)
  294. <a name="Class_AnimationControl"></a>
  295. ### AnimationControl
  296. Methods:
  297. - AnimationControl() (GC)
  298. - AnimationControl* new()
  299. - void delete()
  300. Properties:
  301. - StringHash hash_
  302. - float speed_
  303. - float targetWeight_
  304. - float fadeTime_
  305. - float autoFadeTime_
  306. - float setTimeTtl_
  307. - float setWeightTtl_
  308. - short setTime_
  309. - char setWeight_
  310. - char setTimeRev_
  311. - char setWeightRev_
  312. <a name="Class_AnimationController"></a>
  313. ### AnimationController : Component
  314. Methods:
  315. - bool Play(const String name, char layer, bool looped, float fadeInTime = 0.0f)
  316. - bool PlayExclusive(const String name, char layer, bool looped, float fadeTime = 0.0f)
  317. - bool Stop(const String name, float fadeOutTime = 0.0f)
  318. - void StopLayer(char layer, float fadeOutTime = 0.0f)
  319. - void StopAll(float fadeTime = 0.0f)
  320. - bool Fade(const String name, float targetWeight, float fadeTime)
  321. - bool FadeOthers(const String name, float targetWeight, float fadeTime)
  322. - bool SetLayer(const String name, char layer)
  323. - bool SetStartBone(const String name, const String startBoneName)
  324. - bool SetTime(const String name, float time)
  325. - bool SetWeight(const String name, float weight)
  326. - bool SetLooped(const String name, bool enable)
  327. - bool SetSpeed(const String name, float speed)
  328. - bool SetAutoFade(const String name, float fadeOutTime)
  329. - bool IsPlaying(const String name) const
  330. - bool IsFadingIn(const String name) const
  331. - bool IsFadingOut(const String name) const
  332. - char GetLayer(const String name) const
  333. - Bone* GetStartBone(const String name) const
  334. - const String GetStartBoneName(const String name) const
  335. - float GetTime(const String name) const
  336. - float GetWeight(const String name) const
  337. - bool IsLooped(const String name) const
  338. - float GetLength(const String name) const
  339. - float GetSpeed(const String name) const
  340. - float GetFadeTarget(const String name) const
  341. - float GetFadeTime(const String name) const
  342. - float GetAutoFade(const String name) const
  343. - AnimationState* GetAnimationState(const String name) const
  344. - AnimationState* GetAnimationState(StringHash nameHash) const
  345. <a name="Class_AnimationKeyFrame"></a>
  346. ### AnimationKeyFrame
  347. Properties:
  348. - float time
  349. - Vector3 position
  350. - Quaternion rotation
  351. - Vector3 scale
  352. <a name="Class_AnimationSet2D"></a>
  353. ### AnimationSet2D : Resource
  354. Methods:
  355. - unsigned GetNumAnimations() const
  356. - Animation2D* GetAnimation(unsigned index) const
  357. - Animation2D* GetAnimation(const String name) const
  358. Properties:
  359. - unsigned numAnimations (readonly)
  360. <a name="Class_AnimationState"></a>
  361. ### AnimationState
  362. Methods:
  363. - AnimationState(AnimatedModel* model, Animation* animation) (GC)
  364. - AnimationState* new(AnimatedModel* model, Animation* animation)
  365. - AnimationState(Node* node, Animation* animation) (GC)
  366. - AnimationState* new(Node* node, Animation* animation)
  367. - void delete()
  368. - void SetStartBone(Bone* bone)
  369. - void SetLooped(bool looped)
  370. - void SetWeight(float weight)
  371. - void SetTime(float time)
  372. - void SetBoneWeight(const String name, float weight, bool recursive = false)
  373. - void SetBoneWeight(StringHash nameHash, float weight, bool recursive = false)
  374. - void SetBoneWeight(unsigned index, float weight, bool recursive = false)
  375. - void AddWeight(float delta)
  376. - void AddTime(float delta)
  377. - void SetLayer(char layer)
  378. - Animation* GetAnimation() const
  379. - Bone* GetStartBone() const
  380. - float GetBoneWeight(const String name) const
  381. - float GetBoneWeight(StringHash nameHash) const
  382. - float GetBoneWeight(unsigned index) const
  383. - unsigned GetTrackIndex(const String name) const
  384. - unsigned GetTrackIndex(StringHash nameHash) const
  385. - bool IsEnabled() const
  386. - bool IsLooped() const
  387. - float GetWeight() const
  388. - float GetTime() const
  389. - float GetLength() const
  390. - char GetLayer() const
  391. Properties:
  392. - Animation* animation (readonly)
  393. - Bone* startBone
  394. - bool enabled (readonly)
  395. - bool looped
  396. - float weight
  397. - float time
  398. - float length (readonly)
  399. - char layer
  400. <a name="Class_Audio"></a>
  401. ### Audio : Object
  402. Methods:
  403. - bool SetMode(int bufferLengthMSec, int mixRate, bool stereo, bool interpolation = true)
  404. - bool Play()
  405. - void Stop()
  406. - void SetMasterGain(const String type, float gain)
  407. - void SetListener(SoundListener* listener)
  408. - void StopSound(Sound* sound)
  409. - unsigned GetSampleSize() const
  410. - int GetMixRate() const
  411. - bool GetInterpolation() const
  412. - bool IsStereo() const
  413. - bool IsPlaying() const
  414. - bool IsInitialized() const
  415. - bool HasMasterGain(const String type) const
  416. - float GetMasterGain(const String type) const
  417. - SoundListener* GetListener() const
  418. - const PODVector<SoundSource*>& GetSoundSources() const
  419. - void AddSoundSource(SoundSource* soundSource)
  420. - void RemoveSoundSource(SoundSource* soundSource)
  421. - void MixOutput(void* dest, unsigned samples)
  422. Properties:
  423. - unsigned sampleSize (readonly)
  424. - int mixRate (readonly)
  425. - bool interpolation (readonly)
  426. - bool stereo (readonly)
  427. - bool playing (readonly)
  428. - bool initialized (readonly)
  429. - SoundListener* listener
  430. <a name="Class_BiasParameters"></a>
  431. ### BiasParameters
  432. Methods:
  433. - BiasParameters() (GC)
  434. - BiasParameters* new()
  435. - BiasParameters(float constantBias, float slopeScaledBias) (GC)
  436. - BiasParameters* new(float constantBias, float slopeScaledBias)
  437. - void delete()
  438. <a name="Class_Billboard"></a>
  439. ### Billboard
  440. Properties:
  441. - Vector3 position
  442. - Vector2 size
  443. - Rect uv
  444. - Color color
  445. - float rotation
  446. - bool enabled
  447. - float sortDistance
  448. <a name="Class_BillboardSet"></a>
  449. ### BillboardSet : Drawable
  450. Methods:
  451. - void SetMaterial(Material* material)
  452. - void SetNumBillboards(unsigned num)
  453. - void SetRelative(bool enable)
  454. - void SetScaled(bool enable)
  455. - void SetSorted(bool enable)
  456. - void SetFaceCameraMode(FaceCameraMode mode)
  457. - void SetAnimationLodBias(float bias)
  458. - void Commit()
  459. - Material* GetMaterial() const
  460. - unsigned GetNumBillboards() const
  461. - Billboard* GetBillboard(unsigned index)
  462. - bool IsRelative() const
  463. - bool IsScaled() const
  464. - bool IsSorted() const
  465. - FaceCameraMode GetFaceCameraMode() const
  466. - float GetAnimationLodBias() const
  467. Properties:
  468. - Material* material
  469. - unsigned numBillboards
  470. - bool relative
  471. - bool scaled
  472. - bool sorted
  473. - FaceCameraMode faceCameraMode
  474. - float animationLodBias
  475. <a name="Class_Bone"></a>
  476. ### Bone
  477. Methods:
  478. - Bone() (GC)
  479. - Bone* new()
  480. - void delete()
  481. Properties:
  482. - String name
  483. - StringHash nameHash
  484. - unsigned parentIndex
  485. - Vector3 initialPosition
  486. - Quaternion initialRotation
  487. - Vector3 initialScale
  488. - Matrix3x4 offsetMatrix
  489. - bool animated
  490. - char collisionMask
  491. - float radius
  492. - BoundingBox boundingBox
  493. - Node* node
  494. <a name="Class_BorderImage"></a>
  495. ### BorderImage : UIElement
  496. Methods:
  497. - BorderImage() (GC)
  498. - BorderImage* new()
  499. - void delete()
  500. - void SetTexture(Texture* texture)
  501. - void SetImageRect(const IntRect& rect)
  502. - void SetFullImageRect()
  503. - void SetBorder(const IntRect& rect)
  504. - void SetImageBorder(const IntRect& rect)
  505. - void SetHoverOffset(const IntVector2& offset)
  506. - void SetHoverOffset(int x, int y)
  507. - void SetBlendMode(BlendMode mode)
  508. - void SetTiled(bool enable)
  509. - Texture* GetTexture() const
  510. - const IntRect& GetImageRect() const
  511. - const IntRect& GetBorder() const
  512. - const IntRect& GetImageBorder() const
  513. - const IntVector2& GetHoverOffset() const
  514. - BlendMode GetBlendMode() const
  515. - bool IsTiled() const
  516. Properties:
  517. - Texture* texture
  518. - IntRect& imageRect
  519. - IntRect& border
  520. - IntRect& imageBorder
  521. - IntVector2& hoverOffset
  522. - BlendMode blendMode
  523. - bool tiled
  524. <a name="Class_BoundingBox"></a>
  525. ### BoundingBox
  526. Methods:
  527. - BoundingBox() (GC)
  528. - BoundingBox* new()
  529. - BoundingBox(const BoundingBox& box) (GC)
  530. - BoundingBox* new(const BoundingBox& box)
  531. - BoundingBox(const Rect& rect) (GC)
  532. - BoundingBox* new(const Rect& rect)
  533. - BoundingBox(const Vector3& min, const Vector3& max) (GC)
  534. - BoundingBox* new(const Vector3& min, const Vector3& max)
  535. - BoundingBox(float min, float max) (GC)
  536. - BoundingBox* new(float min, float max)
  537. - BoundingBox(const Frustum& frustum) (GC)
  538. - BoundingBox* new(const Frustum& frustum)
  539. - BoundingBox(const Polyhedron& poly) (GC)
  540. - BoundingBox* new(const Polyhedron& poly)
  541. - BoundingBox(const Sphere& sphere) (GC)
  542. - BoundingBox* new(const Sphere& sphere)
  543. - void delete()
  544. - bool operator==(const BoundingBox& rhs) const
  545. - void Define(const BoundingBox& box)
  546. - void Define(const Rect& rect)
  547. - void Define(const Vector3& min, const Vector3& max)
  548. - void Define(float min, float max)
  549. - void Define(const Vector3& point)
  550. - void Define(const Frustum& frustum)
  551. - void Define(const Polyhedron& poly)
  552. - void Define(const Sphere& sphere)
  553. - void Merge(const Vector3& point)
  554. - void Merge(const BoundingBox& box)
  555. - void Merge(const Frustum& frustum)
  556. - void Merge(const Polyhedron& poly)
  557. - void Merge(const Sphere& sphere)
  558. - void Clip(const BoundingBox& box)
  559. - void Transform(const Matrix3& transform)
  560. - void Transform(const Matrix3x4& transform)
  561. - void Clear()
  562. - Vector3 Center() const
  563. - Vector3 Size() const
  564. - Vector3 HalfSize() const
  565. - BoundingBox Transformed(const Matrix3& transform) const
  566. - BoundingBox Transformed(const Matrix3x4& transform) const
  567. - Rect Projected(const Matrix4& projection) const
  568. - Intersection IsInside(const Vector3& point) const
  569. - Intersection IsInside(const BoundingBox& box) const
  570. - Intersection IsInsideFast(const BoundingBox& box) const
  571. - Intersection IsInside(const Sphere& sphere) const
  572. - Intersection IsInsideFast(const Sphere& sphere) const
  573. - String ToString() const
  574. Properties:
  575. - Vector3 min
  576. - Vector3 max
  577. - bool defined
  578. - Vector3 center (readonly)
  579. - Vector3 size (readonly)
  580. - Vector3 halfSize (readonly)
  581. <a name="Class_Button"></a>
  582. ### Button : BorderImage
  583. Methods:
  584. - Button() (GC)
  585. - Button* new()
  586. - void delete()
  587. - void SetPressedOffset(const IntVector2& offset)
  588. - void SetPressedOffset(int x, int y)
  589. - void SetPressedChildOffset(const IntVector2& offset)
  590. - void SetPressedChildOffset(int x, int y)
  591. - void SetRepeat(float delay, float rate)
  592. - void SetRepeatDelay(float delay)
  593. - void SetRepeatRate(float rate)
  594. - const IntVector2& GetPressedOffset() const
  595. - const IntVector2& GetPressedChildOffset() const
  596. - float GetRepeatDelay() const
  597. - float GetRepeatRate() const
  598. - bool IsPressed() const
  599. Properties:
  600. - IntVector2& pressedOffset
  601. - IntVector2& pressedChildOffset
  602. - float repeatDelay
  603. - float repeatRate
  604. - bool pressed (readonly)
  605. <a name="Class_Camera"></a>
  606. ### Camera : Component
  607. Methods:
  608. - void SetNearClip(float nearClip)
  609. - void SetFarClip(float farClip)
  610. - void SetFov(float fov)
  611. - void SetOrthoSize(float orthoSize)
  612. - void SetOrthoSize(const Vector2& orthoSize)
  613. - void SetAspectRatio(float aspectRatio)
  614. - void SetFillMode(FillMode mode)
  615. - void SetZoom(float zoom)
  616. - void SetLodBias(float bias)
  617. - void SetViewMask(unsigned mask)
  618. - void SetViewOverrideFlags(unsigned flags)
  619. - void SetOrthographic(bool enable)
  620. - void SetAutoAspectRatio(bool enable)
  621. - void SetProjectionOffset(const Vector2& offset)
  622. - void SetUseReflection(bool enable)
  623. - void SetReflectionPlane(const Plane& reflectionPlane)
  624. - void SetUseClipping(bool enable)
  625. - void SetClipPlane(const Plane& clipPlane)
  626. - float GetFarClip() const
  627. - float GetNearClip() const
  628. - float GetFov() const
  629. - float GetOrthoSize() const
  630. - float GetAspectRatio() const
  631. - float GetZoom() const
  632. - float GetLodBias() const
  633. - unsigned GetViewMask() const
  634. - unsigned GetViewOverrideFlags() const
  635. - FillMode GetFillMode() const
  636. - bool IsOrthographic() const
  637. - bool GetAutoAspectRatio() const
  638. - const Frustum& GetFrustum() const
  639. - const Matrix4& GetProjection() const
  640. - const Matrix3x4& GetView() const
  641. - void GetFrustumSize(Vector3& near, Vector3& far) const
  642. - float GetHalfViewSize() const
  643. - Frustum GetSplitFrustum(float nearClip, float farClip) const
  644. - Frustum GetViewSpaceFrustum() const
  645. - Frustum GetViewSpaceSplitFrustum(float nearClip, float farClip) const
  646. - Ray GetScreenRay(float x, float y) const
  647. - Vector2 WorldToScreenPoint(const Vector3& worldPos) const
  648. - Vector3 ScreenToWorldPoint(const Vector3& screenPos) const
  649. - const Vector2& GetProjectionOffset() const
  650. - bool GetUseReflection() const
  651. - const Plane& GetReflectionPlane() const
  652. - bool GetUseClipping() const
  653. - const Plane& GetClipPlane() const
  654. - float GetDistance(const Vector3& worldPos) const
  655. - float GetDistanceSquared(const Vector3& worldPos) const
  656. - float GetLodDistance(float distance, float scale, float bias) const
  657. - bool IsProjectionValid() const
  658. - Matrix3x4 GetEffectiveWorldTransform() const
  659. Properties:
  660. - float farClip
  661. - float nearClip
  662. - float fov
  663. - float orthoSize
  664. - float aspectRatio
  665. - float zoom
  666. - float lodBias
  667. - unsigned viewMask
  668. - unsigned viewOverrideFlags
  669. - FillMode fillMode
  670. - bool orthographic
  671. - bool autoAspectRatio
  672. - Frustum& frustum (readonly)
  673. - Matrix4& projection (readonly)
  674. - Matrix3x4& view (readonly)
  675. - float halfViewSize (readonly)
  676. - Frustum viewSpaceFrustum (readonly)
  677. - Vector2& projectionOffset
  678. - bool useReflection
  679. - Plane& reflectionPlane
  680. - bool useClipping
  681. - Plane& clipPlane
  682. - bool projectionValid (readonly)
  683. - Matrix3x4 effectiveWorldTransform (readonly)
  684. <a name="Class_CascadeParameters"></a>
  685. ### CascadeParameters
  686. Methods:
  687. - CascadeParameters() (GC)
  688. - CascadeParameters* new()
  689. - CascadeParameters(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f) (GC)
  690. - CascadeParameters* new(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f)
  691. - void delete()
  692. <a name="Class_CheckBox"></a>
  693. ### CheckBox : BorderImage
  694. Methods:
  695. - CheckBox() (GC)
  696. - CheckBox* new()
  697. - void delete()
  698. - void SetChecked(bool enable)
  699. - void SetCheckedOffset(const IntVector2& rect)
  700. - void SetCheckedOffset(int x, int y)
  701. - bool IsChecked() const
  702. - const IntVector2& GetCheckedOffset() const
  703. Properties:
  704. - bool checked
  705. - IntVector2& checkedOffset
  706. <a name="Class_CollisionBox2D"></a>
  707. ### CollisionBox2D : CollisionShape2D
  708. Methods:
  709. - void SetSize(const Vector2& size)
  710. - void SetSize(float width, float height)
  711. - void SetCenter(const Vector2& center)
  712. - void SetCenter(float x, float y)
  713. - void SetAngle(float angle)
  714. - const Vector2& GetSize() const
  715. - const Vector2& GetCenter() const
  716. - float GetAngle() const
  717. Properties:
  718. - Vector2& size
  719. - Vector2& center
  720. - float angle
  721. <a name="Class_CollisionChain2D"></a>
  722. ### CollisionChain2D : CollisionShape2D
  723. Methods:
  724. - void SetLoop(bool loop)
  725. - void SetVertexCount(unsigned count)
  726. - void SetVertex(unsigned index, const Vector2& vertex)
  727. - void SetVertices(const PODVector<Vector2>& vertices)
  728. - bool GetLoop() const
  729. - unsigned GetVertexCount() const
  730. - const Vector2& GetVertex(unsigned index) const
  731. Properties:
  732. - bool loop
  733. - unsigned vertexCount
  734. <a name="Class_CollisionCircle2D"></a>
  735. ### CollisionCircle2D : CollisionShape2D
  736. Methods:
  737. - void SetRadius(float radius)
  738. - void SetCenter(const Vector2& center)
  739. - void SetCenter(float x, float y)
  740. - float GetRadius() const
  741. - const Vector2& GetCenter() const
  742. Properties:
  743. - float radius
  744. - Vector2& center
  745. <a name="Class_CollisionEdge2D"></a>
  746. ### CollisionEdge2D : CollisionShape2D
  747. Methods:
  748. - void SetVertex1(const Vector2& vertex)
  749. - void SetVertex2(const Vector2& vertex)
  750. - void SetVertices(const Vector2& vertex1, const Vector2& vertex2)
  751. - const Vector2& GetVertex1() const
  752. - const Vector2& GetVertex2() const
  753. Properties:
  754. - Vector2& vertex1
  755. - Vector2& vertex2
  756. <a name="Class_CollisionPolygon2D"></a>
  757. ### CollisionPolygon2D : CollisionShape2D
  758. Methods:
  759. - void SetVertexCount(unsigned count)
  760. - void SetVertex(unsigned index, const Vector2& vertex)
  761. - void SetVertices(const PODVector<Vector2>& vertices)
  762. - unsigned GetVertexCount() const
  763. - const Vector2& GetVertex(unsigned index) const
  764. Properties:
  765. - unsigned vertexCount
  766. <a name="Class_CollisionShape"></a>
  767. ### CollisionShape : Component
  768. Methods:
  769. - void SetBox(const Vector3& size)
  770. - void SetBox(const Vector3& size, const Vector3& position)
  771. - void SetBox(const Vector3& size, const Vector3& position, const Quaternion& rotation)
  772. - void SetSphere(float diameter)
  773. - void SetSphere(float diameter, const Vector3& position)
  774. - void SetSphere(float diameter, const Vector3& position, const Quaternion& rotation)
  775. - void SetStaticPlane()
  776. - void SetStaticPlane(const Vector3& position)
  777. - void SetStaticPlane(const Vector3& position, const Quaternion& rotation)
  778. - void SetCylinder(float diameter, float height)
  779. - void SetCylinder(float diameter, float height, const Vector3& position)
  780. - void SetCylinder(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  781. - void SetCapsule(float diameter, float height)
  782. - void SetCapsule(float diameter, float height, const Vector3& position)
  783. - void SetCapsule(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  784. - void SetCone(float diameter, float height)
  785. - void SetCone(float diameter, float height, const Vector3& position)
  786. - void SetCone(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  787. - void SetTriangleMesh(Model* model, unsigned lodLevel = 0)
  788. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale)
  789. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position)
  790. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  791. - void SetCustomTriangleMesh(CustomGeometry* custom)
  792. - void SetCustomTriangleMesh(CustomGeometry* custom, const Vector3& scale)
  793. - void SetCustomTriangleMesh(CustomGeometry* custom, const Vector3& scale, const Vector3& position)
  794. - void SetCustomTriangleMesh(CustomGeometry* custom, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  795. - void SetConvexHull(Model* model, unsigned lodLevel = 0)
  796. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale)
  797. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position)
  798. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  799. - void SetCustomConvexHull(CustomGeometry* custom)
  800. - void SetCustomConvexHull(CustomGeometry* custom, const Vector3& scale)
  801. - void SetCustomConvexHull(CustomGeometry* custom, const Vector3& scale, const Vector3& position)
  802. - void SetCustomConvexHull(CustomGeometry* custom, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  803. - void SetTerrain(unsigned lodLevel = 0)
  804. - void SetShapeType(ShapeType type)
  805. - void SetSize(const Vector3& size)
  806. - void SetPosition(const Vector3& position)
  807. - void SetRotation(const Quaternion& rotation)
  808. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  809. - void SetMargin(float margin)
  810. - void SetModel(Model* model)
  811. - void SetLodLevel(unsigned lodLevel)
  812. - PhysicsWorld* GetPhysicsWorld() const
  813. - ShapeType GetShapeType() const
  814. - const Vector3& GetSize() const
  815. - const Vector3& GetPosition() const
  816. - const Quaternion& GetRotation() const
  817. - float GetMargin() const
  818. - Model* GetModel() const
  819. - unsigned GetLodLevel() const
  820. - BoundingBox GetWorldBoundingBox() const
  821. Properties:
  822. - PhysicsWorld* physicsWorld (readonly)
  823. - ShapeType shapeType
  824. - Vector3& size
  825. - Vector3& position
  826. - Quaternion& rotation
  827. - float margin
  828. - Model* model
  829. - unsigned lodLevel
  830. - BoundingBox worldBoundingBox (readonly)
  831. - ResourceRef modelAttr
  832. <a name="Class_CollisionShape2D"></a>
  833. ### CollisionShape2D : Component
  834. Methods:
  835. - void SetTrigger(bool trigger)
  836. - void SetCategoryBits(int categoryBits)
  837. - void SetMaskBits(int maskBits)
  838. - void SetGroupIndex(int groupIndex)
  839. - void SetDensity(float density)
  840. - void SetFriction(float friction)
  841. - void SetRestitution(float restitution)
  842. - bool IsTrigger() const
  843. - int GetCategoryBits() const
  844. - int GetMaskBits() const
  845. - int GetGroupIndex() const
  846. - float GetDensity() const
  847. - float GetFriction() const
  848. - float GetRestitution() const
  849. - float GetMass() const
  850. - float GetInertia() const
  851. - Vector2 GetMassCenter() const
  852. Properties:
  853. - bool trigger
  854. - int categoryBits
  855. - int maskBits
  856. - int groupIndex
  857. - float density
  858. - float friction
  859. - float restitution
  860. - float mass (readonly)
  861. - float inertia (readonly)
  862. - Vector2 massCenter (readonly)
  863. <a name="Class_Color"></a>
  864. ### Color
  865. Methods:
  866. - Color() (GC)
  867. - Color* new()
  868. - Color(const Color& color) (GC)
  869. - Color* new(const Color& color)
  870. - Color(const Color& color, float a) (GC)
  871. - Color* new(const Color& color, float a)
  872. - Color(float r, float g, float b) (GC)
  873. - Color* new(float r, float g, float b)
  874. - Color(float r, float g, float b, float a) (GC)
  875. - Color* new(float r, float g, float b, float a)
  876. - void delete()
  877. - bool operator==(const Color& rhs) const
  878. - Color operator*(float rhs) const
  879. - Color operator+(const Color& rhs)
  880. - unsigned ToUInt() const
  881. - Vector3 ToHSL() const
  882. - Vector3 ToHSV() const
  883. - void FromHSL(float h, float s, float l, float a)
  884. - void FromHSV(float h, float s, float v, float a)
  885. - Vector3 ToVector3() const
  886. - Vector4 ToVector4() const
  887. - float SumRGB() const
  888. - float Average() const
  889. - float Luma() const
  890. - float Chroma() const
  891. - float Hue() const
  892. - float SaturationHSL() const
  893. - float SaturationHSV() const
  894. - float Value() const
  895. - float Lightness() const
  896. - float MaxRGB() const
  897. - float MinRGB() const
  898. - float Range() const
  899. - void Clip(bool clipAlpha = false)
  900. - void Invert(bool invertAlpha = false)
  901. - Color Lerp(const Color& rhs, float t) const
  902. - Color Abs() const
  903. - bool Equals(const Color& rhs) const
  904. - String ToString() const
  905. Properties:
  906. - float r
  907. - float g
  908. - float b
  909. - float a
  910. - const Color WHITE
  911. - const Color GRAY
  912. - const Color BLACK
  913. - const Color RED
  914. - const Color GREEN
  915. - const Color BLUE
  916. - const Color CYAN
  917. - const Color MAGENTA
  918. - const Color YELLOW
  919. - const Color TRANSPARENT
  920. <a name="Class_ColorFrame"></a>
  921. ### ColorFrame
  922. Methods:
  923. - ColorFrame() (GC)
  924. - ColorFrame* new()
  925. - ColorFrame(const Color& color) (GC)
  926. - ColorFrame* new(const Color& color)
  927. - ColorFrame(const Color& color, float time) (GC)
  928. - ColorFrame* new(const Color& color, float time)
  929. - void delete()
  930. - Color Interpolate(const ColorFrame& next, float time)
  931. Properties:
  932. - Color color
  933. - float time
  934. <a name="Class_Component"></a>
  935. ### Component : Animatable
  936. Methods:
  937. - void SetEnabled(bool enable)
  938. - void Remove()
  939. - unsigned GetID() const
  940. - Node* GetNode() const
  941. - Scene* GetScene() const
  942. - bool IsEnabled() const
  943. - bool IsEnabledEffective() const
  944. - Component* GetComponent(StringHash type) const
  945. - Component* GetComponent(const String type) const
  946. <a name="Class_Connection"></a>
  947. ### Connection : Object
  948. Methods:
  949. - void SendMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  950. - void SendRemoteEvent(StringHash eventType, bool inOrder)
  951. - void SendRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData)
  952. - void SendRemoteEvent(const String eventType, bool inOrder)
  953. - void SendRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData)
  954. - void SendRemoteEvent(Node* node, StringHash eventType, bool inOrder)
  955. - void SendRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData)
  956. - void SendRemoteEvent(Node* node, const String eventType, bool inOrder)
  957. - void SendRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData)
  958. - void SetScene(Scene* newScene)
  959. - void SetIdentity(const VariantMap& identity)
  960. - void SetControls(const Controls& newControls)
  961. - void SetPosition(const Vector3& position)
  962. - void SetRotation(const Quaternion& rotation)
  963. - void SetConnectPending(bool connectPending)
  964. - void SetLogStatistics(bool enable)
  965. - void Disconnect(int waitMSec = 0)
  966. - void SendPackageToClient(PackageFile* package)
  967. - VariantMap& GetIdentity()
  968. - Scene* GetScene() const
  969. - const Controls& GetControls() const
  970. - const Vector3& GetPosition() const
  971. - const Quaternion& GetRotation() const
  972. - bool IsClient() const
  973. - bool IsConnected() const
  974. - bool IsConnectPending() const
  975. - bool IsSceneLoaded() const
  976. - bool GetLogStatistics() const
  977. - String GetAddress() const
  978. - short GetPort() const
  979. - String ToString() const
  980. - unsigned GetNumDownloads() const
  981. - const String GetDownloadName() const
  982. - float GetDownloadProgress() const
  983. Properties:
  984. - VariantMap& identity
  985. - Scene* scene
  986. - Controls& controls
  987. - Vector3& position
  988. - Quaternion& rotation
  989. - bool client (readonly)
  990. - bool connected (readonly)
  991. - bool connectPending
  992. - bool sceneLoaded (readonly)
  993. - bool logStatistics
  994. - String address (readonly)
  995. - short port (readonly)
  996. - unsigned numDownloads (readonly)
  997. - String downloadName (readonly)
  998. - float downloadProgress (readonly)
  999. <a name="Class_Console"></a>
  1000. ### Console : Object
  1001. Methods:
  1002. - void SetDefaultStyle(XMLFile* style)
  1003. - void SetVisible(bool enable)
  1004. - void Toggle()
  1005. - void SetAutoVisibleOnError(bool enable)
  1006. - void SetCommandInterpreter(const String interpreter)
  1007. - void SetNumBufferedRows(unsigned rows)
  1008. - void SetNumRows(unsigned rows)
  1009. - void SetNumHistoryRows(unsigned rows)
  1010. - void SetFocusOnShow(bool enable)
  1011. - void UpdateElements()
  1012. - XMLFile* GetDefaultStyle() const
  1013. - BorderImage* GetBackground() const
  1014. - LineEdit* GetLineEdit() const
  1015. - Button* GetCloseButton() const
  1016. - bool IsVisible() const
  1017. - bool IsAutoVisibleOnError() const
  1018. - const String GetCommandInterpreter() const
  1019. - unsigned GetNumBufferedRows() const
  1020. - unsigned GetNumRows() const
  1021. - void CopySelectedRows() const
  1022. - unsigned GetNumHistoryRows() const
  1023. - unsigned GetHistoryPosition() const
  1024. - const String GetHistoryRow(unsigned index) const
  1025. - bool GetFocusOnShow() const
  1026. Properties:
  1027. - XMLFile* defaultStyle
  1028. - BorderImage* background (readonly)
  1029. - LineEdit* lineEdit (readonly)
  1030. - Button* closeButton (readonly)
  1031. - bool visible
  1032. - bool autoVisibleOnError
  1033. - String commandInterpreter
  1034. - unsigned numBufferedRows
  1035. - unsigned numRows
  1036. - unsigned numHistoryRows
  1037. - unsigned historyPosition (readonly)
  1038. - bool focusOnShow
  1039. <a name="Class_Constraint"></a>
  1040. ### Constraint : Component
  1041. Methods:
  1042. - void SetConstraintType(ConstraintType type)
  1043. - void SetOtherBody(RigidBody* body)
  1044. - void SetPosition(const Vector3& position)
  1045. - void SetRotation(const Quaternion& rotation)
  1046. - void SetAxis(const Vector3& axis)
  1047. - void SetOtherPosition(const Vector3& position)
  1048. - void SetOtherRotation(const Quaternion& rotation)
  1049. - void SetOtherAxis(const Vector3& axis)
  1050. - void SetWorldPosition(const Vector3& position)
  1051. - void SetHighLimit(const Vector2& limit)
  1052. - void SetLowLimit(const Vector2& limit)
  1053. - void SetERP(float erp)
  1054. - void SetCFM(float cfm)
  1055. - void SetDisableCollision(bool disable)
  1056. - PhysicsWorld* GetPhysicsWorld() const
  1057. - ConstraintType GetConstraintType() const
  1058. - RigidBody* GetOwnBody() const
  1059. - RigidBody* GetOtherBody() const
  1060. - const Vector3& GetPosition() const
  1061. - const Quaternion& GetRotation() const
  1062. - const Vector3& GetOtherPosition() const
  1063. - const Quaternion& GetOtherRotation() const
  1064. - Vector3 GetWorldPosition() const
  1065. - const Vector2& GetHighLimit() const
  1066. - const Vector2& GetLowLimit() const
  1067. - float GetERP() const
  1068. - float GetCFM() const
  1069. - bool GetDisableCollision() const
  1070. Properties:
  1071. - PhysicsWorld* physicsWorld (readonly)
  1072. - ConstraintType constraintType
  1073. - RigidBody* ownBody (readonly)
  1074. - RigidBody* otherBody
  1075. - Vector3& position
  1076. - Quaternion& rotation
  1077. - Vector3& axis
  1078. - Vector3& otherPosition
  1079. - Quaternion& otherRotation
  1080. - Vector3& otherAxis
  1081. - Vector3 worldPosition
  1082. - Vector2& highLimit
  1083. - Vector2& lowLimit
  1084. - float ERP
  1085. - float CFM
  1086. - bool disableCollision
  1087. <a name="Class_Constraint2D"></a>
  1088. ### Constraint2D : Component
  1089. Methods:
  1090. - void SetOtherBody(RigidBody2D* body)
  1091. - void SetCollideConnected(bool collideConnected)
  1092. - RigidBody2D* GetOwnerBody() const
  1093. - RigidBody2D* GetOtherBody() const
  1094. - bool GetCollideConnected() const
  1095. Properties:
  1096. - RigidBody2D* ownerBody (readonly)
  1097. - RigidBody2D* otherBody
  1098. - bool collideConnected
  1099. <a name="Class_ConstraintDistance2D"></a>
  1100. ### ConstraintDistance2D : Constraint2D
  1101. Methods:
  1102. - void SetOwnerBodyAnchor(const Vector2& anchor)
  1103. - void SetOtherBodyAnchor(const Vector2& anchor)
  1104. - void SetFrequencyHz(float frequencyHz)
  1105. - void SetDampingRatio(float dampingRatio)
  1106. - const Vector2& GetOwnerBodyAnchor() const
  1107. - const Vector2& GetOtherBodyAnchor() const
  1108. - float GetFrequencyHz() const
  1109. - float GetDampingRatio() const
  1110. Properties:
  1111. - Vector2& ownerBodyAnchor
  1112. - Vector2& otherBodyAnchor
  1113. - float frequencyHz
  1114. - float dampingRatio
  1115. <a name="Class_ConstraintFriction2D"></a>
  1116. ### ConstraintFriction2D : Constraint2D
  1117. Methods:
  1118. - void SetAnchor(const Vector2& anchor)
  1119. - void SetMaxForce(float maxForce)
  1120. - void SetMaxTorque(float maxTorque)
  1121. - const Vector2& GetAnchor() const
  1122. - float GetMaxForce() const
  1123. - float GetMaxTorque() const
  1124. Properties:
  1125. - Vector2& anchor
  1126. - float maxForce
  1127. - float maxTorque
  1128. <a name="Class_ConstraintGear2D"></a>
  1129. ### ConstraintGear2D : Constraint2D
  1130. Methods:
  1131. - void SetOwnerConstraint(Constraint2D* constraint)
  1132. - void SetOtherConstraint(Constraint2D* constraint)
  1133. - void SetRatio(float ratio)
  1134. - Constraint2D* GetOwnerConstraint() const
  1135. - Constraint2D* GetOtherConstraint() const
  1136. - float GetRatio() const
  1137. Properties:
  1138. - Constraint2D* ownerConstraint
  1139. - Constraint2D* otherConstraint
  1140. - float ratio
  1141. <a name="Class_ConstraintMotor2D"></a>
  1142. ### ConstraintMotor2D : Constraint2D
  1143. Methods:
  1144. - void SetLinearOffset(const Vector2& linearOffset)
  1145. - void SetAngularOffset(float angularOffset)
  1146. - void SetMaxForce(float maxForce)
  1147. - void SetMaxTorque(float maxTorque)
  1148. - void SetCorrectionFactor(float correctionFactor)
  1149. - const Vector2& GetLinearOffset() const
  1150. - float GetAngularOffset() const
  1151. - float GetMaxForce() const
  1152. - float GetMaxTorque() const
  1153. - float GetCorrectionFactor() const
  1154. Properties:
  1155. - Vector2& linearOffset
  1156. - float angularOffset
  1157. - float maxForce
  1158. - float maxTorque
  1159. - float correctionFactor
  1160. <a name="Class_ConstraintMouse2D"></a>
  1161. ### ConstraintMouse2D : Constraint2D
  1162. Methods:
  1163. - void SetTarget(const Vector2& target)
  1164. - void SetMaxForce(float maxForce)
  1165. - void SetFrequencyHz(float frequencyHz)
  1166. - void SetDampingRatio(float dampingRatio)
  1167. - const Vector2& GetTarget() const
  1168. - float GetMaxForce() const
  1169. - float GetFrequencyHz() const
  1170. - float GetDampingRatio() const
  1171. Properties:
  1172. - Vector2& target
  1173. - float maxForce
  1174. - float frequencyHz
  1175. - float dampingRatio
  1176. <a name="Class_ConstraintPrismatic2D"></a>
  1177. ### ConstraintPrismatic2D : Constraint2D
  1178. Methods:
  1179. - void SetAnchor(const Vector2& anchor)
  1180. - void SetAxis(const Vector2& axis)
  1181. - void SetEnableLimit(bool enableLimit)
  1182. - void SetLowerTranslation(float lowerTranslation)
  1183. - void SetUpperTranslation(float upperTranslation)
  1184. - void SetEnableMotor(bool enableMotor)
  1185. - void SetMaxMotorForce(float maxMotorForce)
  1186. - void SetMotorSpeed(float motorSpeed)
  1187. - const Vector2& GetAnchor() const
  1188. - const Vector2& GetAxis() const
  1189. - bool GetEnableLimit() const
  1190. - float GetLowerTranslation() const
  1191. - float GetUpperTranslation() const
  1192. - bool GetEnableMotor() const
  1193. - float GetMaxMotorForce() const
  1194. - float GetMotorSpeed() const
  1195. Properties:
  1196. - Vector2& anchor
  1197. - Vector2& axis
  1198. - bool enableLimit
  1199. - float lowerTranslation
  1200. - float upperTranslation
  1201. - bool enableMotor
  1202. - float maxMotorForce
  1203. - float motorSpeed
  1204. <a name="Class_ConstraintPulley2D"></a>
  1205. ### ConstraintPulley2D : Constraint2D
  1206. Methods:
  1207. - void SetOwnerBodyGroundAnchor(const Vector2& groundAnchor)
  1208. - void SetOtherBodyGroundAnchor(const Vector2& groundAnchor)
  1209. - void SetOwnerBodyAnchor(const Vector2& anchor)
  1210. - void SetOtherBodyAnchor(const Vector2& anchor)
  1211. - void SetRatio(float ratio)
  1212. - const Vector2& GetOwnerBodyGroundAnchor() const
  1213. - const Vector2& GetOtherBodyGroundAnchor() const
  1214. - const Vector2& GetOwnerBodyAnchor() const
  1215. - const Vector2& GetOtherBodyAnchor() const
  1216. - float GetRatio() const
  1217. Properties:
  1218. - Vector2& ownerBodyGroundAnchor
  1219. - Vector2& otherBodyGroundAnchor
  1220. - Vector2& ownerBodyAnchor
  1221. - Vector2& otherBodyAnchor
  1222. - float ratio
  1223. <a name="Class_ConstraintRevolute2D"></a>
  1224. ### ConstraintRevolute2D : Constraint2D
  1225. Methods:
  1226. - void SetAnchor(const Vector2& anchor)
  1227. - void SetEnableLimit(bool enableLimit)
  1228. - void SetLowerAngle(float lowerAngle)
  1229. - void SetUpperAngle(float upperAngle)
  1230. - void SetEnableMotor(bool enableMotor)
  1231. - void SetMotorSpeed(float motorSpeed)
  1232. - void SetMaxMotorTorque(float maxMotorTorque)
  1233. - const Vector2& GetAnchor() const
  1234. - bool GetEnableLimit() const
  1235. - float GetLowerAngle() const
  1236. - float GetUpperAngle() const
  1237. - bool GetEnableMotor() const
  1238. - float GetMotorSpeed() const
  1239. - float GetMaxMotorTorque() const
  1240. Properties:
  1241. - Vector2& anchor
  1242. - bool enableLimit
  1243. - float lowerAngle
  1244. - float upperAngle
  1245. - bool enableMotor
  1246. - float motorSpeed
  1247. - float maxMotorTorque
  1248. <a name="Class_ConstraintRope2D"></a>
  1249. ### ConstraintRope2D : Constraint2D
  1250. Methods:
  1251. - void SetOwnerBodyAnchor(const Vector2& anchor)
  1252. - void SetOtherBodyAnchor(const Vector2& anchor)
  1253. - void SetMaxLength(float maxLength)
  1254. - const Vector2& GetOwnerBodyAnchor() const
  1255. - const Vector2& GetOtherBodyAnchor() const
  1256. - float GetMaxLength() const
  1257. Properties:
  1258. - Vector2& ownerBodyAnchor
  1259. - Vector2& otherBodyAnchor
  1260. - float maxLength
  1261. <a name="Class_ConstraintWeld2D"></a>
  1262. ### ConstraintWeld2D : Constraint2D
  1263. Methods:
  1264. - void SetAnchor(const Vector2& anchor)
  1265. - void SetFrequencyHz(float frequencyHz)
  1266. - void SetDampingRatio(float dampingRatio)
  1267. - const Vector2& GetAnchor() const
  1268. - float GetFrequencyHz() const
  1269. - float GetDampingRatio() const
  1270. Properties:
  1271. - Vector2& anchor
  1272. - float frequencyHz
  1273. - float dampingRatio
  1274. <a name="Class_ConstraintWheel2D"></a>
  1275. ### ConstraintWheel2D : Constraint2D
  1276. Methods:
  1277. - void SetAnchor(const Vector2& anchor)
  1278. - void SetAxis(const Vector2& axis)
  1279. - void SetEnableMotor(bool enableMotor)
  1280. - void SetMaxMotorTorque(float maxMotorTorque)
  1281. - void SetMotorSpeed(float motorSpeed)
  1282. - void SetFrequencyHz(float frequencyHz)
  1283. - void SetDampingRatio(float dampingRatio)
  1284. - const Vector2& GetAnchor() const
  1285. - const Vector2& GetAxis() const
  1286. - bool GetEnableMotor() const
  1287. - float GetMaxMotorTorque() const
  1288. - float GetMotorSpeed() const
  1289. - float GetFrequencyHz() const
  1290. - float GetDampingRatio() const
  1291. Properties:
  1292. - Vector2& anchor
  1293. - Vector2& axis
  1294. - bool enableMotor
  1295. - float maxMotorTorque
  1296. - float motorSpeed
  1297. - float frequencyHz
  1298. - float dampingRatio
  1299. <a name="Class_Context"></a>
  1300. ### Context
  1301. Methods:
  1302. - Object* GetEventSender() const
  1303. - EventHandler* GetEventHandler() const
  1304. - const String GetTypeName(StringHash objectType) const
  1305. <a name="Class_Controls"></a>
  1306. ### Controls
  1307. Methods:
  1308. - Controls() (GC)
  1309. - Controls* new()
  1310. - void delete()
  1311. - void Reset()
  1312. - void Set(unsigned buttons, bool down = true)
  1313. - bool IsDown(unsigned button) const
  1314. - bool IsPressed(unsigned button, const Controls& previousControls) const
  1315. Properties:
  1316. - unsigned buttons
  1317. - float yaw
  1318. - float pitch
  1319. - VariantMap extraData
  1320. <a name="Class_Cursor"></a>
  1321. ### Cursor : BorderImage
  1322. Methods:
  1323. - Cursor() (GC)
  1324. - Cursor* new()
  1325. - void delete()
  1326. - void DefineShape(const String shape, Image* image, const IntRect& imageRect, const IntVector2& hotSpot)
  1327. - void DefineShape(CursorShape shape, Image* image, const IntRect& imageRect, const IntVector2& hotSpot)
  1328. - void SetShape(CursorShape shape)
  1329. - void SetShape(const String shape)
  1330. - void SetUseSystemShapes(bool enable)
  1331. - String GetShape() const
  1332. - bool GetUseSystemShapes() const
  1333. Properties:
  1334. - String shape
  1335. - bool useSystemShapes
  1336. <a name="Class_CustomGeometry"></a>
  1337. ### CustomGeometry : Drawable
  1338. Methods:
  1339. - void Clear()
  1340. - void SetNumGeometries(unsigned num)
  1341. - void SetDynamic(bool enable)
  1342. - void BeginGeometry(unsigned index, PrimitiveType type)
  1343. - void DefineVertex(const Vector3& position)
  1344. - void DefineNormal(const Vector3& normal)
  1345. - void DefineTangent(const Vector4& tangent)
  1346. - void DefineColor(const Color& color)
  1347. - void DefineTexCoord(const Vector2& texCoord)
  1348. - void DefineGeometry(unsigned index, PrimitiveType type, unsigned numVertices, bool hasNormals, bool hasColors, bool hasTexCoords, bool hasTangents)
  1349. - void Commit()
  1350. - void SetMaterial(Material* material)
  1351. - bool SetMaterial(unsigned index, Material* material)
  1352. - unsigned GetNumGeometries() const
  1353. - unsigned GetNumVertices(unsigned index) const
  1354. - bool IsDynamic() const
  1355. - Material* GetMaterial(unsigned index = 0)
  1356. - CustomGeometryVertex* GetVertex(unsigned geometryIndex, unsigned vertexNum)
  1357. Properties:
  1358. - Material* material
  1359. - unsigned numGeometries
  1360. - bool dynamic
  1361. <a name="Class_CustomGeometryVertex"></a>
  1362. ### CustomGeometryVertex
  1363. Properties:
  1364. - Vector3 position
  1365. - Vector3 normal
  1366. - unsigned color
  1367. - Vector2 texCoord
  1368. - Vector4 tangent
  1369. <a name="Class_DebugHud"></a>
  1370. ### DebugHud : Object
  1371. Methods:
  1372. - void Update()
  1373. - void SetDefaultStyle(XMLFile* style)
  1374. - void SetMode(unsigned mode)
  1375. - void SetProfilerMaxDepth(unsigned depth)
  1376. - void SetProfilerInterval(float interval)
  1377. - void SetUseRendererStats(bool enable)
  1378. - void Toggle(unsigned mode)
  1379. - void ToggleAll()
  1380. - XMLFile* GetDefaultStyle() const
  1381. - Text* GetStatsText() const
  1382. - Text* GetModeText() const
  1383. - Text* GetProfilerText() const
  1384. - unsigned GetMode() const
  1385. - unsigned GetProfilerMaxDepth() const
  1386. - float GetProfilerInterval() const
  1387. - bool GetUseRendererStats() const
  1388. - void SetAppStats(const String label, const Variant stats)
  1389. - void SetAppStats(const String label, const String stats)
  1390. - bool ResetAppStats(const String label)
  1391. - void ClearAppStats()
  1392. Properties:
  1393. - XMLFile* defaultStyle
  1394. - Text* statsText (readonly)
  1395. - Text* modeText (readonly)
  1396. - Text* profilerText (readonly)
  1397. - unsigned mode
  1398. - unsigned profilerMaxDepth
  1399. - float profilerInterval
  1400. - bool useRendererStats
  1401. <a name="Class_DebugRenderer"></a>
  1402. ### DebugRenderer : Component
  1403. Methods:
  1404. - void SetView(Camera* camera)
  1405. - void AddLine(const Vector3& start, const Vector3& end, const Color& color, bool depthTest = true)
  1406. - void AddLine(const Vector3& start, const Vector3& end, unsigned color, bool depthTest = true)
  1407. - void AddTriangle(const Vector3& v1, const Vector3& v2, const Vector3& v3, const Color& color, bool depthTest = true)
  1408. - void AddTriangle(const Vector3& v1, const Vector3& v2, const Vector3& v3, unsigned color, bool depthTest = true)
  1409. - void AddNode(Node* node, float scale = 1.0f, bool depthTest = true)
  1410. - void AddBoundingBox(const BoundingBox& box, const Color& color, bool depthTest = true)
  1411. - void AddBoundingBox(const BoundingBox& box, const Matrix3x4& transform, const Color& color, bool depthTest = true)
  1412. - void AddFrustum(const Frustum& frustum, const Color& color, bool depthTest = true)
  1413. - void AddPolyhedron(const Polyhedron& poly, const Color& color, bool depthTest = true)
  1414. - void AddSphere(const Sphere& sphere, const Color& color, bool depthTest = true)
  1415. - void AddSkeleton(const Skeleton& skeleton, const Color& color, bool depthTest = true)
  1416. - void AddTriangleMesh(const void* vertexData, unsigned vertexSize, const void* indexData, unsigned indexSize, unsigned indexStart, unsigned indexCount, const Matrix3x4& transform, const Color& color, bool depthTest = true)
  1417. - void Render()
  1418. - const Matrix3x4& GetView() const
  1419. - const Matrix4& GetProjection() const
  1420. - const Frustum& GetFrustum() const
  1421. - bool IsInside(const BoundingBox& box) const
  1422. Properties:
  1423. - Matrix3x4& view (readonly)
  1424. - Matrix4& projection (readonly)
  1425. - Frustum& frustum (readonly)
  1426. <a name="Class_DecalSet"></a>
  1427. ### DecalSet : Drawable
  1428. Methods:
  1429. - void SetMaterial(Material* material)
  1430. - void SetMaxVertices(unsigned num)
  1431. - void SetMaxIndices(unsigned num)
  1432. - bool AddDecal(Drawable* target, const Vector3& worldPosition, const Quaternion& worldRotation, float size, float aspectRatio, float depth, const Vector2& topLeftUV, const Vector2& bottomRightUV, float timeToLive = 0.0f, float normalCutoff = 0.1f, unsigned subGeometry = M_MAX_UNSIGNED)
  1433. - void RemoveDecals(unsigned num)
  1434. - void RemoveAllDecals()
  1435. - Material* GetMaterial() const
  1436. - unsigned GetNumDecals() const
  1437. - unsigned GetNumVertices() const
  1438. - unsigned GetNumIndices() const
  1439. - unsigned GetMaxVertices() const
  1440. - unsigned GetMaxIndices() const
  1441. Properties:
  1442. - Material* material
  1443. - unsigned numDecals (readonly)
  1444. - unsigned numVertices (readonly)
  1445. - unsigned numIndices (readonly)
  1446. - unsigned maxVertices
  1447. - unsigned maxIndices
  1448. <a name="Class_Deserializer"></a>
  1449. ### Deserializer
  1450. Methods:
  1451. - VectorBuffer Read(unsigned size)
  1452. - unsigned Seek(unsigned position)
  1453. - const String GetName() const
  1454. - unsigned GetChecksum()
  1455. - unsigned GetPosition() const
  1456. - unsigned GetSize() const
  1457. - bool IsEof() const
  1458. - int ReadInt()
  1459. - short ReadShort()
  1460. - char ReadByte()
  1461. - unsigned ReadUInt()
  1462. - short ReadUShort()
  1463. - char ReadUByte()
  1464. - bool ReadBool()
  1465. - float ReadFloat()
  1466. - IntRect ReadIntRect()
  1467. - IntVector2 ReadIntVector2()
  1468. - Rect ReadRect()
  1469. - Vector2 ReadVector2()
  1470. - Vector3 ReadVector3()
  1471. - Vector3 ReadPackedVector3(float maxAbsCoord)
  1472. - Vector4 ReadVector4()
  1473. - Quaternion ReadQuaternion()
  1474. - Quaternion ReadPackedQuaternion()
  1475. - Matrix3 ReadMatrix3()
  1476. - Matrix3x4 ReadMatrix3x4()
  1477. - Matrix4 ReadMatrix4()
  1478. - Color ReadColor()
  1479. - BoundingBox ReadBoundingBox()
  1480. - String ReadString()
  1481. - String ReadFileID()
  1482. - StringHash ReadStringHash()
  1483. - VectorBuffer ReadBuffer()
  1484. - ResourceRef ReadResourceRef()
  1485. - ResourceRefList ReadResourceRefList()
  1486. - Variant ReadVariant()
  1487. - Variant ReadVariant(VariantType type)
  1488. - VariantVector ReadVariantVector()
  1489. - VariantMap ReadVariantMap()
  1490. - unsigned ReadVLE()
  1491. - unsigned ReadNetID()
  1492. - String ReadLine()
  1493. Properties:
  1494. - String name (readonly)
  1495. - unsigned checksum (readonly)
  1496. - unsigned position (readonly)
  1497. - unsigned size (readonly)
  1498. - bool eof (readonly)
  1499. <a name="Class_Drawable"></a>
  1500. ### Drawable : Component
  1501. Methods:
  1502. - void SetDrawDistance(float distance)
  1503. - void SetShadowDistance(float distance)
  1504. - void SetLodBias(float bias)
  1505. - void SetViewMask(unsigned mask)
  1506. - void SetLightMask(unsigned mask)
  1507. - void SetShadowMask(unsigned mask)
  1508. - void SetZoneMask(unsigned mask)
  1509. - void SetMaxLights(unsigned num)
  1510. - void SetCastShadows(bool enable)
  1511. - void SetOccluder(bool enable)
  1512. - void SetOccludee(bool enable)
  1513. - void MarkForUpdate()
  1514. - const BoundingBox& GetBoundingBox() const
  1515. - const BoundingBox& GetWorldBoundingBox()
  1516. - char GetDrawableFlags() const
  1517. - float GetDrawDistance() const
  1518. - float GetShadowDistance() const
  1519. - float GetLodBias() const
  1520. - unsigned GetViewMask() const
  1521. - unsigned GetLightMask() const
  1522. - unsigned GetShadowMask() const
  1523. - unsigned GetZoneMask() const
  1524. - unsigned GetMaxLights() const
  1525. - bool GetCastShadows() const
  1526. - bool IsOccluder() const
  1527. - bool IsOccludee() const
  1528. - bool IsInView() const
  1529. - bool IsInView(Camera* tolua_var_2) const
  1530. - Zone* GetZone() const
  1531. Properties:
  1532. - BoundingBox& worldBoundingBox (readonly)
  1533. - char drawableFlags (readonly)
  1534. - float drawDistance
  1535. - float shadowDistance
  1536. - float lodBias
  1537. - unsigned viewMask
  1538. - unsigned lightMask
  1539. - unsigned shadowMask
  1540. - unsigned zoneMask
  1541. - unsigned maxLights
  1542. - bool castShadows
  1543. - bool occluder
  1544. - bool occludee
  1545. - bool inView (readonly)
  1546. - Zone* zone (readonly)
  1547. <a name="Class_Drawable2D"></a>
  1548. ### Drawable2D : Drawable
  1549. Methods:
  1550. - void SetLayer(int layer)
  1551. - void SetOrderInLayer(int orderInLayer)
  1552. - void SetTexture(Texture2D* texture)
  1553. - void SetBlendMode(BlendMode mode)
  1554. - int GetLayer() const
  1555. - int GetOrderInLayer() const
  1556. - Texture2D* GetTexture() const
  1557. - BlendMode GetBlendMode() const
  1558. Properties:
  1559. - int layer
  1560. - int orderInLayer
  1561. - Texture2D* texture
  1562. - BlendMode blendMode
  1563. <a name="Class_DropDownList"></a>
  1564. ### DropDownList : Menu
  1565. Methods:
  1566. - DropDownList() (GC)
  1567. - DropDownList* new()
  1568. - void delete()
  1569. - void AddItem(UIElement* item)
  1570. - void InsertItem(unsigned index, UIElement* item)
  1571. - void RemoveItem(UIElement* item)
  1572. - void RemoveItem(unsigned index)
  1573. - void RemoveAllItems()
  1574. - void SetSelection(unsigned index)
  1575. - void SetPlaceholderText(const String text)
  1576. - void SetResizePopup(bool enable)
  1577. - unsigned GetNumItems() const
  1578. - UIElement* GetItem(unsigned index) const
  1579. - const PODVector<UIElement*>& GetItems() const
  1580. - unsigned GetSelection() const
  1581. - UIElement* GetSelectedItem() const
  1582. - ListView* GetListView() const
  1583. - UIElement* GetPlaceholder() const
  1584. - const String GetPlaceholderText() const
  1585. - bool GetResizePopup() const
  1586. Properties:
  1587. - unsigned numItems (readonly)
  1588. - unsigned selection
  1589. - UIElement* selectedItem (readonly)
  1590. - ListView* listView (readonly)
  1591. - UIElement* placeholder (readonly)
  1592. - String placeholderText
  1593. - bool resizePopup
  1594. <a name="Class_Engine"></a>
  1595. ### Engine : Object
  1596. Methods:
  1597. - void RunFrame()
  1598. - Console* CreateConsole()
  1599. - DebugHud* CreateDebugHud()
  1600. - void SetMinFps(int fps)
  1601. - void SetMaxFps(int fps)
  1602. - void SetMaxInactiveFps(int fps)
  1603. - void SetTimeStepSmoothing(int frames)
  1604. - void SetPauseMinimized(bool enable)
  1605. - void SetAutoExit(bool enable)
  1606. - void Exit()
  1607. - void DumpProfiler()
  1608. - void DumpResources(bool dumpFileName = false)
  1609. - void DumpMemory()
  1610. - int GetMinFps() const
  1611. - int GetMaxFps() const
  1612. - int GetMaxInactiveFps() const
  1613. - int GetTimeStepSmoothing() const
  1614. - bool GetPauseMinimized() const
  1615. - bool GetAutoExit() const
  1616. - bool IsInitialized() const
  1617. - bool IsExiting() const
  1618. - bool IsHeadless() const
  1619. Properties:
  1620. - int minFps
  1621. - int maxFps
  1622. - int maxInactiveFps
  1623. - int timeStepSmoothing
  1624. - bool pauseMinimized
  1625. - bool autoExit
  1626. - bool initialized (readonly)
  1627. - bool exiting (readonly)
  1628. - bool headless (readonly)
  1629. <a name="Class_File"></a>
  1630. ### File : Object
  1631. Methods:
  1632. - File() (GC)
  1633. - File* new()
  1634. - File(const String fileName, FileMode mode = FILE_READ) (GC)
  1635. - File* new(const String fileName, FileMode mode = FILE_READ)
  1636. - File(PackageFile* package, const String fileName) (GC)
  1637. - File* new(PackageFile* package, const String fileName)
  1638. - void delete()
  1639. - bool Open(const String fileName, FileMode mode = FILE_READ)
  1640. - bool Open(PackageFile* package, const String fileName)
  1641. - void Close()
  1642. - void Flush()
  1643. - void SetName(const String name)
  1644. - FileMode GetMode() const
  1645. - bool IsOpen() const
  1646. - void* GetHandle() const
  1647. - bool IsPackaged() const
  1648. - VectorBuffer Read(unsigned size)
  1649. - unsigned Seek(unsigned position)
  1650. - const String GetName() const
  1651. - unsigned GetChecksum()
  1652. - unsigned GetPosition() const
  1653. - unsigned GetSize() const
  1654. - bool IsEof() const
  1655. - int ReadInt()
  1656. - short ReadShort()
  1657. - char ReadByte()
  1658. - unsigned ReadUInt()
  1659. - short ReadUShort()
  1660. - char ReadUByte()
  1661. - bool ReadBool()
  1662. - float ReadFloat()
  1663. - IntRect ReadIntRect()
  1664. - IntVector2 ReadIntVector2()
  1665. - Rect ReadRect()
  1666. - Vector2 ReadVector2()
  1667. - Vector3 ReadVector3()
  1668. - Vector3 ReadPackedVector3(float maxAbsCoord)
  1669. - Vector4 ReadVector4()
  1670. - Quaternion ReadQuaternion()
  1671. - Quaternion ReadPackedQuaternion()
  1672. - Matrix3 ReadMatrix3()
  1673. - Matrix3x4 ReadMatrix3x4()
  1674. - Matrix4 ReadMatrix4()
  1675. - Color ReadColor()
  1676. - BoundingBox ReadBoundingBox()
  1677. - String ReadString()
  1678. - String ReadFileID()
  1679. - StringHash ReadStringHash()
  1680. - VectorBuffer ReadBuffer()
  1681. - ResourceRef ReadResourceRef()
  1682. - ResourceRefList ReadResourceRefList()
  1683. - Variant ReadVariant()
  1684. - Variant ReadVariant(VariantType type)
  1685. - VariantVector ReadVariantVector()
  1686. - VariantMap ReadVariantMap()
  1687. - unsigned ReadVLE()
  1688. - unsigned ReadNetID()
  1689. - String ReadLine()
  1690. - unsigned Write(const VectorBuffer& buffer)
  1691. - bool WriteInt(int value)
  1692. - bool WriteShort(short value)
  1693. - bool WriteByte(char value)
  1694. - bool WriteUInt(unsigned value)
  1695. - bool WriteUShort(short value)
  1696. - bool WriteUByte(char value)
  1697. - bool WriteBool(bool value)
  1698. - bool WriteFloat(float value)
  1699. - bool WriteIntRect(const IntRect& value)
  1700. - bool WriteIntVector2(const IntVector2& value)
  1701. - bool WriteRect(const Rect& value)
  1702. - bool WriteVector2(const Vector2& value)
  1703. - bool WriteVector3(const Vector3& value)
  1704. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  1705. - bool WriteVector4(const Vector4& value)
  1706. - bool WriteQuaternion(const Quaternion& value)
  1707. - bool WritePackedQuaternion(const Quaternion& value)
  1708. - bool WriteMatrix3(const Matrix3& value)
  1709. - bool WriteMatrix3x4(const Matrix3x4& value)
  1710. - bool WriteMatrix4(const Matrix4& value)
  1711. - bool WriteColor(const Color& value)
  1712. - bool WriteBoundingBox(const BoundingBox& value)
  1713. - bool WriteString(const String value)
  1714. - bool WriteFileID(const String value)
  1715. - bool WriteStringHash(const StringHash& value)
  1716. - bool WriteBuffer(const VectorBuffer& buffer)
  1717. - bool WriteResourceRef(const ResourceRef& value)
  1718. - bool WriteResourceRefList(const ResourceRefList& value)
  1719. - bool WriteVariant(const Variant& value)
  1720. - bool WriteVariantData(const Variant& value)
  1721. - bool WriteVariantVector(const VariantVector& value)
  1722. - bool WriteVariantMap(const VariantMap& value)
  1723. - bool WriteVLE(unsigned value)
  1724. - bool WriteNetID(unsigned value)
  1725. - bool WriteLine(const String value)
  1726. Properties:
  1727. - FileMode mode (readonly)
  1728. - bool open (readonly)
  1729. - bool packaged (readonly)
  1730. - String name (readonly)
  1731. - unsigned checksum (readonly)
  1732. - unsigned position (readonly)
  1733. - unsigned size (readonly)
  1734. - bool eof (readonly)
  1735. <a name="Class_FileSelector"></a>
  1736. ### FileSelector : Object
  1737. Methods:
  1738. - FileSelector() (GC)
  1739. - FileSelector* new()
  1740. - void delete()
  1741. - void SetDefaultStyle(XMLFile* style)
  1742. - void SetTitle(const String text)
  1743. - void SetButtonTexts(const String okText, const String cancelText)
  1744. - void SetPath(const String path)
  1745. - void SetFileName(const String fileName)
  1746. - void SetFilters(const Vector<String>& filters, unsigned defaultIndex)
  1747. - void SetDirectoryMode(bool enable)
  1748. - void UpdateElements()
  1749. - XMLFile* GetDefaultStyle() const
  1750. - Window* GetWindow() const
  1751. - Text* GetTitleText() const
  1752. - ListView* GetFileList() const
  1753. - LineEdit* GetPathEdit() const
  1754. - LineEdit* GetFileNameEdit() const
  1755. - DropDownList* GetFilterList() const
  1756. - Button* GetOKButton() const
  1757. - Button* GetCancelButton() const
  1758. - Button* GetCloseButton() const
  1759. - const String GetTitle() const
  1760. - const String GetPath() const
  1761. - const String GetFileName() const
  1762. - const String GetFilter() const
  1763. - unsigned GetFilterIndex() const
  1764. - bool GetDirectoryMode() const
  1765. Properties:
  1766. - XMLFile* defaultStyle
  1767. - Window* window (readonly)
  1768. - Text* titleText (readonly)
  1769. - ListView* fileList (readonly)
  1770. - LineEdit* pathEdit (readonly)
  1771. - LineEdit* fileNameEdit (readonly)
  1772. - DropDownList* filterList (readonly)
  1773. - Button* OKButton (readonly)
  1774. - Button* cancelButton (readonly)
  1775. - Button* closeButton (readonly)
  1776. - String title
  1777. - String path
  1778. - String fileName
  1779. - String filter (readonly)
  1780. - unsigned filterIndex (readonly)
  1781. - bool directoryMode
  1782. <a name="Class_FileSelectorEntry"></a>
  1783. ### FileSelectorEntry
  1784. Properties:
  1785. - String name
  1786. - bool directory
  1787. <a name="Class_FileSystem"></a>
  1788. ### FileSystem : Object
  1789. Methods:
  1790. - bool SetCurrentDir(const String pathName)
  1791. - bool CreateDir(const String pathName)
  1792. - void SetExecuteConsoleCommands(bool enable)
  1793. - int SystemCommand(const String commandLine, bool redirectStdOutToLog = false)
  1794. - int SystemRun(const String fileName, const Vector<String>& arguments)
  1795. - unsigned SystemCommandAsync(const String commandLine)
  1796. - unsigned SystemRunAsync(const String fileName, const Vector<String>& arguments)
  1797. - bool SystemOpen(const String fileName, const String mode = String::EMPTY)
  1798. - bool Copy(const String srcFileName, const String destFileName)
  1799. - bool Rename(const String srcFileName, const String destFileName)
  1800. - bool Delete(const String fileName)
  1801. - bool SetLastModifiedTime(const String fileName, unsigned newTime)
  1802. - String GetCurrentDir() const
  1803. - bool GetExecuteConsoleCommands() const
  1804. - bool HasRegisteredPaths() const
  1805. - bool CheckAccess(const String pathName) const
  1806. - unsigned GetLastModifiedTime(const String fileName) const
  1807. - bool FileExists(const String fileName) const
  1808. - bool DirExists(const String pathName) const
  1809. - const Vector<String>& ScanDir(const String pathName, const String filter, unsigned flags, bool recursive) const
  1810. - String GetProgramDir() const
  1811. - String GetUserDocumentsDir() const
  1812. - String GetAppPreferencesDir(const String org, const String app) const
  1813. <a name="Class_FocusParameters"></a>
  1814. ### FocusParameters
  1815. Methods:
  1816. - FocusParameters() (GC)
  1817. - FocusParameters* new()
  1818. - FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView) (GC)
  1819. - FocusParameters* new(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
  1820. - void delete()
  1821. <a name="Class_Font"></a>
  1822. ### Font : Resource
  1823. Methods:
  1824. - void SetAbsoluteGlyphOffset(const IntVector2& offset)
  1825. - void SetScaledGlyphOffset(const Vector2& offset)
  1826. - const IntVector2& GetAbsoluteGlyphOffset() const
  1827. - const Vector2& GetScaledGlyphOffset() const
  1828. - IntVector2 GetTotalGlyphOffset(int pointSize) const
  1829. - bool IsSDFFont() const
  1830. Properties:
  1831. - IntVector2 absoluteGlyphOffset
  1832. - Vector2 scaledGlyphOffset
  1833. <a name="Class_Frustum"></a>
  1834. ### Frustum
  1835. Methods:
  1836. - Frustum() (GC)
  1837. - Frustum* new()
  1838. - Frustum(const Frustum& frustum) (GC)
  1839. - Frustum* new(const Frustum& frustum)
  1840. - void delete()
  1841. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ)
  1842. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform)
  1843. - void Define(const Vector3& near, const Vector3& far)
  1844. - void Define(const Vector3& near, const Vector3& far, const Matrix3x4& transform)
  1845. - void Define(const BoundingBox& box)
  1846. - void Define(const BoundingBox& box, const Matrix3x4& transform)
  1847. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ)
  1848. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform)
  1849. - void Transform(const Matrix3& transform)
  1850. - void Transform(const Matrix3x4& transform)
  1851. - Intersection IsInside(const Vector3& point) const
  1852. - Intersection IsInside(const Sphere& sphere) const
  1853. - Intersection IsInsideFast(const Sphere& sphere) const
  1854. - Intersection IsInside(const BoundingBox& box) const
  1855. - Intersection IsInsideFast(const BoundingBox& box) const
  1856. - float Distance(const Vector3& point) const
  1857. - Frustum Transformed(const Matrix3& transform) const
  1858. - Frustum Transformed(const Matrix3x4& transform) const
  1859. - Rect Projected(const Matrix4& transform) const
  1860. - void UpdatePlanes()
  1861. <a name="Class_Graphics"></a>
  1862. ### Graphics : Object
  1863. Methods:
  1864. - void SetWindowTitle(const String windowTitle)
  1865. - void SetWindowIcon(Image* windowIcon)
  1866. - void SetWindowPosition(const IntVector2& position)
  1867. - void SetWindowPosition(int x, int y)
  1868. - bool SetMode(int width, int height, bool fullscreen, bool borderless, bool resizable, bool vsync, bool tripleBuffer, int multiSample)
  1869. - bool SetMode(int width, int height)
  1870. - void SetSRGB(bool enable)
  1871. - void SetFlushGPU(bool enable)
  1872. - void SetOrientations(const String orientations)
  1873. - bool ToggleFullscreen()
  1874. - void Maximize()
  1875. - void Minimize()
  1876. - void Close()
  1877. - bool TakeScreenShot(Image& destImage)
  1878. - void BeginDumpShaders(const String fileName)
  1879. - void EndDumpShaders()
  1880. - void PrecacheShaders(Deserializer& source)
  1881. - void PrecacheShaders(const String fileName)
  1882. - bool IsInitialized() const
  1883. - void* GetExternalWindow() const
  1884. - const String GetWindowTitle() const
  1885. - IntVector2 GetWindowPosition() const
  1886. - int GetWidth() const
  1887. - int GetHeight() const
  1888. - int GetMultiSample() const
  1889. - bool GetFullscreen() const
  1890. - bool GetResizable() const
  1891. - bool GetBorderless() const
  1892. - bool GetVSync() const
  1893. - bool GetTripleBuffer() const
  1894. - bool GetSRGB() const
  1895. - bool GetFlushGPU() const
  1896. - const String GetOrientations() const
  1897. - bool IsDeviceLost() const
  1898. - unsigned GetNumPrimitives() const
  1899. - unsigned GetNumBatches() const
  1900. - unsigned GetDummyColorFormat() const
  1901. - unsigned GetShadowMapFormat() const
  1902. - unsigned GetHiresShadowMapFormat() const
  1903. - bool GetSM3Support() const
  1904. - bool GetInstancingSupport() const
  1905. - bool GetLightPrepassSupport() const
  1906. - bool GetDeferredSupport() const
  1907. - bool GetHardwareShadowSupport() const
  1908. - bool GetReadableDepthSupport() const
  1909. - bool GetStreamOffsetSupport() const
  1910. - bool GetSRGBSupport() const
  1911. - bool GetSRGBWriteSupport() const
  1912. - IntVector2 GetDesktopResolution() const
  1913. - unsigned GetAlphaFormat()
  1914. - unsigned GetLuminanceFormat()
  1915. - unsigned GetLuminanceAlphaFormat()
  1916. - unsigned GetRGBFormat()
  1917. - unsigned GetRGBAFormat()
  1918. - unsigned GetRGBA16Format()
  1919. - unsigned GetRGBAFloat16Format()
  1920. - unsigned GetRGBAFloat32Format()
  1921. - unsigned GetRG16Format()
  1922. - unsigned GetRGFloat16Format()
  1923. - unsigned GetRGFloat32Format()
  1924. - unsigned GetFloat16Format()
  1925. - unsigned GetFloat32Format()
  1926. - unsigned GetLinearDepthFormat()
  1927. - unsigned GetDepthStencilFormat()
  1928. - unsigned GetReadableDepthFormat()
  1929. - unsigned GetFormat(const String formatName)
  1930. Properties:
  1931. - bool initialized (readonly)
  1932. - String windowTitle
  1933. - IntVector2 windowPosition
  1934. - int width (readonly)
  1935. - int height (readonly)
  1936. - int multiSample (readonly)
  1937. - bool fullscreen (readonly)
  1938. - bool resizable (readonly)
  1939. - bool borderless (readonly)
  1940. - bool vSync (readonly)
  1941. - bool tripleBuffer (readonly)
  1942. - bool sRGB
  1943. - bool flushGPU
  1944. - String orientations
  1945. - bool deviceLost (readonly)
  1946. - unsigned numPrimitives (readonly)
  1947. - unsigned numBatches (readonly)
  1948. - unsigned dummyColorFormat (readonly)
  1949. - unsigned shadowMapFormat (readonly)
  1950. - unsigned hiresShadowMapFormat (readonly)
  1951. - bool SM3Support (readonly)
  1952. - bool instancingSupport (readonly)
  1953. - bool lightPrepassSupport (readonly)
  1954. - bool deferredSupport (readonly)
  1955. - bool hardwareShadowSupport (readonly)
  1956. - bool readableDepthSupport (readonly)
  1957. - bool streamOffsetSupport (readonly)
  1958. - bool sRGBSupport (readonly)
  1959. - bool sRGBWriteSupport (readonly)
  1960. - IntVector2 desktopResolution (readonly)
  1961. <a name="Class_HttpRequest"></a>
  1962. ### HttpRequest : Deserializer
  1963. Methods:
  1964. - const String GetURL() const
  1965. - const String GetVerb() const
  1966. - String GetError() const
  1967. - HttpRequestState GetState() const
  1968. - unsigned GetAvailableSize() const
  1969. - bool IsOpen() const
  1970. Properties:
  1971. - String URL (readonly)
  1972. - String verb (readonly)
  1973. - String error (readonly)
  1974. - HttpRequestState state (readonly)
  1975. - unsigned availableSize (readonly)
  1976. - bool open (readonly)
  1977. <a name="Class_Image"></a>
  1978. ### Image : Resource
  1979. Methods:
  1980. - Image() (GC)
  1981. - Image* new()
  1982. - void delete()
  1983. - bool SetSize(int width, int height, unsigned components)
  1984. - bool SetSize(int width, int height, int depth, unsigned components)
  1985. - void SetPixel(int x, int y, const Color& color)
  1986. - void SetPixel(int x, int y, int z, const Color& color)
  1987. - void SetPixelInt(int x, int y, unsigned uintColor)
  1988. - void SetPixelInt(int x, int y, int z, unsigned uintColor)
  1989. - bool LoadColorLUT(Deserializer& source)
  1990. - bool LoadColorLUT(const String fileName)
  1991. - bool FlipHorizontal()
  1992. - bool FlipVertical()
  1993. - bool Resize(int width, int height)
  1994. - void Clear(const Color& color)
  1995. - void ClearInt(unsigned uintColor)
  1996. - bool SaveBMP(const String fileName) const
  1997. - bool SavePNG(const String fileName) const
  1998. - bool SaveTGA(const String fileName) const
  1999. - bool SaveJPG(const String fileName, int quality) const
  2000. - Color GetPixel(int x, int y) const
  2001. - Color GetPixel(int x, int y, int z) const
  2002. - unsigned GetPixelInt(int x, int y) const
  2003. - unsigned GetPixelInt(int x, int y, int z) const
  2004. - Color GetPixelBilinear(float x, float y) const
  2005. - Color GetPixelTrilinear(float x, float y, float z) const
  2006. - int GetWidth() const
  2007. - int GetHeight() const
  2008. - int GetDepth() const
  2009. - unsigned GetComponents() const
  2010. - bool IsCompressed() const
  2011. - CompressedFormat GetCompressedFormat() const
  2012. - unsigned GetNumCompressedLevels() const
  2013. - Image* GetSubimage(const IntRect& rect) const
  2014. Properties:
  2015. - int width (readonly)
  2016. - int height (readonly)
  2017. - int depth (readonly)
  2018. - unsigned components (readonly)
  2019. - bool compressed (readonly)
  2020. - CompressedFormat compressedFormat (readonly)
  2021. - unsigned numCompressedLevels (readonly)
  2022. <a name="Class_Input"></a>
  2023. ### Input : Object
  2024. Methods:
  2025. - void SetToggleFullscreen(bool enable)
  2026. - void SetMouseVisible(bool enable, bool suppressEvent = false)
  2027. - void SetMouseGrabbed(bool grab)
  2028. - void SetMouseMode(MouseMode mode)
  2029. - int AddScreenJoystick(XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
  2030. - bool RemoveScreenJoystick(int id)
  2031. - void SetScreenJoystickVisible(int id, bool enable)
  2032. - void SetScreenKeyboardVisible(bool enable)
  2033. - void SetTouchEmulation(bool enable)
  2034. - bool RecordGesture()
  2035. - bool SaveGestures(File* dest)
  2036. - bool SaveGesture(File* dest, unsigned gestureID)
  2037. - unsigned LoadGestures(File* source)
  2038. - bool SaveGestures(const String fileName)
  2039. - bool SaveGesture(const String fileName, unsigned gestureID)
  2040. - unsigned LoadGestures(const String fileName)
  2041. - bool RemoveGesture(unsigned gestureID)
  2042. - void RemoveAllGestures()
  2043. - int GetKeyFromName(const String name) const
  2044. - int GetKeyFromScancode(int scancode) const
  2045. - String GetKeyName(int key) const
  2046. - int GetScancodeFromKey(int key) const
  2047. - int GetScancodeFromName(const String name) const
  2048. - String GetScancodeName(int scancode) const
  2049. - bool GetKeyDown(int key) const
  2050. - bool GetKeyPress(int key) const
  2051. - bool GetScancodeDown(int scancode) const
  2052. - bool GetScancodePress(int scancode) const
  2053. - bool GetMouseButtonDown(int button) const
  2054. - bool GetMouseButtonPress(int button) const
  2055. - bool GetQualifierDown(int qualifier) const
  2056. - bool GetQualifierPress(int qualifier) const
  2057. - int GetQualifiers() const
  2058. - IntVector2 GetMousePosition() const
  2059. - const IntVector2& GetMouseMove() const
  2060. - int GetMouseMoveX() const
  2061. - int GetMouseMoveY() const
  2062. - int GetMouseMoveWheel() const
  2063. - unsigned GetNumTouches() const
  2064. - TouchState* GetTouch(unsigned index) const
  2065. - unsigned GetNumJoysticks() const
  2066. - JoystickState* GetJoystick(int id)
  2067. - JoystickState* GetJoystickByIndex(unsigned index)
  2068. - bool GetToggleFullscreen() const
  2069. - bool GetScreenKeyboardSupport() const
  2070. - bool IsScreenJoystickVisible(int id) const
  2071. - bool IsScreenKeyboardVisible() const
  2072. - bool GetTouchEmulation() const
  2073. - bool IsMouseVisible() const
  2074. - bool IsMouseGrabbed() const
  2075. - MouseMode GetMouseMode() const
  2076. - bool HasFocus()
  2077. - bool IsMinimized() const
  2078. Properties:
  2079. - int qualifiers (readonly)
  2080. - IntVector2 mousePosition (readonly)
  2081. - IntVector2& mouseMove (readonly)
  2082. - int mouseMoveX (readonly)
  2083. - int mouseMoveY (readonly)
  2084. - int mouseMoveWheel (readonly)
  2085. - unsigned numTouches (readonly)
  2086. - unsigned numJoysticks (readonly)
  2087. - bool toggleFullscreen (readonly)
  2088. - bool screenKeyboardSupport (readonly)
  2089. - MouseMode mouseMode
  2090. - bool screenKeyboardVisible
  2091. - bool touchEmulation
  2092. - bool mouseVisible
  2093. - bool mouseGrabbed
  2094. - bool focus (readonly)
  2095. - bool minimized (readonly)
  2096. <a name="Class_IntRect"></a>
  2097. ### IntRect
  2098. Methods:
  2099. - IntRect() (GC)
  2100. - IntRect* new()
  2101. - IntRect(int left, int top, int right, int bottom) (GC)
  2102. - IntRect* new(int left, int top, int right, int bottom)
  2103. - void delete()
  2104. - bool operator==(const IntRect& rhs) const
  2105. - IntVector2 Size() const
  2106. - int Width() const
  2107. - int Height() const
  2108. - Intersection IsInside(const IntVector2& point) const
  2109. Properties:
  2110. - int left
  2111. - int top
  2112. - int right
  2113. - int bottom
  2114. - const IntRect ZERO
  2115. - IntVector2 size (readonly)
  2116. - int width (readonly)
  2117. - int height (readonly)
  2118. <a name="Class_IntVector2"></a>
  2119. ### IntVector2
  2120. Methods:
  2121. - IntVector2() (GC)
  2122. - IntVector2* new()
  2123. - IntVector2(int x, int y) (GC)
  2124. - IntVector2* new(int x, int y)
  2125. - IntVector2(const IntVector2& rhs) (GC)
  2126. - IntVector2* new(const IntVector2& rhs)
  2127. - void delete()
  2128. - bool operator==(const IntVector2& rhs) const
  2129. - IntVector2 operator+(const IntVector2& rhs) const
  2130. - IntVector2 operator-() const
  2131. - IntVector2 operator-(const IntVector2& rhs) const
  2132. - IntVector2 operator*(int rhs) const
  2133. - IntVector2 operator/(int rhs) const
  2134. - IntVector2 operator/(int rhs) const
  2135. - String ToString() const
  2136. Properties:
  2137. - int x
  2138. - int y
  2139. - const IntVector2 ZERO
  2140. <a name="Class_JSONFile"></a>
  2141. ### JSONFile : Resource
  2142. Methods:
  2143. - JSONFile() (GC)
  2144. - JSONFile* new()
  2145. - void delete()
  2146. - JSONValue CreateRoot(JSONValueType valueType = JSON_OBJECT)
  2147. - JSONValue GetRoot(JSONValueType valueType = JSON_ANY)
  2148. <a name="Class_JSONValue"></a>
  2149. ### JSONValue
  2150. Methods:
  2151. - bool IsNull() const
  2152. - bool NotNull() const
  2153. - bool operatorbool() const
  2154. - JSONValue CreateChild(const String name, JSONValueType valueType = JSON_OBJECT)
  2155. - JSONValue GetChild(const String name, JSONValueType valueType = JSON_ANY) const
  2156. - void SetInt(const String name, int value)
  2157. - void SetBool(const String name, bool value)
  2158. - void SetFloat(const String name, float value)
  2159. - void SetVector2(const String name, const Vector2& value)
  2160. - void SetVector3(const String name, const Vector3& value)
  2161. - void SetVector4(const String name, const Vector4& value)
  2162. - void SetVectorVariant(const String name, const Variant& value)
  2163. - void SetQuaternion(const String name, const Quaternion& value)
  2164. - void SetColor(const String name, const Color& value)
  2165. - void SetString(const String name, const String value)
  2166. - void SetResourceRef(const String name, const ResourceRef& value)
  2167. - void SetResourceRefList(const String name, const ResourceRefList& value)
  2168. - void SetIntRect(const String name, const IntRect& value)
  2169. - void SetIntVector2(const String name, const IntVector2& value)
  2170. - void SetMatrix3(const String name, const Matrix3& value)
  2171. - void SetMatrix3x4(const String name, const Matrix3x4& value)
  2172. - void SetMatrix4(const String name, const Matrix4& value)
  2173. - void SetVariant(const String name, const Variant& value)
  2174. - void SetVariantValue(const String name, const Variant& value)
  2175. - bool IsObject() const
  2176. - Vector<String> GetChildNames() const
  2177. - Vector<String> GetValueNames() const
  2178. - int GetInt(const String name) const
  2179. - bool GetBool(const String name) const
  2180. - float GetFloat(const String name) const
  2181. - Vector2 GetVector2(const String name) const
  2182. - Vector3 GetVector3(const String name) const
  2183. - Vector4 GetVector4(const String name) const
  2184. - Variant GetVectorVariant(const String name) const
  2185. - Quaternion GetQuaternion(const String name) const
  2186. - Color GetColor(const String name) const
  2187. - String GetString(const String name) const
  2188. - const char* GetCString(const String name) const
  2189. - ResourceRef GetResourceRef(const String name) const
  2190. - ResourceRefList GetResourceRefList(const String name) const
  2191. - IntRect GetIntRect(const String name) const
  2192. - IntVector2 GetIntVector2(const String name) const
  2193. - Matrix3 GetMatrix3(const String name) const
  2194. - Matrix3x4 GetMatrix3x4(const String name) const
  2195. - Matrix4 GetMatrix4(const String name) const
  2196. - Variant GetVariant(const String name) const
  2197. - Variant GetVariantValue(const String name, VariantType type) const
  2198. - JSONValue CreateChild(JSONValueType valueType = JSON_OBJECT)
  2199. - JSONValue GetChild(unsigned index, JSONValueType valueType = JSON_ANY) const
  2200. - void AddInt(int value)
  2201. - void AddBool(bool value)
  2202. - void AddFloat(float value)
  2203. - void AddVector2(const Vector2& value)
  2204. - void AddVector3(const Vector3& value)
  2205. - void AddVector4(const Vector4& value)
  2206. - void AddVectorVariant(const Variant& value)
  2207. - void AddQuaternion(const Quaternion& value)
  2208. - void AddColor(const Color& value)
  2209. - void AddString(const String value)
  2210. - void AddResourceRef(const ResourceRef& value)
  2211. - void AddResourceRefList(const ResourceRefList& value)
  2212. - void AddIntRect(const IntRect& value)
  2213. - void AddIntVector2(const IntVector2& value)
  2214. - void AddMatrix3(const Matrix3& value)
  2215. - void AddMatrix3x4(const Matrix3x4& value)
  2216. - void AddMatrix4(const Matrix4& value)
  2217. - void AddVariant(const Variant& value)
  2218. - void AddVariantValue(const Variant& value)
  2219. - bool IsArray() const
  2220. - unsigned GetSize() const
  2221. - int GetInt(unsigned index) const
  2222. - bool GetBool(unsigned index) const
  2223. - float GetFloat(unsigned index) const
  2224. - Vector2 GetVector2(unsigned index) const
  2225. - Vector3 GetVector3(unsigned index) const
  2226. - Vector4 GetVector4(unsigned index) const
  2227. - Variant GetVectorVariant(unsigned index) const
  2228. - Quaternion GetQuaternion(unsigned index) const
  2229. - Color GetColor(unsigned index) const
  2230. - String GetString(unsigned index) const
  2231. - const char* GetCString(unsigned index) const
  2232. - ResourceRef GetResourceRef(unsigned index) const
  2233. - ResourceRefList GetResourceRefList(unsigned index) const
  2234. - IntRect GetIntRect(unsigned index) const
  2235. - IntVector2 GetIntVector2(unsigned index) const
  2236. - Matrix3 GetMatrix3(unsigned index) const
  2237. - Matrix3x4 GetMatrix3x4(unsigned index) const
  2238. - Matrix4 GetMatrix4(unsigned index) const
  2239. - Variant GetVariant(unsigned index) const
  2240. - Variant GetVariantValue(unsigned index, VariantType type) const
  2241. Properties:
  2242. - const JSONValue EMPTY
  2243. - bool null (readonly)
  2244. - bool object (readonly)
  2245. - bool array (readonly)
  2246. <a name="Class_JoystickState"></a>
  2247. ### JoystickState
  2248. Methods:
  2249. - bool IsController() const
  2250. - unsigned GetNumButtons() const
  2251. - unsigned GetNumAxes() const
  2252. - unsigned GetNumHats() const
  2253. - bool GetButtonDown(unsigned index) const
  2254. - bool GetButtonPress(unsigned index) const
  2255. - float GetAxisPosition(unsigned index) const
  2256. - int GetHatPosition(unsigned index) const
  2257. Properties:
  2258. - const String name
  2259. - const int joystickID
  2260. - bool controller (readonly)
  2261. - unsigned numButtons (readonly)
  2262. - unsigned numAxes (readonly)
  2263. - unsigned numHats (readonly)
  2264. <a name="Class_Light"></a>
  2265. ### Light : Drawable
  2266. Methods:
  2267. - void SetLightType(LightType type)
  2268. - void SetPerVertex(bool enable)
  2269. - void SetColor(const Color& color)
  2270. - void SetSpecularIntensity(float intensity)
  2271. - void SetBrightness(float brightness)
  2272. - void SetRange(float range)
  2273. - void SetFov(float fov)
  2274. - void SetAspectRatio(float aspectRatio)
  2275. - void SetFadeDistance(float distance)
  2276. - void SetShadowFadeDistance(float distance)
  2277. - void SetShadowBias(const BiasParameters& parameters)
  2278. - void SetShadowCascade(const CascadeParameters& parameters)
  2279. - void SetShadowFocus(const FocusParameters& parameters)
  2280. - void SetShadowIntensity(float intensity)
  2281. - void SetShadowResolution(float resolution)
  2282. - void SetShadowNearFarRatio(float nearFarRatio)
  2283. - void SetRampTexture(Texture* texture)
  2284. - void SetShapeTexture(Texture* texture)
  2285. - LightType GetLightType() const
  2286. - bool GetPerVertex() const
  2287. - const Color& GetColor() const
  2288. - float GetSpecularIntensity() const
  2289. - float GetBrightness() const
  2290. - Color GetEffectiveColor() const
  2291. - float GetEffectiveSpecularIntensity() const
  2292. - float GetRange() const
  2293. - float GetFov() const
  2294. - float GetAspectRatio() const
  2295. - float GetFadeDistance() const
  2296. - float GetShadowFadeDistance() const
  2297. - const BiasParameters& GetShadowBias() const
  2298. - const CascadeParameters& GetShadowCascade() const
  2299. - const FocusParameters& GetShadowFocus() const
  2300. - float GetShadowIntensity() const
  2301. - float GetShadowResolution() const
  2302. - float GetShadowNearFarRatio() const
  2303. - Texture* GetRampTexture() const
  2304. - Texture* GetShapeTexture() const
  2305. - Frustum GetFrustum() const
  2306. - int GetNumShadowSplits() const
  2307. - bool IsNegative() const
  2308. Properties:
  2309. - LightType lightType
  2310. - bool perVertex
  2311. - Color& color
  2312. - float specularIntensity
  2313. - float brightness
  2314. - float range
  2315. - float fov
  2316. - float aspectRatio
  2317. - float fadeDistance
  2318. - float shadowFadeDistance
  2319. - BiasParameters& shadowBias
  2320. - CascadeParameters& shadowCascade
  2321. - FocusParameters& shadowFocus
  2322. - float shadowIntensity
  2323. - float shadowResolution
  2324. - float shadowNearFarRatio
  2325. - Texture* rampTexture
  2326. - Texture* shapeTexture
  2327. - Frustum frustum (readonly)
  2328. - int numShadowSplits (readonly)
  2329. - bool negative (readonly)
  2330. - Color effectiveColor (readonly)
  2331. - float effectiveSpecularIntensity (readonly)
  2332. <a name="Class_LineEdit"></a>
  2333. ### LineEdit : BorderImage
  2334. Methods:
  2335. - LineEdit() (GC)
  2336. - LineEdit* new()
  2337. - void delete()
  2338. - void SetText(const String text)
  2339. - void SetCursorPosition(unsigned position)
  2340. - void SetCursorBlinkRate(float rate)
  2341. - void SetMaxLength(unsigned length)
  2342. - void SetEchoCharacter(unsigned c)
  2343. - void SetCursorMovable(bool enable)
  2344. - void SetTextSelectable(bool enable)
  2345. - void SetTextCopyable(bool enable)
  2346. - const String GetText() const
  2347. - unsigned GetCursorPosition() const
  2348. - float GetCursorBlinkRate() const
  2349. - unsigned GetMaxLength() const
  2350. - unsigned GetEchoCharacter() const
  2351. - bool IsCursorMovable() const
  2352. - bool IsTextSelectable() const
  2353. - bool IsTextCopyable() const
  2354. - Text* GetTextElement() const
  2355. - BorderImage* GetCursor() const
  2356. Properties:
  2357. - String text
  2358. - unsigned cursorPosition
  2359. - float cursorBlinkRate
  2360. - unsigned maxLength
  2361. - unsigned echoCharacter
  2362. - bool cursorMovable
  2363. - bool textSelectable
  2364. - bool textCopyable
  2365. - Text* textElement (readonly)
  2366. - BorderImage* cursor (readonly)
  2367. <a name="Class_ListView"></a>
  2368. ### ListView : ScrollView
  2369. Methods:
  2370. - ListView() (GC)
  2371. - ListView* new()
  2372. - void delete()
  2373. - void AddItem(UIElement* item)
  2374. - void InsertItem(unsigned index, UIElement* item, UIElement* parentItem = 0)
  2375. - void RemoveItem(UIElement* item, unsigned index = 0)
  2376. - void RemoveItem(unsigned index)
  2377. - void RemoveAllItems()
  2378. - void SetSelection(unsigned index)
  2379. - void SetSelections(const PODVector<unsigned>& indices)
  2380. - void AddSelection(unsigned index)
  2381. - void RemoveSelection(unsigned index)
  2382. - void ToggleSelection(unsigned index)
  2383. - void ChangeSelection(int delta, bool additive = false)
  2384. - void ClearSelection()
  2385. - void SetHighlightMode(HighlightMode mode)
  2386. - void SetMultiselect(bool enable)
  2387. - void SetHierarchyMode(bool enable)
  2388. - void SetBaseIndent(int baseIndent)
  2389. - void SetClearSelectionOnDefocus(bool enable)
  2390. - void SetSelectOnClickEnd(bool enable)
  2391. - void Expand(unsigned index, bool enable, bool recursive = false)
  2392. - void ToggleExpand(unsigned index, bool recursive = false)
  2393. - unsigned GetNumItems() const
  2394. - UIElement* GetItem(unsigned index) const
  2395. - const PODVector<UIElement*>& GetItems() const
  2396. - unsigned FindItem(UIElement* item) const
  2397. - unsigned GetSelection() const
  2398. - const PODVector<unsigned>& GetSelections() const
  2399. - void CopySelectedItemsToClipboard() const
  2400. - UIElement* GetSelectedItem() const
  2401. - const PODVector<UIElement*>& GetSelectedItems() const
  2402. - bool IsSelected(unsigned index) const
  2403. - bool IsExpanded(unsigned index) const
  2404. - HighlightMode GetHighlightMode() const
  2405. - bool GetMultiselect() const
  2406. - bool GetClearSelectionOnDefocus() const
  2407. - bool GetSelectOnClickEnd() const
  2408. - bool GetHierarchyMode() const
  2409. - int GetBaseIndent() const
  2410. Properties:
  2411. - unsigned numItems (readonly)
  2412. - unsigned selection
  2413. - UIElement* selectedItem (readonly)
  2414. - HighlightMode highlightMode
  2415. - bool multiselect
  2416. - bool clearSelectionOnDefocus
  2417. - bool selectOnClickEnd
  2418. - bool hierarchyMode
  2419. - int baseIndent
  2420. <a name="Class_Log"></a>
  2421. ### Log : Object
  2422. Methods:
  2423. - void Open(const String fileName)
  2424. - void Close()
  2425. - void SetLevel(int level)
  2426. - void SetTimeStamp(bool enable)
  2427. - void SetQuiet(bool quiet)
  2428. - int GetLevel() const
  2429. - bool GetTimeStamp() const
  2430. - String GetLastMessage() const
  2431. - bool IsQuiet() const
  2432. - void Write(int level, const String message)
  2433. - void WriteRaw(const String message, bool error = false)
  2434. Properties:
  2435. - int level
  2436. - bool timeStamp
  2437. - bool quiet
  2438. <a name="Class_LuaScriptInstance"></a>
  2439. ### LuaScriptInstance : Component
  2440. Methods:
  2441. - bool CreateObject(const String scriptObjectType)
  2442. - bool CreateObject(LuaFile* scriptFile, const String scriptObjectType)
  2443. - void SetScriptFile(LuaFile* scriptFile)
  2444. - void SetScriptObjectType(const String scriptObjectType)
  2445. - void SubscribeToEvent(const String eventName, void* functionOrFunctionName)
  2446. - void SubscribeToEvent(void* sender, const String eventName, void* functionOrFunctionName)
  2447. - void UnsubscribeFromEvent(const String eventName)
  2448. - void UnsubscribeFromEvent(Object* sender, const String eventName)
  2449. - void UnsubscribeFromEvents(Object* sender)
  2450. - void UnsubscribeFromAllEvents()
  2451. - void UnsubscribeFromAllEventsExcept(const Vector<String>& exceptionNames)
  2452. - LuaFile* GetScriptFile() const
  2453. - const String GetScriptObjectType() const
  2454. Properties:
  2455. - const LuaFile* scriptFile
  2456. - const String scriptObjectType
  2457. <a name="Class_Material"></a>
  2458. ### Material : Resource
  2459. Methods:
  2460. - Material() (GC)
  2461. - Material* new()
  2462. - void delete()
  2463. - void SetNumTechniques(unsigned num)
  2464. - void SetTechnique(unsigned index, Technique* tech, unsigned qualityLevel = 0, float lodDistance = 0.0f)
  2465. - void SetShaderParameter(const String name, const Variant& value)
  2466. - void SetShaderParameterAnimation(const String name, ValueAnimation* animation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
  2467. - void SetShaderParameterAnimationWrapMode(const String name, WrapMode wrapMode)
  2468. - void SetShaderParameterAnimationSpeed(const String name, float speed)
  2469. - void SetTexture(TextureUnit unit, Texture* texture)
  2470. - void SetUVTransform(const Vector2& offset, float rotation, const Vector2& repeat)
  2471. - void SetUVTransform(const Vector2& offset, float rotation, float repeat)
  2472. - void SetCullMode(CullMode mode)
  2473. - void SetShadowCullMode(CullMode mode)
  2474. - void SetDepthBias(const BiasParameters& parameters)
  2475. - void SetScene(Scene* scene)
  2476. - void RemoveShaderParameter(const String name)
  2477. - void ReleaseShaders()
  2478. - Material* Clone(const String cloneName = String::EMPTY) const
  2479. - void SortTechniques()
  2480. - void MarkForAuxView(unsigned frameNumber)
  2481. - unsigned GetNumTechniques() const
  2482. - Technique* GetTechnique(unsigned index) const
  2483. - Pass* GetPass(unsigned index, StringHash passType) const
  2484. - Pass* GetPass(unsigned index, const String passType) const
  2485. - Texture* GetTexture(TextureUnit unit) const
  2486. - ValueAnimation* GetShaderParameterAnimation(const String name) const
  2487. - WrapMode GetShaderParameterAnimationWrapMode(const String name) const
  2488. - float GetShaderParameterAnimationSpeed(const String name) const
  2489. - CullMode GetCullMode() const
  2490. - CullMode GetShadowCullMode() const
  2491. - const BiasParameters& GetDepthBias() const
  2492. - unsigned GetAuxViewFrameNumber() const
  2493. - unsigned GetNumUsedTextureUnits() const
  2494. - bool GetOcclusion() const
  2495. - bool GetSpecular() const
  2496. - Scene* GetScene() const
  2497. Properties:
  2498. - CullMode cullMode (readonly)
  2499. - CullMode shadowCullMode (readonly)
  2500. - unsigned auxViewFrameNumber (readonly)
  2501. - unsigned numUsedTextureUnits (readonly)
  2502. - bool occlusion (readonly)
  2503. - bool specular (readonly)
  2504. - Scene* scene
  2505. <a name="Class_Matrix3"></a>
  2506. ### Matrix3
  2507. Methods:
  2508. - Matrix3() (GC)
  2509. - Matrix3* new()
  2510. - Matrix3(const Matrix3& matrix) (GC)
  2511. - Matrix3* new(const Matrix3& matrix)
  2512. - Matrix3(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22) (GC)
  2513. - Matrix3* new(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22)
  2514. - void delete()
  2515. - bool operator==(const Matrix3& rhs) const
  2516. - Vector3 operator*(const Vector3& rhs) const
  2517. - Matrix3 operator+(const Matrix3& rhs) const
  2518. - Matrix3 operator-(const Matrix3& rhs) const
  2519. - Matrix3 operator*(float rhs) const
  2520. - Matrix3 operator*(const Matrix3& rhs) const
  2521. - void SetScale(const Vector3& scale)
  2522. - void SetScale(float scale)
  2523. - Vector3 Scale() const
  2524. - Matrix3 Transpose() const
  2525. - Matrix3 Scaled(const Vector3& scale) const
  2526. - bool Equals(const Matrix3& rhs) const
  2527. - Matrix3 Inverse() const
  2528. - String ToString() const
  2529. Properties:
  2530. - float m00
  2531. - float m01
  2532. - float m02
  2533. - float m10
  2534. - float m11
  2535. - float m12
  2536. - float m20
  2537. - float m21
  2538. - float m22
  2539. - const Matrix3 ZERO
  2540. - const Matrix3 IDENTITY
  2541. <a name="Class_Matrix3x4"></a>
  2542. ### Matrix3x4
  2543. Methods:
  2544. - Matrix3x4() (GC)
  2545. - Matrix3x4* new()
  2546. - Matrix3x4(const Matrix3x4& matrix) (GC)
  2547. - Matrix3x4* new(const Matrix3x4& matrix)
  2548. - Matrix3x4(const Matrix3& matrix) (GC)
  2549. - Matrix3x4* new(const Matrix3& matrix)
  2550. - Matrix3x4(const Matrix4& matrix) (GC)
  2551. - Matrix3x4* new(const Matrix4& matrix)
  2552. - Matrix3x4(float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23) (GC)
  2553. - Matrix3x4* new(float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23)
  2554. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, float scale) (GC)
  2555. - Matrix3x4* new(const Vector3& translation, const Quaternion& rotation, float scale)
  2556. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, const Vector3& scale) (GC)
  2557. - Matrix3x4* new(const Vector3& translation, const Quaternion& rotation, const Vector3& scale)
  2558. - void delete()
  2559. - bool operator==(const Matrix3x4& rhs) const
  2560. - Vector3 operator*(const Vector3& rhs) const
  2561. - Vector3 operator*(const Vector4& rhs) const
  2562. - Matrix3x4 operator+(const Matrix3x4& rhs) const
  2563. - Matrix3x4 operator-(const Matrix3x4& rhs) const
  2564. - Matrix3x4 operator*(float rhs) const
  2565. - Matrix3x4 operator*(const Matrix3x4& rhs) const
  2566. - Matrix4 operator*(const Matrix4& rhs) const
  2567. - void SetTranslation(const Vector3& translation)
  2568. - void SetRotation(const Matrix3& rotation)
  2569. - void SetScale(const Vector3& scale)
  2570. - void SetScale(float scale)
  2571. - Matrix3 ToMatrix3() const
  2572. - Matrix4 ToMatrix4() const
  2573. - Matrix3 RotationMatrix() const
  2574. - Vector3 Translation() const
  2575. - Quaternion Rotation() const
  2576. - Vector3 Scale() const
  2577. - bool Equals(const Matrix3x4& rhs) const
  2578. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2579. - Matrix3x4 Inverse() const
  2580. - String ToString() const
  2581. Properties:
  2582. - float m00
  2583. - float m01
  2584. - float m02
  2585. - float m03
  2586. - float m10
  2587. - float m11
  2588. - float m12
  2589. - float m13
  2590. - float m20
  2591. - float m21
  2592. - float m22
  2593. - float m23
  2594. - const Matrix3x4 ZERO
  2595. - const Matrix3x4 IDENTITY
  2596. <a name="Class_Matrix4"></a>
  2597. ### Matrix4
  2598. Methods:
  2599. - Matrix4() (GC)
  2600. - Matrix4* new()
  2601. - Matrix4(const Matrix4& matrix) (GC)
  2602. - Matrix4* new(const Matrix4& matrix)
  2603. - Matrix4(const Matrix3& matrix) (GC)
  2604. - Matrix4* new(const Matrix3& matrix)
  2605. - Matrix4(float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23, float v30, float v31, float v32, float v33) (GC)
  2606. - Matrix4* new(float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23, float v30, float v31, float v32, float v33)
  2607. - void delete()
  2608. - bool operator==(const Matrix4& rhs) const
  2609. - Vector3 operator*(const Vector3& rhs) const
  2610. - Vector4 operator*(const Vector4& rhs) const
  2611. - Matrix4 operator+(const Matrix4& rhs) const
  2612. - Matrix4 operator-(const Matrix4& rhs) const
  2613. - Matrix4 operator*(float rhs) const
  2614. - Matrix4 operator*(const Matrix4& rhs) const
  2615. - Matrix4 operator*(const Matrix3x4& rhs) const
  2616. - void SetTranslation(const Vector3& translation)
  2617. - void SetRotation(const Matrix3& rotation)
  2618. - void SetScale(const Vector3& scale)
  2619. - void SetScale(float scale)
  2620. - Matrix3 ToMatrix3() const
  2621. - Matrix3 RotationMatrix() const
  2622. - Vector3 Translation() const
  2623. - Quaternion Rotation() const
  2624. - Vector3 Scale() const
  2625. - Matrix4 Transpose() const
  2626. - bool Equals(const Matrix4& rhs) const
  2627. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2628. - Matrix4 Inverse() const
  2629. - String ToString() const
  2630. Properties:
  2631. - float m00
  2632. - float m01
  2633. - float m02
  2634. - float m03
  2635. - float m10
  2636. - float m11
  2637. - float m12
  2638. - float m13
  2639. - float m20
  2640. - float m21
  2641. - float m22
  2642. - float m23
  2643. - float m30
  2644. - float m31
  2645. - float m32
  2646. - float m33
  2647. - const Matrix4 ZERO
  2648. - const Matrix4 IDENTITY
  2649. <a name="Class_Menu"></a>
  2650. ### Menu : Button
  2651. Methods:
  2652. - Menu() (GC)
  2653. - Menu* new()
  2654. - void delete()
  2655. - void SetPopup(UIElement* element)
  2656. - void SetPopupOffset(const IntVector2& offset)
  2657. - void SetPopupOffset(int x, int y)
  2658. - void ShowPopup(bool enable)
  2659. - void SetAccelerator(int key, int qualifiers)
  2660. - UIElement* GetPopup() const
  2661. - const IntVector2& GetPopupOffset() const
  2662. - bool GetShowPopup() const
  2663. - int GetAcceleratorKey() const
  2664. - int GetAcceleratorQualifiers() const
  2665. Properties:
  2666. - UIElement* popup
  2667. - IntVector2& popupOffset
  2668. - bool showPopup
  2669. - int acceleratorKey (readonly)
  2670. - int acceleratorQualifiers (readonly)
  2671. <a name="Class_MessageBox"></a>
  2672. ### MessageBox : Object
  2673. Methods:
  2674. - MessageBox(const String messageString = String::EMPTY, const String titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0) (GC)
  2675. - MessageBox* new(const String messageString = String::EMPTY, const String titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
  2676. - void delete()
  2677. - void SetTitle(const String text)
  2678. - void SetMessage(const String text)
  2679. - const String GetTitle() const
  2680. - const String GetMessage() const
  2681. - UIElement* GetWindow() const
  2682. Properties:
  2683. - String title
  2684. - String message
  2685. - UIElement* window (readonly)
  2686. <a name="Class_Model"></a>
  2687. ### Model : Resource
  2688. Methods:
  2689. - Model* Clone(const String cloneName = String::EMPTY) const
  2690. - const BoundingBox& GetBoundingBox() const
  2691. - Skeleton& GetSkeleton()
  2692. - unsigned GetNumGeometries() const
  2693. - unsigned GetNumGeometryLodLevels(unsigned index) const
  2694. - Geometry* GetGeometry(unsigned index, unsigned lodLevel) const
  2695. - unsigned GetNumMorphs() const
  2696. - const ModelMorph* GetMorph(const String name) const
  2697. - const ModelMorph* GetMorph(StringHash nameHash) const
  2698. - const ModelMorph* GetMorph(unsigned index) const
  2699. - unsigned GetMorphRangeStart(unsigned bufferIndex) const
  2700. - unsigned GetMorphRangeCount(unsigned bufferIndex) const
  2701. Properties:
  2702. - BoundingBox& boundingBox (readonly)
  2703. - Skeleton skeleton (readonly)
  2704. - unsigned numGeometries (readonly)
  2705. - unsigned numMorphs (readonly)
  2706. <a name="Class_Navigable"></a>
  2707. ### Navigable : Component
  2708. Methods:
  2709. - void SetRecursive(bool enable)
  2710. - bool IsRecursive() const
  2711. Properties:
  2712. - bool recursive
  2713. <a name="Class_NavigationGeometryInfo"></a>
  2714. ### NavigationGeometryInfo
  2715. Properties:
  2716. - Component* component
  2717. - unsigned lodLevel
  2718. - Matrix3x4 transform
  2719. - BoundingBox boundingBox
  2720. <a name="Class_NavigationMesh"></a>
  2721. ### NavigationMesh : Component
  2722. Methods:
  2723. - void SetTileSize(int size)
  2724. - void SetCellSize(float size)
  2725. - void SetCellHeight(float height)
  2726. - void SetAgentHeight(float height)
  2727. - void SetAgentRadius(float radius)
  2728. - void SetAgentMaxClimb(float maxClimb)
  2729. - void SetAgentMaxSlope(float maxSlope)
  2730. - void SetRegionMinSize(float size)
  2731. - void SetRegionMergeSize(float size)
  2732. - void SetEdgeMaxLength(float length)
  2733. - void SetEdgeMaxError(float error)
  2734. - void SetDetailSampleDistance(float distance)
  2735. - void SetDetailSampleMaxError(float error)
  2736. - void SetPadding(const Vector3& padding)
  2737. - bool Build()
  2738. - bool Build(const BoundingBox& boundingBox)
  2739. - Vector3 FindNearestPoint(const Vector3& point)
  2740. - Vector3 FindNearestPoint(const Vector3& point, const Vector3& extents)
  2741. - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end)
  2742. - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end, const Vector3& extents, int maxVisited = 3)
  2743. - const PODVector<Vector3>& FindPath(const Vector3& start, const Vector3& end)
  2744. - const PODVector<Vector3>& FindPath(const Vector3& start, const Vector3& end, const Vector3& extents)
  2745. - Vector3 GetRandomPoint()
  2746. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius)
  2747. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius, const Vector3& extents)
  2748. - float GetDistanceToWall(const Vector3& point, float radius)
  2749. - float GetDistanceToWall(const Vector3& point, float radius, const Vector3& extents)
  2750. - Vector3 Raycast(const Vector3& start, const Vector3& end)
  2751. - Vector3 Raycast(const Vector3& start, const Vector3& end, const Vector3& extents)
  2752. - void DrawDebugGeometry(bool depthTest)
  2753. - int GetTileSize() const
  2754. - float GetCellSize() const
  2755. - float GetCellHeight() const
  2756. - float GetAgentHeight() const
  2757. - float GetAgentRadius() const
  2758. - float GetAgentMaxClimb() const
  2759. - float GetAgentMaxSlope() const
  2760. - float GetRegionMinSize() const
  2761. - float GetRegionMergeSize() const
  2762. - float GetEdgeMaxLength() const
  2763. - float GetEdgeMaxError() const
  2764. - float GetDetailSampleDistance() const
  2765. - float GetDetailSampleMaxError() const
  2766. - const Vector3& GetPadding() const
  2767. - bool IsInitialized() const
  2768. - const BoundingBox& GetBoundingBox() const
  2769. - BoundingBox GetWorldBoundingBox() const
  2770. - IntVector2 GetNumTiles() const
  2771. Properties:
  2772. - int tileSize
  2773. - float cellSize
  2774. - float cellHeight
  2775. - float agentHeight
  2776. - float agentRadius
  2777. - float agentMaxClimb
  2778. - float agentMaxSlope
  2779. - float regionMinSize
  2780. - float regionMergeSize
  2781. - float edgeMaxLength
  2782. - float edgeMaxError
  2783. - float detailSampleDistance
  2784. - float detailSampleMaxError
  2785. - Vector3& padding
  2786. - bool initialized (readonly)
  2787. - BoundingBox& boundingBox (readonly)
  2788. - BoundingBox worldBoundingBox (readonly)
  2789. - IntVector2 numTiles (readonly)
  2790. <a name="Class_Network"></a>
  2791. ### Network
  2792. Methods:
  2793. - bool Connect(const String address, short port, Scene* scene)
  2794. - bool Connect(const String address, short port, Scene* scene, const VariantMap& identity)
  2795. - void Disconnect(int waitMSec = 0)
  2796. - bool StartServer(short port)
  2797. - void StopServer()
  2798. - void BroadcastMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  2799. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder)
  2800. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData)
  2801. - void BroadcastRemoteEvent(const String eventType, bool inOrder)
  2802. - void BroadcastRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData)
  2803. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder)
  2804. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder, const VariantMap& eventData)
  2805. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder)
  2806. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder, const VariantMap& eventData)
  2807. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder)
  2808. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData)
  2809. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder)
  2810. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData)
  2811. - void SetUpdateFps(int fps)
  2812. - void RegisterRemoteEvent(StringHash eventType)
  2813. - void RegisterRemoteEvent(const String eventType)
  2814. - void UnregisterRemoteEvent(StringHash eventType)
  2815. - void UnregisterRemoteEvent(const String eventType)
  2816. - void UnregisterAllRemoteEvents()
  2817. - void SetPackageCacheDir(const String path)
  2818. - void SendPackageToClients(Scene* scene, PackageFile* package)
  2819. - HttpRequest* MakeHttpRequest(const String url, const String verb = String::EMPTY)
  2820. - HttpRequest* MakeHttpRequest(const String url, const String verb, const Vector<String>& headers, const String postData = String::EMPTY)
  2821. - int GetUpdateFps() const
  2822. - Connection* GetServerConnection() const
  2823. - bool IsServerRunning() const
  2824. - bool CheckRemoteEvent(StringHash eventType) const
  2825. - const String GetPackageCacheDir() const
  2826. Properties:
  2827. - int updateFps
  2828. - Connection* serverConnection (readonly)
  2829. - bool serverRunning (readonly)
  2830. - String packageCacheDir
  2831. <a name="Class_NetworkPriority"></a>
  2832. ### NetworkPriority : Component
  2833. Methods:
  2834. - void SetBasePriority(float priority)
  2835. - void SetDistanceFactor(float factor)
  2836. - void SetMinPriority(float priority)
  2837. - void SetAlwaysUpdateOwner(bool enable)
  2838. - float GetBasePriority() const
  2839. - float GetDistanceFactor() const
  2840. - float GetMinPriority() const
  2841. - bool GetAlwaysUpdateOwner() const
  2842. - bool CheckUpdate(float distance, float accumulator)
  2843. Properties:
  2844. - float basePriority
  2845. - float distanceFactor
  2846. - float minPriority
  2847. - bool alwaysUpdateOwner
  2848. <a name="Class_Node"></a>
  2849. ### Node : Animatable
  2850. Methods:
  2851. - Node() (GC)
  2852. - Node* new()
  2853. - void delete()
  2854. - bool SaveXML(File* dest) const
  2855. - void SetName(const String name)
  2856. - void SetPosition(const Vector3& position)
  2857. - void SetPosition2D(const Vector2& position)
  2858. - void SetPosition2D(float x, float y)
  2859. - void SetRotation(const Quaternion& rotation)
  2860. - void SetRotation2D(float rotation)
  2861. - void SetDirection(const Vector3& direction)
  2862. - void SetScale(float scale)
  2863. - void SetScale(const Vector3& scale)
  2864. - void SetScale2D(const Vector2& scale)
  2865. - void SetScale2D(float x, float y)
  2866. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  2867. - void SetTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  2868. - void SetTransform(const Vector3& position, const Quaternion& rotation, float scale)
  2869. - void SetTransform2D(const Vector2& position, float rotation)
  2870. - void SetTransform2D(const Vector2& position, float rotation, const Vector2& scale)
  2871. - void SetTransform2D(const Vector2& position, float rotation, float scale)
  2872. - void SetWorldPosition(const Vector3& position)
  2873. - void SetWorldPosition2D(const Vector2& position)
  2874. - void SetWorldPosition2D(float x, float y)
  2875. - void SetWorldRotation(const Quaternion& rotation)
  2876. - void SetWorldRotation2D(float rotation)
  2877. - void SetWorldDirection(const Vector3& direction)
  2878. - void SetWorldScale(float scale)
  2879. - void SetWorldScale(const Vector3& scale)
  2880. - void SetWorldScale2D(const Vector2& scale)
  2881. - void SetWorldScale2D(float x, float y)
  2882. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation)
  2883. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  2884. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, float scale)
  2885. - void SetWorldTransform2D(const Vector2& position, float rotation)
  2886. - void SetWorldTransform2D(const Vector2& position, float rotation, const Vector2& scale)
  2887. - void SetWorldTransform2D(const Vector2& position, float rotation, float scale)
  2888. - void Translate(const Vector3& delta, TransformSpace space = TS_LOCAL)
  2889. - void Translate2D(const Vector2& delta, TransformSpace space = TS_LOCAL)
  2890. - void Rotate(const Quaternion& delta, TransformSpace space = TS_LOCAL)
  2891. - void Rotate2D(float delta, TransformSpace space = TS_LOCAL)
  2892. - void RotateAround(const Vector3& point, const Quaternion& delta, TransformSpace space = TS_LOCAL)
  2893. - void RotateAround2D(const Vector2& point, float delta, TransformSpace space = TS_LOCAL)
  2894. - void Pitch(float angle, TransformSpace space = TS_LOCAL)
  2895. - void Yaw(float angle, TransformSpace space = TS_LOCAL)
  2896. - void Roll(float angle, TransformSpace space = TS_LOCAL)
  2897. - bool LookAt(const Vector3& target)
  2898. - bool LookAt(const Vector3& target, const Vector3& upAxis, TransformSpace space = TS_WORLD)
  2899. - void Scale(float scale)
  2900. - void Scale(const Vector3& scale)
  2901. - void Scale2D(const Vector2& scale)
  2902. - void SetEnabled(bool enable)
  2903. - void SetDeepEnabled(bool enable)
  2904. - void ResetDeepEnabled()
  2905. - void SetEnabledRecursive(bool enable)
  2906. - void SetOwner(Connection* owner)
  2907. - void MarkDirty()
  2908. - Node* CreateChild(const String name = String::EMPTY, CreateMode mode = REPLICATED, unsigned id = 0)
  2909. - void AddChild(Node* node, unsigned index = M_MAX_UNSIGNED)
  2910. - void RemoveChild(Node* node)
  2911. - void RemoveAllChildren()
  2912. - void RemoveChildren(bool removeReplicated, bool removeLocal, bool recursive)
  2913. - void RemoveComponent(Component* component)
  2914. - void RemoveComponent(StringHash type)
  2915. - void RemoveComponent(const String type)
  2916. - void RemoveAllComponents()
  2917. - void RemoveComponents(bool removeReplicated, bool removeLocal)
  2918. - Node* Clone(CreateMode mode = REPLICATED)
  2919. - void Remove()
  2920. - void SetParent(Node* parent)
  2921. - void SetVar(StringHash key, const Variant& value)
  2922. - void AddListener(Component* component)
  2923. - void RemoveListener(Component* component)
  2924. - Component* CreateComponent(const String type, CreateMode mode = REPLICATED, unsigned id = 0)
  2925. - Component* GetOrCreateComponent(const String type, CreateMode mode = REPLICATED, unsigned id = 0)
  2926. - Component* CloneComponent(Component* component, unsigned id = 0)
  2927. - Component* CloneComponent(Component* component, CreateMode mode, unsigned id = 0)
  2928. - int CreateScriptObject(const String scriptObjectType)
  2929. - int CreateScriptObject(const String fileName, const String scriptObjectType)
  2930. - int GetScriptObject() const
  2931. - int GetScriptObject(const String scriptObjectType) const
  2932. - unsigned GetID() const
  2933. - const String GetName() const
  2934. - StringHash GetNameHash() const
  2935. - Node* GetParent() const
  2936. - Scene* GetScene() const
  2937. - bool IsEnabled() const
  2938. - bool IsEnabledSelf() const
  2939. - Connection* GetOwner() const
  2940. - const Vector3& GetPosition() const
  2941. - Vector2 GetPosition2D() const
  2942. - const Quaternion& GetRotation() const
  2943. - float GetRotation2D() const
  2944. - Vector3 GetDirection() const
  2945. - Vector3 GetUp() const
  2946. - Vector3 GetRight() const
  2947. - const Vector3& GetScale() const
  2948. - Vector2 GetScale2D() const
  2949. - Matrix3x4 GetTransform() const
  2950. - Vector3 GetWorldPosition() const
  2951. - Vector2 GetWorldPosition2D() const
  2952. - Quaternion GetWorldRotation() const
  2953. - float GetWorldRotation2D() const
  2954. - Vector3 GetWorldDirection() const
  2955. - Vector3 GetWorldUp() const
  2956. - Vector3 GetWorldRight() const
  2957. - Vector3 GetWorldScale() const
  2958. - Vector2 GetWorldScale2D() const
  2959. - const Matrix3x4& GetWorldTransform() const
  2960. - Vector3 LocalToWorld(const Vector3& position) const
  2961. - Vector3 LocalToWorld(const Vector4& vector) const
  2962. - Vector2 LocalToWorld2D(const Vector2& vector) const
  2963. - Vector3 WorldToLocal(const Vector3& position) const
  2964. - Vector3 WorldToLocal(const Vector4& vector) const
  2965. - Vector2 WorldToLocal2D(const Vector2& vector) const
  2966. - bool IsDirty() const
  2967. - unsigned GetNumChildren(bool recursive = false) const
  2968. - Node* GetChild(const String name, bool recursive = false) const
  2969. - Node* GetChild(StringHash nameHash, bool recursive = false) const
  2970. - Node* GetChild(unsigned index) const
  2971. - unsigned GetNumComponents() const
  2972. - unsigned GetNumNetworkComponents() const
  2973. - bool HasComponent(StringHash type) const
  2974. - bool HasComponent(const String type) const
  2975. - const Variant& GetVar(StringHash key) const
  2976. - const VariantMap& GetVars() const
  2977. - Component* GetComponent(const String type) const
  2978. - void SetID(unsigned id)
  2979. - void SetScene(Scene* scene)
  2980. - void ResetScene()
  2981. - bool Load(Deserializer& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  2982. - bool LoadXML(const XMLElement& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  2983. - Node* CreateChild(unsigned id, CreateMode mode)
  2984. - void AddComponent(Component* component, unsigned id, CreateMode mode)
  2985. Properties:
  2986. - unsigned ID
  2987. - String name
  2988. - StringHash nameHash (readonly)
  2989. - Node* parent
  2990. - Scene* scene
  2991. - bool enabled
  2992. - bool enabledSelf (readonly)
  2993. - Connection* owner
  2994. - Vector3& position
  2995. - Vector2 position2D
  2996. - Quaternion& rotation
  2997. - float rotation2D
  2998. - Vector3 direction
  2999. - Vector3 up (readonly)
  3000. - Vector3 right (readonly)
  3001. - Vector3& scale
  3002. - Vector2 scale2D
  3003. - Matrix3x4 transform (readonly)
  3004. - Vector3 worldPosition
  3005. - Vector2 worldPosition2D
  3006. - Quaternion worldRotation
  3007. - float worldRotation2D
  3008. - Vector3 worldDirection
  3009. - Vector3 worldUp (readonly)
  3010. - Vector3 worldRight (readonly)
  3011. - Vector3 worldScale
  3012. - Vector2 worldScale2D
  3013. - Matrix3x4& worldTransform (readonly)
  3014. - bool dirty (readonly)
  3015. - unsigned numComponents (readonly)
  3016. - unsigned numNetworkComponents (readonly)
  3017. <a name="Class_Object"></a>
  3018. ### Object : RefCounted
  3019. Methods:
  3020. - StringHash GetType() const
  3021. - StringHash GetBaseType() const
  3022. - const String GetTypeName() const
  3023. - const String GetCategory() const
  3024. - void SendEvent(const String eventName, VariantMap* eventData = 0)
  3025. Properties:
  3026. - StringHash type (readonly)
  3027. - StringHash baseType (readonly)
  3028. - const String typeName (readonly)
  3029. - const String category (readonly)
  3030. <a name="Class_ObjectAnimation"></a>
  3031. ### ObjectAnimation : Resource
  3032. Methods:
  3033. - ObjectAnimation() (GC)
  3034. - ObjectAnimation* new()
  3035. - void delete()
  3036. - void AddAttributeAnimation(const String name, ValueAnimation* attributeAnimation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
  3037. - void RemoveAttributeAnimation(const String name)
  3038. - void RemoveAttributeAnimation(ValueAnimation* attributeAnimation)
  3039. - ValueAnimation* GetAttributeAnimation(const String name) const
  3040. - WrapMode GetAttributeAnimationWrapMode(const String name) const
  3041. - float GetAttributeAnimationSpeed(const String name) const
  3042. <a name="Class_Octree"></a>
  3043. ### Octree : Component
  3044. Methods:
  3045. - void SetSize(const BoundingBox& box, unsigned numLevels)
  3046. - void Update(const FrameInfo& frame)
  3047. - void AddManualDrawable(Drawable* drawable)
  3048. - void RemoveManualDrawable(Drawable* drawable)
  3049. - const PODVector<OctreeQueryResult>& GetDrawables(const Vector3& point, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  3050. - const PODVector<OctreeQueryResult>& GetDrawables(const BoundingBox& box, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  3051. - const PODVector<OctreeQueryResult>& GetDrawables(const Frustum& frustum, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  3052. - const PODVector<OctreeQueryResult>& GetDrawables(const Sphere& sphere, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  3053. - const PODVector<RayQueryResult>& Raycast(const Ray& ray, RayQueryLevel level, float maxDistance, char drawableFlags, unsigned viewMask = DEFAULT_VIEWMASK) const
  3054. - RayQueryResult RaycastSingle(const Ray& ray, RayQueryLevel level, float maxDistance, char drawableFlags, unsigned viewMask = DEFAULT_VIEWMASK) const
  3055. - unsigned GetNumLevels() const
  3056. - void QueueUpdate(Drawable* drawable)
  3057. - void DrawDebugGeometry(bool depthTest)
  3058. Properties:
  3059. - unsigned numLevels (readonly)
  3060. <a name="Class_OctreeQueryResult"></a>
  3061. ### OctreeQueryResult
  3062. Methods:
  3063. - OctreeQueryResult() (GC)
  3064. - OctreeQueryResult* new()
  3065. - void delete()
  3066. Properties:
  3067. - Drawable* drawable
  3068. - Node* node
  3069. <a name="Class_OffMeshConnection"></a>
  3070. ### OffMeshConnection : Component
  3071. Methods:
  3072. - void SetEndPoint(Node* node)
  3073. - void SetRadius(float radius)
  3074. - void SetBidirectional(bool enabled)
  3075. - Node* GetEndPoint() const
  3076. - float GetRadius() const
  3077. - bool IsBidirectional() const
  3078. Properties:
  3079. - Node* endPoint
  3080. - float radius
  3081. - bool bidirectional
  3082. <a name="Class_PackageEntry"></a>
  3083. ### PackageEntry
  3084. Properties:
  3085. - unsigned offset
  3086. - unsigned size
  3087. - unsigned checksum
  3088. <a name="Class_PackageFile"></a>
  3089. ### PackageFile : Object
  3090. Methods:
  3091. - PackageFile() (GC)
  3092. - PackageFile* new()
  3093. - PackageFile(const String fileName, unsigned startOffset = 0) (GC)
  3094. - PackageFile* new(const String fileName, unsigned startOffset = 0)
  3095. - void delete()
  3096. - bool Open(const String fileName, unsigned startOffset = 0)
  3097. - bool Exists(const String fileName) const
  3098. - const PackageEntry* GetEntry(const String fileName) const
  3099. - const HashMap<String,PackageEntry>& GetEntries() const
  3100. - const String GetName() const
  3101. - StringHash GetNameHash() const
  3102. - unsigned GetNumFiles() const
  3103. - unsigned GetTotalSize() const
  3104. - unsigned GetChecksum() const
  3105. - bool IsCompressed() const
  3106. Properties:
  3107. - String name (readonly)
  3108. - StringHash nameHash (readonly)
  3109. - unsigned numFiles (readonly)
  3110. - unsigned totalSize (readonly)
  3111. - unsigned checksum (readonly)
  3112. - bool compressed (readonly)
  3113. <a name="Class_ParticleEffect"></a>
  3114. ### ParticleEffect : Resource
  3115. Methods:
  3116. - void SetMaterial(Material* material)
  3117. - void SetNumParticles(unsigned num)
  3118. - void SetUpdateInvisible(bool enable)
  3119. - void SetRelative(bool enable)
  3120. - void SetScaled(bool enable)
  3121. - void SetSorted(bool enable)
  3122. - void SetAnimationLodBias(float lodBias)
  3123. - void SetEmitterType(EmitterType type)
  3124. - void SetEmitterSize(const Vector3& size)
  3125. - void SetMinDirection(const Vector3& direction)
  3126. - void SetMaxDirection(const Vector3& direction)
  3127. - void SetConstantForce(const Vector3& force)
  3128. - void SetDampingForce(float force)
  3129. - void SetActiveTime(float time)
  3130. - void SetInactiveTime(float time)
  3131. - void SetMinEmissionRate(float rate)
  3132. - void SetMaxEmissionRate(float rate)
  3133. - void SetMinParticleSize(const Vector2& size)
  3134. - void SetMaxParticleSize(const Vector2& size)
  3135. - void SetMinTimeToLive(float time)
  3136. - void SetMaxTimeToLive(float time)
  3137. - void SetMinVelocity(float velocity)
  3138. - void SetMaxVelocity(float velocity)
  3139. - void SetMinRotation(float rotation)
  3140. - void SetMaxRotation(float rotation)
  3141. - void SetMinRotationSpeed(float speed)
  3142. - void SetMaxRotationSpeed(float speed)
  3143. - void SetSizeAdd(float sizeAdd)
  3144. - void SetSizeMul(float sizeMul)
  3145. - void SetColorFrame(unsigned index, const ColorFrame& colorFrame)
  3146. - void SetTextureFrame(unsigned index, const TextureFrame& textureFrame)
  3147. - Material* GetMaterial() const
  3148. - unsigned GetNumParticles() const
  3149. - bool GetUpdateInvisible() const
  3150. - bool IsRelative() const
  3151. - bool IsScaled() const
  3152. - bool IsSorted() const
  3153. - float GetAnimationLodBias() const
  3154. - EmitterType GetEmitterType() const
  3155. - const Vector3& GetEmitterSize() const
  3156. - const Vector3& GetMinDirection() const
  3157. - const Vector3& GetMaxDirection() const
  3158. - const Vector3& GetConstantForce() const
  3159. - float GetDampingForce() const
  3160. - float GetActiveTime() const
  3161. - float GetInactiveTime() const
  3162. - float GetMinEmissionRate() const
  3163. - float GetMaxEmissionRate() const
  3164. - const Vector2& GetMinParticleSize() const
  3165. - const Vector2& GetMaxParticleSize() const
  3166. - float GetMinTimeToLive() const
  3167. - float GetMaxTimeToLive() const
  3168. - float GetMinVelocity() const
  3169. - float GetMaxVelocity() const
  3170. - float GetMinRotation() const
  3171. - float GetMaxRotation() const
  3172. - float GetMinRotationSpeed() const
  3173. - float GetMaxRotationSpeed() const
  3174. - float GetSizeAdd() const
  3175. - float GetSizeMul() const
  3176. - unsigned GetNumColorFrames() const
  3177. - const ColorFrame* GetColorFrame(unsigned index) const
  3178. - unsigned GetNumTextureFrames() const
  3179. - const TextureFrame* GetTextureFrame(unsigned index) const
  3180. Properties:
  3181. - Material* material
  3182. - unsigned numParticles
  3183. - bool updateInvisible
  3184. - bool relative
  3185. - bool scaled
  3186. - bool sorted
  3187. - float animationLodBias
  3188. - EmitterType emitterType
  3189. - const Vector3& emitterSize
  3190. - const Vector3& minDirection
  3191. - const Vector3& maxDirection
  3192. - const Vector3& constantForce
  3193. - float dampingForce
  3194. - float activeTime
  3195. - float inactiveTime
  3196. - float minEmissionRate
  3197. - float maxEmissionRate
  3198. - const Vector2& minParticleSize
  3199. - const Vector2& maxParticleSize
  3200. - float minTimeToLive
  3201. - float maxTimeToLive
  3202. - float minVelocity
  3203. - float maxVelocity
  3204. - float minRotation
  3205. - float maxRotation
  3206. - float minRotationSpeed
  3207. - float maxRotationSpeed
  3208. - float sizeAdd
  3209. - float sizeMul
  3210. - unsigned numColorFrames
  3211. - unsigned numTextureFrames
  3212. <a name="Class_ParticleEffect2D"></a>
  3213. ### ParticleEffect2D : Resource
  3214. <a name="Class_ParticleEmitter"></a>
  3215. ### ParticleEmitter : BillboardSet
  3216. Methods:
  3217. - void SetEffect(ParticleEffect* effect)
  3218. - void SetNumParticles(unsigned num)
  3219. - void SetEmitting(bool enable)
  3220. - void SetSerializeParticles(bool enable)
  3221. - void ResetEmissionTimer()
  3222. - void RemoveAllParticles()
  3223. - void Reset()
  3224. - void ApplyEffect()
  3225. - ParticleEffect* GetEffect() const
  3226. - unsigned GetNumParticles() const
  3227. - bool IsEmitting() const
  3228. - bool GetSerializeParticles() const
  3229. Properties:
  3230. - ParticleEffect* effect
  3231. - unsigned numParticles
  3232. - bool emitting
  3233. - bool serializeParticles
  3234. <a name="Class_ParticleEmitter2D"></a>
  3235. ### ParticleEmitter2D : Drawable2D
  3236. Methods:
  3237. - void SetEffect(ParticleEffect2D* effect)
  3238. - ParticleEffect2D* GetEffect() const
  3239. - void SetSprite(Sprite2D* sprite)
  3240. - Sprite2D* GetSprite() const
  3241. Properties:
  3242. - ParticleEffect2D* effect
  3243. - Sprite2D* sprite
  3244. <a name="Class_Pass"></a>
  3245. ### Pass : RefCounted
  3246. Methods:
  3247. - bool IsSM3() const
  3248. - bool IsDesktop() const
  3249. - const String GetVertexShader() const
  3250. - const String GetPixelShader() const
  3251. Properties:
  3252. - bool SM3 (readonly)
  3253. - bool desktop (readonly)
  3254. - const String vertexShader (readonly)
  3255. - const String pixelShader (readonly)
  3256. <a name="Class_PhysicsRaycastResult"></a>
  3257. ### PhysicsRaycastResult
  3258. Methods:
  3259. - PhysicsRaycastResult() (GC)
  3260. - PhysicsRaycastResult* new()
  3261. - void delete()
  3262. Properties:
  3263. - Vector3 position
  3264. - Vector3 normal
  3265. - float distance
  3266. - RigidBody* body
  3267. <a name="Class_PhysicsRaycastResult2D"></a>
  3268. ### PhysicsRaycastResult2D
  3269. Methods:
  3270. - PhysicsRaycastResult2D() (GC)
  3271. - PhysicsRaycastResult2D* new()
  3272. - void delete()
  3273. Properties:
  3274. - Vector2 position
  3275. - Vector2 normal
  3276. - float distance
  3277. - RigidBody2D* body
  3278. <a name="Class_PhysicsWorld"></a>
  3279. ### PhysicsWorld : Component
  3280. Methods:
  3281. - void Update(float timeStep)
  3282. - void UpdateCollisions()
  3283. - void SetFps(int fps)
  3284. - void SetGravity(const Vector3& gravity)
  3285. - void SetMaxSubSteps(int num)
  3286. - void SetNumIterations(int num)
  3287. - void SetInterpolation(bool enable)
  3288. - void SetInternalEdge(bool enable)
  3289. - void SetSplitImpulse(bool enable)
  3290. - void SetMaxNetworkAngularVelocity(float velocity)
  3291. - const PODVector<PhysicsRaycastResult>& Raycast(const Ray& ray, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  3292. - PhysicsRaycastResult RaycastSingle(const Ray& ray, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  3293. - PhysicsRaycastResult SphereCast(const Ray& ray, float radius, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  3294. - PhysicsRaycastResult ConvexCast(CollisionShape* shape, const Vector3& startPos, const Quaternion& startRot, const Vector3& endPos, const Quaternion& endRot, unsigned collisionMask = M_MAX_UNSIGNED)
  3295. - const PODVector<RigidBody*>& GetRigidBodies(const Sphere& sphere, unsigned collisionMask = M_MAX_UNSIGNED)
  3296. - const PODVector<RigidBody*>& GetRigidBodies(const BoundingBox& box, unsigned collisionMask = M_MAX_UNSIGNED)
  3297. - const PODVector<RigidBody*>& GetRigidBodies(const RigidBody* body)
  3298. - void DrawDebugGeometry(bool depthTest)
  3299. - void RemoveCachedGeometry(Model* model)
  3300. - Vector3 GetGravity() const
  3301. - int GetMaxSubSteps() const
  3302. - int GetNumIterations() const
  3303. - bool GetInterpolation() const
  3304. - bool GetInternalEdge() const
  3305. - bool GetSplitImpulse() const
  3306. - int GetFps() const
  3307. - float GetMaxNetworkAngularVelocity() const
  3308. Properties:
  3309. - Vector3 gravity
  3310. - int maxSubSteps
  3311. - int numIterations
  3312. - bool interpolation
  3313. - bool internalEdge
  3314. - bool splitImpulse
  3315. - int fps
  3316. - float maxNetworkAngularVelocity
  3317. - bool applyingTransforms
  3318. <a name="Class_PhysicsWorld2D"></a>
  3319. ### PhysicsWorld2D : Component
  3320. Methods:
  3321. - void DrawDebugGeometry()
  3322. - void SetDrawShape(bool drawShape)
  3323. - void SetDrawJoint(bool drawJoint)
  3324. - void SetDrawAabb(bool drawAabb)
  3325. - void SetDrawPair(bool drawPair)
  3326. - void SetDrawCenterOfMass(bool drawCenterOfMass)
  3327. - void SetAllowSleeping(bool enable)
  3328. - void SetWarmStarting(bool enable)
  3329. - void SetContinuousPhysics(bool enable)
  3330. - void SetSubStepping(bool enable)
  3331. - void SetGravity(const Vector2& gravity)
  3332. - void SetAutoClearForces(bool enable)
  3333. - void SetVelocityIterations(int velocityIterations)
  3334. - void SetPositionIterations(int positionIterations)
  3335. - const PODVector<PhysicsRaycastResult2D>& Raycast(const Vector2& startPoint, const Vector2& endPoint, unsigned collisionMask = M_MAX_UNSIGNED)
  3336. - PhysicsRaycastResult2D RaycastSingle(const Vector2& startPoint, const Vector2& endPoint, unsigned collisionMask = M_MAX_UNSIGNED)
  3337. - RigidBody2D* GetRigidBody(const Vector2& point, unsigned collisionMask = M_MAX_UNSIGNED)
  3338. - RigidBody2D* GetRigidBody(int screenX, int screenY, unsigned collisionMask = M_MAX_UNSIGNED)
  3339. - const PODVector<RigidBody2D*>& GetRigidBodies(const Rect& aabb, unsigned collisionMask = M_MAX_UNSIGNED)
  3340. - bool GetDrawShape() const
  3341. - bool GetDrawJoint() const
  3342. - bool GetDrawAabb() const
  3343. - bool GetDrawPair() const
  3344. - bool GetDrawCenterOfMass() const
  3345. - bool GetAllowSleeping() const
  3346. - bool GetWarmStarting() const
  3347. - bool GetContinuousPhysics() const
  3348. - bool GetSubStepping() const
  3349. - bool GetAutoClearForces() const
  3350. - const Vector2& GetGravity() const
  3351. - int GetVelocityIterations() const
  3352. - int GetPositionIterations() const
  3353. Properties:
  3354. - bool drawShape
  3355. - bool drawJoint
  3356. - bool drawAabb
  3357. - bool drawPair
  3358. - bool drawCenterOfMass
  3359. - bool allowSleeping
  3360. - bool warmStarting
  3361. - bool continuousPhysics
  3362. - bool subStepping
  3363. - bool autoClearForces
  3364. - Vector2& gravity
  3365. - int velocityIterations
  3366. - int positionIterations
  3367. <a name="Class_Plane"></a>
  3368. ### Plane
  3369. Methods:
  3370. - Plane() (GC)
  3371. - Plane* new()
  3372. - Plane(const Plane& plane) (GC)
  3373. - Plane* new(const Plane& plane)
  3374. - Plane(const Vector3& v0, const Vector3& v1, const Vector3& v2) (GC)
  3375. - Plane* new(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  3376. - Plane(const Vector3& normal, const Vector3& point) (GC)
  3377. - Plane* new(const Vector3& normal, const Vector3& point)
  3378. - Plane(const Vector4& plane) (GC)
  3379. - Plane* new(const Vector4& plane)
  3380. - void delete()
  3381. - void Define(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  3382. - void Define(const Vector3& normal, const Vector3& point)
  3383. - void Define(const Vector4& plane)
  3384. - void Transform(const Matrix3& transform)
  3385. - void Transform(const Matrix3x4& transform)
  3386. - void Transform(const Matrix4& transform)
  3387. - Vector3 Project(const Vector3& point) const
  3388. - float Distance(const Vector3& point) const
  3389. - Vector3 Reflect(const Vector3& direction) const
  3390. - Matrix3x4 ReflectionMatrix() const
  3391. - Plane Transformed(const Matrix3& transform) const
  3392. - Plane Transformed(const Matrix3x4& transform) const
  3393. - Plane Transformed(const Matrix4& transform) const
  3394. - Vector4 ToVector4() const
  3395. Properties:
  3396. - Vector3 normal
  3397. - Vector3 absNormal
  3398. - float d
  3399. - const Plane UP
  3400. <a name="Class_Polyhedron"></a>
  3401. ### Polyhedron
  3402. Methods:
  3403. - Polyhedron() (GC)
  3404. - Polyhedron* new()
  3405. - Polyhedron(const Polyhedron& polyhedron) (GC)
  3406. - Polyhedron* new(const Polyhedron& polyhedron)
  3407. - Polyhedron(const BoundingBox& box) (GC)
  3408. - Polyhedron* new(const BoundingBox& box)
  3409. - Polyhedron(const Frustum& frustum) (GC)
  3410. - Polyhedron* new(const Frustum& frustum)
  3411. - void delete()
  3412. - void Define(const BoundingBox& box)
  3413. - void Define(const Frustum& frustum)
  3414. - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  3415. - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2, const Vector3& v3)
  3416. - void Clip(const Plane& plane)
  3417. - void Clip(const BoundingBox& box)
  3418. - void Clip(const Frustum& box)
  3419. - void Clear()
  3420. - void Transform(const Matrix3& transform)
  3421. - void Transform(const Matrix3x4& transform)
  3422. - Polyhedron Transformed(const Matrix3& transform) const
  3423. - Polyhedron Transformed(const Matrix3x4& transform) const
  3424. - bool Empty() const
  3425. Properties:
  3426. - bool empty (readonly)
  3427. <a name="Class_PropertySet2D"></a>
  3428. ### PropertySet2D
  3429. Methods:
  3430. - bool HasProperty(const String name) const
  3431. - const String GetProperty(const String name) const
  3432. <a name="Class_Quaternion"></a>
  3433. ### Quaternion
  3434. Methods:
  3435. - Quaternion() (GC)
  3436. - Quaternion* new()
  3437. - Quaternion(const Quaternion& quat) (GC)
  3438. - Quaternion* new(const Quaternion& quat)
  3439. - Quaternion(float w, float x, float y, float z) (GC)
  3440. - Quaternion* new(float w, float x, float y, float z)
  3441. - Quaternion(float angle, const Vector3& axis) (GC)
  3442. - Quaternion* new(float angle, const Vector3& axis)
  3443. - Quaternion(float angle) (GC)
  3444. - Quaternion* new(float angle)
  3445. - Quaternion(float x, float y, float z) (GC)
  3446. - Quaternion* new(float x, float y, float z)
  3447. - Quaternion(const Vector3& start, const Vector3& end) (GC)
  3448. - Quaternion* new(const Vector3& start, const Vector3& end)
  3449. - Quaternion(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis) (GC)
  3450. - Quaternion* new(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  3451. - Quaternion(const Matrix3& matrix) (GC)
  3452. - Quaternion* new(const Matrix3& matrix)
  3453. - void delete()
  3454. - bool operator==(const Quaternion& rhs) const
  3455. - Quaternion operator*(float rhs) const
  3456. - Quaternion operator-() const
  3457. - bool operator==(const Quaternion& rhs) const
  3458. - Quaternion operator*(float rhs) const
  3459. - Quaternion operator-() const
  3460. - Quaternion operator+(const Quaternion& rhs) const
  3461. - Quaternion operator-(const Quaternion& rhs) const
  3462. - Quaternion operator*(const Quaternion& rhs) const
  3463. - Vector3 operator*(const Vector3& rhs) const
  3464. - void FromAngleAxis(float angle, const Vector3& axis)
  3465. - void FromEulerAngles(float x, float y, float z)
  3466. - void FromRotationTo(const Vector3& start, const Vector3& end)
  3467. - void FromAxes(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  3468. - void FromRotationMatrix(const Matrix3& matrix)
  3469. - bool FromLookRotation(const Vector3& direction, const Vector3& up)
  3470. - void Normalize()
  3471. - Quaternion Normalized() const
  3472. - Quaternion Inverse() const
  3473. - float LengthSquared() const
  3474. - float DotProduct(const Quaternion& rhs) const
  3475. - bool Equals(const Quaternion& rhs) const
  3476. - bool IsNaN() const
  3477. - Quaternion Conjugate() const
  3478. - Vector3 EulerAngles() const
  3479. - float YawAngle() const
  3480. - float PitchAngle() const
  3481. - float RollAngle() const
  3482. - Matrix3 RotationMatrix() const
  3483. - Quaternion Slerp(Quaternion rhs, float t) const
  3484. - Quaternion Nlerp(Quaternion rhs, float t, bool shortestPath) const
  3485. - String ToString() const
  3486. Properties:
  3487. - float w
  3488. - float x
  3489. - float y
  3490. - float z
  3491. - const Quaternion IDENTITY
  3492. <a name="Class_Ray"></a>
  3493. ### Ray
  3494. Methods:
  3495. - Ray() (GC)
  3496. - Ray* new()
  3497. - Ray(const Vector3& origin, const Vector3& direction) (GC)
  3498. - Ray* new(const Vector3& origin, const Vector3& direction)
  3499. - Ray(const Ray& ray) (GC)
  3500. - Ray* new(const Ray& ray)
  3501. - void delete()
  3502. - bool operator==(const Ray& rhs) const
  3503. - void Define(const Vector3& origin, const Vector3& direction)
  3504. - Vector3 Project(const Vector3& point) const
  3505. - float Distance(const Vector3& point) const
  3506. - Vector3 ClosestPoint(const Ray& ray) const
  3507. - float HitDistance(const Plane& plane) const
  3508. - float HitDistance(const BoundingBox& box) const
  3509. - float HitDistance(const Frustum& frustum, bool solidInside = true) const
  3510. - float HitDistance(const Sphere& sphere) const
  3511. - float HitDistance(const Vector3& v0, const Vector3& v1, const Vector3& v2) const
  3512. - Ray Transformed(const Matrix3x4& transform) const
  3513. Properties:
  3514. - Vector3 origin
  3515. - Vector3 direction
  3516. <a name="Class_RayQueryResult"></a>
  3517. ### RayQueryResult
  3518. Methods:
  3519. - RayQueryResult() (GC)
  3520. - RayQueryResult* new()
  3521. - void delete()
  3522. Properties:
  3523. - Vector3 position
  3524. - Vector3 normal
  3525. - float distance
  3526. - Drawable* drawable
  3527. - Node* node
  3528. - unsigned subObject
  3529. <a name="Class_Rect"></a>
  3530. ### Rect
  3531. Methods:
  3532. - Rect() (GC)
  3533. - Rect* new()
  3534. - Rect(const Rect& rect) (GC)
  3535. - Rect* new(const Rect& rect)
  3536. - Rect(const Vector2& min, const Vector2& max) (GC)
  3537. - Rect* new(const Vector2& min, const Vector2& max)
  3538. - Rect(float left, float top, float right, float bottom) (GC)
  3539. - Rect* new(float left, float top, float right, float bottom)
  3540. - Rect(const Vector4& vector) (GC)
  3541. - Rect* new(const Vector4& vector)
  3542. - void delete()
  3543. - bool operator==(const Rect& rhs) const
  3544. - void Define(const Rect& rect)
  3545. - void Define(const Vector2& min, const Vector2& max)
  3546. - void Define(const Vector2& point)
  3547. - void Merge(const Vector2& point)
  3548. - void Merge(const Rect& rect)
  3549. - void Clear()
  3550. - void Clip(const Rect& rect)
  3551. - Vector2 Center() const
  3552. - Vector2 Size() const
  3553. - Vector2 HalfSize() const
  3554. - bool Equals(const Rect& rhs) const
  3555. - Intersection IsInside(const Vector2& point) const
  3556. - Vector4 ToVector4() const
  3557. - String ToString() const
  3558. Properties:
  3559. - Vector2 min
  3560. - Vector2 max
  3561. - const Rect FULL
  3562. - const Rect POSITIVE
  3563. - const Rect ZERO
  3564. - Vector2 center (readonly)
  3565. - Vector2 size (readonly)
  3566. - Vector2 halfSize (readonly)
  3567. <a name="Class_RemoteEvent"></a>
  3568. ### RemoteEvent
  3569. Properties:
  3570. - unsigned senderID
  3571. - StringHash eventType
  3572. - VariantMap eventData
  3573. - bool inOrder
  3574. <a name="Class_RenderPath"></a>
  3575. ### RenderPath
  3576. Methods:
  3577. - RenderPath* Clone()
  3578. - bool Load(XMLFile* file)
  3579. - bool Append(XMLFile* file)
  3580. - void SetEnabled(const String tag, bool active)
  3581. - void ToggleEnabled(const String tag)
  3582. - void SetRenderTarget(unsigned index, const RenderTargetInfo& info)
  3583. - void AddRenderTarget(const RenderTargetInfo& info)
  3584. - void RemoveRenderTarget(const String name)
  3585. - void RemoveRenderTarget(unsigned index)
  3586. - void RemoveRenderTargets(const String tag)
  3587. - void SetCommand(unsigned index, const RenderPathCommand& command)
  3588. - void AddCommand(const RenderPathCommand& command)
  3589. - void InsertCommand(unsigned index, const RenderPathCommand& command)
  3590. - void RemoveCommand(unsigned index)
  3591. - void RemoveCommands(const String tag)
  3592. - void SetShaderParameter(const String name, const Variant& value)
  3593. - unsigned GetNumRenderTargets() const
  3594. - unsigned GetNumCommands() const
  3595. - RenderPathCommand* GetCommand(unsigned index)
  3596. - const Variant& GetShaderParameter(const String name) const
  3597. <a name="Class_RenderPathCommand"></a>
  3598. ### RenderPathCommand
  3599. Methods:
  3600. - RenderPathCommand() (GC)
  3601. - RenderPathCommand* new()
  3602. - void Load(const XMLElement& element)
  3603. - void SetTextureName(TextureUnit unit, const String name)
  3604. - void SetShaderParameter(const String name, const Variant& value)
  3605. - void RemoveShaderParameter(const String name)
  3606. - void SetNumOutputs(unsigned num)
  3607. - void SetOutputName(unsigned index, const String name)
  3608. - void SetDepthStencilName(const String name)
  3609. - const String GetTextureName(TextureUnit unit) const
  3610. - const Variant& GetShaderParameter(const String name) const
  3611. - unsigned GetNumOutputs() const
  3612. - const String GetOutputName(unsigned index) const
  3613. - const String GetDepthStencilName() const
  3614. Properties:
  3615. - String tag
  3616. - RenderCommandType type
  3617. - RenderCommandSortMode sortMode
  3618. - String pass
  3619. - String metadata
  3620. - String vertexShaderName
  3621. - String pixelShaderName
  3622. - String vertexShaderDefines
  3623. - String pixelShaderDefines
  3624. - unsigned clearFlags
  3625. - Color clearColor
  3626. - float clearDepth
  3627. - unsigned clearStencil
  3628. - bool enabled
  3629. - bool useFogColor
  3630. - bool markToStencil
  3631. - bool useLitBase
  3632. - bool vertexLights
  3633. <a name="Class_RenderSurface"></a>
  3634. ### RenderSurface
  3635. Methods:
  3636. - RenderSurface(Texture* parentTexture) (GC)
  3637. - RenderSurface* new(Texture* parentTexture)
  3638. - void delete()
  3639. - void SetNumViewports(unsigned num)
  3640. - void SetViewport(unsigned index, Viewport* viewport)
  3641. - void SetUpdateMode(RenderSurfaceUpdateMode mode)
  3642. - void SetLinkedRenderTarget(RenderSurface* renderTarget)
  3643. - void SetLinkedDepthStencil(RenderSurface* depthStencil)
  3644. - void QueueUpdate()
  3645. - void Release()
  3646. - Texture* GetParentTexture() const
  3647. - int GetWidth() const
  3648. - int GetHeight() const
  3649. - TextureUsage GetUsage() const
  3650. - unsigned GetNumViewports() const
  3651. - Viewport* GetViewport(unsigned index) const
  3652. - RenderSurfaceUpdateMode GetUpdateMode() const
  3653. - RenderSurface* GetLinkedRenderTarget() const
  3654. - RenderSurface* GetLinkedDepthStencil() const
  3655. Properties:
  3656. - Texture* parentTexture (readonly)
  3657. - int width (readonly)
  3658. - int height (readonly)
  3659. - TextureUsage usage (readonly)
  3660. - unsigned numViewports
  3661. - RenderSurfaceUpdateMode updateMode
  3662. - RenderSurface* linkedRenderTarget
  3663. - RenderSurface* linkedDepthStencil
  3664. <a name="Class_Renderer"></a>
  3665. ### Renderer
  3666. Methods:
  3667. - void SetNumViewports(unsigned num)
  3668. - void SetViewport(unsigned index, Viewport* viewport)
  3669. - void SetDefaultRenderPath(RenderPath* renderPath)
  3670. - void SetDefaultRenderPath(XMLFile* file)
  3671. - void SetHDRRendering(bool enable)
  3672. - void SetSpecularLighting(bool enable)
  3673. - void SetTextureAnisotropy(int level)
  3674. - void SetTextureFilterMode(TextureFilterMode mode)
  3675. - void SetTextureQuality(int quality)
  3676. - void SetMaterialQuality(int quality)
  3677. - void SetDrawShadows(bool enable)
  3678. - void SetShadowMapSize(int size)
  3679. - void SetShadowQuality(int quality)
  3680. - void SetReuseShadowMaps(bool enable)
  3681. - void SetMaxShadowMaps(int shadowMaps)
  3682. - void SetDynamicInstancing(bool enable)
  3683. - void SetMinInstances(int instances)
  3684. - void SetMaxInstanceTriangles(int triangles)
  3685. - void SetMaxSortedInstances(int instances)
  3686. - void SetMaxOccluderTriangles(int triangles)
  3687. - void SetOcclusionBufferSize(int size)
  3688. - void SetOccluderSizeThreshold(float screenSize)
  3689. - void SetMobileShadowBiasMul(float mul)
  3690. - void SetMobileShadowBiasAdd(float add)
  3691. - void ReloadShaders()
  3692. - unsigned GetNumViewports() const
  3693. - Viewport* GetViewport(unsigned index) const
  3694. - RenderPath* GetDefaultRenderPath() const
  3695. - bool GetHDRRendering() const
  3696. - bool GetSpecularLighting() const
  3697. - bool GetDrawShadows() const
  3698. - int GetTextureAnisotropy() const
  3699. - TextureFilterMode GetTextureFilterMode() const
  3700. - int GetTextureQuality() const
  3701. - int GetMaterialQuality() const
  3702. - int GetShadowMapSize() const
  3703. - int GetShadowQuality() const
  3704. - bool GetReuseShadowMaps() const
  3705. - int GetMaxShadowMaps() const
  3706. - bool GetDynamicInstancing() const
  3707. - int GetMinInstances() const
  3708. - int GetMaxInstanceTriangles() const
  3709. - int GetMaxSortedInstances() const
  3710. - int GetMaxOccluderTriangles() const
  3711. - int GetOcclusionBufferSize() const
  3712. - float GetOccluderSizeThreshold() const
  3713. - float GetMobileShadowBiasMul() const
  3714. - float GetMobileShadowBiasAdd() const
  3715. - unsigned GetNumViews() const
  3716. - unsigned GetNumPrimitives() const
  3717. - unsigned GetNumBatches() const
  3718. - unsigned GetNumGeometries(bool allViews = false) const
  3719. - unsigned GetNumLights(bool allViews = false) const
  3720. - unsigned GetNumShadowMaps(bool allViews = false) const
  3721. - unsigned GetNumOccluders(bool allViews = false) const
  3722. - Zone* GetDefaultZone() const
  3723. - Material* GetDefaultMaterial() const
  3724. - Texture2D* GetDefaultLightRamp() const
  3725. - Texture2D* GetDefaultLightSpot() const
  3726. - void DrawDebugGeometry(bool depthTest)
  3727. Properties:
  3728. - unsigned numViewports
  3729. - RenderPath* defaultRenderPath
  3730. - bool HDRRendering
  3731. - bool specularLighting
  3732. - bool drawShadows
  3733. - int textureAnisotropy
  3734. - TextureFilterMode textureFilterMode
  3735. - int textureQuality
  3736. - int materialQuality
  3737. - int shadowMapSize
  3738. - int shadowQuality
  3739. - bool reuseShadowMaps
  3740. - int maxShadowMaps
  3741. - bool dynamicInstancing
  3742. - int minInstances
  3743. - int maxInstanceTriangles
  3744. - int maxSortedInstances
  3745. - int maxOccluderTriangles
  3746. - int occlusionBufferSize
  3747. - float occluderSizeThreshold
  3748. - float mobileShadowBiasMul
  3749. - float mobileShadowBiasAdd
  3750. - unsigned numViews (readonly)
  3751. - unsigned numPrimitives (readonly)
  3752. - unsigned numBatches (readonly)
  3753. - Zone* defaultZone (readonly)
  3754. - Material* defaultMaterial (readonly)
  3755. - Texture2D* defaultLightRamp (readonly)
  3756. - Texture2D* defaultLightSpot (readonly)
  3757. <a name="Class_Resource"></a>
  3758. ### Resource
  3759. Methods:
  3760. - bool Load(Deserializer& source)
  3761. - bool Save(Serializer& dest) const
  3762. - bool Load(const String fileName)
  3763. - bool Save(const String fileName) const
  3764. - const String GetName() const
  3765. - StringHash GetNameHash() const
  3766. - unsigned GetMemoryUse() const
  3767. Properties:
  3768. - String name (readonly)
  3769. - StringHash nameHash (readonly)
  3770. - unsigned memoryUse (readonly)
  3771. <a name="Class_ResourceCache"></a>
  3772. ### ResourceCache
  3773. Methods:
  3774. - void ReleaseAllResources(bool force = false)
  3775. - bool ReloadResource(Resource* resource)
  3776. - void ReloadResourceWithDependencies(const String fileName)
  3777. - void SetMemoryBudget(StringHash type, unsigned budget)
  3778. - void SetMemoryBudget(const String type, unsigned budget)
  3779. - void SetAutoReloadResources(bool enable)
  3780. - void SetReturnFailedResources(bool enable)
  3781. - void SetSearchPackagesFirst(bool value)
  3782. - void SetFinishBackgroundResourcesMs(int ms)
  3783. - File* GetFile(const String name)
  3784. - Resource* GetResource(const String type, const String name, bool sendEventOnFailure = true)
  3785. - bool BackgroundLoadResource(const String type, const String name, bool sendEventOnFailure = true)
  3786. - unsigned GetNumBackgroundLoadResources() const
  3787. - const Vector<String>& GetResourceDirs() const
  3788. - bool Exists(const String name) const
  3789. - unsigned GetMemoryBudget(StringHash type) const
  3790. - unsigned GetMemoryUse(StringHash type) const
  3791. - unsigned GetTotalMemoryUse() const
  3792. - String GetResourceFileName(const String name) const
  3793. - bool GetAutoReloadResources() const
  3794. - bool GetReturnFailedResources() const
  3795. - bool GetSearchPackagesFirst() const
  3796. - int GetFinishBackgroundResourcesMs() const
  3797. - String GetPreferredResourceDir(const String path) const
  3798. - String SanitateResourceName(const String name) const
  3799. - String SanitateResourceDirName(const String name) const
  3800. Properties:
  3801. - unsigned totalMemoryUse (readonly)
  3802. - bool autoReloadResources
  3803. - bool returnFailedResources
  3804. - bool searchPackagesFirst
  3805. - unsigned numBackgroundLoadResources (readonly)
  3806. - Vector<String>& resourceDirs (readonly)
  3807. - int finishBackgroundResourcesMs
  3808. <a name="Class_ResourceRef"></a>
  3809. ### ResourceRef
  3810. Methods:
  3811. - ResourceRef() (GC)
  3812. - ResourceRef* new()
  3813. - ResourceRef(StringHash type) (GC)
  3814. - ResourceRef* new(StringHash type)
  3815. - ResourceRef(StringHash type, String name) (GC)
  3816. - ResourceRef* new(StringHash type, String name)
  3817. - ResourceRef(const ResourceRef& rhs) (GC)
  3818. - ResourceRef* new(const ResourceRef& rhs)
  3819. - void delete()
  3820. - bool operator==(const ResourceRef& rhs) const
  3821. Properties:
  3822. - StringHash type
  3823. - String name
  3824. <a name="Class_ResourceRefList"></a>
  3825. ### ResourceRefList
  3826. Methods:
  3827. - ResourceRefList() (GC)
  3828. - ResourceRefList* new()
  3829. - ResourceRefList(StringHash type) (GC)
  3830. - ResourceRefList* new(StringHash type)
  3831. - void delete()
  3832. - bool operator==(const ResourceRefList& rhs) const
  3833. Properties:
  3834. - StringHash type
  3835. <a name="Class_RigidBody"></a>
  3836. ### RigidBody : Component
  3837. Methods:
  3838. - void SetMass(float mass)
  3839. - void SetPosition(const Vector3& position)
  3840. - void SetRotation(const Quaternion& rotation)
  3841. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  3842. - void SetLinearVelocity(const Vector3& velocity)
  3843. - void SetLinearFactor(const Vector3& factor)
  3844. - void SetLinearRestThreshold(float threshold)
  3845. - void SetLinearDamping(float damping)
  3846. - void SetAngularVelocity(const Vector3& angularVelocity)
  3847. - void SetAngularFactor(const Vector3& factor)
  3848. - void SetAngularRestThreshold(float threshold)
  3849. - void SetAngularDamping(float factor)
  3850. - void SetFriction(float friction)
  3851. - void SetAnisotropicFriction(const Vector3& friction)
  3852. - void SetRollingFriction(float friction)
  3853. - void SetRestitution(float restitution)
  3854. - void SetContactProcessingThreshold(float threshold)
  3855. - void SetCcdRadius(float radius)
  3856. - void SetCcdMotionThreshold(float threshold)
  3857. - void SetUseGravity(bool enable)
  3858. - void SetGravityOverride(const Vector3& gravity)
  3859. - void SetKinematic(bool enable)
  3860. - void SetTrigger(bool enable)
  3861. - void SetCollisionLayer(unsigned layer)
  3862. - void SetCollisionMask(unsigned mask)
  3863. - void SetCollisionLayerAndMask(unsigned layer, unsigned mask)
  3864. - void SetCollisionEventMode(CollisionEventMode mode)
  3865. - void DisableMassUpdate()
  3866. - void EnableMassUpdate()
  3867. - void ApplyForce(const Vector3& force)
  3868. - void ApplyForce(const Vector3& force, const Vector3& position)
  3869. - void ApplyTorque(const Vector3& torque)
  3870. - void ApplyImpulse(const Vector3& impulse)
  3871. - void ApplyImpulse(const Vector3& impulse, const Vector3& position)
  3872. - void ApplyTorqueImpulse(const Vector3& torque)
  3873. - void ResetForces()
  3874. - void Activate()
  3875. - void ReAddBodyToWorld()
  3876. - PhysicsWorld* GetPhysicsWorld() const
  3877. - float GetMass() const
  3878. - Vector3 GetPosition() const
  3879. - Quaternion GetRotation() const
  3880. - Vector3 GetLinearVelocity() const
  3881. - Vector3 GetLinearFactor() const
  3882. - Vector3 GetVelocityAtPoint(const Vector3& position) const
  3883. - float GetLinearRestThreshold() const
  3884. - float GetLinearDamping() const
  3885. - Vector3 GetAngularVelocity() const
  3886. - Vector3 GetAngularFactor() const
  3887. - float GetAngularRestThreshold() const
  3888. - float GetAngularDamping() const
  3889. - float GetFriction() const
  3890. - Vector3 GetAnisotropicFriction() const
  3891. - float GetRollingFriction() const
  3892. - float GetRestitution() const
  3893. - float GetContactProcessingThreshold() const
  3894. - float GetCcdRadius() const
  3895. - float GetCcdMotionThreshold() const
  3896. - bool GetUseGravity() const
  3897. - const Vector3& GetGravityOverride() const
  3898. - const Vector3& GetCenterOfMass() const
  3899. - bool IsKinematic() const
  3900. - bool IsTrigger() const
  3901. - bool IsActive() const
  3902. - unsigned GetCollisionLayer() const
  3903. - unsigned GetCollisionMask() const
  3904. - CollisionEventMode GetCollisionEventMode() const
  3905. Properties:
  3906. - PhysicsWorld* physicsWorld (readonly)
  3907. - float mass
  3908. - Vector3 position
  3909. - Quaternion rotation
  3910. - Vector3 linearVelocity
  3911. - Vector3 linearFactor
  3912. - float linearRestThreshold
  3913. - float linearDamping
  3914. - Vector3 angularVelocity
  3915. - Vector3 angularFactor
  3916. - float angularRestThreshold
  3917. - float angularDamping
  3918. - float friction
  3919. - Vector3 anisotropicFriction
  3920. - float rollingFriction
  3921. - float restitution
  3922. - float contactProcessingThreshold
  3923. - float ccdRadius
  3924. - float ccdMotionThreshold
  3925. - bool useGravity
  3926. - Vector3& gravityOverride
  3927. - Vector3& centerOfMass (readonly)
  3928. - bool kinematic
  3929. - bool trigger
  3930. - bool active (readonly)
  3931. - unsigned collisionLayer
  3932. - unsigned collisionMask
  3933. - CollisionEventMode collisionEventMode
  3934. <a name="Class_RigidBody2D"></a>
  3935. ### RigidBody2D : Component
  3936. Methods:
  3937. - void SetBodyType(BodyType2D bodyType)
  3938. - void SetMass(float mass)
  3939. - void SetInertia(float inertia)
  3940. - void SetMassCenter(const Vector2& center)
  3941. - void SetUseFixtureMass(bool useFixtureMass)
  3942. - void SetLinearDamping(float linearDamping)
  3943. - void SetAngularDamping(float angularDamping)
  3944. - void SetAllowSleep(bool allowSleep)
  3945. - void SetFixedRotation(bool fixedRotation)
  3946. - void SetBullet(bool bullet)
  3947. - void SetGravityScale(float gravityScale)
  3948. - void SetAwake(bool awake)
  3949. - void SetLinearVelocity(const Vector2& linearVelocity)
  3950. - void SetAngularVelocity(float angularVelocity)
  3951. - void ApplyForce(const Vector2& force, const Vector2& point, bool wake)
  3952. - void ApplyForceToCenter(const Vector2& force, bool wake)
  3953. - void ApplyTorque(float torque, bool wake)
  3954. - void ApplyLinearImpulse(const Vector2& impulse, const Vector2& point, bool wake)
  3955. - void ApplyAngularImpulse(float impulse, bool wake)
  3956. - BodyType2D GetBodyType() const
  3957. - float GetMass() const
  3958. - float GetInertia() const
  3959. - Vector2 GetMassCenter() const
  3960. - bool GetUseFixtureMass() const
  3961. - float GetLinearDamping() const
  3962. - float GetAngularDamping() const
  3963. - bool IsAllowSleep() const
  3964. - bool IsFixedRotation() const
  3965. - bool IsBullet() const
  3966. - float GetGravityScale() const
  3967. - bool IsAwake() const
  3968. - Vector2 GetLinearVelocity() const
  3969. - float GetAngularVelocity() const
  3970. Properties:
  3971. - BodyType2D bodyType
  3972. - float mass
  3973. - float inertia
  3974. - Vector2 massCenter
  3975. - bool useFixtureMass
  3976. - float linearDamping
  3977. - float angularDamping
  3978. - bool allowSleep
  3979. - bool fixedRotation
  3980. - bool bullet
  3981. - float gravityScale
  3982. - bool awake
  3983. - Vector2 linearVelocity
  3984. - float angularVelocity
  3985. <a name="Class_Scene"></a>
  3986. ### Scene : Node
  3987. Methods:
  3988. - Scene() (GC)
  3989. - Scene* new()
  3990. - void delete()
  3991. - bool Load(File* source)
  3992. - bool Save(File* dest) const
  3993. - bool Load(const String fileName)
  3994. - bool Save(const String fileName) const
  3995. - bool LoadXML(File* source)
  3996. - bool SaveXML(File* dest) const
  3997. - bool LoadXML(const String fileName)
  3998. - bool SaveXML(const String fileName) const
  3999. - Node* Instantiate(File* source, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  4000. - Node* Instantiate(const String fileName, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  4001. - Node* InstantiateXML(File* source, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  4002. - Node* InstantiateXML(const String fileName, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  4003. - bool LoadAsync(File* file, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  4004. - bool LoadAsyncXML(File* file, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  4005. - bool LoadAsync(const String fileName, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  4006. - bool LoadAsyncXML(const String fileName, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  4007. - void StopAsyncLoading()
  4008. - void Clear(bool clearReplicated = true, bool clearLocal = true)
  4009. - void SetUpdateEnabled(bool enable)
  4010. - void SetTimeScale(float scale)
  4011. - void SetElapsedTime(float time)
  4012. - void SetSmoothingConstant(float constant)
  4013. - void SetSnapThreshold(float threshold)
  4014. - void SetAsyncLoadingMs(int ms)
  4015. - Node* GetNode(unsigned id) const
  4016. - bool IsUpdateEnabled() const
  4017. - bool IsAsyncLoading() const
  4018. - float GetAsyncProgress() const
  4019. - LoadMode GetAsyncLoadMode() const
  4020. - const String GetFileName() const
  4021. - unsigned GetChecksum() const
  4022. - float GetTimeScale() const
  4023. - float GetElapsedTime() const
  4024. - float GetSmoothingConstant() const
  4025. - float GetSnapThreshold() const
  4026. - int GetAsyncLoadingMs() const
  4027. - const String GetVarName(StringHash hash) const
  4028. - void Update(float timeStep)
  4029. - void BeginThreadedUpdate()
  4030. - void EndThreadedUpdate()
  4031. - void DelayedMarkedDirty(Component* component)
  4032. - bool IsThreadedUpdate() const
  4033. - unsigned GetFreeNodeID(CreateMode mode)
  4034. - unsigned GetFreeComponentID(CreateMode mode)
  4035. - void NodeAdded(Node* node)
  4036. - void NodeRemoved(Node* node)
  4037. - void ComponentAdded(Component* component)
  4038. - void ComponentRemoved(Component* component)
  4039. - void SetVarNamesAttr(const String value)
  4040. - String GetVarNamesAttr() const
  4041. - void PrepareNetworkUpdate()
  4042. - void CleanupConnection(Connection* connection)
  4043. - void MarkNetworkUpdate(Node* node)
  4044. - void MarkNetworkUpdate(Component* component)
  4045. - void MarkReplicationDirty(Node* node)
  4046. Properties:
  4047. - bool updateEnabled
  4048. - bool asyncLoading (readonly)
  4049. - float asyncProgress (readonly)
  4050. - LoadMode asyncLoadMode (readonly)
  4051. - const String fileName
  4052. - unsigned checksum (readonly)
  4053. - float timeScale
  4054. - float elapsedTime
  4055. - float smoothingConstant
  4056. - float snapThreshold
  4057. - int asyncLoadingMs
  4058. - bool threadedUpdate (readonly)
  4059. - String varNamesAttr
  4060. <a name="Class_ScrollBar"></a>
  4061. ### ScrollBar : UIElement
  4062. Methods:
  4063. - ScrollBar() (GC)
  4064. - ScrollBar* new()
  4065. - void delete()
  4066. - void SetOrientation(Orientation orientation)
  4067. - void SetRange(float range)
  4068. - void SetValue(float value)
  4069. - void ChangeValue(float delta)
  4070. - void SetScrollStep(float step)
  4071. - void SetStepFactor(float factor)
  4072. - void StepBack()
  4073. - void StepForward()
  4074. - Orientation GetOrientation() const
  4075. - float GetRange() const
  4076. - float GetValue() const
  4077. - float GetScrollStep() const
  4078. - float GetStepFactor() const
  4079. - float GetEffectiveScrollStep() const
  4080. - Button* GetBackButton() const
  4081. - Button* GetForwardButton() const
  4082. - Slider* GetSlider() const
  4083. Properties:
  4084. - Orientation orientation
  4085. - float range
  4086. - float value
  4087. - float scrollStep
  4088. - float stepFactor
  4089. - float effectiveScrollStep (readonly)
  4090. - Button* backButton (readonly)
  4091. - Button* forwardButton (readonly)
  4092. - Slider* slider (readonly)
  4093. <a name="Class_ScrollView"></a>
  4094. ### ScrollView : UIElement
  4095. Methods:
  4096. - ScrollView() (GC)
  4097. - ScrollView* new()
  4098. - void delete()
  4099. - void SetContentElement(UIElement* element)
  4100. - void SetViewPosition(const IntVector2& position)
  4101. - void SetViewPosition(int x, int y)
  4102. - void SetScrollBarsVisible(bool horizontal, bool vertical)
  4103. - void SetScrollBarsAutoVisible(bool enable)
  4104. - void SetScrollStep(float step)
  4105. - void SetPageStep(float step)
  4106. - void SetScrollDeceleration(float deceleration)
  4107. - void SetScrollSnapEpsilon(float snap)
  4108. - void SetAutoDisableChildren(bool disable)
  4109. - void SetAutoDisableThreshold(float amount)
  4110. - const IntVector2& GetViewPosition() const
  4111. - UIElement* GetContentElement() const
  4112. - ScrollBar* GetHorizontalScrollBar() const
  4113. - ScrollBar* GetVerticalScrollBar() const
  4114. - BorderImage* GetScrollPanel() const
  4115. - bool GetScrollBarsAutoVisible() const
  4116. - float GetScrollStep() const
  4117. - float GetPageStep() const
  4118. - float GetScrollDeceleration() const
  4119. - float GetScrollSnapEpsilon() const
  4120. - bool GetAutoDisableChildren() const
  4121. - float GetAutoDisableThreshold() const
  4122. Properties:
  4123. - IntVector2& viewPosition
  4124. - UIElement* contentElement
  4125. - ScrollBar* horizontalScrollBar (readonly)
  4126. - ScrollBar* verticalScrollBar (readonly)
  4127. - BorderImage* scrollPanel (readonly)
  4128. - bool scrollBarsAutoVisible
  4129. - float scrollStep
  4130. - float pageStep
  4131. - float scrollDeceleration
  4132. - float scrollSnapEpsilon
  4133. <a name="Class_Serializable"></a>
  4134. ### Serializable : Object
  4135. Methods:
  4136. - void SetTemporary(bool enable)
  4137. - bool IsTemporary() const
  4138. Properties:
  4139. - bool temporary
  4140. <a name="Class_Serializer"></a>
  4141. ### Serializer
  4142. Methods:
  4143. - unsigned Write(const VectorBuffer& buffer)
  4144. - bool WriteInt(int value)
  4145. - bool WriteShort(short value)
  4146. - bool WriteByte(char value)
  4147. - bool WriteUInt(unsigned value)
  4148. - bool WriteUShort(short value)
  4149. - bool WriteUByte(char value)
  4150. - bool WriteBool(bool value)
  4151. - bool WriteFloat(float value)
  4152. - bool WriteIntRect(const IntRect& value)
  4153. - bool WriteIntVector2(const IntVector2& value)
  4154. - bool WriteRect(const Rect& value)
  4155. - bool WriteVector2(const Vector2& value)
  4156. - bool WriteVector3(const Vector3& value)
  4157. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  4158. - bool WriteVector4(const Vector4& value)
  4159. - bool WriteQuaternion(const Quaternion& value)
  4160. - bool WritePackedQuaternion(const Quaternion& value)
  4161. - bool WriteMatrix3(const Matrix3& value)
  4162. - bool WriteMatrix3x4(const Matrix3x4& value)
  4163. - bool WriteMatrix4(const Matrix4& value)
  4164. - bool WriteColor(const Color& value)
  4165. - bool WriteBoundingBox(const BoundingBox& value)
  4166. - bool WriteString(const String value)
  4167. - bool WriteFileID(const String value)
  4168. - bool WriteStringHash(const StringHash& value)
  4169. - bool WriteBuffer(const VectorBuffer& buffer)
  4170. - bool WriteResourceRef(const ResourceRef& value)
  4171. - bool WriteResourceRefList(const ResourceRefList& value)
  4172. - bool WriteVariant(const Variant& value)
  4173. - bool WriteVariantData(const Variant& value)
  4174. - bool WriteVariantVector(const VariantVector& value)
  4175. - bool WriteVariantMap(const VariantMap& value)
  4176. - bool WriteVLE(unsigned value)
  4177. - bool WriteNetID(unsigned value)
  4178. - bool WriteLine(const String value)
  4179. <a name="Class_Skeleton"></a>
  4180. ### Skeleton
  4181. Methods:
  4182. - unsigned GetNumBones() const
  4183. - Bone* GetRootBone()
  4184. - Bone* GetBone(const String name)
  4185. - Bone* GetBone(unsigned index)
  4186. Properties:
  4187. - unsigned numBones (readonly)
  4188. - Bone* rootBone (readonly)
  4189. <a name="Class_Skybox"></a>
  4190. ### Skybox : StaticModel
  4191. <a name="Class_Slider"></a>
  4192. ### Slider : BorderImage
  4193. Methods:
  4194. - Slider() (GC)
  4195. - Slider* new()
  4196. - void delete()
  4197. - void SetOrientation(Orientation orientation)
  4198. - void SetRange(float range)
  4199. - void SetValue(float value)
  4200. - void ChangeValue(float delta)
  4201. - void SetRepeatRate(float rate)
  4202. - Orientation GetOrientation() const
  4203. - float GetRange() const
  4204. - float GetValue() const
  4205. - BorderImage* GetKnob() const
  4206. - float GetRepeatRate() const
  4207. Properties:
  4208. - Orientation orientation
  4209. - float range
  4210. - float value
  4211. - BorderImage* knob (readonly)
  4212. - float repeatRate
  4213. <a name="Class_Sound"></a>
  4214. ### Sound : Resource
  4215. Methods:
  4216. - Sound() (GC)
  4217. - Sound* new()
  4218. - void delete()
  4219. - bool LoadRaw(Deserializer& source)
  4220. - bool LoadWav(Deserializer& source)
  4221. - bool LoadOggVorbis(Deserializer& source)
  4222. - bool LoadRaw(const String fileName)
  4223. - bool LoadWav(const String fileName)
  4224. - bool LoadOggVorbis(const String fileName)
  4225. - void SetSize(unsigned dataSize)
  4226. - void SetData(const void* data, unsigned dataSize)
  4227. - void SetFormat(unsigned frequency, bool sixteenBit, bool stereo)
  4228. - void SetLooped(bool enable)
  4229. - void SetLoop(unsigned repeatOffset, unsigned endOffset)
  4230. - void FixInterpolation()
  4231. - float GetLength() const
  4232. - unsigned GetDataSize() const
  4233. - unsigned GetSampleSize() const
  4234. - float GetFrequency() const
  4235. - unsigned GetIntFrequency() const
  4236. - bool IsLooped() const
  4237. - bool IsSixteenBit() const
  4238. - bool IsStereo() const
  4239. - bool IsCompressed() const
  4240. Properties:
  4241. - float length (readonly)
  4242. - unsigned dataSize (readonly)
  4243. - unsigned sampleSize (readonly)
  4244. - float frequency (readonly)
  4245. - int intFrequency (readonly)
  4246. - bool looped
  4247. - bool sixteenBit (readonly)
  4248. - bool stereo (readonly)
  4249. - bool compressed (readonly)
  4250. <a name="Class_SoundListener"></a>
  4251. ### SoundListener : Component
  4252. <a name="Class_SoundSource"></a>
  4253. ### SoundSource : Component
  4254. Methods:
  4255. - void Play(Sound* sound)
  4256. - void Play(Sound* sound, float frequency)
  4257. - void Play(Sound* sound, float frequency, float gain)
  4258. - void Play(Sound* sound, float frequency, float gain, float panning)
  4259. - void Stop()
  4260. - void SetSoundType(const String type)
  4261. - void SetFrequency(float frequency)
  4262. - void SetGain(float gain)
  4263. - void SetAttenuation(float attenuation)
  4264. - void SetPanning(float panning)
  4265. - void SetAutoRemove(bool enable)
  4266. - Sound* GetSound() const
  4267. - String GetSoundType() const
  4268. - float GetTimePosition() const
  4269. - float GetFrequency() const
  4270. - float GetGain() const
  4271. - float GetAttenuation() const
  4272. - float GetPanning() const
  4273. - bool GetAutoRemove() const
  4274. - bool IsPlaying() const
  4275. Properties:
  4276. - Sound* sound (readonly)
  4277. - String soundType
  4278. - float timePosition (readonly)
  4279. - float frequency
  4280. - float gain
  4281. - float attenuation
  4282. - float panning
  4283. - bool autoRemove
  4284. - bool playing (readonly)
  4285. <a name="Class_SoundSource3D"></a>
  4286. ### SoundSource3D : SoundSource
  4287. Methods:
  4288. - void SetDistanceAttenuation(float nearDistance, float farDistance, float rolloffFactor)
  4289. - void SetAngleAttenuation(float innerAngle, float outerAngle)
  4290. - void SetNearDistance(float distance)
  4291. - void SetFarDistance(float distance)
  4292. - void SetInnerAngle(float angle)
  4293. - void SetOuterAngle(float angle)
  4294. - void SetRolloffFactor(float factor)
  4295. - void CalculateAttenuation()
  4296. - float GetNearDistance() const
  4297. - float GetFarDistance() const
  4298. - float GetInnerAngle() const
  4299. - float GetOuterAngle() const
  4300. - float RollAngleoffFactor() const
  4301. Properties:
  4302. - float nearDistance
  4303. - float farDistance
  4304. - float innerAngle
  4305. - float outerAngle
  4306. - float rolloffFactor
  4307. <a name="Class_Sphere"></a>
  4308. ### Sphere
  4309. Methods:
  4310. - Sphere() (GC)
  4311. - Sphere* new()
  4312. - Sphere(const Sphere& sphere) (GC)
  4313. - Sphere* new(const Sphere& sphere)
  4314. - Sphere(const Vector3& center, float radius) (GC)
  4315. - Sphere* new(const Vector3& center, float radius)
  4316. - Sphere(const BoundingBox& box) (GC)
  4317. - Sphere* new(const BoundingBox& box)
  4318. - Sphere(const Frustum& frustum) (GC)
  4319. - Sphere* new(const Frustum& frustum)
  4320. - Sphere(const Polyhedron& poly) (GC)
  4321. - Sphere* new(const Polyhedron& poly)
  4322. - void delete()
  4323. - bool operator==(const Sphere& rhs) const
  4324. - void Define(const Sphere& sphere)
  4325. - void Define(const Vector3& center, float radius)
  4326. - void Define(const BoundingBox& box)
  4327. - void Define(const Frustum& frustum)
  4328. - void Define(const Polyhedron& poly)
  4329. - void Merge(const Vector3& point)
  4330. - void Merge(const BoundingBox& box)
  4331. - void Merge(const Frustum& frustum)
  4332. - void Merge(const Polyhedron& poly)
  4333. - void Merge(const Sphere& sphere)
  4334. - void Clear()
  4335. - Intersection IsInside(const Vector3& point) const
  4336. - Intersection IsInside(const Sphere& sphere) const
  4337. - Intersection IsInsideFast(const Sphere& sphere) const
  4338. - Intersection IsInside(const BoundingBox& box) const
  4339. - Intersection IsInsideFast(const BoundingBox& box) const
  4340. - float Distance(const Vector3& point) const
  4341. Properties:
  4342. - Vector3 center
  4343. - float radius
  4344. - bool defined
  4345. <a name="Class_Spline"></a>
  4346. ### Spline
  4347. Methods:
  4348. - Spline() (GC)
  4349. - Spline* new()
  4350. - Spline(InterpolationMode mode) (GC)
  4351. - Spline* new(InterpolationMode mode)
  4352. - Spline(const Spline& rhs) (GC)
  4353. - Spline* new(const Spline& rhs)
  4354. - void delete()
  4355. - bool operator==(const Spline& rhs) const
  4356. - Variant GetPoint(float f) const
  4357. - Variant GetKnot(unsigned index) const
  4358. - void SetKnot(const Variant& knot, unsigned tolua_var_1)
  4359. - void AddKnot(const Variant& knot)
  4360. - void AddKnot(const Variant& knot, unsigned index)
  4361. - void RemoveKnot()
  4362. - void RemoveKnot(unsigned index)
  4363. - void Clear()
  4364. Properties:
  4365. - InterpolationMode interpolationMode
  4366. <a name="Class_SplinePath"></a>
  4367. ### SplinePath : Component
  4368. Methods:
  4369. - void AddControlPoint(Node* point, unsigned index = M_MAX_UNSIGNED)
  4370. - void RemoveControlPoint(Node* point)
  4371. - void ClearControlPoints()
  4372. - Vector3 GetPoint(float factor) const
  4373. - InterpolationMode GetInterpolationMode() const
  4374. - Vector3 GetPosition() const
  4375. - void SetInterpolationMode(InterpolationMode mode)
  4376. - void SetPosition(float factor)
  4377. - void Move(float timeStep)
  4378. - void Reset()
  4379. - bool IsFinished() const
  4380. Properties:
  4381. - float speed
  4382. - Node* controlledNode
  4383. <a name="Class_Sprite"></a>
  4384. ### Sprite : UIElement
  4385. Methods:
  4386. - Sprite() (GC)
  4387. - Sprite* new()
  4388. - void delete()
  4389. - void SetPosition(const Vector2& position)
  4390. - void SetPosition(float x, float y)
  4391. - void SetHotSpot(const IntVector2& hotSpot)
  4392. - void SetHotSpot(int x, int y)
  4393. - void SetScale(const Vector2& scale)
  4394. - void SetScale(float x, float y)
  4395. - void SetScale(float scale)
  4396. - void SetRotation(float angle)
  4397. - void SetTexture(Texture* texture)
  4398. - void SetImageRect(const IntRect& rect)
  4399. - void SetFullImageRect()
  4400. - void SetBlendMode(BlendMode mode)
  4401. - const Vector2& GetPosition() const
  4402. - const IntVector2& GetHotSpot() const
  4403. - const Vector2& GetScale() const
  4404. - float GetRotation() const
  4405. - Texture* GetTexture() const
  4406. - const IntRect& GetImageRect() const
  4407. - BlendMode GetBlendMode() const
  4408. - const Matrix3x4& GetTransform() const
  4409. Properties:
  4410. - Vector2& position
  4411. - IntVector2& hotSpot
  4412. - Vector2& scale
  4413. - float rotation
  4414. - Texture* texture
  4415. - IntRect& imageRect
  4416. - BlendMode blendMode
  4417. - Matrix3x4& transform (readonly)
  4418. <a name="Class_Sprite2D"></a>
  4419. ### Sprite2D : Resource
  4420. Methods:
  4421. - void SetTexture(Texture2D* texture)
  4422. - void SetRectangle(const IntRect& rectangle)
  4423. - void SetHotSpot(const Vector2& hotSpot)
  4424. - void SetOffset(const IntVector2& offset)
  4425. - void SetSpriteSheet(SpriteSheet2D* spriteSheet)
  4426. - Texture2D* GetTexture() const
  4427. - const IntRect& GetRectangle() const
  4428. - const Vector2& GetHotSpot() const
  4429. - const IntVector2& GetOffset() const
  4430. - SpriteSheet2D* GetSpriteSheet() const
  4431. Properties:
  4432. - Texture2D* texture
  4433. - IntRect rectangle
  4434. - Vector2 hotSpot
  4435. - IntVector2 offset
  4436. - SpriteSheet2D* spriteSheet
  4437. <a name="Class_SpriteSheet2D"></a>
  4438. ### SpriteSheet2D : Resource
  4439. Methods:
  4440. - Texture2D* GetTexture() const
  4441. - Sprite2D* GetSprite(const String name) const
  4442. - void DefineSprite(const String name, const IntRect& rectangle)
  4443. - void DefineSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot)
  4444. - void DefineSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot, const IntVector2& originSize)
  4445. <a name="Class_StaticModel"></a>
  4446. ### StaticModel : Drawable
  4447. Methods:
  4448. - void SetModel(Model* model)
  4449. - void SetMaterial(Material* material)
  4450. - bool SetMaterial(unsigned index, Material* material)
  4451. - void SetOcclusionLodLevel(unsigned level)
  4452. - void ApplyMaterialList(const String fileName = String::EMPTY)
  4453. - Model* GetModel() const
  4454. - unsigned GetNumGeometries() const
  4455. - Material* GetMaterial(unsigned index = 0) const
  4456. - unsigned GetOcclusionLodLevel() const
  4457. - bool IsInside(const Vector3& point) const
  4458. - bool IsInsideLocal(const Vector3& point) const
  4459. Properties:
  4460. - Model* model
  4461. - Material* material
  4462. - BoundingBox& boundingBox (readonly)
  4463. - unsigned numGeometries (readonly)
  4464. - unsigned occlusionLodLevel
  4465. <a name="Class_StaticModelGroup"></a>
  4466. ### StaticModelGroup : StaticModel
  4467. Methods:
  4468. - void AddInstanceNode(Node* node)
  4469. - void RemoveInstanceNode(Node* node)
  4470. - void RemoveAllInstanceNodes()
  4471. - unsigned GetNumInstanceNodes() const
  4472. - Node* GetInstanceNode(unsigned index) const
  4473. Properties:
  4474. - unsigned numInstanceNodes (readonly)
  4475. <a name="Class_StaticSprite2D"></a>
  4476. ### StaticSprite2D : Drawable2D
  4477. Methods:
  4478. - void SetSprite(Sprite2D* sprite)
  4479. - void SetFlip(bool flipX, bool flipY)
  4480. - void SetFlipX(bool flipX)
  4481. - void SetFlipY(bool flipY)
  4482. - void SetColor(const Color& color)
  4483. - void SetAlpha(float alpha)
  4484. - void SetUseHotSpot(bool useHotSpot)
  4485. - void SetHotSpot(const Vector2& hotspot)
  4486. - Sprite2D* GetSprite() const
  4487. - bool GetFlipX() const
  4488. - bool GetFlipY() const
  4489. - const Color& GetColor() const
  4490. - float GetAlpha() const
  4491. - bool GetUseHotSpot() const
  4492. - const Vector2& GetHotSpot() const
  4493. Properties:
  4494. - Sprite2D* sprite
  4495. - bool flipX
  4496. - bool flipY
  4497. - Color& color
  4498. - float alpha
  4499. - bool useHotSpot
  4500. - Vector2 hotSpot
  4501. <a name="Class_StringHash"></a>
  4502. ### StringHash
  4503. Methods:
  4504. - StringHash() (GC)
  4505. - StringHash* new()
  4506. - StringHash(const StringHash& rhs) (GC)
  4507. - StringHash* new(const StringHash& rhs)
  4508. - StringHash(unsigned value) (GC)
  4509. - StringHash* new(unsigned value)
  4510. - StringHash(const String str) (GC)
  4511. - StringHash* new(const String str)
  4512. - void delete()
  4513. - StringHash operator+(const StringHash& rhs) const
  4514. - bool operator==(const StringHash& rhs) const
  4515. - bool operator<(const StringHash& rhs) const
  4516. - bool operatorbool() const
  4517. - unsigned Value() const
  4518. - String ToString() const
  4519. - unsigned ToHash() const
  4520. - unsigned Calculate(const char* str)
  4521. Properties:
  4522. - const StringHash ZERO
  4523. - unsigned value (readonly)
  4524. <a name="Class_Technique"></a>
  4525. ### Technique : Resource
  4526. Methods:
  4527. - bool HasPass(const StringHash type) const
  4528. - Pass* GetPass(const StringHash type) const
  4529. - Pass* GetSupportedPass(const StringHash type) const
  4530. - bool IsSupported() const
  4531. - bool IsSM3() const
  4532. - bool IsDesktop() const
  4533. - unsigned GetNumPasses() const
  4534. - const Vector<StringHash>& GetPassTypes() const
  4535. - const PODVector<Pass*>& GetPasses() const
  4536. Properties:
  4537. - bool supported (readonly)
  4538. - bool SM3 (readonly)
  4539. - bool desktop (readonly)
  4540. - unsigned numPasses (readonly)
  4541. <a name="Class_Terrain"></a>
  4542. ### Terrain : Component
  4543. Methods:
  4544. - void SetPatchSize(int size)
  4545. - void SetSpacing(const Vector3& spacing)
  4546. - void SetSmoothing(bool enable)
  4547. - bool SetHeightMap(Image* image)
  4548. - void SetMaterial(Material* material)
  4549. - void SetDrawDistance(float distance)
  4550. - void SetShadowDistance(float distance)
  4551. - void SetLodBias(float bias)
  4552. - void SetViewMask(unsigned mask)
  4553. - void SetLightMask(unsigned mask)
  4554. - void SetShadowMask(unsigned mask)
  4555. - void SetZoneMask(unsigned mask)
  4556. - void SetMaxLights(unsigned num)
  4557. - void SetCastShadows(bool enable)
  4558. - void SetOccluder(bool enable)
  4559. - void SetOccludee(bool enable)
  4560. - void ApplyHeightMap()
  4561. - int GetPatchSize() const
  4562. - const Vector3& GetSpacing() const
  4563. - const IntVector2& GetNumVertices() const
  4564. - const IntVector2& GetNumPatches() const
  4565. - bool GetSmoothing() const
  4566. - Image* GetHeightMap() const
  4567. - Material* GetMaterial() const
  4568. - TerrainPatch* GetPatch(unsigned index) const
  4569. - TerrainPatch* GetPatch(int x, int z) const
  4570. - float GetHeight(const Vector3& worldPosition) const
  4571. - Vector3 GetNormal(const Vector3& worldPosition) const
  4572. - IntVector2 WorldToHeightMap(const Vector3& worldPosition) const
  4573. - SharedArrayPtr<float> GetHeightData() const
  4574. - float GetDrawDistance() const
  4575. - float GetShadowDistance() const
  4576. - float GetLodBias() const
  4577. - unsigned GetViewMask() const
  4578. - unsigned GetLightMask() const
  4579. - unsigned GetShadowMask() const
  4580. - unsigned GetZoneMask() const
  4581. - unsigned GetMaxLights() const
  4582. - bool IsVisible() const
  4583. - bool GetCastShadows() const
  4584. - bool IsOccluder() const
  4585. - bool IsOccludee() const
  4586. Properties:
  4587. - int patchSize
  4588. - Vector3& spacing
  4589. - IntVector2& numVertices (readonly)
  4590. - IntVector2& numPatches (readonly)
  4591. - bool smoothing
  4592. - Image* heightMap
  4593. - Material* material
  4594. - float drawDistance
  4595. - float shadowDistance
  4596. - float lodBias
  4597. - unsigned viewMask
  4598. - unsigned lightMask
  4599. - unsigned shadowMask
  4600. - unsigned zoneMask
  4601. - unsigned maxLights
  4602. - bool visible (readonly)
  4603. - bool castShadows
  4604. - bool occluder
  4605. - bool occludee
  4606. <a name="Class_TerrainPatch"></a>
  4607. ### TerrainPatch : Drawable
  4608. Methods:
  4609. - void SetOwner(Terrain* terrain)
  4610. - void SetNeighbors(TerrainPatch* north, TerrainPatch* south, TerrainPatch* west, TerrainPatch* east)
  4611. - void SetMaterial(Material* material)
  4612. - void SetBoundingBox(const BoundingBox& box)
  4613. - void SetCoordinates(const IntVector2& coordinates)
  4614. - void SetOcclusionOffset(float offset)
  4615. - void ResetLod()
  4616. - Geometry* GetGeometry() const
  4617. - Geometry* GetMaxLodGeometry() const
  4618. - Geometry* GetMinLodGeometry() const
  4619. - VertexBuffer* GetVertexBuffer() const
  4620. - Terrain* GetOwner() const
  4621. - TerrainPatch* GetNorthPatch() const
  4622. - TerrainPatch* GetSouthPatch() const
  4623. - TerrainPatch* GetWestPatch() const
  4624. - TerrainPatch* GetEastPatch() const
  4625. - const IntVector2& GetCoordinates() const
  4626. - unsigned GetLodLevel() const
  4627. - float GetOcclusionOffset() const
  4628. Properties:
  4629. - Geometry* geometry (readonly)
  4630. - Geometry* maxLodGeometry (readonly)
  4631. - Geometry* minLodGeometry (readonly)
  4632. - VertexBuffer* vertexBuffer (readonly)
  4633. - Terrain* owner
  4634. - TerrainPatch* northPatch (readonly)
  4635. - TerrainPatch* southPatch (readonly)
  4636. - TerrainPatch* westPatch (readonly)
  4637. - TerrainPatch* eastPatch (readonly)
  4638. - BoundingBox& boundingBox
  4639. - IntVector2& coordinates
  4640. - unsigned lodLevel (readonly)
  4641. - float occlusionOffset
  4642. <a name="Class_Text"></a>
  4643. ### Text : UIElement
  4644. Methods:
  4645. - Text() (GC)
  4646. - Text* new()
  4647. - void delete()
  4648. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  4649. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  4650. - void SetText(const String text)
  4651. - void SetTextAlignment(HorizontalAlignment align)
  4652. - void SetRowSpacing(float spacing)
  4653. - void SetWordwrap(bool enable)
  4654. - void SetSelection(unsigned start, unsigned length = M_MAX_UNSIGNED)
  4655. - void ClearSelection()
  4656. - void SetSelectionColor(const Color& color)
  4657. - void SetHoverColor(const Color& color)
  4658. - void SetTextEffect(TextEffect textEffect)
  4659. - void SetEffectColor(const Color& effectColor)
  4660. - Font* GetFont() const
  4661. - int GetFontSize() const
  4662. - const String GetText() const
  4663. - HorizontalAlignment GetTextAlignment() const
  4664. - float GetRowSpacing() const
  4665. - bool GetWordwrap() const
  4666. - unsigned GetSelectionStart() const
  4667. - unsigned GetSelectionLength() const
  4668. - const Color& GetSelectionColor() const
  4669. - const Color& GetHoverColor() const
  4670. - TextEffect GetTextEffect() const
  4671. - const Color& GetEffectColor() const
  4672. - int GetRowHeight() const
  4673. - unsigned GetNumRows() const
  4674. - unsigned GetNumChars() const
  4675. - int GetRowWidth(unsigned index) const
  4676. - IntVector2 GetCharPosition(unsigned index)
  4677. - IntVector2 GetCharSize(unsigned index)
  4678. - void SetEffectDepthBias(float bias)
  4679. - float GetEffectDepthBias() const
  4680. Properties:
  4681. - Font* font
  4682. - int fontSize (readonly)
  4683. - String text
  4684. - HorizontalAlignment textAlignment
  4685. - float rowSpacing
  4686. - bool wordwrap
  4687. - unsigned selectionStart (readonly)
  4688. - unsigned selectionLength (readonly)
  4689. - Color& selectionColor
  4690. - Color& hoverColor
  4691. - TextEffect textEffect
  4692. - Color& effectColor
  4693. - int rowHeight (readonly)
  4694. - unsigned numRows (readonly)
  4695. - unsigned numChars (readonly)
  4696. <a name="Class_Text3D"></a>
  4697. ### Text3D : Drawable
  4698. Methods:
  4699. - Text3D() (GC)
  4700. - Text3D* new()
  4701. - void delete()
  4702. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  4703. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  4704. - void SetMaterial(Material* material)
  4705. - void SetText(const String text)
  4706. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4707. - void SetHorizontalAlignment(HorizontalAlignment align)
  4708. - void SetVerticalAlignment(VerticalAlignment align)
  4709. - void SetTextAlignment(HorizontalAlignment align)
  4710. - void SetRowSpacing(float spacing)
  4711. - void SetWordwrap(bool enable)
  4712. - void SetTextEffect(TextEffect textEffect)
  4713. - void SetEffectColor(const Color& effectColor)
  4714. - void SetEffectDepthBias(float bias)
  4715. - void SetWidth(int width)
  4716. - void SetColor(const Color& color)
  4717. - void SetColor(Corner corner, const Color& color)
  4718. - void SetOpacity(float opacity)
  4719. - void SetFaceCameraMode(FaceCameraMode mode)
  4720. - Font* GetFont() const
  4721. - Material* GetMaterial() const
  4722. - int GetFontSize() const
  4723. - const String GetText() const
  4724. - HorizontalAlignment GetTextAlignment() const
  4725. - HorizontalAlignment GetHorizontalAlignment() const
  4726. - VerticalAlignment GetVerticalAlignment() const
  4727. - float GetRowSpacing() const
  4728. - bool GetWordwrap() const
  4729. - TextEffect GetTextEffect() const
  4730. - const Color& GetEffectColor() const
  4731. - float GetEffectDepthBias() const
  4732. - int GetWidth() const
  4733. - int GetRowHeight() const
  4734. - unsigned GetNumRows() const
  4735. - unsigned GetNumChars() const
  4736. - int GetRowWidth(unsigned index) const
  4737. - IntVector2 GetCharPosition(unsigned index)
  4738. - IntVector2 GetCharSize(unsigned index)
  4739. - const Color& GetColor(Corner corner) const
  4740. - float GetOpacity() const
  4741. - FaceCameraMode GetFaceCameraMode() const
  4742. Properties:
  4743. - Font* font
  4744. - Material* material
  4745. - int fontSize (readonly)
  4746. - String text
  4747. - HorizontalAlignment textAlignment
  4748. - HorizontalAlignment horizontalAlignment
  4749. - VerticalAlignment verticalAlignment
  4750. - float rowSpacing
  4751. - bool wordwrap
  4752. - TextEffect textEffect
  4753. - Color& effectColor
  4754. - float effectDepthBias
  4755. - int width
  4756. - Color& color
  4757. - int rowHeight (readonly)
  4758. - unsigned numRows (readonly)
  4759. - unsigned numChars (readonly)
  4760. - float opacity
  4761. - FaceCameraMode faceCameraMode
  4762. <a name="Class_Texture"></a>
  4763. ### Texture : Resource
  4764. Methods:
  4765. - void SetNumLevels(unsigned levels)
  4766. - void SetFilterMode(TextureFilterMode filter)
  4767. - void SetAddressMode(TextureCoordinate coord, TextureAddressMode address)
  4768. - void SetBorderColor(const Color& color)
  4769. - void SetSRGB(bool enable)
  4770. - void SetBackupTexture(Texture* texture)
  4771. - void SetMipsToSkip(int quality, int mips)
  4772. - unsigned GetFormat() const
  4773. - bool IsCompressed() const
  4774. - unsigned GetLevels() const
  4775. - int GetWidth() const
  4776. - int GetHeight() const
  4777. - TextureFilterMode GetFilterMode() const
  4778. - TextureAddressMode GetAddressMode(TextureCoordinate coord) const
  4779. - const Color& GetBorderColor() const
  4780. - bool GetSRGB() const
  4781. - Texture* GetBackupTexture() const
  4782. - int GetMipsToSkip(int quality) const
  4783. - int GetLevelWidth(unsigned level) const
  4784. - int GetLevelHeight(unsigned level) const
  4785. - TextureUsage GetUsage() const
  4786. - unsigned GetDataSize(int width, int height) const
  4787. - unsigned GetRowDataSize(int width) const
  4788. Properties:
  4789. - unsigned format (readonly)
  4790. - bool compressed (readonly)
  4791. - unsigned levels (readonly)
  4792. - int width (readonly)
  4793. - int height (readonly)
  4794. - TextureFilterMode filterMode
  4795. - Color& borderColor
  4796. - bool sRGB
  4797. - Texture* backupTexture
  4798. - TextureUsage usage (readonly)
  4799. <a name="Class_Texture2D"></a>
  4800. ### Texture2D : Texture
  4801. Methods:
  4802. - Texture2D() (GC)
  4803. - Texture2D* new()
  4804. - void delete()
  4805. - bool SetSize(int width, int height, unsigned format, TextureUsage usage = TEXTURE_STATIC)
  4806. - bool SetData(Image* image, bool useAlpha = false)
  4807. - RenderSurface* GetRenderSurface() const
  4808. Properties:
  4809. - RenderSurface* renderSurface (readonly)
  4810. <a name="Class_TextureCube"></a>
  4811. ### TextureCube : Texture
  4812. Methods:
  4813. - RenderSurface* GetRenderSurface(CubeMapFace face) const
  4814. <a name="Class_TextureFrame"></a>
  4815. ### TextureFrame
  4816. Methods:
  4817. - TextureFrame() (GC)
  4818. - TextureFrame* new()
  4819. - void delete()
  4820. Properties:
  4821. - Rect uv
  4822. - float time
  4823. <a name="Class_Tile2D"></a>
  4824. ### Tile2D
  4825. Methods:
  4826. - int GetGid() const
  4827. - Sprite2D* GetSprite() const
  4828. - bool HasProperty(const String name) const
  4829. - const String GetProperty(const String name) const
  4830. Properties:
  4831. - int gid (readonly)
  4832. - Sprite2D* sprite (readonly)
  4833. <a name="Class_TileMap2D"></a>
  4834. ### TileMap2D : Component
  4835. Methods:
  4836. - void DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
  4837. - void SetTmxFile(TmxFile2D* tmxFile)
  4838. - TmxFile2D* GetTmxFile() const
  4839. - const TileMapInfo2D& GetInfo() const
  4840. - unsigned GetNumLayers() const
  4841. - TileMapLayer2D* GetLayer(unsigned index) const
  4842. - Vector2 TileIndexToPosition(int x, int y) const
  4843. - bool PositionToTileIndex(const Vector2& position, int x = 0, int y = 0) const
  4844. Properties:
  4845. - TmxFile2D* tmxFile
  4846. - TileMapInfo2D& info (readonly)
  4847. - unsigned numLayers (readonly)
  4848. <a name="Class_TileMapInfo2D"></a>
  4849. ### TileMapInfo2D
  4850. Methods:
  4851. - float GetMapWidth() const
  4852. - float GetMapHeight() const
  4853. Properties:
  4854. - Orientation2D orientation
  4855. - int width
  4856. - int height
  4857. - float tileWidth
  4858. - float tileHeight
  4859. - float mapWidth (readonly)
  4860. - float mapHeight (readonly)
  4861. <a name="Class_TileMapLayer2D"></a>
  4862. ### TileMapLayer2D : Component
  4863. Methods:
  4864. - void DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
  4865. - void SetDrawOrder(int drawOrder)
  4866. - void SetVisible(bool visible)
  4867. - int GetDrawOrder() const
  4868. - bool IsVisible() const
  4869. - bool HasProperty(const String name) const
  4870. - const String GetProperty(const String name) const
  4871. - TileMapLayerType2D GetLayerType() const
  4872. - int GetWidth() const
  4873. - int GetHeight() const
  4874. - Node* GetTileNode(int x, int y) const
  4875. - Tile2D* GetTile(int x, int y) const
  4876. - unsigned GetNumObjects() const
  4877. - TileMapObject2D* GetObject(unsigned index) const
  4878. - Node* GetObjectNode(unsigned index) const
  4879. - Node* GetImageNode() const
  4880. Properties:
  4881. - int drawOrder (readonly)
  4882. - bool visible (readonly)
  4883. - TileMapLayerType2D layerType (readonly)
  4884. - int width (readonly)
  4885. - int height (readonly)
  4886. - unsigned numObjects (readonly)
  4887. - Node* imageNode (readonly)
  4888. <a name="Class_TileMapObject2D"></a>
  4889. ### TileMapObject2D
  4890. Methods:
  4891. - TileMapObjectType2D GetObjectType() const
  4892. - const String GetName() const
  4893. - const String GetType() const
  4894. - const Vector2& GetPosition() const
  4895. - const Vector2& GetSize() const
  4896. - unsigned GetNumPoints() const
  4897. - const Vector2& GetPoint(unsigned index) const
  4898. - int GetTileGid() const
  4899. - Sprite2D* GetTileSprite() const
  4900. - bool HasProperty(const String name) const
  4901. - const String GetProperty(const String name) const
  4902. Properties:
  4903. - TileMapObjectType2D objectType (readonly)
  4904. - String name (readonly)
  4905. - String type (readonly)
  4906. - Vector2 position (readonly)
  4907. - Vector2 size (readonly)
  4908. - unsigned numPoints (readonly)
  4909. - int tileGid (readonly)
  4910. - Sprite2D* tileSprite (readonly)
  4911. <a name="Class_Time"></a>
  4912. ### Time : Object
  4913. Methods:
  4914. - unsigned GetFrameNumber() const
  4915. - float GetTimeStep() const
  4916. - unsigned GetTimerPeriod() const
  4917. - float GetElapsedTime()
  4918. - unsigned GetSystemTime()
  4919. - unsigned GetTimeSinceEpoch()
  4920. - String GetTimeStamp()
  4921. - void Sleep(unsigned mSec)
  4922. Properties:
  4923. - unsigned frameNumber (readonly)
  4924. - float timeStep (readonly)
  4925. - unsigned timerPeriod (readonly)
  4926. - float elapsedTime (readonly)
  4927. <a name="Class_TmxFile2D"></a>
  4928. ### TmxFile2D : Resource
  4929. <a name="Class_ToolTip"></a>
  4930. ### ToolTip : UIElement
  4931. Methods:
  4932. - ToolTip() (GC)
  4933. - ToolTip* new()
  4934. - void delete()
  4935. - void SetDelay(float delay)
  4936. - float GetDelay() const
  4937. Properties:
  4938. - float delay
  4939. <a name="Class_TouchState"></a>
  4940. ### TouchState
  4941. Methods:
  4942. - UIElement* GetTouchedElement()
  4943. Properties:
  4944. - int touchID
  4945. - IntVector2 position
  4946. - IntVector2 lastPosition
  4947. - IntVector2 delta
  4948. - float pressure
  4949. - UIElement* touchedElement (readonly)
  4950. <a name="Class_UI"></a>
  4951. ### UI : Object
  4952. Methods:
  4953. - void SetCursor(Cursor* cursor)
  4954. - void SetFocusElement(UIElement* element, bool byKey = false)
  4955. - bool SetModalElement(UIElement* modalElement, bool enable)
  4956. - void Clear()
  4957. - void DebugDraw(UIElement* element)
  4958. - UIElement* LoadLayout(File* source, XMLFile* styleFile = 0)
  4959. - UIElement* LoadLayout(const String fileName, XMLFile* styleFile = 0)
  4960. - UIElement* LoadLayout(XMLFile* file, XMLFile* styleFile = 0)
  4961. - bool SaveLayout(Serializer& dest, UIElement* element)
  4962. - void SetClipboardText(const String text)
  4963. - void SetDoubleClickInterval(float interval)
  4964. - void SetDragBeginInterval(float interval)
  4965. - void SetDragBeginDistance(int pixels)
  4966. - void SetDefaultToolTipDelay(float delay)
  4967. - void SetMaxFontTextureSize(int size)
  4968. - void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel)
  4969. - void SetUseSystemClipboard(bool enable)
  4970. - void SetUseScreenKeyboard(bool enable)
  4971. - void SetUseMutableGlyphs(bool enable)
  4972. - void SetForceAutoHint(bool enable)
  4973. - UIElement* GetRoot() const
  4974. - UIElement* GetRootModalElement() const
  4975. - Cursor* GetCursor() const
  4976. - IntVector2 GetCursorPosition() const
  4977. - UIElement* GetElementAt(const IntVector2& position, bool enabledOnly = true)
  4978. - UIElement* GetElementAt(int x, int y, bool enabledOnly = true)
  4979. - UIElement* GetFocusElement() const
  4980. - UIElement* GetFrontElement() const
  4981. - UIElement* GetDragElement(unsigned index)
  4982. - const String GetClipboardText() const
  4983. - float GetDoubleClickInterval() const
  4984. - float GetDragBeginInterval() const
  4985. - int GetDragBeginDistance() const
  4986. - float GetDefaultToolTipDelay() const
  4987. - int GetMaxFontTextureSize() const
  4988. - bool IsNonFocusedMouseWheel() const
  4989. - bool GetUseSystemClipboard() const
  4990. - bool GetUseScreenKeyboard() const
  4991. - bool GetUseMutableGlyphs() const
  4992. - bool GetForceAutoHint() const
  4993. - bool HasModalElement() const
  4994. - bool IsDragging() const
  4995. Properties:
  4996. - UIElement* root (readonly)
  4997. - UIElement* rootModalElement (readonly)
  4998. - Cursor* cursor
  4999. - IntVector2 cursorPosition (readonly)
  5000. - UIElement* focusElement (readonly)
  5001. - UIElement* frontElement (readonly)
  5002. - String clipboardText
  5003. - float doubleClickInterval
  5004. - float dragBeginInterval
  5005. - int dragBeginDistance
  5006. - float defaultToolTipDelay
  5007. - int maxFontTextureSize
  5008. - bool nonFocusedMouseWheel
  5009. - bool useSystemClipboard
  5010. - bool useScreenKeyboard
  5011. - bool useMutableGlyphs
  5012. - bool forceAutoHint
  5013. - bool modalElement (readonly)
  5014. <a name="Class_UIElement"></a>
  5015. ### UIElement : Animatable
  5016. Methods:
  5017. - UIElement() (GC)
  5018. - UIElement* new()
  5019. - void delete()
  5020. - const IntVector2& GetScreenPosition() const
  5021. - bool LoadXML(Deserializer& source)
  5022. - bool SaveXML(Serializer& dest) const
  5023. - bool LoadXML(const String fileName)
  5024. - bool SaveXML(const String fileName) const
  5025. - bool FilterAttributes(XMLElement& dest) const
  5026. - void SetName(const String name)
  5027. - void SetPosition(const IntVector2& position)
  5028. - void SetPosition(int x, int y)
  5029. - void SetSize(const IntVector2& size)
  5030. - void SetSize(int width, int height)
  5031. - void SetWidth(int width)
  5032. - void SetHeight(int height)
  5033. - void SetMinSize(const IntVector2& minSize)
  5034. - void SetMinSize(int width, int height)
  5035. - void SetMinWidth(int width)
  5036. - void SetMinHeight(int height)
  5037. - void SetMaxSize(const IntVector2& maxSize)
  5038. - void SetMaxSize(int width, int height)
  5039. - void SetMaxWidth(int width)
  5040. - void SetMaxHeight(int height)
  5041. - void SetFixedSize(const IntVector2& size)
  5042. - void SetFixedSize(int width, int height)
  5043. - void SetFixedWidth(int width)
  5044. - void SetFixedHeight(int height)
  5045. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  5046. - void SetHorizontalAlignment(HorizontalAlignment align)
  5047. - void SetVerticalAlignment(VerticalAlignment align)
  5048. - void SetClipBorder(const IntRect& rect)
  5049. - void SetColor(const Color& color)
  5050. - void SetColor(Corner corner, const Color& color)
  5051. - void SetPriority(int priority)
  5052. - void SetOpacity(float opacity)
  5053. - void SetBringToFront(bool enable)
  5054. - void SetBringToBack(bool enable)
  5055. - void SetClipChildren(bool enable)
  5056. - void SetSortChildren(bool enable)
  5057. - void SetUseDerivedOpacity(bool enable)
  5058. - void SetEnabled(bool enable)
  5059. - void SetDeepEnabled(bool enable)
  5060. - void ResetDeepEnabled()
  5061. - void SetEnabledRecursive(bool enable)
  5062. - void SetEditable(bool enable)
  5063. - void SetFocus(bool enable)
  5064. - void SetSelected(bool enable)
  5065. - void SetVisible(bool enable)
  5066. - void SetFocusMode(FocusMode mode)
  5067. - void SetDragDropMode(unsigned mode)
  5068. - bool SetStyle(const String styleName, XMLFile* file = 0)
  5069. - bool SetStyle(const XMLElement& element)
  5070. - bool SetStyleAuto(XMLFile* file = 0)
  5071. - void SetDefaultStyle(XMLFile* style)
  5072. - void SetLayout(LayoutMode mode, int spacing = 0)
  5073. - void SetLayout(LayoutMode mode, int spacing, const IntRect& border)
  5074. - void SetLayoutMode(LayoutMode mode)
  5075. - void SetLayoutSpacing(int spacing)
  5076. - void SetLayoutBorder(const IntRect& border)
  5077. - void SetLayoutFlexScale(const Vector2& scale)
  5078. - void SetIndent(int indent)
  5079. - void SetIndentSpacing(int indentSpacing)
  5080. - void UpdateLayout()
  5081. - void DisableLayoutUpdate()
  5082. - void EnableLayoutUpdate()
  5083. - void BringToFront()
  5084. - UIElement* CreateChild(const String type, const String name = String::EMPTY, unsigned index = M_MAX_UNSIGNED)
  5085. - void AddChild(UIElement* element)
  5086. - void InsertChild(unsigned index, UIElement* element)
  5087. - void RemoveChild(UIElement* element, unsigned index = 0)
  5088. - void RemoveChildAtIndex(unsigned index)
  5089. - void RemoveAllChildren()
  5090. - void Remove()
  5091. - unsigned FindChild(UIElement* element) const
  5092. - void SetParent(UIElement* parent, unsigned index = M_MAX_UNSIGNED)
  5093. - void SetVar(StringHash key, const Variant& value)
  5094. - void SetInternal(bool enable)
  5095. - void SetTraversalMode(TraversalMode traversalMode)
  5096. - void SetElementEventSender(bool flag)
  5097. - const String GetName() const
  5098. - const IntVector2& GetPosition() const
  5099. - const IntVector2& GetSize() const
  5100. - int GetWidth() const
  5101. - int GetHeight() const
  5102. - const IntVector2& GetMinSize() const
  5103. - int GetMinWidth() const
  5104. - int GetMinHeight() const
  5105. - const IntVector2& GetMaxSize() const
  5106. - int GetMaxWidth() const
  5107. - int GetMaxHeight() const
  5108. - bool IsFixedSize() const
  5109. - bool IsFixedWidth() const
  5110. - bool IsFixedHeight() const
  5111. - const IntVector2& GetChildOffset() const
  5112. - HorizontalAlignment GetHorizontalAlignment() const
  5113. - VerticalAlignment GetVerticalAlignment() const
  5114. - const IntRect& GetClipBorder() const
  5115. - const Color& GetColor(Corner corner) const
  5116. - int GetPriority() const
  5117. - float GetOpacity() const
  5118. - float GetDerivedOpacity() const
  5119. - bool GetBringToFront() const
  5120. - bool GetBringToBack() const
  5121. - bool GetClipChildren() const
  5122. - bool GetSortChildren() const
  5123. - bool GetUseDerivedOpacity() const
  5124. - bool HasFocus() const
  5125. - bool IsEnabled() const
  5126. - bool IsEnabledSelf() const
  5127. - bool IsEditable() const
  5128. - bool IsSelected() const
  5129. - bool IsVisible() const
  5130. - bool IsHovering() const
  5131. - bool IsInternal() const
  5132. - bool HasColorGradient() const
  5133. - FocusMode GetFocusMode() const
  5134. - unsigned GetDragDropMode() const
  5135. - const String GetAppliedStyle() const
  5136. - XMLFile* GetDefaultStyle(bool recursiveUp = true) const
  5137. - LayoutMode GetLayoutMode() const
  5138. - int GetLayoutSpacing() const
  5139. - const IntRect& GetLayoutBorder() const
  5140. - const Vector2& GetLayoutFlexScale() const
  5141. - unsigned GetNumChildren(bool recursive = false) const
  5142. - int GetDragButtonCombo() const
  5143. - unsigned GetDragButtonCount() const
  5144. - UIElement* GetChild(const String name, bool recursive = false) const
  5145. - UIElement* GetChild(unsigned index) const
  5146. - UIElement* GetParent() const
  5147. - UIElement* GetRoot() const
  5148. - const Color& GetDerivedColor() const
  5149. - const Variant& GetVar(StringHash key) const
  5150. - const VariantMap& GetVars() const
  5151. - IntVector2 ScreenToElement(const IntVector2& screenPosition)
  5152. - IntVector2 ElementToScreen(const IntVector2& position)
  5153. - bool IsInside(IntVector2 position, bool isScreen)
  5154. - bool IsInsideCombined(IntVector2 position, bool isScreen)
  5155. - IntRect GetCombinedScreenRect()
  5156. - void SortChildren()
  5157. - int GetIndent() const
  5158. - int GetIndentSpacing() const
  5159. - int GetIndentWidth() const
  5160. - void SetChildOffset(const IntVector2& offset)
  5161. - void SetHovering(bool enable)
  5162. - const Color& GetColor() const
  5163. - TraversalMode GetTraversalMode() const
  5164. - bool IsElementEventSender() const
  5165. - UIElement* GetElementEventSender() const
  5166. Properties:
  5167. - IntVector2& screenPosition (readonly)
  5168. - String name
  5169. - IntVector2& position
  5170. - IntVector2 size
  5171. - int width
  5172. - int height
  5173. - IntVector2 minSize
  5174. - int minWidth
  5175. - int minHeight
  5176. - IntVector2 maxSize
  5177. - int maxWidth
  5178. - int maxHeight
  5179. - bool fixedSize (readonly)
  5180. - bool fixedWidth (readonly)
  5181. - bool fixedHeight (readonly)
  5182. - IntVector2& childOffset
  5183. - HorizontalAlignment horizontalAlignment
  5184. - VerticalAlignment verticalAlignment
  5185. - IntRect clipBorder
  5186. - Color& color
  5187. - int priority
  5188. - float opacity
  5189. - float derivedOpacity (readonly)
  5190. - bool bringToFront
  5191. - bool bringToBack
  5192. - bool clipChildren
  5193. - bool sortChildren
  5194. - bool useDerivedOpacity
  5195. - bool focus
  5196. - bool enabled
  5197. - bool enabledSelf (readonly)
  5198. - bool editable
  5199. - bool selected
  5200. - bool visible
  5201. - bool hovering
  5202. - bool internal
  5203. - bool colorGradient (readonly)
  5204. - FocusMode focusMode
  5205. - unsigned dragDropMode
  5206. - String style
  5207. - XMLFile* defaultStyle
  5208. - LayoutMode layoutMode
  5209. - int layoutSpacing
  5210. - IntRect& layoutBorder
  5211. - Vector2& layoutFlexScale
  5212. - unsigned numChildren (readonly)
  5213. - UIElement* parent
  5214. - UIElement* root (readonly)
  5215. - Color& derivedColor (readonly)
  5216. - IntRect combinedScreenRect (readonly)
  5217. - int indent
  5218. - int indentSpacing
  5219. - int indentWidth (readonly)
  5220. - TraversalMode traversalMode
  5221. - bool elementEventSender
  5222. <a name="Class_ValueAnimation"></a>
  5223. ### ValueAnimation : Resource
  5224. Methods:
  5225. - ValueAnimation() (GC)
  5226. - ValueAnimation* new()
  5227. - void delete()
  5228. - void SetInterpolationMethod(InterpMethod method)
  5229. - void SetSplineTension(float tension)
  5230. - void SetValueType(VariantType valueType)
  5231. - bool SetKeyFrame(float time, const Variant& value)
  5232. - void SetEventFrame(float time, const StringHash& eventType)
  5233. - void SetEventFrame(float time, const StringHash& eventType, const VariantMap& eventData)
  5234. - InterpMethod GetInterpolationMethod() const
  5235. - float GetSplineTension() const
  5236. - VariantType GetValueType() const
  5237. Properties:
  5238. - InterpMethod interpolationMethod
  5239. - float splineTension
  5240. - VariantType valueType
  5241. <a name="Class_Variant"></a>
  5242. ### Variant
  5243. Methods:
  5244. - Variant() (GC)
  5245. - Variant* new()
  5246. - Variant(int value) (GC)
  5247. - Variant* new(int value)
  5248. - Variant(unsigned value) (GC)
  5249. - Variant* new(unsigned value)
  5250. - Variant(const StringHash& value) (GC)
  5251. - Variant* new(const StringHash& value)
  5252. - Variant(bool value) (GC)
  5253. - Variant* new(bool value)
  5254. - Variant(float value) (GC)
  5255. - Variant* new(float value)
  5256. - Variant(const Vector2& value) (GC)
  5257. - Variant* new(const Vector2& value)
  5258. - Variant(const Vector3& value) (GC)
  5259. - Variant* new(const Vector3& value)
  5260. - Variant(const Vector4& value) (GC)
  5261. - Variant* new(const Vector4& value)
  5262. - Variant(const Quaternion& value) (GC)
  5263. - Variant* new(const Quaternion& value)
  5264. - Variant(const Color& value) (GC)
  5265. - Variant* new(const Color& value)
  5266. - Variant(const String value) (GC)
  5267. - Variant* new(const String value)
  5268. - Variant(const char* value) (GC)
  5269. - Variant* new(const char* value)
  5270. - Variant(const ResourceRef& value) (GC)
  5271. - Variant* new(const ResourceRef& value)
  5272. - Variant(const ResourceRefList& value) (GC)
  5273. - Variant* new(const ResourceRefList& value)
  5274. - Variant(const IntRect& value) (GC)
  5275. - Variant* new(const IntRect& value)
  5276. - Variant(const IntVector2& value) (GC)
  5277. - Variant* new(const IntVector2& value)
  5278. - Variant(const Matrix3& value) (GC)
  5279. - Variant* new(const Matrix3& value)
  5280. - Variant(const Matrix3x4& value) (GC)
  5281. - Variant* new(const Matrix3x4& value)
  5282. - Variant(const Matrix4& value) (GC)
  5283. - Variant* new(const Matrix4& value)
  5284. - Variant(const String type, const String value) (GC)
  5285. - Variant* new(const String type, const String value)
  5286. - Variant(VariantType type, const String value) (GC)
  5287. - Variant* new(VariantType type, const String value)
  5288. - Variant(VariantType type, const char* value) (GC)
  5289. - Variant* new(VariantType type, const char* value)
  5290. - Variant(const Variant& value) (GC)
  5291. - Variant* new(const Variant& value)
  5292. - void delete()
  5293. - void Clear()
  5294. - bool operator==(const Variant& rhs) const
  5295. - bool operator==(int rhs) const
  5296. - bool operator==(unsigned rhs) const
  5297. - bool operator==(bool rhs) const
  5298. - bool operator==(float rhs) const
  5299. - bool operator==(const Vector2& rhs)
  5300. - bool operator==(const Vector3& rhs) const
  5301. - bool operator==(const Vector4& rhs) const
  5302. - bool operator==(const Quaternion& rhs) const
  5303. - bool operator==(const Color& rhs) const
  5304. - bool operator==(const String rhs) const
  5305. - bool operator==(const ResourceRef& rhs) const
  5306. - bool operator==(const ResourceRefList& rhs) const
  5307. - bool operator==(const IntRect& rhs) const
  5308. - bool operator==(const IntVector2& rhs) const
  5309. - bool operator==(const StringHash& rhs) const
  5310. - bool operator==(const Matrix3& rhs) const
  5311. - bool operator==(const Matrix3x4& rhs) const
  5312. - bool operator==(const Matrix4& rhs) const
  5313. - void SetInt(int value)
  5314. - void SetUint(unsigned value)
  5315. - void SetStringHash(const StringHash& value)
  5316. - void SetBool(bool value)
  5317. - void SetFloat(float value)
  5318. - void SetVector2(const Vector2& value)
  5319. - void SetVector3(const Vector3& value)
  5320. - void SetVector4(const Vector4& value)
  5321. - void SetQuaternion(const Quaternion& value)
  5322. - void SetColor(const Color& value)
  5323. - void SetString(const String value)
  5324. - void SetBuffer(const VectorBuffer& value)
  5325. - void SetResourceRef(const ResourceRef& value)
  5326. - void SetResourceRefList(const ResourceRefList& value)
  5327. - void SetIntRect(const IntRect& value)
  5328. - void SetIntVector2(const IntVector2& value)
  5329. - void SetMatrix3(const Matrix3& value)
  5330. - void SetMatrix3x4(const Matrix3x4& value)
  5331. - void SetMatrix4(const Matrix4& value)
  5332. - int GetInt() const
  5333. - int GetUInt() const
  5334. - StringHash GetStringHash()
  5335. - bool GetBool() const
  5336. - float GetFloat() const
  5337. - const Vector2& GetVector2() const
  5338. - const Vector3& GetVector3() const
  5339. - const Vector4& GetVector4() const
  5340. - const Quaternion& GetQuaternion() const
  5341. - const Color& GetColor() const
  5342. - const String GetString() const
  5343. - VectorBuffer GetBuffer() const
  5344. - const ResourceRef& GetResourceRef() const
  5345. - const ResourceRefList& GetResourceRefList() const
  5346. - const IntRect& GetIntRect() const
  5347. - const IntVector2& GetIntVector2() const
  5348. - const Matrix3& GetMatrix3() const
  5349. - const Matrix3x4& GetMatrix3x4() const
  5350. - const Matrix4& GetMatrix4() const
  5351. - VariantType GetType() const
  5352. - String GetTypeName() const
  5353. - String ToString() const
  5354. - bool IsZero() const
  5355. - bool IsEmpty() const
  5356. Properties:
  5357. - VariantType type (readonly)
  5358. - String typeName (readonly)
  5359. - bool zero (readonly)
  5360. - bool empty (readonly)
  5361. <a name="Class_VariantMap"></a>
  5362. ### VariantMap
  5363. Methods:
  5364. - VariantMap() (GC)
  5365. - VariantMap* new()
  5366. - void delete()
  5367. - void SetInt(const String key, int value)
  5368. - void SetUInt(const String key, unsigned value)
  5369. - void SetStringHash(const String key, const StringHash& value)
  5370. - void SetBool(const String key, bool value)
  5371. - void SetFloat(const String key, float value)
  5372. - void SetVector2(const String key, const Vector2 value)
  5373. - void SetVector3(const String key, const Vector3 value)
  5374. - void SetVector4(const String key, const Vector4 value)
  5375. - void SetQuaternion(const String key, const Quaternion value)
  5376. - void SetColor(const String key, const Color value)
  5377. - void SetString(const String key, const String value)
  5378. - void SetBuffer(const String key, const VectorBuffer& value)
  5379. - void SetResourceRef(const String key, const ResourceRef value)
  5380. - void SetResourceRefList(const String key, const ResourceRefList value)
  5381. - void SetIntRect(const String key, const IntRect value)
  5382. - void SetIntVector2(const String key, const IntVector2 value)
  5383. - void SetPtr(const String key, void* value)
  5384. - void SetMatrix3(const String key, const Matrix3 value)
  5385. - void SetMatrix3x4(const String key, const Matrix3x4 value)
  5386. - void SetMatrix4(const String key, const Matrix4 value)
  5387. - int GetInt(const String key)
  5388. - int GetUInt(const String key)
  5389. - StringHash GetStringHash(const String key)
  5390. - bool GetBool(const String key)
  5391. - float GetFloat(const String key)
  5392. - const Vector2& GetVector2(const String key)
  5393. - const Vector3& GetVector3(const String key)
  5394. - const Vector4& GetVector4(const String key)
  5395. - const Quaternion& GetQuaternion(const String key)
  5396. - const Color& GetColor(const String key)
  5397. - const String GetString(const String key)
  5398. - VectorBuffer GetBuffer(const String key)
  5399. - const ResourceRef& GetResourceRef(const String key)
  5400. - const ResourceRefList& GetResourceRefList(const String key)
  5401. - const IntRect& GetIntRect(const String key)
  5402. - const IntVector2& GetIntVector2(const String key)
  5403. - const void* GetPtr(const String type, const String key)
  5404. - const Matrix3& GetMatrix3(const String key)
  5405. - const Matrix3x4& GetMatrix3x4(const String key)
  5406. - const Matrix4& GetMatrix4(const String key)
  5407. <a name="Class_Vector2"></a>
  5408. ### Vector2
  5409. Methods:
  5410. - Vector2() (GC)
  5411. - Vector2* new()
  5412. - Vector2(const Vector2& vector) (GC)
  5413. - Vector2* new(const Vector2& vector)
  5414. - Vector2(float x, float y) (GC)
  5415. - Vector2* new(float x, float y)
  5416. - void delete()
  5417. - bool operator==(const Vector2& rhs) const
  5418. - Vector2 operator+(const Vector2& rhs) const
  5419. - Vector2 operator-() const
  5420. - Vector2 operator-(const Vector2& rhs) const
  5421. - Vector2 operator*(float rhs) const
  5422. - Vector2 operator*(const Vector2& rhs) const
  5423. - Vector2 operator/(float rhs) const
  5424. - Vector2 operator/(const Vector2& rhs) const
  5425. - Vector2 operator/(const Vector2& rhs) const
  5426. - void Normalize()
  5427. - float Length() const
  5428. - float LengthSquared() const
  5429. - float DotProduct(const Vector2& rhs) const
  5430. - float AbsDotProduct(const Vector2& rhs) const
  5431. - Vector2 Abs() const
  5432. - Vector2 Lerp(const Vector2& rhs, float t) const
  5433. - bool Equals(const Vector2& rhs) const
  5434. - bool IsNaN() const
  5435. - Vector2 Normalized() const
  5436. - String ToString() const
  5437. Properties:
  5438. - float x
  5439. - float y
  5440. - const Vector2 ZERO
  5441. - const Vector2 LEFT
  5442. - const Vector2 RIGHT
  5443. - const Vector2 UP
  5444. - const Vector2 DOWN
  5445. - const Vector2 ONE
  5446. <a name="Class_Vector3"></a>
  5447. ### Vector3
  5448. Methods:
  5449. - Vector3() (GC)
  5450. - Vector3* new()
  5451. - Vector3(const Vector3& vector) (GC)
  5452. - Vector3* new(const Vector3& vector)
  5453. - Vector3(const Vector2& vector, float z) (GC)
  5454. - Vector3* new(const Vector2& vector, float z)
  5455. - Vector3(const Vector2& vector) (GC)
  5456. - Vector3* new(const Vector2& vector)
  5457. - Vector3(float x, float y, float z) (GC)
  5458. - Vector3* new(float x, float y, float z)
  5459. - Vector3(float x, float y) (GC)
  5460. - Vector3* new(float x, float y)
  5461. - void delete()
  5462. - bool operator==(const Vector3& rhs) const
  5463. - Vector3 operator+(const Vector3& rhs) const
  5464. - Vector3 operator-() const
  5465. - Vector3 operator-(const Vector3& rhs) const
  5466. - Vector3 operator*(float rhs) const
  5467. - Vector3 operator*(const Vector3& rhs) const
  5468. - Vector3 operator/(float rhs) const
  5469. - Vector3 operator/(const Vector3& rhs) const
  5470. - void Normalize()
  5471. - float Length() const
  5472. - float LengthSquared() const
  5473. - float DotProduct(const Vector3& rhs) const
  5474. - float AbsDotProduct(const Vector3& rhs) const
  5475. - Vector3 CrossProduct(const Vector3& rhs) const
  5476. - Vector3 Abs() const
  5477. - Vector3 Lerp(const Vector3& rhs, float t) const
  5478. - bool Equals(const Vector3& rhs) const
  5479. - bool IsNaN() const
  5480. - float Angle(const Vector3& rhs) const
  5481. - Vector3 Normalized() const
  5482. - String ToString() const
  5483. Properties:
  5484. - float x
  5485. - float y
  5486. - float z
  5487. - const Vector3 ZERO
  5488. - const Vector3 LEFT
  5489. - const Vector3 RIGHT
  5490. - const Vector3 UP
  5491. - const Vector3 DOWN
  5492. - const Vector3 FORWARD
  5493. - const Vector3 BACK
  5494. - const Vector3 ONE
  5495. <a name="Class_Vector4"></a>
  5496. ### Vector4
  5497. Methods:
  5498. - Vector4() (GC)
  5499. - Vector4* new()
  5500. - Vector4(const Vector4& vector) (GC)
  5501. - Vector4* new(const Vector4& vector)
  5502. - Vector4(const Vector3& vector, float w) (GC)
  5503. - Vector4* new(const Vector3& vector, float w)
  5504. - Vector4(float x, float y, float z, float w) (GC)
  5505. - Vector4* new(float x, float y, float z, float w)
  5506. - void delete()
  5507. - bool operator==(const Vector4& rhs) const
  5508. - Vector4 operator+(const Vector4& rhs) const
  5509. - Vector4 operator-() const
  5510. - Vector4 operator-(const Vector4& rhs) const
  5511. - Vector4 operator*(float rhs) const
  5512. - Vector4 operator*(const Vector4& rhs) const
  5513. - Vector4 operator/(float rhs) const
  5514. - Vector4 operator/(const Vector4& rhs) const
  5515. - Vector4 operator/(const Vector4& rhs) const
  5516. - float DotProduct(const Vector4& rhs) const
  5517. - float AbsDotProduct(const Vector4& rhs) const
  5518. - Vector4 Abs() const
  5519. - Vector4 Lerp(const Vector4& rhs, float t) const
  5520. - bool Equals(const Vector4& rhs) const
  5521. - bool IsNaN() const
  5522. - String ToString() const
  5523. Properties:
  5524. - float x
  5525. - float y
  5526. - float z
  5527. - float w
  5528. - const Vector4 ZERO
  5529. - const Vector4 ONE
  5530. <a name="Class_VectorBuffer"></a>
  5531. ### VectorBuffer
  5532. Methods:
  5533. - VectorBuffer() (GC)
  5534. - VectorBuffer* new()
  5535. - VectorBuffer(Deserializer& source, unsigned size) (GC)
  5536. - VectorBuffer* new(Deserializer& source, unsigned size)
  5537. - void delete()
  5538. - void SetData(Deserializer& source, unsigned size)
  5539. - void Clear()
  5540. - void Resize(unsigned size)
  5541. - const void* GetData() const
  5542. - void* GetModifiableData()
  5543. - VectorBuffer Read(unsigned size)
  5544. - unsigned Seek(unsigned position)
  5545. - const String GetName() const
  5546. - unsigned GetChecksum()
  5547. - unsigned GetPosition() const
  5548. - unsigned GetSize() const
  5549. - bool IsEof() const
  5550. - int ReadInt()
  5551. - short ReadShort()
  5552. - char ReadByte()
  5553. - unsigned ReadUInt()
  5554. - short ReadUShort()
  5555. - char ReadUByte()
  5556. - bool ReadBool()
  5557. - float ReadFloat()
  5558. - IntRect ReadIntRect()
  5559. - IntVector2 ReadIntVector2()
  5560. - Rect ReadRect()
  5561. - Vector2 ReadVector2()
  5562. - Vector3 ReadVector3()
  5563. - Vector3 ReadPackedVector3(float maxAbsCoord)
  5564. - Vector4 ReadVector4()
  5565. - Quaternion ReadQuaternion()
  5566. - Quaternion ReadPackedQuaternion()
  5567. - Matrix3 ReadMatrix3()
  5568. - Matrix3x4 ReadMatrix3x4()
  5569. - Matrix4 ReadMatrix4()
  5570. - Color ReadColor()
  5571. - BoundingBox ReadBoundingBox()
  5572. - String ReadString()
  5573. - String ReadFileID()
  5574. - StringHash ReadStringHash()
  5575. - VectorBuffer ReadBuffer()
  5576. - ResourceRef ReadResourceRef()
  5577. - ResourceRefList ReadResourceRefList()
  5578. - Variant ReadVariant()
  5579. - Variant ReadVariant(VariantType type)
  5580. - VariantVector ReadVariantVector()
  5581. - VariantMap ReadVariantMap()
  5582. - unsigned ReadVLE()
  5583. - unsigned ReadNetID()
  5584. - String ReadLine()
  5585. - unsigned Write(const VectorBuffer& buffer)
  5586. - bool WriteInt(int value)
  5587. - bool WriteShort(short value)
  5588. - bool WriteByte(char value)
  5589. - bool WriteUInt(unsigned value)
  5590. - bool WriteUShort(short value)
  5591. - bool WriteUByte(char value)
  5592. - bool WriteBool(bool value)
  5593. - bool WriteFloat(float value)
  5594. - bool WriteIntRect(const IntRect& value)
  5595. - bool WriteIntVector2(const IntVector2& value)
  5596. - bool WriteRect(const Rect& value)
  5597. - bool WriteVector2(const Vector2& value)
  5598. - bool WriteVector3(const Vector3& value)
  5599. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  5600. - bool WriteVector4(const Vector4& value)
  5601. - bool WriteQuaternion(const Quaternion& value)
  5602. - bool WritePackedQuaternion(const Quaternion& value)
  5603. - bool WriteMatrix3(const Matrix3& value)
  5604. - bool WriteMatrix3x4(const Matrix3x4& value)
  5605. - bool WriteMatrix4(const Matrix4& value)
  5606. - bool WriteColor(const Color& value)
  5607. - bool WriteBoundingBox(const BoundingBox& value)
  5608. - bool WriteString(const String value)
  5609. - bool WriteFileID(const String value)
  5610. - bool WriteStringHash(const StringHash& value)
  5611. - bool WriteBuffer(const VectorBuffer& buffer)
  5612. - bool WriteResourceRef(const ResourceRef& value)
  5613. - bool WriteResourceRefList(const ResourceRefList& value)
  5614. - bool WriteVariant(const Variant& value)
  5615. - bool WriteVariantData(const Variant& value)
  5616. - bool WriteVariantVector(const VariantVector& value)
  5617. - bool WriteVariantMap(const VariantMap& value)
  5618. - bool WriteVLE(unsigned value)
  5619. - bool WriteNetID(unsigned value)
  5620. - bool WriteLine(const String value)
  5621. Properties:
  5622. - String name (readonly)
  5623. - unsigned checksum (readonly)
  5624. - unsigned position (readonly)
  5625. - unsigned size (readonly)
  5626. - bool eof (readonly)
  5627. <a name="Class_View3D"></a>
  5628. ### View3D : Window
  5629. Methods:
  5630. - View3D() (GC)
  5631. - View3D* new()
  5632. - void delete()
  5633. - void SetView(Scene* scene, Camera* camera, bool ownScene = true)
  5634. - void SetFormat(unsigned format)
  5635. - void SetAutoUpdate(bool enable)
  5636. - void QueueUpdate()
  5637. - unsigned GetFormat() const
  5638. - bool GetAutoUpdate() const
  5639. - Scene* GetScene() const
  5640. - Node* GetCameraNode() const
  5641. - Texture2D* GetRenderTexture() const
  5642. - Texture2D* GetDepthTexture() const
  5643. - Viewport* GetViewport() const
  5644. Properties:
  5645. - unsigned format
  5646. - bool autoUpdate
  5647. <a name="Class_Viewport"></a>
  5648. ### Viewport
  5649. Methods:
  5650. - Viewport() (GC)
  5651. - Viewport* new()
  5652. - Viewport(Scene* scene, Camera* camera, RenderPath* renderPath = 0) (GC)
  5653. - Viewport* new(Scene* scene, Camera* camera, RenderPath* renderPath = 0)
  5654. - Viewport(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0) (GC)
  5655. - Viewport* new(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0)
  5656. - void delete()
  5657. - void SetScene(Scene* scene)
  5658. - void SetCamera(Camera* camera)
  5659. - void SetRect(const IntRect& rect)
  5660. - void SetRenderPath(RenderPath* path)
  5661. - void SetRenderPath(XMLFile* file)
  5662. - void SetDrawDebug(bool enable)
  5663. - Scene* GetScene() const
  5664. - Camera* GetCamera() const
  5665. - const IntRect& GetRect() const
  5666. - RenderPath* GetRenderPath() const
  5667. - bool GetDrawDebug() const
  5668. - Ray GetScreenRay(int x, int y) const
  5669. - IntVector2 WorldToScreenPoint(const Vector3& worldPos) const
  5670. - Vector3 ScreenToWorldPoint(int x, int y, float depth) const
  5671. Properties:
  5672. - Scene* scene
  5673. - Camera* camera
  5674. - IntRect& rect
  5675. - RenderPath* renderPath
  5676. - bool drawDebug
  5677. <a name="Class_Window"></a>
  5678. ### Window : BorderImage
  5679. Methods:
  5680. - Window() (GC)
  5681. - Window* new()
  5682. - void delete()
  5683. - void SetMovable(bool enable)
  5684. - void SetResizable(bool enable)
  5685. - void SetFixedWidthResizing(bool enable)
  5686. - void SetFixedHeightResizing(bool enable)
  5687. - void SetResizeBorder(const IntRect& rect)
  5688. - void SetModal(bool modal)
  5689. - void SetModalShadeColor(const Color& color)
  5690. - void SetModalFrameColor(const Color& color)
  5691. - void SetModalFrameSize(const IntVector2& size)
  5692. - void SetModalAutoDismiss(bool enable)
  5693. - bool IsMovable() const
  5694. - bool IsResizable() const
  5695. - bool GetFixedWidthResizing() const
  5696. - bool GetFixedHeightResizing() const
  5697. - const IntRect& GetResizeBorder() const
  5698. - bool IsModal() const
  5699. - const Color& GetModalShadeColor() const
  5700. - const Color& GetModalFrameColor() const
  5701. - const IntVector2& GetModalFrameSize() const
  5702. - bool GetModalAutoDismiss() const
  5703. Properties:
  5704. - bool movable
  5705. - bool resizable
  5706. - bool fixedWidthResizing
  5707. - bool fixedHeightResizing
  5708. - IntRect& resizeBorder
  5709. - bool modal
  5710. - Color& modalShadeColor
  5711. - Color& modalFrameColor
  5712. - IntVector2& modalFrameSize
  5713. - bool modalAutoDismiss
  5714. <a name="Class_XMLElement"></a>
  5715. ### XMLElement
  5716. Methods:
  5717. - XMLElement CreateChild(const String name)
  5718. - bool RemoveChild(const XMLElement& element)
  5719. - bool RemoveChild(const String name)
  5720. - bool RemoveChildren(const String name = String::EMPTY)
  5721. - bool RemoveAttribute(const String name = String::EMPTY)
  5722. - bool SetValue(const String value)
  5723. - bool SetAttribute(const String name, const String value)
  5724. - bool SetAttribute(const String value)
  5725. - bool SetBool(const String name, bool value)
  5726. - bool SetBoundingBox(const BoundingBox& value)
  5727. - bool SetColor(const String name, const Color& value)
  5728. - bool SetFloat(const String name, float value)
  5729. - bool SetUInt(const String name, unsigned value)
  5730. - bool SetInt(const String name, int value)
  5731. - bool SetIntRect(const String name, const IntRect& value)
  5732. - bool SetIntVector2(const String name, const IntVector2& value)
  5733. - bool SetRect(const String name, const Rect& value)
  5734. - bool SetQuaternion(const String name, const Quaternion& value)
  5735. - bool SetString(const String name, const String value)
  5736. - bool SetVariant(const Variant& value)
  5737. - bool SetVariantValue(const Variant& value)
  5738. - bool SetResourceRef(const ResourceRef& value)
  5739. - bool SetResourceRefList(const ResourceRefList& value)
  5740. - bool SetVector2(const String name, const Vector2& value)
  5741. - bool SetVector3(const String name, const Vector3& value)
  5742. - bool SetVector4(const String name, const Vector4& value)
  5743. - bool SetVectorVariant(const String name, const Variant& value)
  5744. - bool SetMatrix3(const String name, const Matrix3& value)
  5745. - bool SetMatrix3x4(const String name, const Matrix3x4& value)
  5746. - bool SetMatrix4(const String name, const Matrix4& value)
  5747. - bool IsNull() const
  5748. - bool NotNull() const
  5749. - bool operatorbool() const
  5750. - String GetName() const
  5751. - bool HasChild(const String name) const
  5752. - XMLElement GetChild(const String name = String::EMPTY) const
  5753. - XMLElement GetNext(const String name = String::EMPTY) const
  5754. - XMLElement GetParent() const
  5755. - unsigned GetNumAttributes() const
  5756. - bool HasAttribute(const String name) const
  5757. - String GetValue() const
  5758. - String GetAttribute(const String name = String::EMPTY) const
  5759. - String GetAttributeLower(const String name) const
  5760. - String GetAttributeUpper(const String name) const
  5761. - Vector<String> GetAttributeNames() const
  5762. - bool GetBool(const String name) const
  5763. - BoundingBox GetBoundingBox() const
  5764. - Color GetColor(const String name) const
  5765. - float GetFloat(const String name) const
  5766. - unsigned GetUInt(const String name) const
  5767. - int GetInt(const String name) const
  5768. - IntRect GetIntRect(const String name) const
  5769. - IntVector2 GetIntVector2(const String name) const
  5770. - Rect GetRect(const String name) const
  5771. - Quaternion GetQuaternion(const String name) const
  5772. - Variant GetVariant() const
  5773. - Variant GetVariantValue(VariantType type) const
  5774. - ResourceRef GetResourceRef() const
  5775. - ResourceRefList GetResourceRefList() const
  5776. - VariantMap GetVariantMap() const
  5777. - Vector2 GetVector2(const String name) const
  5778. - Vector3 GetVector3(const String name) const
  5779. - Vector4 GetVector4(const String name) const
  5780. - Vector4 GetVector(const String name) const
  5781. - Matrix3 GetMatrix3(const String name) const
  5782. - Matrix3x4 GetMatrix3x4(const String name) const
  5783. - Matrix4 GetMatrix4(const String name) const
  5784. - XMLFile* GetFile() const
  5785. Properties:
  5786. - const XMLElement EMPTY
  5787. - bool null (readonly)
  5788. - String name (readonly)
  5789. - XMLElement parent (readonly)
  5790. - String value (readonly)
  5791. - unsigned numAttributes (readonly)
  5792. - XMLFile* file (readonly)
  5793. <a name="Class_XMLFile"></a>
  5794. ### XMLFile : Resource
  5795. Methods:
  5796. - XMLFile() (GC)
  5797. - XMLFile* new()
  5798. - void delete()
  5799. - bool FromString(const String source)
  5800. - XMLElement CreateRoot(const String name = String::EMPTY)
  5801. - XMLElement GetRoot(const String name = String::EMPTY)
  5802. - String ToString() const
  5803. - void Patch(XMLFile* patchFile)
  5804. - void Patch(XMLElement patchElement)
  5805. <a name="Class_Zone"></a>
  5806. ### Zone : Drawable
  5807. Methods:
  5808. - void SetBoundingBox(const BoundingBox& box)
  5809. - void SetAmbientColor(const Color& color)
  5810. - void SetFogColor(const Color& color)
  5811. - void SetFogStart(float start)
  5812. - void SetFogEnd(float end)
  5813. - void SetFogHeight(float height)
  5814. - void SetFogHeightScale(float scale)
  5815. - void SetPriority(int priority)
  5816. - void SetHeightFog(bool enable)
  5817. - void SetOverride(bool enable)
  5818. - void SetAmbientGradient(bool enable)
  5819. - void SetZoneTexture(Texture* texture)
  5820. - const Matrix3x4& GetInverseWorldTransform() const
  5821. - const Color& GetAmbientColor() const
  5822. - const Color& GetAmbientStartColor()
  5823. - const Color& GetAmbientEndColor()
  5824. - const Color& GetFogColor() const
  5825. - float GetFogStart() const
  5826. - float GetFogEnd() const
  5827. - float GetFogHeight() const
  5828. - float GetFogHeightScale() const
  5829. - int GetPriority() const
  5830. - bool GetHeightFog() const
  5831. - bool GetOverride() const
  5832. - bool GetAmbientGradient() const
  5833. - Texture* GetZoneTexture() const
  5834. - bool IsInside(const Vector3& point) const
  5835. Properties:
  5836. - BoundingBox& boundingBox
  5837. - Matrix3x4& inverseWorldTransform (readonly)
  5838. - Color& ambientColor
  5839. - Color& ambientStartColor (readonly)
  5840. - Color& ambientEndColor (readonly)
  5841. - Color& fogColor
  5842. - float fogStart
  5843. - float fogEnd
  5844. - float fogHeight
  5845. - float fogHeightScale
  5846. - int priority
  5847. - bool heightFog
  5848. - bool override
  5849. - bool ambientGradient
  5850. - Texture* zoneTexture
  5851. \section LuaScriptAPI_Enums Enumerations
  5852. ### BlendMode
  5853. - int BLEND_REPLACE
  5854. - int BLEND_ADD
  5855. - int BLEND_MULTIPLY
  5856. - int BLEND_ALPHA
  5857. - int BLEND_ADDALPHA
  5858. - int BLEND_PREMULALPHA
  5859. - int BLEND_INVDESTALPHA
  5860. - int BLEND_SUBTRACT
  5861. - int BLEND_SUBTRACTALPHA
  5862. - int MAX_BLENDMODES
  5863. ### BodyType2D
  5864. - int BT_STATIC
  5865. - int BT_DYNAMIC
  5866. - int BT_KINEMATIC
  5867. ### CollisionEventMode
  5868. - int COLLISION_NEVER
  5869. - int COLLISION_ACTIVE
  5870. - int COLLISION_ALWAYS
  5871. ### CompareMode
  5872. - int CMP_ALWAYS
  5873. - int CMP_EQUAL
  5874. - int CMP_NOTEQUAL
  5875. - int CMP_LESS
  5876. - int CMP_LESSEQUAL
  5877. - int CMP_GREATER
  5878. - int CMP_GREATEREQUAL
  5879. - int MAX_COMPAREMODES
  5880. ### CompressedFormat
  5881. - int CF_NONE
  5882. - int CF_RGBA
  5883. - int CF_DXT1
  5884. - int CF_DXT3
  5885. - int CF_DXT5
  5886. - int CF_ETC1
  5887. - int CF_PVRTC_RGB_2BPP
  5888. - int CF_PVRTC_RGBA_2BPP
  5889. - int CF_PVRTC_RGB_4BPP
  5890. - int CF_PVRTC_RGBA_4BPP
  5891. ### ConstraintType
  5892. - int CONSTRAINT_POINT
  5893. - int CONSTRAINT_HINGE
  5894. - int CONSTRAINT_SLIDER
  5895. - int CONSTRAINT_CONETWIST
  5896. ### Corner
  5897. - int C_TOPLEFT
  5898. - int C_TOPRIGHT
  5899. - int C_BOTTOMLEFT
  5900. - int C_BOTTOMRIGHT
  5901. - int MAX_UIELEMENT_CORNERS
  5902. ### CreateMode
  5903. - int REPLICATED
  5904. - int LOCAL
  5905. ### CubeMapFace
  5906. - int FACE_POSITIVE_X
  5907. - int FACE_NEGATIVE_X
  5908. - int FACE_POSITIVE_Y
  5909. - int FACE_NEGATIVE_Y
  5910. - int FACE_POSITIVE_Z
  5911. - int FACE_NEGATIVE_Z
  5912. - int MAX_CUBEMAP_FACES
  5913. ### CullMode
  5914. - int CULL_NONE
  5915. - int CULL_CCW
  5916. - int CULL_CW
  5917. - int MAX_CULLMODES
  5918. ### CursorShape
  5919. - int CS_NORMAL
  5920. - int CS_IBEAM
  5921. - int CS_CROSS
  5922. - int CS_RESIZEVERTICAL
  5923. - int CS_RESIZEDIAGONAL_TOPRIGHT
  5924. - int CS_RESIZEHORIZONTAL
  5925. - int CS_RESIZEDIAGONAL_TOPLEFT
  5926. - int CS_RESIZE_ALL
  5927. - int CS_ACCEPTDROP
  5928. - int CS_REJECTDROP
  5929. - int CS_BUSY
  5930. - int CS_BUSY_ARROW
  5931. - int CS_MAX_SHAPES
  5932. ### EmitterType
  5933. - int EMITTER_SPHERE
  5934. - int EMITTER_BOX
  5935. ### EmitterType2D
  5936. - int EMITTER_TYPE_GRAVITY
  5937. - int EMITTER_TYPE_RADIAL
  5938. ### FaceCameraMode
  5939. - int FC_NONE
  5940. - int FC_ROTATE_XYZ
  5941. - int FC_ROTATE_Y
  5942. - int FC_LOOKAT_XYZ
  5943. - int FC_LOOKAT_Y
  5944. ### FaceCameraMode
  5945. - int FC_NONE
  5946. - int FC_ROTATE_XYZ
  5947. - int FC_ROTATE_Y
  5948. - int FC_LOOKAT_XYZ
  5949. - int FC_LOOKAT_Y
  5950. ### FileMode
  5951. - int FILE_READ
  5952. - int FILE_WRITE
  5953. - int FILE_READWRITE
  5954. ### FillMode
  5955. - int FILL_SOLID
  5956. - int FILL_WIREFRAME
  5957. - int FILL_POINT
  5958. ### FocusMode
  5959. - int FM_NOTFOCUSABLE
  5960. - int FM_RESETFOCUS
  5961. - int FM_FOCUSABLE
  5962. - int FM_FOCUSABLE_DEFOCUSABLE
  5963. ### FrustumPlane
  5964. - int PLANE_NEAR
  5965. - int PLANE_LEFT
  5966. - int PLANE_RIGHT
  5967. - int PLANE_UP
  5968. - int PLANE_DOWN
  5969. - int PLANE_FAR
  5970. ### GeometryType
  5971. - int GEOM_STATIC
  5972. - int GEOM_SKINNED
  5973. - int GEOM_INSTANCED
  5974. - int GEOM_BILLBOARD
  5975. - int GEOM_STATIC_NOINSTANCING
  5976. - int MAX_GEOMETRYTYPES
  5977. ### HighlightMode
  5978. - int HM_NEVER
  5979. - int HM_FOCUS
  5980. - int HM_ALWAYS
  5981. ### HorizontalAlignment
  5982. - int HA_LEFT
  5983. - int HA_CENTER
  5984. - int HA_RIGHT
  5985. ### HttpRequestState
  5986. - int HTTP_INITIALIZING
  5987. - int HTTP_ERROR
  5988. - int HTTP_OPEN
  5989. - int HTTP_CLOSED
  5990. ### InterpMethod
  5991. - int IM_LINEAR
  5992. - int IM_SPLINE
  5993. ### InterpolationMode
  5994. - int BEZIER_CURVE
  5995. ### Intersection
  5996. - int OUTSIDE
  5997. - int INTERSECTS
  5998. - int INSIDE
  5999. ### JSONValueType
  6000. - int JSON_ANY
  6001. - int JSON_OBJECT
  6002. - int JSON_ARRAY
  6003. ### LayoutMode
  6004. - int LM_FREE
  6005. - int LM_HORIZONTAL
  6006. - int LM_VERTICAL
  6007. ### LightType
  6008. - int LIGHT_DIRECTIONAL
  6009. - int LIGHT_SPOT
  6010. - int LIGHT_POINT
  6011. ### LoadMode
  6012. - int LOAD_RESOURCES_ONLY
  6013. - int LOAD_SCENE
  6014. - int LOAD_SCENE_AND_RESOURCES
  6015. ### LockState
  6016. - int LOCK_NONE
  6017. - int LOCK_HARDWARE
  6018. - int LOCK_SHADOW
  6019. - int LOCK_SCRATCH
  6020. ### LoopMode2D
  6021. - int LM_DEFAULT
  6022. - int LM_FORCE_LOOPED
  6023. - int LM_FORCE_CLAMPED
  6024. ### MouseMode
  6025. - int MM_ABSOLUTE
  6026. - int MM_RELATIVE
  6027. - int MM_WRAP
  6028. ### Orientation
  6029. - int O_HORIZONTAL
  6030. - int O_VERTICAL
  6031. ### Orientation2D
  6032. - int O_ORTHOGONAL
  6033. - int O_ISOMETRIC
  6034. - int O_STAGGERED
  6035. ### PassLightingMode
  6036. - int LIGHTING_UNLIT
  6037. - int LIGHTING_PERVERTEX
  6038. - int LIGHTING_PERPIXEL
  6039. ### PrimitiveType
  6040. - int TRIANGLE_LIST
  6041. - int LINE_LIST
  6042. - int POINT_LIST
  6043. - int TRIANGLE_STRIP
  6044. - int LINE_STRIP
  6045. - int TRIANGLE_FAN
  6046. ### RayQueryLevel
  6047. - int RAY_AABB
  6048. - int RAY_OBB
  6049. - int RAY_TRIANGLE
  6050. ### RenderCommandType
  6051. - int CMD_NONE
  6052. - int CMD_CLEAR
  6053. - int CMD_SCENEPASS
  6054. - int CMD_QUAD
  6055. - int CMD_FORWARDLIGHTS
  6056. - int CMD_LIGHTVOLUMES
  6057. - int CMD_RENDERUI
  6058. ### RenderSurfaceUpdateMode
  6059. - int SURFACE_MANUALUPDATE
  6060. - int SURFACE_UPDATEVISIBLE
  6061. - int SURFACE_UPDATEALWAYS
  6062. ### ShaderParameterGroup
  6063. - int SP_FRAME
  6064. - int SP_CAMERA
  6065. - int SP_VIEWPORT
  6066. - int SP_ZONE
  6067. - int SP_LIGHT
  6068. - int SP_VERTEXLIGHTS
  6069. - int SP_MATERIAL
  6070. - int SP_OBJECTTRANSFORM
  6071. - int MAX_SHADER_PARAMETER_GROUPS
  6072. ### ShaderType
  6073. - int VS
  6074. - int PS
  6075. ### ShapeType
  6076. - int SHAPE_BOX
  6077. - int SHAPE_SPHERE
  6078. - int SHAPE_STATICPLANE
  6079. - int SHAPE_CYLINDER
  6080. - int SHAPE_CAPSULE
  6081. - int SHAPE_CONE
  6082. - int SHAPE_TRIANGLEMESH
  6083. - int SHAPE_CONVEXHULL
  6084. - int SHAPE_TERRAIN
  6085. ### StencilOp
  6086. - int OP_KEEP
  6087. - int OP_ZERO
  6088. - int OP_REF
  6089. - int OP_INCR
  6090. - int OP_DECR
  6091. ### TextEffect
  6092. - int TE_NONE
  6093. - int TE_SHADOW
  6094. - int TE_STROKE
  6095. ### TextureAddressMode
  6096. - int ADDRESS_WRAP
  6097. - int ADDRESS_MIRROR
  6098. - int ADDRESS_CLAMP
  6099. - int ADDRESS_BORDER
  6100. - int MAX_ADDRESSMODES
  6101. ### TextureCoordinate
  6102. - int COORD_U
  6103. - int COORD_V
  6104. - int COORD_W
  6105. - int MAX_COORDS
  6106. ### TextureFilterMode
  6107. - int FILTER_NEAREST
  6108. - int FILTER_BILINEAR
  6109. - int FILTER_TRILINEAR
  6110. - int FILTER_ANISOTROPIC
  6111. - int FILTER_DEFAULT
  6112. - int MAX_FILTERMODES
  6113. ### TextureUnit
  6114. - int TU_DIFFUSE
  6115. - int TU_ALBEDOBUFFER
  6116. - int TU_NORMAL
  6117. - int TU_NORMALBUFFER
  6118. - int TU_SPECULAR
  6119. - int TU_EMISSIVE
  6120. - int TU_ENVIRONMENT
  6121. - int MAX_MATERIAL_TEXTURE_UNITS
  6122. - int TU_LIGHTRAMP
  6123. - int TU_LIGHTSHAPE
  6124. - int TU_SHADOWMAP
  6125. - int TU_FACESELECT
  6126. - int TU_INDIRECTION
  6127. - int TU_DEPTHBUFFER
  6128. - int TU_LIGHTBUFFER
  6129. - int TU_VOLUMEMAP
  6130. - int TU_ZONE
  6131. - int MAX_NAMED_TEXTURE_UNITS
  6132. - int MAX_TEXTURE_UNITS
  6133. ### TextureUsage
  6134. - int TEXTURE_STATIC
  6135. - int TEXTURE_DYNAMIC
  6136. - int TEXTURE_RENDERTARGET
  6137. - int TEXTURE_DEPTHSTENCIL
  6138. ### TileMapLayerType2D
  6139. - int LT_TILE_LAYER
  6140. - int LT_OBJECT_GROUP
  6141. - int LT_IMAGE_LAYER
  6142. - int LT_INVALID
  6143. ### TileMapObjectType2D
  6144. - int OT_RECTANGLE
  6145. - int OT_ELLIPSE
  6146. - int OT_POLYGON
  6147. - int OT_POLYLINE
  6148. - int OT_TILE
  6149. - int OT_INVALID
  6150. ### TransformSpace
  6151. - int TS_LOCAL
  6152. - int TS_PARENT
  6153. - int TS_WORLD
  6154. ### TraversalMode
  6155. - int TM_BREADTH_FIRST
  6156. - int TM_DEPTH_FIRST
  6157. ### VariantType
  6158. - int VAR_NONE
  6159. - int VAR_INT
  6160. - int VAR_BOOL
  6161. - int VAR_FLOAT
  6162. - int VAR_VECTOR2
  6163. - int VAR_VECTOR3
  6164. - int VAR_VECTOR4
  6165. - int VAR_QUATERNION
  6166. - int VAR_COLOR
  6167. - int VAR_STRING
  6168. - int VAR_BUFFER
  6169. - int VAR_VOIDPTR
  6170. - int VAR_RESOURCEREF
  6171. - int VAR_RESOURCEREFLIST
  6172. - int VAR_VARIANTVECTOR
  6173. - int VAR_VARIANTMAP
  6174. - int VAR_INTRECT
  6175. - int VAR_INTVECTOR2
  6176. - int VAR_PTR
  6177. - int VAR_MATRIX3
  6178. - int VAR_MATRIX3X4
  6179. - int VAR_MATRIX4
  6180. - int MAX_VAR_TYPES
  6181. ### VertexElement
  6182. - int ELEMENT_POSITION
  6183. - int ELEMENT_NORMAL
  6184. - int ELEMENT_COLOR
  6185. - int ELEMENT_TEXCOORD1
  6186. - int ELEMENT_TEXCOORD2
  6187. - int ELEMENT_CUBETEXCOORD1
  6188. - int ELEMENT_CUBETEXCOORD2
  6189. - int ELEMENT_TANGENT
  6190. - int ELEMENT_BLENDWEIGHTS
  6191. - int ELEMENT_BLENDINDICES
  6192. - int ELEMENT_INSTANCEMATRIX1
  6193. - int ELEMENT_INSTANCEMATRIX2
  6194. - int ELEMENT_INSTANCEMATRIX3
  6195. - int MAX_VERTEX_ELEMENTS
  6196. ### VerticalAlignment
  6197. - int VA_TOP
  6198. - int VA_CENTER
  6199. - int VA_BOTTOM
  6200. ### WindowDragMode
  6201. - int DRAG_NONE
  6202. - int DRAG_MOVE
  6203. - int DRAG_RESIZE_TOPLEFT
  6204. - int DRAG_RESIZE_TOP
  6205. - int DRAG_RESIZE_TOPRIGHT
  6206. - int DRAG_RESIZE_RIGHT
  6207. - int DRAG_RESIZE_BOTTOMRIGHT
  6208. - int DRAG_RESIZE_BOTTOM
  6209. - int DRAG_RESIZE_BOTTOMLEFT
  6210. - int DRAG_RESIZE_LEFT
  6211. ### WrapMode
  6212. - int WM_LOOP
  6213. - int WM_ONCE
  6214. - int WM_CLAMP
  6215. \section LuaScriptAPI_GlobalFunctions Global functions
  6216. - float Abs(float value)
  6217. - int AbsInt(int value)
  6218. - float Acos(float x)
  6219. - String AddTrailingSlash(const String pathName)
  6220. - float Asin(float x)
  6221. - float Atan(float x)
  6222. - float Atan2(float y, float x)
  6223. - float Clamp(float value, float min, float max)
  6224. - int ClampInt(int value, int min, int max)
  6225. - VectorBuffer CompressVectorBuffer(VectorBuffer& src)
  6226. - float Cos(float angle)
  6227. - unsigned CountSetBits(unsigned value)
  6228. - VectorBuffer DecompressVectorBuffer(VectorBuffer& src)
  6229. - bool Equals(float lhs, float rhs)
  6230. - void ErrorDialog(const String title, const String message)
  6231. - void ErrorExit(const String message = String::EMPTY, int exitCode = EXIT_FAILURE)
  6232. - const Vector<String>& GetArguments()
  6233. - Audio* GetAudio()
  6234. - ResourceCache* GetCache()
  6235. - Console* GetConsole()
  6236. - String GetConsoleInput()
  6237. - Context* GetContext()
  6238. - DebugHud* GetDebugHud()
  6239. - Engine* GetEngine()
  6240. - EventHandler* GetEventHandler() const
  6241. - Object* GetEventSender()
  6242. - bool GetExecuteConsoleCommands()
  6243. - String GetExtension(const String fullPath, bool lowercaseExtension = true)
  6244. - String GetFileName(const String fullPath)
  6245. - String GetFileNameAndExtension(const String fullPath, bool lowercaseExtension = false)
  6246. - FileSystem* GetFileSystem()
  6247. - Graphics* GetGraphics()
  6248. - Input* GetInput()
  6249. - String GetInternalPath(const String pathName)
  6250. - Log* GetLog()
  6251. - String GetNativePath(const String pathName)
  6252. - Network* GetNetwork()
  6253. - unsigned GetNumLogicalCPUs()
  6254. - unsigned GetNumPhysicalCPUs()
  6255. - String GetParentPath(const String pathName)
  6256. - String GetPath(const String fullPath)
  6257. - String GetPlatform()
  6258. - unsigned GetRandomSeed()
  6259. - Renderer* GetRenderer()
  6260. - Time* GetTime()
  6261. - UI* GetUI()
  6262. - bool IsAbsolutePath(const String pathName)
  6263. - bool IsAlpha(unsigned ch)
  6264. - bool IsDigit(unsigned ch)
  6265. - bool IsNaN(float value)
  6266. - bool IsPowerOfTwo(unsigned value)
  6267. - float Lerp(float lhs, float rhs, float t)
  6268. - float Max(float lhs, float rhs)
  6269. - int MaxInt(int lhs, int rhs)
  6270. - float Min(float lhs, float rhs)
  6271. - int MinInt(int lhs, int rhs)
  6272. - unsigned NextPowerOfTwo(unsigned value)
  6273. - void OpenConsoleWindow()
  6274. - void PrintLine(const String str, bool error = false)
  6275. - int Rand()
  6276. - float RandStandardNormal()
  6277. - float Random()
  6278. - float Random(float min, float max)
  6279. - float Random(float range)
  6280. - int RandomInt(int min, int max)
  6281. - int RandomInt(int range)
  6282. - float RandomNormal(float meanValue, float variance)
  6283. - String RemoveTrailingSlash(const String pathName)
  6284. - String ReplaceExtension(const String fullPath, const String newExtension)
  6285. - unsigned SDBMHash(unsigned hash, char c)
  6286. - void SendEvent(const String eventName, VariantMap& eventData)
  6287. - void SetExecuteConsoleCommands(bool enable)
  6288. - void SetRandomSeed(unsigned seed)
  6289. - float Sign(float value)
  6290. - float Sin(float angle)
  6291. - float SmoothStep(float lhs, float rhs, float t)
  6292. - void SubscribeToEvent(void* sender, const String eventName, void* functionOrFunctionName)
  6293. - void SubscribeToEvent(const String eventName, void* functionOrFunctionName)
  6294. - float Tan(float angle)
  6295. - bool ToBool(const String source)
  6296. - Color ToColor(const String source)
  6297. - float ToFloat(const String source)
  6298. - int ToInt(const String source)
  6299. - IntRect ToIntRect(const String source)
  6300. - IntVector2 ToIntVector2(const String source)
  6301. - unsigned ToLower(unsigned ch)
  6302. - Matrix3 ToMatrix3(const String source)
  6303. - Matrix3x4 ToMatrix3x4(const String source)
  6304. - Matrix4 ToMatrix4(const String source)
  6305. - Quaternion ToQuaternion(const String source)
  6306. - Rect ToRect(const String source)
  6307. - String ToString(void* value)
  6308. - String ToStringHex(unsigned value)
  6309. - unsigned ToUInt(const String source)
  6310. - unsigned ToUpper(unsigned ch)
  6311. - Vector2 ToVector2(const String source)
  6312. - Vector3 ToVector3(const String source)
  6313. - Vector4 ToVector4(const String source, bool allowMissingCoords = false)
  6314. - void UnsubscribeFromAllEvents()
  6315. - void UnsubscribeFromAllEventsExcept(const Vector<String>& exceptionNames)
  6316. - void UnsubscribeFromEvent(Object* sender, const String eventName)
  6317. - void UnsubscribeFromEvent(const String eventName)
  6318. - void UnsubscribeFromEvents(Object* sender)
  6319. \section LuaScriptAPI_GlobalProperties Global properties
  6320. - Audio* audio (readonly)
  6321. - ResourceCache* cache (readonly)
  6322. - Console* console (readonly)
  6323. - DebugHud* debugHud (readonly)
  6324. - Engine* engine (readonly)
  6325. - FileSystem* fileSystem (readonly)
  6326. - Graphics* graphics (readonly)
  6327. - Input* input (readonly)
  6328. - Log* log (readonly)
  6329. - Network* network (readonly)
  6330. - Renderer* renderer (readonly)
  6331. - Time* time (readonly)
  6332. - UI* ui (readonly)
  6333. \section LuaScriptAPI_GlobalConstants Global constants
  6334. - float ANIMATION_LOD_BASESCALE
  6335. - char CHANNEL_POSITION
  6336. - char CHANNEL_ROTATION
  6337. - char CHANNEL_SCALE
  6338. - unsigned CLEAR_COLOR
  6339. - unsigned CLEAR_DEPTH
  6340. - unsigned CLEAR_STENCIL
  6341. - int CONTROLLER_AXIS_LEFTX
  6342. - int CONTROLLER_AXIS_LEFTY
  6343. - int CONTROLLER_AXIS_RIGHTX
  6344. - int CONTROLLER_AXIS_RIGHTY
  6345. - int CONTROLLER_AXIS_TRIGGERLEFT
  6346. - int CONTROLLER_AXIS_TRIGGERRIGHT
  6347. - int CONTROLLER_BUTTON_A
  6348. - int CONTROLLER_BUTTON_B
  6349. - int CONTROLLER_BUTTON_BACK
  6350. - int CONTROLLER_BUTTON_DPAD_DOWN
  6351. - int CONTROLLER_BUTTON_DPAD_LEFT
  6352. - int CONTROLLER_BUTTON_DPAD_RIGHT
  6353. - int CONTROLLER_BUTTON_DPAD_UP
  6354. - int CONTROLLER_BUTTON_GUIDE
  6355. - int CONTROLLER_BUTTON_LEFTSHOULDER
  6356. - int CONTROLLER_BUTTON_LEFTSTICK
  6357. - int CONTROLLER_BUTTON_RIGHTSHOULDER
  6358. - int CONTROLLER_BUTTON_RIGHTSTICK
  6359. - int CONTROLLER_BUTTON_START
  6360. - int CONTROLLER_BUTTON_X
  6361. - int CONTROLLER_BUTTON_Y
  6362. - unsigned DD_DISABLED
  6363. - unsigned DD_SOURCE
  6364. - unsigned DD_SOURCE_AND_TARGET
  6365. - unsigned DD_TARGET
  6366. - unsigned DEBUGHUD_SHOW_ALL
  6367. - unsigned DEBUGHUD_SHOW_MODE
  6368. - unsigned DEBUGHUD_SHOW_NONE
  6369. - unsigned DEBUGHUD_SHOW_PROFILER
  6370. - unsigned DEBUGHUD_SHOW_STATS
  6371. - unsigned DEFAULT_LIGHTMASK
  6372. - unsigned DEFAULT_SHADOWMASK
  6373. - unsigned DEFAULT_VIEWMASK
  6374. - unsigned DEFAULT_ZONEMASK
  6375. - unsigned DRAWABLE_ANY
  6376. - unsigned DRAWABLE_GEOMETRY
  6377. - unsigned DRAWABLE_GEOMETRY2D
  6378. - unsigned DRAWABLE_LIGHT
  6379. - unsigned DRAWABLE_ZONE
  6380. - unsigned FIRST_LOCAL_ID
  6381. - unsigned FIRST_REPLICATED_ID
  6382. - int HAT_CENTER
  6383. - int HAT_DOWN
  6384. - int HAT_LEFT
  6385. - int HAT_RIGHT
  6386. - int HAT_UP
  6387. - int KEY_0
  6388. - int KEY_1
  6389. - int KEY_2
  6390. - int KEY_3
  6391. - int KEY_4
  6392. - int KEY_5
  6393. - int KEY_6
  6394. - int KEY_7
  6395. - int KEY_8
  6396. - int KEY_9
  6397. - int KEY_A
  6398. - int KEY_ALT
  6399. - int KEY_APPLICATION
  6400. - int KEY_B
  6401. - int KEY_BACKSPACE
  6402. - int KEY_C
  6403. - int KEY_CAPSLOCK
  6404. - int KEY_CTRL
  6405. - int KEY_D
  6406. - int KEY_DELETE
  6407. - int KEY_DOWN
  6408. - int KEY_E
  6409. - int KEY_END
  6410. - int KEY_ESC
  6411. - int KEY_F
  6412. - int KEY_F1
  6413. - int KEY_F10
  6414. - int KEY_F11
  6415. - int KEY_F12
  6416. - int KEY_F13
  6417. - int KEY_F14
  6418. - int KEY_F15
  6419. - int KEY_F16
  6420. - int KEY_F17
  6421. - int KEY_F18
  6422. - int KEY_F19
  6423. - int KEY_F2
  6424. - int KEY_F20
  6425. - int KEY_F21
  6426. - int KEY_F22
  6427. - int KEY_F23
  6428. - int KEY_F24
  6429. - int KEY_F3
  6430. - int KEY_F4
  6431. - int KEY_F5
  6432. - int KEY_F6
  6433. - int KEY_F7
  6434. - int KEY_F8
  6435. - int KEY_F9
  6436. - int KEY_G
  6437. - int KEY_GUI
  6438. - int KEY_H
  6439. - int KEY_HOME
  6440. - int KEY_I
  6441. - int KEY_INSERT
  6442. - int KEY_J
  6443. - int KEY_K
  6444. - int KEY_KP_0
  6445. - int KEY_KP_1
  6446. - int KEY_KP_2
  6447. - int KEY_KP_3
  6448. - int KEY_KP_4
  6449. - int KEY_KP_5
  6450. - int KEY_KP_6
  6451. - int KEY_KP_7
  6452. - int KEY_KP_8
  6453. - int KEY_KP_9
  6454. - int KEY_KP_DIVIDE
  6455. - int KEY_KP_ENTER
  6456. - int KEY_KP_MINUS
  6457. - int KEY_KP_MULTIPLY
  6458. - int KEY_KP_PERIOD
  6459. - int KEY_KP_PLUS
  6460. - int KEY_L
  6461. - int KEY_LALT
  6462. - int KEY_LCTRL
  6463. - int KEY_LEFT
  6464. - int KEY_LGUI
  6465. - int KEY_LSHIFT
  6466. - int KEY_M
  6467. - int KEY_N
  6468. - int KEY_NUMLOCKCLEAR
  6469. - int KEY_O
  6470. - int KEY_P
  6471. - int KEY_PAGEDOWN
  6472. - int KEY_PAGEUP
  6473. - int KEY_PAUSE
  6474. - int KEY_PRINTSCREEN
  6475. - int KEY_Q
  6476. - int KEY_R
  6477. - int KEY_RALT
  6478. - int KEY_RCTRL
  6479. - int KEY_RETURN
  6480. - int KEY_RETURN2
  6481. - int KEY_RGUI
  6482. - int KEY_RIGHT
  6483. - int KEY_RSHIFT
  6484. - int KEY_S
  6485. - int KEY_SCROLLLOCK
  6486. - int KEY_SELECT
  6487. - int KEY_SHIFT
  6488. - int KEY_SPACE
  6489. - int KEY_T
  6490. - int KEY_TAB
  6491. - int KEY_U
  6492. - int KEY_UP
  6493. - int KEY_V
  6494. - int KEY_W
  6495. - int KEY_X
  6496. - int KEY_Y
  6497. - int KEY_Z
  6498. - unsigned LAST_LOCAL_ID
  6499. - unsigned LAST_REPLICATED_ID
  6500. - int LOG_DEBUG
  6501. - int LOG_ERROR
  6502. - int LOG_INFO
  6503. - int LOG_NONE
  6504. - int LOG_WARNING
  6505. - int MAX_VERTEX_LIGHTS
  6506. - int MOUSEB_LEFT
  6507. - int MOUSEB_MIDDLE
  6508. - int MOUSEB_RIGHT
  6509. - float M_DEGTORAD
  6510. - float M_DEGTORAD_2
  6511. - float M_EPSILON
  6512. - float M_HALF_PI
  6513. - float M_INFINITY
  6514. - float M_LARGE_EPSILON
  6515. - float M_LARGE_VALUE
  6516. - float M_MAX_FOV
  6517. - int M_MAX_INT
  6518. - unsigned M_MAX_UNSIGNED
  6519. - int M_MIN_INT
  6520. - float M_MIN_NEARCLIP
  6521. - unsigned M_MIN_UNSIGNED
  6522. - float M_PI
  6523. - float M_RADTODEG
  6524. - unsigned NUM_FRUSTUM_PLANES
  6525. - unsigned NUM_FRUSTUM_VERTICES
  6526. - float PIXEL_SIZE
  6527. - int QUALITY_HIGH
  6528. - int QUALITY_LOW
  6529. - int QUALITY_MAX
  6530. - int QUALITY_MEDIUM
  6531. - int QUAL_ALT
  6532. - int QUAL_ANY
  6533. - int QUAL_CTRL
  6534. - int QUAL_SHIFT
  6535. - int SCANCODE_0
  6536. - int SCANCODE_1
  6537. - int SCANCODE_2
  6538. - int SCANCODE_3
  6539. - int SCANCODE_4
  6540. - int SCANCODE_5
  6541. - int SCANCODE_6
  6542. - int SCANCODE_7
  6543. - int SCANCODE_8
  6544. - int SCANCODE_9
  6545. - int SCANCODE_A
  6546. - int SCANCODE_AC_BACK
  6547. - int SCANCODE_AC_BOOKMARKS
  6548. - int SCANCODE_AC_FORWARD
  6549. - int SCANCODE_AC_HOME
  6550. - int SCANCODE_AC_REFRESH
  6551. - int SCANCODE_AC_SEARCH
  6552. - int SCANCODE_AC_STOP
  6553. - int SCANCODE_AGAIN
  6554. - int SCANCODE_ALT
  6555. - int SCANCODE_ALTERASE
  6556. - int SCANCODE_APOSTROPHE
  6557. - int SCANCODE_APP1
  6558. - int SCANCODE_APP2
  6559. - int SCANCODE_APPLICATION
  6560. - int SCANCODE_AUDIOMUTE
  6561. - int SCANCODE_AUDIONEXT
  6562. - int SCANCODE_AUDIOPLAY
  6563. - int SCANCODE_AUDIOPREV
  6564. - int SCANCODE_AUDIOSTOP
  6565. - int SCANCODE_B
  6566. - int SCANCODE_BACKSLASH
  6567. - int SCANCODE_BACKSPACE
  6568. - int SCANCODE_BRIGHTNESSDOWN
  6569. - int SCANCODE_BRIGHTNESSUP
  6570. - int SCANCODE_C
  6571. - int SCANCODE_CALCULATOR
  6572. - int SCANCODE_CANCEL
  6573. - int SCANCODE_CAPSLOCK
  6574. - int SCANCODE_CLEAR
  6575. - int SCANCODE_CLEARAGAIN
  6576. - int SCANCODE_COMMA
  6577. - int SCANCODE_COMPUTER
  6578. - int SCANCODE_COPY
  6579. - int SCANCODE_CRSEL
  6580. - int SCANCODE_CTRL
  6581. - int SCANCODE_CURRENCYSUBUNIT
  6582. - int SCANCODE_CURRENCYUNIT
  6583. - int SCANCODE_CUT
  6584. - int SCANCODE_D
  6585. - int SCANCODE_DECIMALSEPARATOR
  6586. - int SCANCODE_DELETE
  6587. - int SCANCODE_DISPLAYSWITCH
  6588. - int SCANCODE_DOWN
  6589. - int SCANCODE_E
  6590. - int SCANCODE_EJECT
  6591. - int SCANCODE_END
  6592. - int SCANCODE_EQUALS
  6593. - int SCANCODE_ESCAPE
  6594. - int SCANCODE_EXECUTE
  6595. - int SCANCODE_EXSEL
  6596. - int SCANCODE_F
  6597. - int SCANCODE_F1
  6598. - int SCANCODE_F10
  6599. - int SCANCODE_F11
  6600. - int SCANCODE_F12
  6601. - int SCANCODE_F13
  6602. - int SCANCODE_F14
  6603. - int SCANCODE_F15
  6604. - int SCANCODE_F16
  6605. - int SCANCODE_F17
  6606. - int SCANCODE_F18
  6607. - int SCANCODE_F19
  6608. - int SCANCODE_F2
  6609. - int SCANCODE_F20
  6610. - int SCANCODE_F21
  6611. - int SCANCODE_F22
  6612. - int SCANCODE_F23
  6613. - int SCANCODE_F24
  6614. - int SCANCODE_F3
  6615. - int SCANCODE_F4
  6616. - int SCANCODE_F5
  6617. - int SCANCODE_F6
  6618. - int SCANCODE_F7
  6619. - int SCANCODE_F8
  6620. - int SCANCODE_F9
  6621. - int SCANCODE_FIND
  6622. - int SCANCODE_G
  6623. - int SCANCODE_GRAVE
  6624. - int SCANCODE_GUI
  6625. - int SCANCODE_H
  6626. - int SCANCODE_HELP
  6627. - int SCANCODE_HOME
  6628. - int SCANCODE_I
  6629. - int SCANCODE_INSERT
  6630. - int SCANCODE_INTERNATIONAL1
  6631. - int SCANCODE_INTERNATIONAL2
  6632. - int SCANCODE_INTERNATIONAL3
  6633. - int SCANCODE_INTERNATIONAL4
  6634. - int SCANCODE_INTERNATIONAL5
  6635. - int SCANCODE_INTERNATIONAL6
  6636. - int SCANCODE_INTERNATIONAL7
  6637. - int SCANCODE_INTERNATIONAL8
  6638. - int SCANCODE_INTERNATIONAL9
  6639. - int SCANCODE_J
  6640. - int SCANCODE_K
  6641. - int SCANCODE_KBDILLUMDOWN
  6642. - int SCANCODE_KBDILLUMTOGGLE
  6643. - int SCANCODE_KBDILLUMUP
  6644. - int SCANCODE_KP_0
  6645. - int SCANCODE_KP_00
  6646. - int SCANCODE_KP_000
  6647. - int SCANCODE_KP_1
  6648. - int SCANCODE_KP_2
  6649. - int SCANCODE_KP_3
  6650. - int SCANCODE_KP_4
  6651. - int SCANCODE_KP_5
  6652. - int SCANCODE_KP_6
  6653. - int SCANCODE_KP_7
  6654. - int SCANCODE_KP_8
  6655. - int SCANCODE_KP_9
  6656. - int SCANCODE_KP_A
  6657. - int SCANCODE_KP_AMPERSAND
  6658. - int SCANCODE_KP_AT
  6659. - int SCANCODE_KP_B
  6660. - int SCANCODE_KP_BACKSPACE
  6661. - int SCANCODE_KP_BINARY
  6662. - int SCANCODE_KP_C
  6663. - int SCANCODE_KP_CLEAR
  6664. - int SCANCODE_KP_CLEARENTRY
  6665. - int SCANCODE_KP_COLON
  6666. - int SCANCODE_KP_COMMA
  6667. - int SCANCODE_KP_D
  6668. - int SCANCODE_KP_DBLAMPERSAND
  6669. - int SCANCODE_KP_DBLVERTICALBAR
  6670. - int SCANCODE_KP_DECIMAL
  6671. - int SCANCODE_KP_DIVIDE
  6672. - int SCANCODE_KP_E
  6673. - int SCANCODE_KP_ENTER
  6674. - int SCANCODE_KP_EQUALS
  6675. - int SCANCODE_KP_EQUALSAS400
  6676. - int SCANCODE_KP_EXCLAM
  6677. - int SCANCODE_KP_F
  6678. - int SCANCODE_KP_GREATER
  6679. - int SCANCODE_KP_HASH
  6680. - int SCANCODE_KP_HEXADECIMAL
  6681. - int SCANCODE_KP_LEFTBRACE
  6682. - int SCANCODE_KP_LEFTPAREN
  6683. - int SCANCODE_KP_LESS
  6684. - int SCANCODE_KP_MEMADD
  6685. - int SCANCODE_KP_MEMCLEAR
  6686. - int SCANCODE_KP_MEMDIVIDE
  6687. - int SCANCODE_KP_MEMMULTIPLY
  6688. - int SCANCODE_KP_MEMRECALL
  6689. - int SCANCODE_KP_MEMSTORE
  6690. - int SCANCODE_KP_MEMSUBTRACT
  6691. - int SCANCODE_KP_MINUS
  6692. - int SCANCODE_KP_MULTIPLY
  6693. - int SCANCODE_KP_OCTAL
  6694. - int SCANCODE_KP_PERCENT
  6695. - int SCANCODE_KP_PERIOD
  6696. - int SCANCODE_KP_PLUS
  6697. - int SCANCODE_KP_PLUSMINUS
  6698. - int SCANCODE_KP_POWER
  6699. - int SCANCODE_KP_RIGHTBRACE
  6700. - int SCANCODE_KP_RIGHTPAREN
  6701. - int SCANCODE_KP_SPACE
  6702. - int SCANCODE_KP_TAB
  6703. - int SCANCODE_KP_VERTICALBAR
  6704. - int SCANCODE_KP_XOR
  6705. - int SCANCODE_L
  6706. - int SCANCODE_LALT
  6707. - int SCANCODE_LANG1
  6708. - int SCANCODE_LANG2
  6709. - int SCANCODE_LANG3
  6710. - int SCANCODE_LANG4
  6711. - int SCANCODE_LANG5
  6712. - int SCANCODE_LANG6
  6713. - int SCANCODE_LANG7
  6714. - int SCANCODE_LANG8
  6715. - int SCANCODE_LANG9
  6716. - int SCANCODE_LCTRL
  6717. - int SCANCODE_LEFT
  6718. - int SCANCODE_LEFTBRACKET
  6719. - int SCANCODE_LGUI
  6720. - int SCANCODE_LSHIFT
  6721. - int SCANCODE_M
  6722. - int SCANCODE_MAIL
  6723. - int SCANCODE_MEDIASELECT
  6724. - int SCANCODE_MENU
  6725. - int SCANCODE_MINUS
  6726. - int SCANCODE_MODE
  6727. - int SCANCODE_MUTE
  6728. - int SCANCODE_N
  6729. - int SCANCODE_NONUSBACKSLASH
  6730. - int SCANCODE_NONUSHASH
  6731. - int SCANCODE_NUMLOCKCLEAR
  6732. - int SCANCODE_O
  6733. - int SCANCODE_OPER
  6734. - int SCANCODE_OUT
  6735. - int SCANCODE_P
  6736. - int SCANCODE_PAGEDOWN
  6737. - int SCANCODE_PAGEUP
  6738. - int SCANCODE_PASTE
  6739. - int SCANCODE_PAUSE
  6740. - int SCANCODE_PERIOD
  6741. - int SCANCODE_POWER
  6742. - int SCANCODE_PRINTSCREEN
  6743. - int SCANCODE_PRIOR
  6744. - int SCANCODE_Q
  6745. - int SCANCODE_R
  6746. - int SCANCODE_RALT
  6747. - int SCANCODE_RCTRL
  6748. - int SCANCODE_RETURN
  6749. - int SCANCODE_RETURN2
  6750. - int SCANCODE_RGUI
  6751. - int SCANCODE_RIGHT
  6752. - int SCANCODE_RIGHTBRACKET
  6753. - int SCANCODE_RSHIFT
  6754. - int SCANCODE_S
  6755. - int SCANCODE_SCROLLLOCK
  6756. - int SCANCODE_SELECT
  6757. - int SCANCODE_SEMICOLON
  6758. - int SCANCODE_SEPARATOR
  6759. - int SCANCODE_SHIFT
  6760. - int SCANCODE_SLASH
  6761. - int SCANCODE_SLEEP
  6762. - int SCANCODE_SPACE
  6763. - int SCANCODE_STOP
  6764. - int SCANCODE_SYSREQ
  6765. - int SCANCODE_T
  6766. - int SCANCODE_TAB
  6767. - int SCANCODE_THOUSANDSSEPARATOR
  6768. - int SCANCODE_U
  6769. - int SCANCODE_UNDO
  6770. - int SCANCODE_UNKNOWN
  6771. - int SCANCODE_UP
  6772. - int SCANCODE_V
  6773. - int SCANCODE_VOLUMEDOWN
  6774. - int SCANCODE_VOLUMEUP
  6775. - int SCANCODE_W
  6776. - int SCANCODE_WWW
  6777. - int SCANCODE_X
  6778. - int SCANCODE_Y
  6779. - int SCANCODE_Z
  6780. - unsigned SCAN_DIRS
  6781. - unsigned SCAN_FILES
  6782. - unsigned SCAN_HIDDEN
  6783. - int SHADOWQUALITY_HIGH_16BIT
  6784. - int SHADOWQUALITY_HIGH_24BIT
  6785. - int SHADOWQUALITY_LOW_16BIT
  6786. - int SHADOWQUALITY_LOW_24BIT
  6787. - String SOUND_AMBIENT
  6788. - String SOUND_EFFECT
  6789. - String SOUND_MASTER
  6790. - String SOUND_MUSIC
  6791. - String SOUND_VOICE
  6792. - unsigned VO_DISABLE_OCCLUSION
  6793. - unsigned VO_DISABLE_SHADOWS
  6794. - unsigned VO_LOW_MATERIAL_QUALITY
  6795. - unsigned VO_NONE
  6796. */
  6797. }