LuaScriptAPI.dox 195 KB

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