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, AttributeAnimation* 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. - AttributeAnimation* 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. ### AttributeAnimation : Resource
  190. Methods:
  191. - AttributeAnimation() (GC)
  192. - AttributeAnimation* new()
  193. - void delete()
  194. - void SetInterpolationMethod(InterpMethod method)
  195. - void SetSplineTension(float tension)
  196. - void SetValueType(VariantType valueType)
  197. - bool SetKeyFrame(float time, const Variant& value)
  198. - void SetEventFrame(float time, const StringHash& eventType)
  199. - void SetEventFrame(float time, const StringHash& eventType, const VariantMap& eventData)
  200. - InterpMethod GetInterpolationMethod() const
  201. - float GetSplineTension() const
  202. - VariantType GetValueType() const
  203. Properties:
  204. - InterpMethod interpolationMethod
  205. - float splineTension
  206. - VariantType valueType
  207. ### Audio : Object
  208. Methods:
  209. - bool SetMode(int bufferLengthMSec, int mixRate, bool stereo, bool interpolation = true)
  210. - bool Play()
  211. - void Stop()
  212. - void SetMasterGain(SoundType type, float gain)
  213. - void SetListener(SoundListener* listener)
  214. - void StopSound(Sound* sound)
  215. - unsigned GetSampleSize() const
  216. - int GetMixRate() const
  217. - bool GetInterpolation() const
  218. - bool IsStereo() const
  219. - bool IsPlaying() const
  220. - bool IsInitialized() const
  221. - float GetMasterGain(SoundType type) const
  222. - SoundListener* GetListener() const
  223. - const PODVector<SoundSource*>& GetSoundSources() const
  224. - void AddSoundSource(SoundSource* soundSource)
  225. - void RemoveSoundSource(SoundSource* soundSource)
  226. - float GetSoundSourceMasterGain(SoundType type) const
  227. - void MixOutput(void* dest, unsigned samples)
  228. Properties:
  229. - unsigned sampleSize (readonly)
  230. - int mixRate (readonly)
  231. - bool interpolation (readonly)
  232. - bool stereo (readonly)
  233. - bool playing (readonly)
  234. - bool initialized (readonly)
  235. - SoundListener* listener
  236. ### BiasParameters
  237. Methods:
  238. - BiasParameters() (GC)
  239. - BiasParameters* new()
  240. - BiasParameters(float constantBias, float slopeScaledBias) (GC)
  241. - BiasParameters* new(float constantBias, float slopeScaledBias)
  242. - void delete()
  243. ### Billboard
  244. Properties:
  245. - Vector3 position
  246. - Vector2 size
  247. - Rect uv
  248. - Color color
  249. - float rotation
  250. - bool enabled
  251. - float sortDistance
  252. ### BillboardSet : Drawable
  253. Methods:
  254. - void SetMaterial(Material* material)
  255. - void SetNumBillboards(unsigned num)
  256. - void SetRelative(bool enable)
  257. - void SetScaled(bool enable)
  258. - void SetSorted(bool enable)
  259. - void SetFaceCamera(bool enable)
  260. - void SetAnimationLodBias(float bias)
  261. - void Commit()
  262. - Material* GetMaterial() const
  263. - unsigned GetNumBillboards() const
  264. - Billboard* GetBillboard(unsigned index)
  265. - bool IsRelative() const
  266. - bool IsScaled() const
  267. - bool IsSorted() const
  268. - bool GetFaceCamera() const
  269. - float GetAnimationLodBias() const
  270. Properties:
  271. - Material* material
  272. - unsigned numBillboards
  273. - bool relative
  274. - bool scaled
  275. - bool sorted
  276. - bool faceCamera
  277. - float animationLodBias
  278. ### Bone
  279. Methods:
  280. - Bone() (GC)
  281. - Bone* new()
  282. - void delete()
  283. Properties:
  284. - String name
  285. - StringHash nameHash
  286. - unsigned parentIndex
  287. - Vector3 initialPosition
  288. - Quaternion initialRotation
  289. - Vector3 initialScale
  290. - Matrix3x4 offsetMatrix
  291. - bool animated
  292. - char collisionMask
  293. - float radius
  294. - BoundingBox boundingBox
  295. - Node* node
  296. ### BorderImage : UIElement
  297. Methods:
  298. - BorderImage() (GC)
  299. - BorderImage* new()
  300. - void delete()
  301. - void SetTexture(Texture* texture)
  302. - void SetImageRect(const IntRect& rect)
  303. - void SetFullImageRect()
  304. - void SetBorder(const IntRect& rect)
  305. - void SetImageBorder(const IntRect& rect)
  306. - void SetHoverOffset(const IntVector2& offset)
  307. - void SetHoverOffset(int x, int y)
  308. - void SetBlendMode(BlendMode mode)
  309. - void SetTiled(bool enable)
  310. - Texture* GetTexture() const
  311. - const IntRect& GetImageRect() const
  312. - const IntRect& GetBorder() const
  313. - const IntRect& GetImageBorder() const
  314. - const IntVector2& GetHoverOffset() const
  315. - BlendMode GetBlendMode() const
  316. - bool IsTiled() const
  317. Properties:
  318. - Texture* texture
  319. - IntRect& imageRect
  320. - IntRect& border
  321. - IntRect& imageBorder
  322. - IntVector2& hoverOffset
  323. - BlendMode blendMode
  324. - bool tiled
  325. ### BoundingBox
  326. Methods:
  327. - BoundingBox() (GC)
  328. - BoundingBox* new()
  329. - BoundingBox(const BoundingBox& box) (GC)
  330. - BoundingBox* new(const BoundingBox& box)
  331. - BoundingBox(const Rect& rect) (GC)
  332. - BoundingBox* new(const Rect& rect)
  333. - BoundingBox(const Vector3& min, const Vector3& max) (GC)
  334. - BoundingBox* new(const Vector3& min, const Vector3& max)
  335. - BoundingBox(float min, float max) (GC)
  336. - BoundingBox* new(float min, float max)
  337. - BoundingBox(const Frustum& frustum) (GC)
  338. - BoundingBox* new(const Frustum& frustum)
  339. - BoundingBox(const Polyhedron& poly) (GC)
  340. - BoundingBox* new(const Polyhedron& poly)
  341. - BoundingBox(const Sphere& sphere) (GC)
  342. - BoundingBox* new(const Sphere& sphere)
  343. - void delete()
  344. - bool operator==(const BoundingBox& rhs) const
  345. - void Define(const BoundingBox& box)
  346. - void Define(const Rect& rect)
  347. - void Define(const Vector3& min, const Vector3& max)
  348. - void Define(float min, float max)
  349. - void Define(const Vector3& point)
  350. - void Define(const Frustum& frustum)
  351. - void Define(const Polyhedron& poly)
  352. - void Define(const Sphere& sphere)
  353. - void Merge(const Vector3& point)
  354. - void Merge(const BoundingBox& box)
  355. - void Merge(const Frustum& frustum)
  356. - void Merge(const Polyhedron& poly)
  357. - void Merge(const Sphere& sphere)
  358. - void Clip(const BoundingBox& box)
  359. - void Transform(const Matrix3& transform)
  360. - void Transform(const Matrix3x4& transform)
  361. - void Clear()
  362. - Vector3 Center() const
  363. - Vector3 Size() const
  364. - Vector3 HalfSize() const
  365. - BoundingBox Transformed(const Matrix3& transform) const
  366. - BoundingBox Transformed(const Matrix3x4& transform) const
  367. - Rect Projected(const Matrix4& projection) const
  368. - Intersection IsInside(const Vector3& point) const
  369. - Intersection IsInside(const BoundingBox& box) const
  370. - Intersection IsInsideFast(const BoundingBox& box) const
  371. - Intersection IsInside(const Sphere& sphere) const
  372. - Intersection IsInsideFast(const Sphere& sphere) const
  373. - String ToString() const
  374. Properties:
  375. - Vector3 min
  376. - Vector3 max
  377. - bool defined
  378. - Vector3 center (readonly)
  379. - Vector3 size (readonly)
  380. - Vector3 halfSize (readonly)
  381. ### Button : BorderImage
  382. Methods:
  383. - Button() (GC)
  384. - Button* new()
  385. - void delete()
  386. - void SetPressedOffset(const IntVector2& offset)
  387. - void SetPressedOffset(int x, int y)
  388. - void SetPressedChildOffset(const IntVector2& offset)
  389. - void SetPressedChildOffset(int x, int y)
  390. - void SetRepeat(float delay, float rate)
  391. - void SetRepeatDelay(float delay)
  392. - void SetRepeatRate(float rate)
  393. - const IntVector2& GetPressedOffset() const
  394. - const IntVector2& GetPressedChildOffset() const
  395. - float GetRepeatDelay() const
  396. - float GetRepeatRate() const
  397. - bool IsPressed() const
  398. Properties:
  399. - IntVector2& pressedOffset
  400. - IntVector2& pressedChildOffset
  401. - float repeatDelay
  402. - float repeatRate
  403. - bool pressed (readonly)
  404. ### Camera : Component
  405. Methods:
  406. - void SetNearClip(float nearClip)
  407. - void SetFarClip(float farClip)
  408. - void SetFov(float fov)
  409. - void SetOrthoSize(float orthoSize)
  410. - void SetOrthoSize(const Vector2& orthoSize)
  411. - void SetAspectRatio(float aspectRatio)
  412. - void SetFillMode(FillMode mode)
  413. - void SetZoom(float zoom)
  414. - void SetLodBias(float bias)
  415. - void SetViewMask(unsigned mask)
  416. - void SetViewOverrideFlags(unsigned flags)
  417. - void SetOrthographic(bool enable)
  418. - void SetAutoAspectRatio(bool enable)
  419. - void SetProjectionOffset(const Vector2& offset)
  420. - void SetUseReflection(bool enable)
  421. - void SetReflectionPlane(const Plane& reflectionPlane)
  422. - void SetUseClipping(bool enable)
  423. - void SetClipPlane(const Plane& clipPlane)
  424. - float GetFarClip() const
  425. - float GetNearClip() const
  426. - float GetFov() const
  427. - float GetOrthoSize() const
  428. - float GetAspectRatio() const
  429. - float GetZoom() const
  430. - float GetLodBias() const
  431. - unsigned GetViewMask() const
  432. - unsigned GetViewOverrideFlags() const
  433. - FillMode GetFillMode() const
  434. - bool IsOrthographic() const
  435. - bool GetAutoAspectRatio() const
  436. - const Frustum& GetFrustum() const
  437. - const Matrix4& GetProjection() const
  438. - const Matrix3x4& GetView() const
  439. - void GetFrustumSize(Vector3& near, Vector3& far) const
  440. - float GetHalfViewSize() const
  441. - Frustum GetSplitFrustum(float nearClip, float farClip) const
  442. - Frustum GetViewSpaceFrustum() const
  443. - Frustum GetViewSpaceSplitFrustum(float nearClip, float farClip) const
  444. - Ray GetScreenRay(float x, float y) const
  445. - Vector2 WorldToScreenPoint(const Vector3& worldPos) const
  446. - Vector3 ScreenToWorldPoint(const Vector3& screenPos) const
  447. - const Vector2& GetProjectionOffset() const
  448. - bool GetUseReflection() const
  449. - const Plane& GetReflectionPlane() const
  450. - bool GetUseClipping() const
  451. - const Plane& GetClipPlane() const
  452. - float GetDistance(const Vector3& worldPos) const
  453. - float GetDistanceSquared(const Vector3& worldPos) const
  454. - float GetLodDistance(float distance, float scale, float bias) const
  455. - bool IsProjectionValid() const
  456. - Matrix3x4 GetEffectiveWorldTransform() const
  457. Properties:
  458. - float farClip
  459. - float nearClip
  460. - float fov
  461. - float orthoSize
  462. - float aspectRatio
  463. - float zoom
  464. - float lodBias
  465. - unsigned viewMask
  466. - unsigned viewOverrideFlags
  467. - FillMode fillMode
  468. - bool orthographic
  469. - bool autoAspectRatio
  470. - Frustum& frustum (readonly)
  471. - Matrix4& projection (readonly)
  472. - Matrix3x4& view (readonly)
  473. - float halfViewSize (readonly)
  474. - Frustum viewSpaceFrustum (readonly)
  475. - Vector2& projectionOffset
  476. - bool useReflection
  477. - Plane& reflectionPlane
  478. - bool useClipping
  479. - Plane& clipPlane
  480. - bool projectionValid (readonly)
  481. - Matrix3x4 effectiveWorldTransform (readonly)
  482. ### CascadeParameters
  483. Methods:
  484. - CascadeParameters() (GC)
  485. - CascadeParameters* new()
  486. - CascadeParameters(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f) (GC)
  487. - CascadeParameters* new(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f)
  488. - void delete()
  489. ### CheckBox : BorderImage
  490. Methods:
  491. - CheckBox() (GC)
  492. - CheckBox* new()
  493. - void delete()
  494. - void SetChecked(bool enable)
  495. - void SetCheckedOffset(const IntVector2& rect)
  496. - void SetCheckedOffset(int x, int y)
  497. - bool IsChecked() const
  498. - const IntVector2& GetCheckedOffset() const
  499. Properties:
  500. - bool checked
  501. - IntVector2& checkedOffset
  502. ### CollisionBox2D : CollisionShape2D
  503. Methods:
  504. - void SetSize(const Vector2& size)
  505. - void SetSize(float width, float height)
  506. - void SetCenter(const Vector2& center)
  507. - void SetCenter(float x, float y)
  508. - void SetAngle(float angle)
  509. - const Vector2& GetSize() const
  510. - const Vector2& GetCenter() const
  511. - float GetAngle() const
  512. Properties:
  513. - Vector2& size
  514. - Vector2& center
  515. - float angle
  516. ### CollisionChain2D : CollisionShape2D
  517. Methods:
  518. - void SetLoop(bool loop)
  519. - void SetVertexCount(unsigned count)
  520. - void SetVertex(unsigned index, const Vector2& vertex)
  521. - void SetVertices(const PODVector<Vector2>& vertices)
  522. - bool GetLoop() const
  523. - unsigned GetVertexCount() const
  524. - const Vector2& GetVertex(unsigned index) const
  525. Properties:
  526. - bool loop
  527. - unsigned vertexCount
  528. ### CollisionCircle2D : CollisionShape2D
  529. Methods:
  530. - void SetRadius(float radius)
  531. - void SetCenter(const Vector2& center)
  532. - void SetCenter(float x, float y)
  533. - float GetRadius() const
  534. - const Vector2& GetCenter() const
  535. Properties:
  536. - float radius
  537. - Vector2& center
  538. ### CollisionEdge2D : CollisionShape2D
  539. Methods:
  540. - void SetVertex1(const Vector2& vertex)
  541. - void SetVertex2(const Vector2& vertex)
  542. - void SetVertices(const Vector2& vertex1, const Vector2& vertex2)
  543. - const Vector2& GetVertex1() const
  544. - const Vector2& GetVertex2() const
  545. Properties:
  546. - Vector2& vertex1
  547. - Vector2& vertex2
  548. ### CollisionPolygon2D : CollisionShape2D
  549. Methods:
  550. - void SetVertexCount(unsigned count)
  551. - void SetVertex(unsigned index, const Vector2& vertex)
  552. - void SetVertices(const PODVector<Vector2>& vertices)
  553. - unsigned GetVertexCount() const
  554. - const Vector2& GetVertex(unsigned index) const
  555. Properties:
  556. - unsigned vertexCount
  557. ### CollisionShape : Component
  558. Methods:
  559. - void SetBox(const Vector3& size)
  560. - void SetBox(const Vector3& size, const Vector3& position)
  561. - void SetBox(const Vector3& size, const Vector3& position, const Quaternion& rotation)
  562. - void SetSphere(float diameter)
  563. - void SetSphere(float diameter, const Vector3& position)
  564. - void SetSphere(float diameter, const Vector3& position, const Quaternion& rotation)
  565. - void SetStaticPlane()
  566. - void SetStaticPlane(const Vector3& position)
  567. - void SetStaticPlane(const Vector3& position, const Quaternion& rotation)
  568. - void SetCylinder(float diameter, float height)
  569. - void SetCylinder(float diameter, float height, const Vector3& position)
  570. - void SetCylinder(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  571. - void SetCapsule(float diameter, float height)
  572. - void SetCapsule(float diameter, float height, const Vector3& position)
  573. - void SetCapsule(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  574. - void SetCone(float diameter, float height)
  575. - void SetCone(float diameter, float height, const Vector3& position)
  576. - void SetCone(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  577. - void SetTriangleMesh(Model* model, unsigned lodLevel = 0)
  578. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale)
  579. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position)
  580. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  581. - void SetConvexHull(Model* model, unsigned lodLevel = 0)
  582. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale)
  583. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position)
  584. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  585. - void SetTerrain()
  586. - void SetShapeType(ShapeType type)
  587. - void SetSize(const Vector3& size)
  588. - void SetPosition(const Vector3& position)
  589. - void SetRotation(const Quaternion& rotation)
  590. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  591. - void SetMargin(float margin)
  592. - void SetModel(Model* model)
  593. - void SetLodLevel(unsigned lodLevel)
  594. - PhysicsWorld* GetPhysicsWorld() const
  595. - ShapeType GetShapeType() const
  596. - const Vector3& GetSize() const
  597. - const Vector3& GetPosition() const
  598. - const Quaternion& GetRotation() const
  599. - float GetMargin() const
  600. - Model* GetModel() const
  601. - unsigned GetLodLevel() const
  602. - BoundingBox GetWorldBoundingBox() const
  603. Properties:
  604. - PhysicsWorld* physicsWorld (readonly)
  605. - ShapeType shapeType
  606. - Vector3& size
  607. - Vector3& position
  608. - Quaternion& rotation
  609. - float margin
  610. - Model* model
  611. - unsigned lodLevel
  612. - BoundingBox worldBoundingBox (readonly)
  613. - ResourceRef modelAttr
  614. ### CollisionShape2D : Component
  615. Methods:
  616. - void SetTrigger(bool trigger)
  617. - void SetCategoryBits(int categoryBits)
  618. - void SetMaskBits(int maskBits)
  619. - void SetGroupIndex(int groupIndex)
  620. - void SetDensity(float density)
  621. - void SetFriction(float friction)
  622. - void SetRestitution(float restitution)
  623. - bool IsTrigger() const
  624. - int GetCategoryBits() const
  625. - int GetMaskBits() const
  626. - int GetGroupIndex() const
  627. - float GetDensity() const
  628. - float GetFriction() const
  629. - float GetRestitution() const
  630. - float GetMass() const
  631. - float GetInertia() const
  632. - Vector2 GetMassCenter() const
  633. Properties:
  634. - bool trigger
  635. - int categoryBits
  636. - int maskBits
  637. - int groupIndex
  638. - float density
  639. - float friction
  640. - float restitution
  641. - float mass (readonly)
  642. - float inertia (readonly)
  643. - Vector2 massCenter (readonly)
  644. ### Color
  645. Methods:
  646. - Color() (GC)
  647. - Color* new()
  648. - Color(const Color& color) (GC)
  649. - Color* new(const Color& color)
  650. - Color(const Color& color, float a) (GC)
  651. - Color* new(const Color& color, float a)
  652. - Color(float r, float g, float b) (GC)
  653. - Color* new(float r, float g, float b)
  654. - Color(float r, float g, float b, float a) (GC)
  655. - Color* new(float r, float g, float b, float a)
  656. - void delete()
  657. - bool operator==(const Color& rhs) const
  658. - Color operator*(float rhs) const
  659. - Color operator+(const Color& rhs)
  660. - unsigned ToUInt() const
  661. - Vector3 ToHSL() const
  662. - Vector3 ToHSV() const
  663. - void FromHSL(float h, float s, float l, float a)
  664. - void FromHSV(float h, float s, float v, float a)
  665. - Vector3 ToVector3() const
  666. - Vector4 ToVector4() const
  667. - float SumRGB() const
  668. - float Average() const
  669. - float Luma() const
  670. - float Chroma() const
  671. - float Hue() const
  672. - float SaturationHSL() const
  673. - float SaturationHSV() const
  674. - float Value() const
  675. - float Lightness() const
  676. - float MaxRGB() const
  677. - float MinRGB() const
  678. - float Range() const
  679. - void Clip(bool clipAlpha = false)
  680. - void Invert(bool invertAlpha = false)
  681. - Color Lerp(const Color& rhs, float t) const
  682. - Color Abs() const
  683. - bool Equals(const Color& rhs) const
  684. - String ToString() const
  685. Properties:
  686. - float r
  687. - float g
  688. - float b
  689. - float a
  690. - const Color WHITE
  691. - const Color GRAY
  692. - const Color BLACK
  693. - const Color RED
  694. - const Color GREEN
  695. - const Color BLUE
  696. - const Color CYAN
  697. - const Color MAGENTA
  698. - const Color YELLOW
  699. - const Color TRANSPARENT
  700. ### ColorFrame
  701. Methods:
  702. - ColorFrame() (GC)
  703. - ColorFrame* new()
  704. - ColorFrame(const Color& color) (GC)
  705. - ColorFrame* new(const Color& color)
  706. - ColorFrame(const Color& color, float time) (GC)
  707. - ColorFrame* new(const Color& color, float time)
  708. - void delete()
  709. - Color Interpolate(const ColorFrame& next, float time)
  710. Properties:
  711. - Color color
  712. - float time
  713. ### Component : Animatable
  714. Methods:
  715. - void SetEnabled(bool enable)
  716. - void Remove()
  717. - unsigned GetID() const
  718. - Node* GetNode() const
  719. - Scene* GetScene() const
  720. - bool IsEnabled() const
  721. - bool IsEnabledEffective() const
  722. - Component* GetComponent(ShortStringHash type) const
  723. - Component* GetComponent(const String type) const
  724. ### Connection : Object
  725. Methods:
  726. - void SendMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  727. - void SendRemoteEvent(StringHash eventType, bool inOrder)
  728. - void SendRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData)
  729. - void SendRemoteEvent(const String eventType, bool inOrder)
  730. - void SendRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData)
  731. - void SendRemoteEvent(Node* node, StringHash eventType, bool inOrder)
  732. - void SendRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData)
  733. - void SendRemoteEvent(Node* node, const String eventType, bool inOrder)
  734. - void SendRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData)
  735. - void SetScene(Scene* newScene)
  736. - void SetIdentity(const VariantMap& identity)
  737. - void SetControls(const Controls& newControls)
  738. - void SetPosition(const Vector3& position)
  739. - void SetConnectPending(bool connectPending)
  740. - void SetLogStatistics(bool enable)
  741. - void Disconnect(int waitMSec = 0)
  742. - void SendServerUpdate()
  743. - void SendClientUpdate()
  744. - void SendRemoteEvents()
  745. - void SendPackages()
  746. - void ProcessPendingLatestData()
  747. - bool ProcessMessage(int msgID, MemoryBuffer& msg)
  748. - const VariantMap& GetIdentity() const
  749. - Scene* GetScene() const
  750. - const Controls& GetControls() const
  751. - const Vector3& GetPosition() const
  752. - bool IsClient() const
  753. - bool IsConnected() const
  754. - bool IsConnectPending() const
  755. - bool IsSceneLoaded() const
  756. - bool GetLogStatistics() const
  757. - String GetAddress() const
  758. - short GetPort() const
  759. - String ToString() const
  760. - unsigned GetNumDownloads() const
  761. - const String GetDownloadName() const
  762. - float GetDownloadProgress() const
  763. Properties:
  764. - VariantMap& identity
  765. - Scene* scene
  766. - Controls& controls
  767. - Vector3& position
  768. - bool client (readonly)
  769. - bool connected (readonly)
  770. - bool connectPending
  771. - bool sceneLoaded (readonly)
  772. - bool logStatistics
  773. - String address (readonly)
  774. - short port (readonly)
  775. - unsigned numDownloads (readonly)
  776. - String downloadName (readonly)
  777. - float downloadProgress (readonly)
  778. ### Console : Object
  779. Methods:
  780. - void SetDefaultStyle(XMLFile* style)
  781. - void SetVisible(bool enable)
  782. - void Toggle()
  783. - void SetAutoVisibleOnError(bool enable)
  784. - void SetCommandInterpreter(const String interpreter)
  785. - void SetNumBufferedRows(unsigned rows)
  786. - void SetNumRows(unsigned rows)
  787. - void SetNumHistoryRows(unsigned rows)
  788. - void SetFocusOnShow(bool enable)
  789. - void UpdateElements()
  790. - XMLFile* GetDefaultStyle() const
  791. - BorderImage* GetBackground() const
  792. - LineEdit* GetLineEdit() const
  793. - bool IsVisible() const
  794. - bool IsAutoVisibleOnError() const
  795. - const String GetCommandInterpreter() const
  796. - unsigned GetNumBufferedRows() const
  797. - unsigned GetNumRows() const
  798. - void CopySelectedRows() const
  799. - unsigned GetNumHistoryRows() const
  800. - unsigned GetHistoryPosition() const
  801. - const String GetHistoryRow(unsigned index) const
  802. - bool GetFocusOnShow() const
  803. Properties:
  804. - XMLFile* defaultStyle
  805. - BorderImage* background (readonly)
  806. - LineEdit* lineEdit (readonly)
  807. - bool visible
  808. - bool autoVisibleOnError
  809. - String commandInterpreter
  810. - unsigned numBufferedRows
  811. - unsigned numRows
  812. - unsigned numHistoryRows
  813. - unsigned historyPosition (readonly)
  814. - bool focusOnShow
  815. ### Constraint : Component
  816. Methods:
  817. - void SetConstraintType(ConstraintType type)
  818. - void SetOtherBody(RigidBody* body)
  819. - void SetPosition(const Vector3& position)
  820. - void SetRotation(const Quaternion& rotation)
  821. - void SetAxis(const Vector3& axis)
  822. - void SetOtherPosition(const Vector3& position)
  823. - void SetOtherRotation(const Quaternion& rotation)
  824. - void SetOtherAxis(const Vector3& axis)
  825. - void SetWorldPosition(const Vector3& position)
  826. - void SetHighLimit(const Vector2& limit)
  827. - void SetLowLimit(const Vector2& limit)
  828. - void SetERP(float erp)
  829. - void SetCFM(float cfm)
  830. - void SetDisableCollision(bool disable)
  831. - PhysicsWorld* GetPhysicsWorld() const
  832. - ConstraintType GetConstraintType() const
  833. - RigidBody* GetOwnBody() const
  834. - RigidBody* GetOtherBody() const
  835. - const Vector3& GetPosition() const
  836. - const Quaternion& GetRotation() const
  837. - const Vector3& GetOtherPosition() const
  838. - const Quaternion& GetOtherRotation() const
  839. - Vector3 GetWorldPosition() const
  840. - const Vector2& GetHighLimit() const
  841. - const Vector2& GetLowLimit() const
  842. - float GetERP() const
  843. - float GetCFM() const
  844. - bool GetDisableCollision() const
  845. Properties:
  846. - PhysicsWorld* physicsWorld (readonly)
  847. - ConstraintType constraintType
  848. - RigidBody* ownBody (readonly)
  849. - RigidBody* otherBody
  850. - Vector3& position
  851. - Quaternion& rotation
  852. - Vector3& axis
  853. - Vector3& otherPosition
  854. - Quaternion& otherRotation
  855. - Vector3& otherAxis
  856. - Vector3 worldPosition
  857. - Vector2& highLimit
  858. - Vector2& lowLimit
  859. - float ERP
  860. - float CFM
  861. - bool disableCollision
  862. ### Constraint2D : Component
  863. Methods:
  864. - void SetOtherBody(RigidBody2D* body)
  865. - void SetCollideConnected(bool collideConnected)
  866. - RigidBody2D* GetOwnerBody() const
  867. - RigidBody2D* GetOtherBody() const
  868. - bool GetCollideConnected() const
  869. Properties:
  870. - RigidBody2D* ownerBody (readonly)
  871. - RigidBody2D* otherBody
  872. - bool collideConnected
  873. ### ConstraintDistance2D : Constraint2D
  874. Methods:
  875. - void SetOwnerBodyAnchor(const Vector2& anchor)
  876. - void SetOtherBodyAnchor(const Vector2& anchor)
  877. - void SetFrequencyHz(float frequencyHz)
  878. - void SetDampingRatio(float dampingRatio)
  879. - const Vector2& GetOwnerBodyAnchor() const
  880. - const Vector2& GetOtherBodyAnchor() const
  881. - float GetFrequencyHz() const
  882. - float GetDampingRatio() const
  883. Properties:
  884. - Vector2& ownerBodyAnchor
  885. - Vector2& otherBodyAnchor
  886. - float frequencyHz
  887. - float dampingRatio
  888. ### ConstraintFriction2D : Constraint2D
  889. Methods:
  890. - void SetAnchor(const Vector2& anchor)
  891. - void SetMaxForce(float maxForce)
  892. - void SetMaxTorque(float maxTorque)
  893. - const Vector2& GetAnchor() const
  894. - float GetMaxForce() const
  895. - float GetMaxTorque() const
  896. Properties:
  897. - Vector2& anchor
  898. - float maxForce
  899. - float maxTorque
  900. ### ConstraintGear2D : Constraint2D
  901. Methods:
  902. - void SetOwnerConstraint(Constraint2D* constraint)
  903. - void SetOtherConstraint(Constraint2D* constraint)
  904. - void SetRatio(float ratio)
  905. - Constraint2D* GetOwnerConstraint() const
  906. - Constraint2D* GetOtherConstraint() const
  907. - float GetRatio() const
  908. Properties:
  909. - Constraint2D* ownerConstraint
  910. - Constraint2D* otherConstraint
  911. - float ratio
  912. ### ConstraintMotor2D : Constraint2D
  913. Methods:
  914. - void SetLinearOffset(const Vector2& linearOffset)
  915. - void SetAngularOffset(float angularOffset)
  916. - void SetMaxForce(float maxForce)
  917. - void SetMaxTorque(float maxTorque)
  918. - void SetCorrectionFactor(float correctionFactor)
  919. - const Vector2& GetLinearOffset() const
  920. - float GetAngularOffset() const
  921. - float GetMaxForce() const
  922. - float GetMaxTorque() const
  923. - float GetCorrectionFactor() const
  924. Properties:
  925. - Vector2& linearOffset
  926. - float angularOffset
  927. - float maxForce
  928. - float maxTorque
  929. - float correctionFactor
  930. ### ConstraintMouse2D : Constraint2D
  931. Methods:
  932. - void SetTarget(const Vector2& target)
  933. - void SetMaxForce(float maxForce)
  934. - void SetFrequencyHz(float frequencyHz)
  935. - void SetDampingRatio(float dampingRatio)
  936. - const Vector2& GetTarget() const
  937. - float GetMaxForce() const
  938. - float GetFrequencyHz() const
  939. - float GetDampingRatio() const
  940. Properties:
  941. - Vector2& target
  942. - float maxForce
  943. - float frequencyHz
  944. - float dampingRatio
  945. ### ConstraintPrismatic2D : Constraint2D
  946. Methods:
  947. - void SetAnchor(const Vector2& anchor)
  948. - void SetAxis(const Vector2& axis)
  949. - void SetEnableLimit(bool enableLimit)
  950. - void SetLowerTranslation(float lowerTranslation)
  951. - void SetUpperTranslation(float upperTranslation)
  952. - void SetEnableMotor(bool enableMotor)
  953. - void SetMaxMotorForce(float maxMotorForce)
  954. - void SetMotorSpeed(float motorSpeed)
  955. - const Vector2& GetAnchor() const
  956. - const Vector2& GetAxis() const
  957. - bool GetEnableLimit() const
  958. - float GetLowerTranslation() const
  959. - float GetUpperTranslation() const
  960. - bool GetEnableMotor() const
  961. - float GetMaxMotorForce() const
  962. - float GetMotorSpeed() const
  963. Properties:
  964. - Vector2& anchor
  965. - Vector2& axis
  966. - bool enableLimit
  967. - float lowerTranslation
  968. - float upperTranslation
  969. - bool enableMotor
  970. - float maxMotorForce
  971. - float motorSpeed
  972. ### ConstraintPulley2D : Constraint2D
  973. Methods:
  974. - void SetOwnerBodyGroundAnchor(const Vector2& groundAnchor)
  975. - void SetOtherBodyGroundAnchor(const Vector2& groundAnchor)
  976. - void SetOwnerBodyAnchor(const Vector2& anchor)
  977. - void SetOtherBodyAnchor(const Vector2& anchor)
  978. - void SetRatio(float ratio)
  979. - const Vector2& GetOwnerBodyGroundAnchor() const
  980. - const Vector2& GetOtherBodyGroundAnchor() const
  981. - const Vector2& GetOwnerBodyAnchor() const
  982. - const Vector2& GetOtherBodyAnchor() const
  983. - float GetRatio() const
  984. Properties:
  985. - Vector2& ownerBodyGroundAnchor
  986. - Vector2& otherBodyGroundAnchor
  987. - Vector2& ownerBodyAnchor
  988. - Vector2& otherBodyAnchor
  989. - float ratio
  990. ### ConstraintRevolute2D : Constraint2D
  991. Methods:
  992. - void SetAnchor(const Vector2& anchor)
  993. - void SetEnableLimit(bool enableLimit)
  994. - void SetLowerAngle(float lowerAngle)
  995. - void SetUpperAngle(float upperAngle)
  996. - void SetEnableMotor(bool enableMotor)
  997. - void SetMotorSpeed(float motorSpeed)
  998. - void SetMaxMotorTorque(float maxMotorTorque)
  999. - const Vector2& GetAnchor() const
  1000. - bool GetEnableLimit() const
  1001. - float GetLowerAngle() const
  1002. - float GetUpperAngle() const
  1003. - bool GetEnableMotor() const
  1004. - float GetMotorSpeed() const
  1005. - float GetMaxMotorTorque() const
  1006. Properties:
  1007. - Vector2& anchor
  1008. - bool enableLimit
  1009. - float lowerAngle
  1010. - float upperAngle
  1011. - bool enableMotor
  1012. - float motorSpeed
  1013. - float maxMotorTorque
  1014. ### ConstraintRope2D : Constraint2D
  1015. Methods:
  1016. - void SetOwnerBodyAnchor(const Vector2& anchor)
  1017. - void SetOtherBodyAnchor(const Vector2& anchor)
  1018. - void SetMaxLength(float maxLength)
  1019. - const Vector2& GetOwnerBodyAnchor() const
  1020. - const Vector2& GetOtherBodyAnchor() const
  1021. - float GetMaxLength() const
  1022. Properties:
  1023. - Vector2& ownerBodyAnchor
  1024. - Vector2& otherBodyAnchor
  1025. - float maxLength
  1026. ### ConstraintWeld2D : Constraint2D
  1027. Methods:
  1028. - void SetAnchor(const Vector2& anchor)
  1029. - void SetFrequencyHz(float frequencyHz)
  1030. - void SetDampingRatio(float dampingRatio)
  1031. - const Vector2& GetAnchor() const
  1032. - float GetFrequencyHz() const
  1033. - float GetDampingRatio() const
  1034. Properties:
  1035. - Vector2& anchor
  1036. - float frequencyHz
  1037. - float dampingRatio
  1038. ### ConstraintWheel2D : Constraint2D
  1039. Methods:
  1040. - void SetAnchor(const Vector2& anchor)
  1041. - void SetAxis(const Vector2& axis)
  1042. - void SetEnableMotor(bool enableMotor)
  1043. - void SetMaxMotorTorque(float maxMotorTorque)
  1044. - void SetMotorSpeed(float motorSpeed)
  1045. - void SetFrequencyHz(float frequencyHz)
  1046. - void SetDampingRatio(float dampingRatio)
  1047. - const Vector2& GetAnchor() const
  1048. - const Vector2& GetAxis() const
  1049. - bool GetEnableMotor() const
  1050. - float GetMaxMotorTorque() const
  1051. - float GetMotorSpeed() const
  1052. - float GetFrequencyHz() const
  1053. - float GetDampingRatio() const
  1054. Properties:
  1055. - Vector2& anchor
  1056. - Vector2& axis
  1057. - bool enableMotor
  1058. - float maxMotorTorque
  1059. - float motorSpeed
  1060. - float frequencyHz
  1061. - float dampingRatio
  1062. ### Context
  1063. Methods:
  1064. - Object* GetEventSender() const
  1065. - EventHandler* GetEventHandler() const
  1066. - const String GetTypeName(ShortStringHash objectType) const
  1067. ### Controls
  1068. Methods:
  1069. - Controls() (GC)
  1070. - Controls* new()
  1071. - void delete()
  1072. - void Reset()
  1073. - void Set(unsigned buttons, bool down = true)
  1074. - bool IsDown(unsigned button) const
  1075. - bool IsPressed(unsigned button, const Controls& previousControls) const
  1076. Properties:
  1077. - unsigned buttons
  1078. - float yaw
  1079. - float pitch
  1080. - VariantMap extraData
  1081. ### Cursor : BorderImage
  1082. Methods:
  1083. - Cursor() (GC)
  1084. - Cursor* new()
  1085. - void delete()
  1086. - void DefineShape(CursorShape shape, Image* image, const IntRect& imageRect, const IntVector2& hotSpot)
  1087. - void SetShape(CursorShape shape)
  1088. - void SetUseSystemShapes(bool enable)
  1089. - CursorShape GetShape() const
  1090. - bool GetUseSystemShapes() const
  1091. Properties:
  1092. - CursorShape shape
  1093. - bool useSystemShapes
  1094. ### DebugHud : Object
  1095. Methods:
  1096. - void SetDefaultStyle(XMLFile* style)
  1097. - void SetMode(unsigned mode)
  1098. - void SetProfilerMaxDepth(unsigned depth)
  1099. - void SetProfilerInterval(float interval)
  1100. - void SetUseRendererStats(bool enable)
  1101. - void Toggle(unsigned mode)
  1102. - void ToggleAll()
  1103. - XMLFile* GetDefaultStyle() const
  1104. - Text* GetStatsText() const
  1105. - Text* GetModeText() const
  1106. - Text* GetProfilerText() const
  1107. - unsigned GetMode() const
  1108. - unsigned GetProfilerMaxDepth() const
  1109. - float GetProfilerInterval() const
  1110. - bool GetUseRendererStats() const
  1111. - void SetAppStats(const String label, const Variant stats)
  1112. - void SetAppStats(const String label, const String stats)
  1113. - bool ResetAppStats(const String label)
  1114. - void ClearAppStats()
  1115. Properties:
  1116. - XMLFile* defaultStyle
  1117. - Text* statsText (readonly)
  1118. - Text* modeText (readonly)
  1119. - Text* profilerText (readonly)
  1120. - unsigned mode
  1121. - unsigned profilerMaxDepth
  1122. - float profilerInterval
  1123. - bool useRendererStats
  1124. ### DebugRenderer : Component
  1125. Methods:
  1126. - void SetView(Camera* camera)
  1127. - void AddLine(const Vector3& start, const Vector3& end, const Color& color, bool depthTest = true)
  1128. - void AddLine(const Vector3& start, const Vector3& end, unsigned color, bool depthTest = true)
  1129. - void AddTriangle(const Vector3& v1, const Vector3& v2, const Vector3& v3, const Color& color, bool depthTest = true)
  1130. - void AddTriangle(const Vector3& v1, const Vector3& v2, const Vector3& v3, unsigned color, bool depthTest = true)
  1131. - void AddNode(Node* node, float scale = 1.0f, bool depthTest = true)
  1132. - void AddBoundingBox(const BoundingBox& box, const Color& color, bool depthTest = true)
  1133. - void AddBoundingBox(const BoundingBox& box, const Matrix3x4& transform, const Color& color, bool depthTest = true)
  1134. - void AddFrustum(const Frustum& frustum, const Color& color, bool depthTest = true)
  1135. - void AddPolyhedron(const Polyhedron& poly, const Color& color, bool depthTest = true)
  1136. - void AddSphere(const Sphere& sphere, const Color& color, bool depthTest = true)
  1137. - void AddSkeleton(const Skeleton& skeleton, const Color& color, bool depthTest = true)
  1138. - 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)
  1139. - void Render()
  1140. - const Matrix3x4& GetView() const
  1141. - const Matrix4& GetProjection() const
  1142. - const Frustum& GetFrustum() const
  1143. - bool IsInside(const BoundingBox& box) const
  1144. Properties:
  1145. - Matrix3x4& view (readonly)
  1146. - Matrix4& projection (readonly)
  1147. - Frustum& frustum (readonly)
  1148. ### DecalSet : Drawable
  1149. Methods:
  1150. - void SetMaterial(Material* material)
  1151. - void SetMaxVertices(unsigned num)
  1152. - void SetMaxIndices(unsigned num)
  1153. - 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)
  1154. - void RemoveDecals(unsigned num)
  1155. - void RemoveAllDecals()
  1156. - Material* GetMaterial() const
  1157. - unsigned GetNumDecals() const
  1158. - unsigned GetNumVertices() const
  1159. - unsigned GetNumIndices() const
  1160. - unsigned GetMaxVertices() const
  1161. - unsigned GetMaxIndices() const
  1162. Properties:
  1163. - Material* material
  1164. - unsigned numDecals (readonly)
  1165. - unsigned numVertices (readonly)
  1166. - unsigned numIndices (readonly)
  1167. - unsigned maxVertices
  1168. - unsigned maxIndices
  1169. ### Deserializer
  1170. Methods:
  1171. - VectorBuffer Read(unsigned size)
  1172. - unsigned Seek(unsigned position)
  1173. - const String GetName() const
  1174. - unsigned GetChecksum()
  1175. - unsigned GetPosition() const
  1176. - unsigned GetSize() const
  1177. - bool IsEof() const
  1178. - int ReadInt()
  1179. - short ReadShort()
  1180. - char ReadByte()
  1181. - unsigned ReadUInt()
  1182. - short ReadUShort()
  1183. - char ReadUByte()
  1184. - bool ReadBool()
  1185. - float ReadFloat()
  1186. - IntRect ReadIntRect()
  1187. - IntVector2 ReadIntVector2()
  1188. - Rect ReadRect()
  1189. - Vector2 ReadVector2()
  1190. - Vector3 ReadVector3()
  1191. - Vector3 ReadPackedVector3(float maxAbsCoord)
  1192. - Vector4 ReadVector4()
  1193. - Quaternion ReadQuaternion()
  1194. - Quaternion ReadPackedQuaternion()
  1195. - Matrix3 ReadMatrix3()
  1196. - Matrix3x4 ReadMatrix3x4()
  1197. - Matrix4 ReadMatrix4()
  1198. - Color ReadColor()
  1199. - BoundingBox ReadBoundingBox()
  1200. - String ReadString()
  1201. - String ReadFileID()
  1202. - StringHash ReadStringHash()
  1203. - ShortStringHash ReadShortStringHash()
  1204. - VectorBuffer ReadBuffer()
  1205. - ResourceRef ReadResourceRef()
  1206. - ResourceRefList ReadResourceRefList()
  1207. - Variant ReadVariant()
  1208. - Variant ReadVariant(VariantType type)
  1209. - VariantVector ReadVariantVector()
  1210. - VariantMap ReadVariantMap()
  1211. - unsigned ReadVLE()
  1212. - unsigned ReadNetID()
  1213. - String ReadLine()
  1214. Properties:
  1215. - String name (readonly)
  1216. - unsigned checksum (readonly)
  1217. - unsigned position (readonly)
  1218. - unsigned size (readonly)
  1219. - bool eof (readonly)
  1220. ### Drawable : Component
  1221. Methods:
  1222. - void SetDrawDistance(float distance)
  1223. - void SetShadowDistance(float distance)
  1224. - void SetLodBias(float bias)
  1225. - void SetViewMask(unsigned mask)
  1226. - void SetLightMask(unsigned mask)
  1227. - void SetShadowMask(unsigned mask)
  1228. - void SetZoneMask(unsigned mask)
  1229. - void SetMaxLights(unsigned num)
  1230. - void SetCastShadows(bool enable)
  1231. - void SetOccluder(bool enable)
  1232. - void SetOccludee(bool enable)
  1233. - void MarkForUpdate()
  1234. - const BoundingBox& GetBoundingBox() const
  1235. - const BoundingBox& GetWorldBoundingBox()
  1236. - char GetDrawableFlags() const
  1237. - float GetDrawDistance() const
  1238. - float GetShadowDistance() const
  1239. - float GetLodBias() const
  1240. - unsigned GetViewMask() const
  1241. - unsigned GetLightMask() const
  1242. - unsigned GetShadowMask() const
  1243. - unsigned GetZoneMask() const
  1244. - unsigned GetMaxLights() const
  1245. - bool GetCastShadows() const
  1246. - bool IsOccluder() const
  1247. - bool IsOccludee() const
  1248. - bool IsInView() const
  1249. - bool IsInView(Camera* tolua_var_2) const
  1250. - Zone* GetZone() const
  1251. Properties:
  1252. - BoundingBox& worldBoundingBox (readonly)
  1253. - char drawableFlags (readonly)
  1254. - float drawDistance
  1255. - float shadowDistance
  1256. - float lodBias
  1257. - unsigned viewMask
  1258. - unsigned lightMask
  1259. - unsigned shadowMask
  1260. - unsigned zoneMask
  1261. - unsigned maxLights
  1262. - bool castShadows
  1263. - bool occluder
  1264. - bool occludee
  1265. - bool inView (readonly)
  1266. - Zone* zone (readonly)
  1267. ### Drawable2D : Drawable
  1268. Methods:
  1269. - void SetLayer(int layer)
  1270. - void SetOrderInLayer(int orderInLayer)
  1271. - void SetSprite(Sprite2D* sprite)
  1272. - void SetBlendMode(BlendMode mode)
  1273. - void SetMaterial(Material* material)
  1274. - int GetLayer() const
  1275. - int GetOrderInLayer() const
  1276. - Sprite2D* GetSprite() const
  1277. - Texture2D* GetTexture() const
  1278. - BlendMode GetBlendMode() const
  1279. - Material* GetMaterial() const
  1280. Properties:
  1281. - int layer
  1282. - int orderInLayer
  1283. - Sprite2D* sprite
  1284. - Texture2D* texture (readonly)
  1285. - BlendMode blendMode
  1286. - Material* material
  1287. ### DropDownList : Menu
  1288. Methods:
  1289. - DropDownList() (GC)
  1290. - DropDownList* new()
  1291. - void delete()
  1292. - void AddItem(UIElement* item)
  1293. - void InsertItem(unsigned index, UIElement* item)
  1294. - void RemoveItem(UIElement* item)
  1295. - void RemoveItem(unsigned index)
  1296. - void RemoveAllItems()
  1297. - void SetSelection(unsigned index)
  1298. - void SetPlaceholderText(const String text)
  1299. - void SetResizePopup(bool enable)
  1300. - unsigned GetNumItems() const
  1301. - UIElement* GetItem(unsigned index) const
  1302. - const PODVector<UIElement*>& GetItems() const
  1303. - unsigned GetSelection() const
  1304. - UIElement* GetSelectedItem() const
  1305. - ListView* GetListView() const
  1306. - UIElement* GetPlaceholder() const
  1307. - const String GetPlaceholderText() const
  1308. - bool GetResizePopup() const
  1309. Properties:
  1310. - unsigned numItems (readonly)
  1311. - unsigned selection
  1312. - UIElement* selectedItem (readonly)
  1313. - ListView* listView (readonly)
  1314. - UIElement* placeholder (readonly)
  1315. - String placeholderText
  1316. - bool resizePopup
  1317. ### Engine : Object
  1318. Methods:
  1319. - void RunFrame()
  1320. - Console* CreateConsole()
  1321. - DebugHud* CreateDebugHud()
  1322. - void SetMinFps(int fps)
  1323. - void SetMaxFps(int fps)
  1324. - void SetMaxInactiveFps(int fps)
  1325. - void SetTimeStepSmoothing(int frames)
  1326. - void SetPauseMinimized(bool enable)
  1327. - void SetAutoExit(bool enable)
  1328. - void Exit()
  1329. - void DumpProfiler()
  1330. - void DumpResources()
  1331. - void DumpMemory()
  1332. - int GetMinFps() const
  1333. - int GetMaxFps() const
  1334. - int GetMaxInactiveFps() const
  1335. - int GetTimeStepSmoothing() const
  1336. - bool GetPauseMinimized() const
  1337. - bool GetAutoExit() const
  1338. - bool IsInitialized() const
  1339. - bool IsExiting() const
  1340. - bool IsHeadless() const
  1341. Properties:
  1342. - int minFps
  1343. - int maxFps
  1344. - int maxInactiveFps
  1345. - int timeStepSmoothing
  1346. - bool pauseMinimized
  1347. - bool autoExit
  1348. - bool initialized (readonly)
  1349. - bool exiting (readonly)
  1350. - bool headless (readonly)
  1351. ### File : Object
  1352. Methods:
  1353. - File() (GC)
  1354. - File* new()
  1355. - File(const String fileName, FileMode mode = FILE_READ) (GC)
  1356. - File* new(const String fileName, FileMode mode = FILE_READ)
  1357. - File(PackageFile* package, const String fileName) (GC)
  1358. - File* new(PackageFile* package, const String fileName)
  1359. - void delete()
  1360. - bool Open(const String fileName, FileMode mode = FILE_READ)
  1361. - bool Open(PackageFile* package, const String fileName)
  1362. - void Close()
  1363. - void Flush()
  1364. - void SetName(const String name)
  1365. - FileMode GetMode() const
  1366. - bool IsOpen() const
  1367. - void* GetHandle() const
  1368. - bool IsPackaged() const
  1369. - VectorBuffer Read(unsigned size)
  1370. - unsigned Seek(unsigned position)
  1371. - const String GetName() const
  1372. - unsigned GetChecksum()
  1373. - unsigned GetPosition() const
  1374. - unsigned GetSize() const
  1375. - bool IsEof() const
  1376. - int ReadInt()
  1377. - short ReadShort()
  1378. - char ReadByte()
  1379. - unsigned ReadUInt()
  1380. - short ReadUShort()
  1381. - char ReadUByte()
  1382. - bool ReadBool()
  1383. - float ReadFloat()
  1384. - IntRect ReadIntRect()
  1385. - IntVector2 ReadIntVector2()
  1386. - Rect ReadRect()
  1387. - Vector2 ReadVector2()
  1388. - Vector3 ReadVector3()
  1389. - Vector3 ReadPackedVector3(float maxAbsCoord)
  1390. - Vector4 ReadVector4()
  1391. - Quaternion ReadQuaternion()
  1392. - Quaternion ReadPackedQuaternion()
  1393. - Matrix3 ReadMatrix3()
  1394. - Matrix3x4 ReadMatrix3x4()
  1395. - Matrix4 ReadMatrix4()
  1396. - Color ReadColor()
  1397. - BoundingBox ReadBoundingBox()
  1398. - String ReadString()
  1399. - String ReadFileID()
  1400. - StringHash ReadStringHash()
  1401. - ShortStringHash ReadShortStringHash()
  1402. - VectorBuffer ReadBuffer()
  1403. - ResourceRef ReadResourceRef()
  1404. - ResourceRefList ReadResourceRefList()
  1405. - Variant ReadVariant()
  1406. - Variant ReadVariant(VariantType type)
  1407. - VariantVector ReadVariantVector()
  1408. - VariantMap ReadVariantMap()
  1409. - unsigned ReadVLE()
  1410. - unsigned ReadNetID()
  1411. - String ReadLine()
  1412. - unsigned Write(const VectorBuffer& buffer)
  1413. - bool WriteInt(int value)
  1414. - bool WriteShort(short value)
  1415. - bool WriteByte(char value)
  1416. - bool WriteUInt(unsigned value)
  1417. - bool WriteUShort(short value)
  1418. - bool WriteUByte(char value)
  1419. - bool WriteBool(bool value)
  1420. - bool WriteFloat(float value)
  1421. - bool WriteIntRect(const IntRect& value)
  1422. - bool WriteIntVector2(const IntVector2& value)
  1423. - bool WriteRect(const Rect& value)
  1424. - bool WriteVector2(const Vector2& value)
  1425. - bool WriteVector3(const Vector3& value)
  1426. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  1427. - bool WriteVector4(const Vector4& value)
  1428. - bool WriteQuaternion(const Quaternion& value)
  1429. - bool WritePackedQuaternion(const Quaternion& value)
  1430. - bool WriteMatrix3(const Matrix3& value)
  1431. - bool WriteMatrix3x4(const Matrix3x4& value)
  1432. - bool WriteMatrix4(const Matrix4& value)
  1433. - bool WriteColor(const Color& value)
  1434. - bool WriteBoundingBox(const BoundingBox& value)
  1435. - bool WriteString(const String value)
  1436. - bool WriteFileID(const String value)
  1437. - bool WriteStringHash(const StringHash& value)
  1438. - bool WriteShortStringHash(const ShortStringHash& value)
  1439. - bool WriteBuffer(const VectorBuffer& buffer)
  1440. - bool WriteResourceRef(const ResourceRef& value)
  1441. - bool WriteResourceRefList(const ResourceRefList& value)
  1442. - bool WriteVariant(const Variant& value)
  1443. - bool WriteVariantData(const Variant& value)
  1444. - bool WriteVariantVector(const VariantVector& value)
  1445. - bool WriteVariantMap(const VariantMap& value)
  1446. - bool WriteVLE(unsigned value)
  1447. - bool WriteNetID(unsigned value)
  1448. - bool WriteLine(const String value)
  1449. Properties:
  1450. - FileMode mode (readonly)
  1451. - bool open (readonly)
  1452. - bool packaged (readonly)
  1453. - String name (readonly)
  1454. - unsigned checksum (readonly)
  1455. - unsigned position (readonly)
  1456. - unsigned size (readonly)
  1457. - bool eof (readonly)
  1458. ### FileSelector : Object
  1459. Methods:
  1460. - FileSelector() (GC)
  1461. - FileSelector* new()
  1462. - void delete()
  1463. - void SetDefaultStyle(XMLFile* style)
  1464. - void SetTitle(const String text)
  1465. - void SetButtonTexts(const String okText, const String cancelText)
  1466. - void SetPath(const String path)
  1467. - void SetFileName(const String fileName)
  1468. - void SetFilters(const Vector<String>& filters, unsigned defaultIndex)
  1469. - void SetDirectoryMode(bool enable)
  1470. - void UpdateElements()
  1471. - XMLFile* GetDefaultStyle() const
  1472. - Window* GetWindow() const
  1473. - Text* GetTitleText() const
  1474. - ListView* GetFileList() const
  1475. - LineEdit* GetPathEdit() const
  1476. - LineEdit* GetFileNameEdit() const
  1477. - DropDownList* GetFilterList() const
  1478. - Button* GetOKButton() const
  1479. - Button* GetCancelButton() const
  1480. - Button* GetCloseButton() const
  1481. - const String GetTitle() const
  1482. - const String GetPath() const
  1483. - const String GetFileName() const
  1484. - const String GetFilter() const
  1485. - unsigned GetFilterIndex() const
  1486. - bool GetDirectoryMode() const
  1487. Properties:
  1488. - XMLFile* defaultStyle
  1489. - Window* window (readonly)
  1490. - Text* titleText (readonly)
  1491. - ListView* fileList (readonly)
  1492. - LineEdit* pathEdit (readonly)
  1493. - LineEdit* fileNameEdit (readonly)
  1494. - DropDownList* filterList (readonly)
  1495. - Button* OKButton (readonly)
  1496. - Button* cancelButton (readonly)
  1497. - Button* closeButton (readonly)
  1498. - String title
  1499. - String path
  1500. - String fileName
  1501. - String filter (readonly)
  1502. - unsigned filterIndex (readonly)
  1503. - bool directoryMode
  1504. ### FileSelectorEntry
  1505. Properties:
  1506. - String name
  1507. - bool directory
  1508. ### FileSystem : Object
  1509. Methods:
  1510. - bool SetCurrentDir(const String pathName)
  1511. - bool CreateDir(const String pathName)
  1512. - void SetExecuteConsoleCommands(bool enable)
  1513. - int SystemCommand(const String commandLine, bool redirectStdOutToLog = false)
  1514. - int SystemRun(const String fileName, const Vector<String>& arguments)
  1515. - unsigned SystemCommandAsync(const String commandLine)
  1516. - unsigned SystemRunAsync(const String fileName, const Vector<String>& arguments)
  1517. - bool SystemOpen(const String fileName, const String mode = String::EMPTY)
  1518. - bool Copy(const String srcFileName, const String destFileName)
  1519. - bool Rename(const String srcFileName, const String destFileName)
  1520. - bool Delete(const String fileName)
  1521. - void RegisterPath(const String pathName)
  1522. - String GetCurrentDir() const
  1523. - bool GetExecuteConsoleCommands() const
  1524. - bool HasRegisteredPaths() const
  1525. - bool CheckAccess(const String pathName) const
  1526. - unsigned GetLastModifiedTime(const String fileName) const
  1527. - bool FileExists(const String fileName) const
  1528. - bool DirExists(const String pathName) const
  1529. - const Vector<String>& ScanDir(const String pathName, const String filter, unsigned flags, bool recursive) const
  1530. - String GetProgramDir() const
  1531. - String GetUserDocumentsDir() const
  1532. ### FileWatcher : Object
  1533. Methods:
  1534. - bool StartWatching(const String pathName, bool watchSubDirs)
  1535. - void StopWatching()
  1536. - void AddChange(const String fileName)
  1537. - const String GetPath() const
  1538. ### FocusParameters
  1539. Methods:
  1540. - FocusParameters() (GC)
  1541. - FocusParameters* new()
  1542. - FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView) (GC)
  1543. - FocusParameters* new(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
  1544. - void delete()
  1545. ### Font : Resource
  1546. ### Frustum
  1547. Methods:
  1548. - Frustum() (GC)
  1549. - Frustum* new()
  1550. - Frustum(const Frustum& frustum) (GC)
  1551. - Frustum* new(const Frustum& frustum)
  1552. - void delete()
  1553. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ)
  1554. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform)
  1555. - void Define(const Vector3& near, const Vector3& far)
  1556. - void Define(const Vector3& near, const Vector3& far, const Matrix3x4& transform)
  1557. - void Define(const BoundingBox& box)
  1558. - void Define(const BoundingBox& box, const Matrix3x4& transform)
  1559. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ)
  1560. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform)
  1561. - void Transform(const Matrix3& transform)
  1562. - void Transform(const Matrix3x4& transform)
  1563. - Intersection IsInside(const Vector3& point) const
  1564. - Intersection IsInside(const Sphere& sphere) const
  1565. - Intersection IsInsideFast(const Sphere& sphere) const
  1566. - Intersection IsInside(const BoundingBox& box) const
  1567. - Intersection IsInsideFast(const BoundingBox& box) const
  1568. - float Distance(const Vector3& point) const
  1569. - Frustum Transformed(const Matrix3& transform) const
  1570. - Frustum Transformed(const Matrix3x4& transform) const
  1571. - Rect Projected(const Matrix4& transform) const
  1572. - void UpdatePlanes()
  1573. ### Graphics : Object
  1574. Methods:
  1575. - void SetWindowTitle(const String windowTitle)
  1576. - void SetWindowIcon(Image* windowIcon)
  1577. - void SetWindowPosition(const IntVector2& position)
  1578. - void SetWindowPosition(int x, int y)
  1579. - bool SetMode(int width, int height, bool fullscreen, bool borderless, bool resizable, bool vsync, bool tripleBuffer, int multiSample)
  1580. - bool SetMode(int width, int height)
  1581. - void SetSRGB(bool enable)
  1582. - void SetFlushGPU(bool enable)
  1583. - void SetOrientations(const String orientations)
  1584. - bool ToggleFullscreen()
  1585. - void Maximize()
  1586. - void Minimize()
  1587. - void Close()
  1588. - bool TakeScreenShot(Image& destImage)
  1589. - void BeginDumpShaders(const String fileName)
  1590. - void EndDumpShaders()
  1591. - void PrecacheShaders(Deserializer& source)
  1592. - void PrecacheShaders(const String fileName)
  1593. - bool IsInitialized() const
  1594. - void* GetExternalWindow() const
  1595. - const String GetWindowTitle() const
  1596. - IntVector2 GetWindowPosition() const
  1597. - int GetWidth() const
  1598. - int GetHeight() const
  1599. - int GetMultiSample() const
  1600. - bool GetFullscreen() const
  1601. - bool GetResizable() const
  1602. - bool GetBorderless() const
  1603. - bool GetVSync() const
  1604. - bool GetTripleBuffer() const
  1605. - bool GetSRGB() const
  1606. - bool GetFlushGPU() const
  1607. - const String GetOrientations() const
  1608. - bool IsDeviceLost() const
  1609. - unsigned GetNumPrimitives() const
  1610. - unsigned GetNumBatches() const
  1611. - unsigned GetDummyColorFormat() const
  1612. - unsigned GetShadowMapFormat() const
  1613. - unsigned GetHiresShadowMapFormat() const
  1614. - bool GetSM3Support() const
  1615. - bool GetInstancingSupport() const
  1616. - bool GetLightPrepassSupport() const
  1617. - bool GetDeferredSupport() const
  1618. - bool GetHardwareShadowSupport() const
  1619. - bool GetStreamOffsetSupport() const
  1620. - bool GetSRGBSupport() const
  1621. - bool GetSRGBWriteSupport() const
  1622. - IntVector2 GetDesktopResolution() const
  1623. - unsigned GetRGBFormat()
  1624. Properties:
  1625. - bool initialized (readonly)
  1626. - String windowTitle
  1627. - IntVector2 windowPosition
  1628. - int width (readonly)
  1629. - int height (readonly)
  1630. - int multiSample (readonly)
  1631. - bool fullscreen (readonly)
  1632. - bool resizable (readonly)
  1633. - bool borderless (readonly)
  1634. - bool vSync (readonly)
  1635. - bool tripleBuffer (readonly)
  1636. - bool sRGB
  1637. - bool flushGPU
  1638. - String orientations
  1639. - bool deviceLost (readonly)
  1640. - unsigned numPrimitives (readonly)
  1641. - unsigned numBatches (readonly)
  1642. - unsigned dummyColorFormat (readonly)
  1643. - unsigned shadowMapFormat (readonly)
  1644. - unsigned hiresShadowMapFormat (readonly)
  1645. - bool sM3Support (readonly)
  1646. - bool instancingSupport (readonly)
  1647. - bool lightPrepassSupport (readonly)
  1648. - bool deferredSupport (readonly)
  1649. - bool hardwareShadowSupport (readonly)
  1650. - bool streamOffsetSupport (readonly)
  1651. - bool sRGBSupport (readonly)
  1652. - bool sRGBWriteSupport (readonly)
  1653. - IntVector2 desktopResolution (readonly)
  1654. ### HttpRequest : Deserializer
  1655. Methods:
  1656. - const String GetURL() const
  1657. - const String GetVerb() const
  1658. - String GetError() const
  1659. - HttpRequestState GetState() const
  1660. - unsigned GetAvailableSize() const
  1661. - bool IsOpen() const
  1662. Properties:
  1663. - String URL (readonly)
  1664. - String verb (readonly)
  1665. - String error (readonly)
  1666. - HttpRequestState state (readonly)
  1667. - unsigned availableSize (readonly)
  1668. - bool open (readonly)
  1669. ### Image : Resource
  1670. Methods:
  1671. - Image() (GC)
  1672. - Image* new()
  1673. - void delete()
  1674. - bool SetSize(int width, int height, unsigned components)
  1675. - bool SetSize(int width, int height, int depth, unsigned components)
  1676. - void SetPixel(int x, int y, const Color& color)
  1677. - void SetPixel(int x, int y, int z, const Color& color)
  1678. - bool LoadColorLUT(Deserializer& source)
  1679. - bool LoadColorLUT(const String fileName)
  1680. - void FlipVertical()
  1681. - bool Resize(int width, int height)
  1682. - void Clear(const Color& color)
  1683. - bool SaveBMP(const String fileName) const
  1684. - bool SavePNG(const String fileName) const
  1685. - bool SaveTGA(const String fileName) const
  1686. - bool SaveJPG(const String fileName, int quality) const
  1687. - Color GetPixel(int x, int y) const
  1688. - Color GetPixel(int x, int y, int z) const
  1689. - Color GetPixelBilinear(float x, float y) const
  1690. - Color GetPixelTrilinear(float x, float y, float z) const
  1691. - int GetWidth() const
  1692. - int GetHeight() const
  1693. - int GetDepth() const
  1694. - unsigned GetComponents() const
  1695. - bool IsCompressed() const
  1696. - CompressedFormat GetCompressedFormat() const
  1697. - unsigned GetNumCompressedLevels() const
  1698. - CompressedLevel GetCompressedLevel(unsigned index) const
  1699. Properties:
  1700. - int width (readonly)
  1701. - int height (readonly)
  1702. - int depth (readonly)
  1703. - unsigned components (readonly)
  1704. - bool compressed (readonly)
  1705. - CompressedFormat compressedFormat (readonly)
  1706. - unsigned numCompressedLevels (readonly)
  1707. ### Input : Object
  1708. Methods:
  1709. - void SetToggleFullscreen(bool enable)
  1710. - void SetMouseVisible(bool enable)
  1711. - int AddScreenJoystick(XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
  1712. - bool RemoveScreenJoystick(int id)
  1713. - void SetScreenJoystickVisible(int id, bool enable)
  1714. - void SetScreenKeyboardVisible(bool enable)
  1715. - bool RecordGesture()
  1716. - bool SaveGestures(File* dest)
  1717. - bool SaveGesture(File* dest, unsigned gestureID)
  1718. - unsigned LoadGestures(File* source)
  1719. - bool SaveGestures(const String fileName)
  1720. - bool SaveGesture(const String fileName, unsigned gestureID)
  1721. - unsigned LoadGestures(const String fileName)
  1722. - int GetKeyFromName(const String name) const
  1723. - int GetKeyFromScancode(int scancode) const
  1724. - String GetKeyName(int key) const
  1725. - int GetScancodeFromKey(int key) const
  1726. - int GetScancodeFromName(const String name) const
  1727. - String GetScancodeName(int scancode) const
  1728. - bool GetKeyDown(int key) const
  1729. - bool GetKeyPress(int key) const
  1730. - bool GetScancodeDown(int scancode) const
  1731. - bool GetScancodePress(int scancode) const
  1732. - bool GetMouseButtonDown(int button) const
  1733. - bool GetMouseButtonPress(int button) const
  1734. - bool GetQualifierDown(int qualifier) const
  1735. - bool GetQualifierPress(int qualifier) const
  1736. - int GetQualifiers() const
  1737. - IntVector2 GetMousePosition() const
  1738. - const IntVector2& GetMouseMove() const
  1739. - int GetMouseMoveX() const
  1740. - int GetMouseMoveY() const
  1741. - int GetMouseMoveWheel() const
  1742. - unsigned GetNumTouches() const
  1743. - TouchState* GetTouch(unsigned index) const
  1744. - unsigned GetNumJoysticks() const
  1745. - JoystickState* GetJoystick(int id)
  1746. - JoystickState* GetJoystickByIndex(unsigned index)
  1747. - bool GetToggleFullscreen() const
  1748. - bool GetScreenKeyboardSupport() const
  1749. - bool IsScreenJoystickVisible(int id) const
  1750. - bool IsScreenKeyboardVisible() const
  1751. - bool IsMouseVisible() const
  1752. - bool HasFocus()
  1753. - bool IsMinimized() const
  1754. Properties:
  1755. - int qualifiers (readonly)
  1756. - IntVector2 mousePosition (readonly)
  1757. - IntVector2& mouseMove (readonly)
  1758. - int mouseMoveX (readonly)
  1759. - int mouseMoveY (readonly)
  1760. - int mouseMoveWheel (readonly)
  1761. - unsigned numTouches (readonly)
  1762. - unsigned numJoysticks (readonly)
  1763. - bool toggleFullscreen (readonly)
  1764. - bool screenKeyboardSupport (readonly)
  1765. - bool screenKeyboardVisible
  1766. - bool mouseVisible
  1767. - bool focus (readonly)
  1768. - bool minimized (readonly)
  1769. ### IntRect
  1770. Methods:
  1771. - IntRect() (GC)
  1772. - IntRect* new()
  1773. - IntRect(int left, int top, int right, int bottom) (GC)
  1774. - IntRect* new(int left, int top, int right, int bottom)
  1775. - void delete()
  1776. - bool operator==(const IntRect& rhs) const
  1777. - IntVector2 Size() const
  1778. - int Width() const
  1779. - int Height() const
  1780. - Intersection IsInside(const IntVector2& point) const
  1781. Properties:
  1782. - int left
  1783. - int top
  1784. - int right
  1785. - int bottom
  1786. - const IntRect ZERO
  1787. - IntVector2 size (readonly)
  1788. - int width (readonly)
  1789. - int height (readonly)
  1790. ### IntVector2
  1791. Methods:
  1792. - IntVector2() (GC)
  1793. - IntVector2* new()
  1794. - IntVector2(int x, int y) (GC)
  1795. - IntVector2* new(int x, int y)
  1796. - IntVector2(const IntVector2& rhs) (GC)
  1797. - IntVector2* new(const IntVector2& rhs)
  1798. - void delete()
  1799. - bool operator==(const IntVector2& rhs) const
  1800. - IntVector2 operator+(const IntVector2& rhs) const
  1801. - IntVector2 operator-() const
  1802. - IntVector2 operator-(const IntVector2& rhs) const
  1803. - IntVector2 operator*(int rhs) const
  1804. - IntVector2 operator/(int rhs) const
  1805. - IntVector2 operator/(int rhs) const
  1806. - String ToString() const
  1807. Properties:
  1808. - int x
  1809. - int y
  1810. - const IntVector2 ZERO
  1811. ### JSONFile : Resource
  1812. Methods:
  1813. - JSONFile() (GC)
  1814. - JSONFile* new()
  1815. - void delete()
  1816. - JSONValue CreateRoot(JSONValueType valueType = JSON_OBJECT)
  1817. - JSONValue GetRoot(JSONValueType valueType = JSON_ANY)
  1818. ### JSONValue
  1819. Methods:
  1820. - bool IsNull() const
  1821. - bool NotNull() const
  1822. - bool operatorbool() const
  1823. - JSONValue CreateChild(const String name, JSONValueType valueType = JSON_OBJECT)
  1824. - JSONValue GetChild(const String name, JSONValueType valueType = JSON_ANY) const
  1825. - void SetInt(const String name, int value)
  1826. - void SetBool(const String name, bool value)
  1827. - void SetFloat(const String name, float value)
  1828. - void SetVector2(const String name, const Vector2& value)
  1829. - void SetVector3(const String name, const Vector3& value)
  1830. - void SetVector4(const String name, const Vector4& value)
  1831. - void SetVectorVariant(const String name, const Variant& value)
  1832. - void SetQuaternion(const String name, const Quaternion& value)
  1833. - void SetColor(const String name, const Color& value)
  1834. - void SetString(const String name, const String value)
  1835. - void SetResourceRef(const String name, const ResourceRef& value)
  1836. - void SetResourceRefList(const String name, const ResourceRefList& value)
  1837. - void SetIntRect(const String name, const IntRect& value)
  1838. - void SetIntVector2(const String name, const IntVector2& value)
  1839. - void SetMatrix3(const String name, const Matrix3& value)
  1840. - void SetMatrix3x4(const String name, const Matrix3x4& value)
  1841. - void SetMatrix4(const String name, const Matrix4& value)
  1842. - void SetVariant(const String name, const Variant& value)
  1843. - void SetVariantValue(const String name, const Variant& value)
  1844. - bool IsObject() const
  1845. - Vector<String> GetChildNames() const
  1846. - int GetInt(const String name) const
  1847. - bool GetBool(const String name) const
  1848. - float GetFloat(const String name) const
  1849. - Vector2 GetVector2(const String name) const
  1850. - Vector3 GetVector3(const String name) const
  1851. - Vector4 GetVector4(const String name) const
  1852. - Variant GetVectorVariant(const String name) const
  1853. - Quaternion GetQuaternion(const String name) const
  1854. - Color GetColor(const String name) const
  1855. - String GetString(const String name) const
  1856. - const char* GetCString(const String name) const
  1857. - ResourceRef GetResourceRef(const String name) const
  1858. - ResourceRefList GetResourceRefList(const String name) const
  1859. - IntRect GetIntRect(const String name) const
  1860. - IntVector2 GetIntVector2(const String name) const
  1861. - Matrix3 GetMatrix3(const String name) const
  1862. - Matrix3x4 GetMatrix3x4(const String name) const
  1863. - Matrix4 GetMatrix4(const String name) const
  1864. - Variant GetVariant(const String name) const
  1865. - Variant GetVariantValue(const String name, VariantType type) const
  1866. - JSONValue CreateChild(JSONValueType valueType = JSON_OBJECT)
  1867. - JSONValue GetChild(unsigned index, JSONValueType valueType = JSON_ANY) const
  1868. - void AddInt(int value)
  1869. - void AddBool(bool value)
  1870. - void AddFloat(float value)
  1871. - void AddVector2(const Vector2& value)
  1872. - void AddVector3(const Vector3& value)
  1873. - void AddVector4(const Vector4& value)
  1874. - void AddVectorVariant(const Variant& value)
  1875. - void AddQuaternion(const Quaternion& value)
  1876. - void AddColor(const Color& value)
  1877. - void AddString(const String value)
  1878. - void AddResourceRef(const ResourceRef& value)
  1879. - void AddResourceRefList(const ResourceRefList& value)
  1880. - void AddIntRect(const IntRect& value)
  1881. - void AddIntVector2(const IntVector2& value)
  1882. - void AddMatrix3(const Matrix3& value)
  1883. - void AddMatrix3x4(const Matrix3x4& value)
  1884. - void AddMatrix4(const Matrix4& value)
  1885. - void AddVariant(const Variant& value)
  1886. - void AddVariantValue(const Variant& value)
  1887. - bool IsArray() const
  1888. - unsigned GetSize() const
  1889. - int GetInt(unsigned index) const
  1890. - bool GetBool(unsigned index) const
  1891. - float GetFloat(unsigned index) const
  1892. - Vector2 GetVector2(unsigned index) const
  1893. - Vector3 GetVector3(unsigned index) const
  1894. - Vector4 GetVector4(unsigned index) const
  1895. - Variant GetVectorVariant(unsigned index) const
  1896. - Quaternion GetQuaternion(unsigned index) const
  1897. - Color GetColor(unsigned index) const
  1898. - String GetString(unsigned index) const
  1899. - const char* GetCString(unsigned index) const
  1900. - ResourceRef GetResourceRef(unsigned index) const
  1901. - ResourceRefList GetResourceRefList(unsigned index) const
  1902. - IntRect GetIntRect(unsigned index) const
  1903. - IntVector2 GetIntVector2(unsigned index) const
  1904. - Matrix3 GetMatrix3(unsigned index) const
  1905. - Matrix3x4 GetMatrix3x4(unsigned index) const
  1906. - Matrix4 GetMatrix4(unsigned index) const
  1907. - Variant GetVariant(unsigned index) const
  1908. - Variant GetVariantValue(unsigned index, VariantType type) const
  1909. Properties:
  1910. - const JSONValue EMPTY
  1911. - bool null (readonly)
  1912. - bool object (readonly)
  1913. - bool array (readonly)
  1914. ### JoystickState
  1915. Methods:
  1916. - bool IsController() const
  1917. - unsigned GetNumButtons() const
  1918. - unsigned GetNumAxes() const
  1919. - unsigned GetNumHats() const
  1920. - bool GetButtonDown(unsigned index) const
  1921. - bool GetButtonPress(unsigned index) const
  1922. - float GetAxisPosition(unsigned index) const
  1923. - int GetHatPosition(unsigned index) const
  1924. Properties:
  1925. - const String name
  1926. - const int joystickID
  1927. - bool controller (readonly)
  1928. - unsigned numButtons (readonly)
  1929. - unsigned numAxes (readonly)
  1930. - unsigned numHats (readonly)
  1931. ### Light : Drawable
  1932. Methods:
  1933. - void SetLightType(LightType type)
  1934. - void SetPerVertex(bool enable)
  1935. - void SetColor(const Color& color)
  1936. - void SetSpecularIntensity(float intensity)
  1937. - void SetBrightness(float brightness)
  1938. - void SetRange(float range)
  1939. - void SetFov(float fov)
  1940. - void SetAspectRatio(float aspectRatio)
  1941. - void SetFadeDistance(float distance)
  1942. - void SetShadowFadeDistance(float distance)
  1943. - void SetShadowBias(const BiasParameters& parameters)
  1944. - void SetShadowCascade(const CascadeParameters& parameters)
  1945. - void SetShadowFocus(const FocusParameters& parameters)
  1946. - void SetShadowIntensity(float intensity)
  1947. - void SetShadowResolution(float resolution)
  1948. - void SetShadowNearFarRatio(float nearFarRatio)
  1949. - void SetRampTexture(Texture* texture)
  1950. - void SetShapeTexture(Texture* texture)
  1951. - LightType GetLightType() const
  1952. - bool GetPerVertex() const
  1953. - const Color& GetColor() const
  1954. - float GetSpecularIntensity() const
  1955. - float GetBrightness() const
  1956. - Color GetEffectiveColor() const
  1957. - float GetEffectiveSpecularIntensity() const
  1958. - float GetRange() const
  1959. - float GetFov() const
  1960. - float GetAspectRatio() const
  1961. - float GetFadeDistance() const
  1962. - float GetShadowFadeDistance() const
  1963. - const BiasParameters& GetShadowBias() const
  1964. - const CascadeParameters& GetShadowCascade() const
  1965. - const FocusParameters& GetShadowFocus() const
  1966. - float GetShadowIntensity() const
  1967. - float GetShadowResolution() const
  1968. - float GetShadowNearFarRatio() const
  1969. - Texture* GetRampTexture() const
  1970. - Texture* GetShapeTexture() const
  1971. - Frustum GetFrustum() const
  1972. - int GetNumShadowSplits() const
  1973. - bool IsNegative() const
  1974. Properties:
  1975. - LightType lightType
  1976. - bool perVertex
  1977. - Color& color
  1978. - float specularIntensity
  1979. - float brightness
  1980. - float range
  1981. - float fov
  1982. - float aspectRatio
  1983. - float fadeDistance
  1984. - float shadowFadeDistance
  1985. - BiasParameters& shadowBias
  1986. - CascadeParameters& shadowCascade
  1987. - FocusParameters& shadowFocus
  1988. - float shadowIntensity
  1989. - float shadowResolution
  1990. - float shadowNearFarRatio
  1991. - Texture* rampTexture
  1992. - Texture* shapeTexture
  1993. - Frustum frustum (readonly)
  1994. - int numShadowSplits (readonly)
  1995. - bool negative (readonly)
  1996. - Color effectiveColor (readonly)
  1997. - float effectiveSpecularIntensity (readonly)
  1998. ### LineEdit : BorderImage
  1999. Methods:
  2000. - LineEdit() (GC)
  2001. - LineEdit* new()
  2002. - void delete()
  2003. - void SetText(const String text)
  2004. - void SetCursorPosition(unsigned position)
  2005. - void SetCursorBlinkRate(float rate)
  2006. - void SetMaxLength(unsigned length)
  2007. - void SetEchoCharacter(unsigned c)
  2008. - void SetCursorMovable(bool enable)
  2009. - void SetTextSelectable(bool enable)
  2010. - void SetTextCopyable(bool enable)
  2011. - const String GetText() const
  2012. - unsigned GetCursorPosition() const
  2013. - float GetCursorBlinkRate() const
  2014. - unsigned GetMaxLength() const
  2015. - unsigned GetEchoCharacter() const
  2016. - bool IsCursorMovable() const
  2017. - bool IsTextSelectable() const
  2018. - bool IsTextCopyable() const
  2019. - Text* GetTextElement() const
  2020. - BorderImage* GetCursor() const
  2021. Properties:
  2022. - String text
  2023. - unsigned cursorPosition
  2024. - float cursorBlinkRate
  2025. - unsigned maxLength
  2026. - unsigned echoCharacter
  2027. - bool cursorMovable
  2028. - bool textSelectable
  2029. - bool textCopyable
  2030. - Text* textElement (readonly)
  2031. - BorderImage* cursor (readonly)
  2032. ### ListView : ScrollView
  2033. Methods:
  2034. - ListView() (GC)
  2035. - ListView* new()
  2036. - void delete()
  2037. - void AddItem(UIElement* item)
  2038. - void InsertItem(unsigned index, UIElement* item, UIElement* parentItem = 0)
  2039. - void RemoveItem(UIElement* item, unsigned index = 0)
  2040. - void RemoveItem(unsigned index)
  2041. - void RemoveAllItems()
  2042. - void SetSelection(unsigned index)
  2043. - void SetSelections(const PODVector<unsigned>& indices)
  2044. - void AddSelection(unsigned index)
  2045. - void RemoveSelection(unsigned index)
  2046. - void ToggleSelection(unsigned index)
  2047. - void ChangeSelection(int delta, bool additive = false)
  2048. - void ClearSelection()
  2049. - void SetHighlightMode(HighlightMode mode)
  2050. - void SetMultiselect(bool enable)
  2051. - void SetHierarchyMode(bool enable)
  2052. - void SetBaseIndent(int baseIndent)
  2053. - void SetClearSelectionOnDefocus(bool enable)
  2054. - void SetSelectOnClickEnd(bool enable)
  2055. - void Expand(unsigned index, bool enable, bool recursive = false)
  2056. - void ToggleExpand(unsigned index, bool recursive = false)
  2057. - unsigned GetNumItems() const
  2058. - UIElement* GetItem(unsigned index) const
  2059. - const PODVector<UIElement*>& GetItems() const
  2060. - unsigned FindItem(UIElement* item) const
  2061. - unsigned GetSelection() const
  2062. - const PODVector<unsigned>& GetSelections() const
  2063. - void CopySelectedItemsToClipboard() const
  2064. - UIElement* GetSelectedItem() const
  2065. - const PODVector<UIElement*>& GetSelectedItems() const
  2066. - bool IsSelected(unsigned index) const
  2067. - bool IsExpanded(unsigned index) const
  2068. - HighlightMode GetHighlightMode() const
  2069. - bool GetMultiselect() const
  2070. - bool GetClearSelectionOnDefocus() const
  2071. - bool GetSelectOnClickEnd() const
  2072. - bool GetHierarchyMode() const
  2073. - int GetBaseIndent() const
  2074. Properties:
  2075. - unsigned numItems (readonly)
  2076. - unsigned selection
  2077. - UIElement* selectedItem (readonly)
  2078. - HighlightMode highlightMode
  2079. - bool multiselect
  2080. - bool clearSelectionOnDefocus
  2081. - bool selectOnClickEnd
  2082. - bool hierarchyMode
  2083. - int baseIndent
  2084. ### Log : Object
  2085. Methods:
  2086. - void Open(const String fileName)
  2087. - void Close()
  2088. - void SetLevel(int level)
  2089. - void SetTimeStamp(bool enable)
  2090. - void SetQuiet(bool quiet)
  2091. - int GetLevel() const
  2092. - bool GetTimeStamp() const
  2093. - String GetLastMessage() const
  2094. - bool IsQuiet() const
  2095. - void Write(int level, const String message)
  2096. - void WriteRaw(const String message, bool error = false)
  2097. Properties:
  2098. - int level
  2099. - bool timeStamp
  2100. - bool quiet
  2101. ### LuaScriptInstance : Component
  2102. Methods:
  2103. - bool CreateObject(const String scriptObjectType)
  2104. - bool CreateObject(LuaFile* scriptFile, const String scriptObjectType)
  2105. - void SetScriptFile(LuaFile* scriptFile)
  2106. - void SetScriptObjectType(const String scriptObjectType)
  2107. - void SubscribeToEvent(const String eventName, const String functionName)
  2108. - void UnsubscribeFromEvent(const String eventName)
  2109. - void UnsubscribeFromAllEvents()
  2110. - void SubscribeToEvent(void* sender, const String eventName, const String functionName)
  2111. - void UnsubscribeFromEvent(void* sender, const String eventName)
  2112. - void UnsubscribeFromEvents(void* sender)
  2113. - LuaFile* GetScriptFile() const
  2114. - const String GetScriptObjectType() const
  2115. Properties:
  2116. - const LuaFile* scriptFile
  2117. - const String scriptObjectType
  2118. ### Material : Resource
  2119. Methods:
  2120. - Material() (GC)
  2121. - Material* new()
  2122. - void delete()
  2123. - void SetNumTechniques(unsigned num)
  2124. - void SetTechnique(unsigned index, Technique* tech, unsigned qualityLevel = 0, float lodDistance = 0.0f)
  2125. - void SetShaderParameter(const String name, const Variant& value)
  2126. - void SetTexture(TextureUnit unit, Texture* texture)
  2127. - void SetUVTransform(const Vector2& offset, float rotation, const Vector2& repeat)
  2128. - void SetUVTransform(const Vector2& offset, float rotation, float repeat)
  2129. - void SetCullMode(CullMode mode)
  2130. - void SetShadowCullMode(CullMode mode)
  2131. - void SetDepthBias(const BiasParameters& parameters)
  2132. - void RemoveShaderParameter(const String name)
  2133. - void ReleaseShaders()
  2134. - Material* Clone(const String cloneName = String::EMPTY) const
  2135. - void SortTechniques()
  2136. - void MarkForAuxView(unsigned frameNumber)
  2137. - unsigned GetNumTechniques() const
  2138. - Technique* GetTechnique(unsigned index) const
  2139. - Pass* GetPass(unsigned index, StringHash passType) const
  2140. - Pass* GetPass(unsigned index, const String passType) const
  2141. - Texture* GetTexture(TextureUnit unit) const
  2142. - CullMode GetCullMode() const
  2143. - CullMode GetShadowCullMode() const
  2144. - const BiasParameters& GetDepthBias() const
  2145. - unsigned GetAuxViewFrameNumber() const
  2146. - bool GetOcclusion() const
  2147. - bool GetSpecular() const
  2148. Properties:
  2149. - CullMode cullMode (readonly)
  2150. - CullMode shadowCullMode (readonly)
  2151. - unsigned auxViewFrameNumber (readonly)
  2152. - bool occlusion (readonly)
  2153. - bool specular (readonly)
  2154. ### Matrix3
  2155. Methods:
  2156. - Matrix3() (GC)
  2157. - Matrix3* new()
  2158. - Matrix3(const Matrix3& matrix) (GC)
  2159. - Matrix3* new(const Matrix3& matrix)
  2160. - Matrix3(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22) (GC)
  2161. - Matrix3* new(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22)
  2162. - void delete()
  2163. - bool operator==(const Matrix3& rhs) const
  2164. - Vector3 operator*(const Vector3& rhs) const
  2165. - Matrix3 operator+(const Matrix3& rhs) const
  2166. - Matrix3 operator-(const Matrix3& rhs) const
  2167. - Matrix3 operator*(float rhs) const
  2168. - Matrix3 operator*(const Matrix3& rhs) const
  2169. - void SetScale(const Vector3& scale)
  2170. - void SetScale(float scale)
  2171. - Vector3 Scale() const
  2172. - Matrix3 Transpose() const
  2173. - Matrix3 Scaled(const Vector3& scale) const
  2174. - bool Equals(const Matrix3& rhs) const
  2175. - Matrix3 Inverse() const
  2176. - String ToString() const
  2177. Properties:
  2178. - float m00
  2179. - float m01
  2180. - float m02
  2181. - float m10
  2182. - float m11
  2183. - float m12
  2184. - float m20
  2185. - float m21
  2186. - float m22
  2187. - const Matrix3 ZERO
  2188. - const Matrix3 IDENTITY
  2189. ### Matrix3x4
  2190. Methods:
  2191. - Matrix3x4() (GC)
  2192. - Matrix3x4* new()
  2193. - Matrix3x4(const Matrix3x4& matrix) (GC)
  2194. - Matrix3x4* new(const Matrix3x4& matrix)
  2195. - Matrix3x4(const Matrix3& matrix) (GC)
  2196. - Matrix3x4* new(const Matrix3& matrix)
  2197. - Matrix3x4(const Matrix4& matrix) (GC)
  2198. - Matrix3x4* new(const Matrix4& matrix)
  2199. - 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)
  2200. - 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)
  2201. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, float scale) (GC)
  2202. - Matrix3x4* new(const Vector3& translation, const Quaternion& rotation, float scale)
  2203. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, const Vector3& scale) (GC)
  2204. - Matrix3x4* new(const Vector3& translation, const Quaternion& rotation, const Vector3& scale)
  2205. - void delete()
  2206. - bool operator==(const Matrix3x4& rhs) const
  2207. - Vector3 operator*(const Vector3& rhs) const
  2208. - Vector3 operator*(const Vector4& rhs) const
  2209. - Matrix3x4 operator+(const Matrix3x4& rhs) const
  2210. - Matrix3x4 operator-(const Matrix3x4& rhs) const
  2211. - Matrix3x4 operator*(float rhs) const
  2212. - Matrix3x4 operator*(const Matrix3x4& rhs) const
  2213. - Matrix4 operator*(const Matrix4& rhs) const
  2214. - void SetTranslation(const Vector3& translation)
  2215. - void SetRotation(const Matrix3& rotation)
  2216. - void SetScale(const Vector3& scale)
  2217. - void SetScale(float scale)
  2218. - Matrix3 ToMatrix3() const
  2219. - Matrix4 ToMatrix4() const
  2220. - Matrix3 RotationMatrix() const
  2221. - Vector3 Translation() const
  2222. - Quaternion Rotation() const
  2223. - Vector3 Scale() const
  2224. - bool Equals(const Matrix3x4& rhs) const
  2225. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2226. - Matrix3x4 Inverse() const
  2227. - String ToString() const
  2228. Properties:
  2229. - float m00
  2230. - float m01
  2231. - float m02
  2232. - float m03
  2233. - float m10
  2234. - float m11
  2235. - float m12
  2236. - float m13
  2237. - float m20
  2238. - float m21
  2239. - float m22
  2240. - float m23
  2241. - const Matrix3x4 ZERO
  2242. - const Matrix3x4 IDENTITY
  2243. ### Matrix4
  2244. Methods:
  2245. - Matrix4() (GC)
  2246. - Matrix4* new()
  2247. - Matrix4(const Matrix4& matrix) (GC)
  2248. - Matrix4* new(const Matrix4& matrix)
  2249. - Matrix4(const Matrix3& matrix) (GC)
  2250. - Matrix4* new(const Matrix3& matrix)
  2251. - 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)
  2252. - 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)
  2253. - void delete()
  2254. - bool operator==(const Matrix4& rhs) const
  2255. - Vector3 operator*(const Vector3& rhs) const
  2256. - Vector4 operator*(const Vector4& rhs) const
  2257. - Matrix4 operator+(const Matrix4& rhs) const
  2258. - Matrix4 operator-(const Matrix4& rhs) const
  2259. - Matrix4 operator*(float rhs) const
  2260. - Matrix4 operator*(const Matrix4& rhs) const
  2261. - void SetTranslation(const Vector3& translation)
  2262. - void SetRotation(const Matrix3& rotation)
  2263. - void SetScale(const Vector3& scale)
  2264. - void SetScale(float scale)
  2265. - Matrix3 ToMatrix3() const
  2266. - Matrix3 RotationMatrix() const
  2267. - Vector3 Translation() const
  2268. - Quaternion Rotation() const
  2269. - Vector3 Scale() const
  2270. - Matrix4 Transpose() const
  2271. - bool Equals(const Matrix4& rhs) const
  2272. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2273. - Matrix4 Inverse() const
  2274. - String ToString() const
  2275. Properties:
  2276. - float m00
  2277. - float m01
  2278. - float m02
  2279. - float m03
  2280. - float m10
  2281. - float m11
  2282. - float m12
  2283. - float m13
  2284. - float m20
  2285. - float m21
  2286. - float m22
  2287. - float m23
  2288. - float m30
  2289. - float m31
  2290. - float m32
  2291. - float m33
  2292. - const Matrix4 ZERO
  2293. - const Matrix4 IDENTITY
  2294. ### Menu : Button
  2295. Methods:
  2296. - Menu() (GC)
  2297. - Menu* new()
  2298. - void delete()
  2299. - void SetPopup(UIElement* element)
  2300. - void SetPopupOffset(const IntVector2& offset)
  2301. - void SetPopupOffset(int x, int y)
  2302. - void ShowPopup(bool enable)
  2303. - void SetAccelerator(int key, int qualifiers)
  2304. - UIElement* GetPopup() const
  2305. - const IntVector2& GetPopupOffset() const
  2306. - bool GetShowPopup() const
  2307. - int GetAcceleratorKey() const
  2308. - int GetAcceleratorQualifiers() const
  2309. Properties:
  2310. - UIElement* popup
  2311. - IntVector2& popupOffset
  2312. - bool showPopup
  2313. - int acceleratorKey (readonly)
  2314. - int acceleratorQualifiers (readonly)
  2315. ### MessageBox : Object
  2316. Methods:
  2317. - MessageBox(const String messageString = String::EMPTY, const String titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0) (GC)
  2318. - MessageBox* new(const String messageString = String::EMPTY, const String titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
  2319. - void delete()
  2320. - void SetTitle(const String text)
  2321. - void SetMessage(const String text)
  2322. - const String GetTitle() const
  2323. - const String GetMessage() const
  2324. - UIElement* GetWindow() const
  2325. Properties:
  2326. - String title
  2327. - String message
  2328. - UIElement* window (readonly)
  2329. ### Model : Resource
  2330. Methods:
  2331. - const BoundingBox& GetBoundingBox() const
  2332. - Skeleton& GetSkeleton()
  2333. - unsigned GetNumGeometries() const
  2334. - unsigned GetNumGeometryLodLevels(unsigned index) const
  2335. - Geometry* GetGeometry(unsigned index, unsigned lodLevel) const
  2336. - unsigned GetNumMorphs() const
  2337. - const ModelMorph* GetMorph(const String name) const
  2338. - const ModelMorph* GetMorph(StringHash nameHash) const
  2339. - const ModelMorph* GetMorph(unsigned index) const
  2340. - unsigned GetMorphRangeStart(unsigned bufferIndex) const
  2341. - unsigned GetMorphRangeCount(unsigned bufferIndex) const
  2342. Properties:
  2343. - BoundingBox& boundingBox (readonly)
  2344. - Skeleton skeleton (readonly)
  2345. - unsigned numGeometries (readonly)
  2346. - unsigned numMorphs (readonly)
  2347. ### Navigable : Component
  2348. Methods:
  2349. - void SetRecursive(bool enable)
  2350. - bool IsRecursive() const
  2351. Properties:
  2352. - bool recursive
  2353. ### NavigationGeometryInfo
  2354. Properties:
  2355. - Component* component
  2356. - unsigned lodLevel
  2357. - Matrix3x4 transform
  2358. - BoundingBox boundingBox
  2359. ### NavigationMesh : Component
  2360. Methods:
  2361. - void SetTileSize(int size)
  2362. - void SetCellSize(float size)
  2363. - void SetCellHeight(float height)
  2364. - void SetAgentHeight(float height)
  2365. - void SetAgentRadius(float radius)
  2366. - void SetAgentMaxClimb(float maxClimb)
  2367. - void SetAgentMaxSlope(float maxSlope)
  2368. - void SetRegionMinSize(float size)
  2369. - void SetRegionMergeSize(float size)
  2370. - void SetEdgeMaxLength(float length)
  2371. - void SetEdgeMaxError(float error)
  2372. - void SetDetailSampleDistance(float distance)
  2373. - void SetDetailSampleMaxError(float error)
  2374. - void SetPadding(const Vector3& padding)
  2375. - bool Build()
  2376. - bool Build(const BoundingBox& boundingBox)
  2377. - Vector3 FindNearestPoint(const Vector3& point)
  2378. - Vector3 FindNearestPoint(const Vector3& point, const Vector3& extents)
  2379. - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end)
  2380. - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end, const Vector3& extents, int maxVisited = 3)
  2381. - const PODVector<Vector3>& FindPath(const Vector3& start, const Vector3& end)
  2382. - const PODVector<Vector3>& FindPath(const Vector3& start, const Vector3& end, const Vector3& extents)
  2383. - Vector3 GetRandomPoint()
  2384. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius)
  2385. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius, const Vector3& extents)
  2386. - float GetDistanceToWall(const Vector3& point, float radius)
  2387. - float GetDistanceToWall(const Vector3& point, float radius, const Vector3& extents)
  2388. - Vector3 Raycast(const Vector3& start, const Vector3& end)
  2389. - Vector3 Raycast(const Vector3& start, const Vector3& end, const Vector3& extents)
  2390. - void DrawDebugGeometry(bool depthTest)
  2391. - int GetTileSize() const
  2392. - float GetCellSize() const
  2393. - float GetCellHeight() const
  2394. - float GetAgentHeight() const
  2395. - float GetAgentRadius() const
  2396. - float GetAgentMaxClimb() const
  2397. - float GetAgentMaxSlope() const
  2398. - float GetRegionMinSize() const
  2399. - float GetRegionMergeSize() const
  2400. - float GetEdgeMaxLength() const
  2401. - float GetEdgeMaxError() const
  2402. - float GetDetailSampleDistance() const
  2403. - float GetDetailSampleMaxError() const
  2404. - const Vector3& GetPadding() const
  2405. - bool IsInitialized() const
  2406. - const BoundingBox& GetBoundingBox() const
  2407. - BoundingBox GetWorldBoundingBox() const
  2408. - IntVector2 GetNumTiles() const
  2409. Properties:
  2410. - int tileSize
  2411. - float cellSize
  2412. - float cellHeight
  2413. - float agentHeight
  2414. - float agentRadius
  2415. - float agentMaxClimb
  2416. - float agentMaxSlope
  2417. - float regionMinSize
  2418. - float regionMergeSize
  2419. - float edgeMaxLength
  2420. - float edgeMaxError
  2421. - float detailSampleDistance
  2422. - float detailSampleMaxError
  2423. - Vector3& padding
  2424. - bool initialized (readonly)
  2425. - BoundingBox& boundingBox (readonly)
  2426. - BoundingBox worldBoundingBox (readonly)
  2427. - IntVector2 numTiles (readonly)
  2428. ### Network
  2429. Methods:
  2430. - bool Connect(const String address, short port, Scene* scene)
  2431. - bool Connect(const String address, short port, Scene* scene, const VariantMap& identity)
  2432. - void Disconnect(int waitMSec = 0)
  2433. - bool StartServer(short port)
  2434. - void StopServer()
  2435. - void BroadcastMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  2436. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder)
  2437. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData)
  2438. - void BroadcastRemoteEvent(const String eventType, bool inOrder)
  2439. - void BroadcastRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData)
  2440. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder)
  2441. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder, const VariantMap& eventData)
  2442. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder)
  2443. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder, const VariantMap& eventData)
  2444. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder)
  2445. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData)
  2446. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder)
  2447. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData)
  2448. - void SetUpdateFps(int fps)
  2449. - void RegisterRemoteEvent(StringHash eventType)
  2450. - void RegisterRemoteEvent(const String eventType)
  2451. - void UnregisterRemoteEvent(StringHash eventType)
  2452. - void UnregisterRemoteEvent(const String eventType)
  2453. - void UnregisterAllRemoteEvents()
  2454. - void SetPackageCacheDir(const String path)
  2455. - HttpRequest* MakeHttpRequest(const String url, const String verb = String::EMPTY)
  2456. - HttpRequest* MakeHttpRequest(const String url, const String verb, const Vector<String>& headers, const String postData = String::EMPTY)
  2457. - int GetUpdateFps() const
  2458. - Connection* GetServerConnection() const
  2459. - bool IsServerRunning() const
  2460. - bool CheckRemoteEvent(StringHash eventType) const
  2461. - const String GetPackageCacheDir() const
  2462. Properties:
  2463. - int updateFps
  2464. - Connection* serverConnection (readonly)
  2465. - bool serverRunning (readonly)
  2466. - String packageCacheDir
  2467. ### NetworkPriority : Component
  2468. Methods:
  2469. - void SetBasePriority(float priority)
  2470. - void SetDistanceFactor(float factor)
  2471. - void SetMinPriority(float priority)
  2472. - void SetAlwaysUpdateOwner(bool enable)
  2473. - float GetBasePriority() const
  2474. - float GetDistanceFactor() const
  2475. - float GetMinPriority() const
  2476. - bool GetAlwaysUpdateOwner() const
  2477. - bool CheckUpdate(float distance, float accumulator)
  2478. Properties:
  2479. - float basePriority
  2480. - float distanceFactor
  2481. - float minPriority
  2482. - bool alwaysUpdateOwner
  2483. ### Node : Animatable
  2484. Methods:
  2485. - Node() (GC)
  2486. - Node* new()
  2487. - void delete()
  2488. - bool SaveXML(File* dest) const
  2489. - void SetName(const String name)
  2490. - void SetPosition(const Vector3& position)
  2491. - void SetPositionXYZ(float x, float y, float z)
  2492. - void SetRotation(const Quaternion& rotation)
  2493. - void SetRotationXYZ(float x, float y, float z)
  2494. - void SetDirection(const Vector3& direction)
  2495. - void SetDirectionXYZ(float x, float y, float z)
  2496. - void SetScale(float scale)
  2497. - void SetScale(const Vector3& scale)
  2498. - void SetScaleXYZ(float x, float y, float z)
  2499. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  2500. - void SetTransform(const Vector3& position, const Quaternion& rotation, float scale)
  2501. - void SetTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  2502. - void SetWorldPosition(const Vector3& position)
  2503. - void SetWorldPositionXYZ(float x, float y, float z)
  2504. - void SetWorldRotation(const Quaternion& rotation)
  2505. - void SetWorldRotationXYZ(float x, float y, float z)
  2506. - void SetWorldDirection(const Vector3& direction)
  2507. - void SetWorldDirectionXYZ(float x, float y, float z)
  2508. - void SetWorldScale(float scale)
  2509. - void SetWorldScale(const Vector3& scale)
  2510. - void SetWorldScaleXYZ(float x, float y, float z)
  2511. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation)
  2512. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, float scale)
  2513. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  2514. - void Translate(const Vector3& delta, TransformSpace space = TS_LOCAL)
  2515. - void TranslateXYZ(float x, float y, float z, TransformSpace space = TS_LOCAL)
  2516. - void Rotate(const Quaternion& delta, TransformSpace space = TS_LOCAL)
  2517. - void RotateXYZ(float x, float y, float z, TransformSpace space = TS_LOCAL)
  2518. - void RotateAround(const Vector3& point, const Quaternion& delta, TransformSpace space = TS_LOCAL)
  2519. - void RotateAroundXYZ(float pX, float pY, float pZ, float dX, float dY, float dZ, TransformSpace space = TS_LOCAL)
  2520. - void Pitch(float angle, TransformSpace space = TS_LOCAL)
  2521. - void Yaw(float angle, TransformSpace space = TS_LOCAL)
  2522. - void Roll(float angle, TransformSpace space = TS_LOCAL)
  2523. - bool LookAt(const Vector3& target)
  2524. - bool LookAt(const Vector3& target, const Vector3& upAxis, TransformSpace space = TS_WORLD)
  2525. - bool LookAtXYZ(float x, float y, float z, float upX = 0.0f, float upY = 1.0f, float upZ = 0.0f, TransformSpace space = TS_WORLD)
  2526. - void Scale(float scale)
  2527. - void Scale(const Vector3& scale)
  2528. - void ScaleXYZ(float x, float y, float z)
  2529. - void SetEnabled(bool enable)
  2530. - void SetEnabled(bool enable, bool recursive)
  2531. - void SetOwner(Connection* owner)
  2532. - void MarkDirty()
  2533. - Node* CreateChild(const String name = String::EMPTY, CreateMode mode = REPLICATED, unsigned id = 0)
  2534. - void AddChild(Node* node, unsigned index = M_MAX_UNSIGNED)
  2535. - void RemoveChild(Node* node)
  2536. - void RemoveAllChildren()
  2537. - void RemoveChildren(bool removeReplicated, bool removeLocal, bool recursive)
  2538. - void RemoveComponent(Component* component)
  2539. - void RemoveComponent(ShortStringHash type)
  2540. - void RemoveComponent(const String type)
  2541. - void RemoveAllComponents()
  2542. - void RemoveComponents(bool removeReplicated, bool removeLocal)
  2543. - Node* Clone(CreateMode mode = REPLICATED)
  2544. - void Remove()
  2545. - void SetParent(Node* parent)
  2546. - void SetVar(ShortStringHash key, const Variant& value)
  2547. - void AddListener(Component* component)
  2548. - void RemoveListener(Component* component)
  2549. - Component* CreateComponent(const String type, CreateMode mode = REPLICATED, unsigned id = 0)
  2550. - int CreateScriptObject(const String scriptObjectType)
  2551. - int CreateScriptObject(const String fileName, const String scriptObjectType)
  2552. - int GetScriptObject() const
  2553. - int GetScriptObject(const String scriptObjectType) const
  2554. - unsigned GetID() const
  2555. - const String GetName() const
  2556. - StringHash GetNameHash() const
  2557. - Node* GetParent() const
  2558. - Scene* GetScene() const
  2559. - bool IsEnabled() const
  2560. - Connection* GetOwner() const
  2561. - const Vector3& GetPosition() const
  2562. - void GetPositionXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2563. - const Quaternion& GetRotation() const
  2564. - void GetRotationXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2565. - void GetRotationWXYZ(float w = 0.0f, float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2566. - Vector3 GetDirection() const
  2567. - void GetDirectionXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2568. - Vector3 GetUp() const
  2569. - void GetUpXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2570. - Vector3 GetRight() const
  2571. - void GetRightXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2572. - const Vector3& GetScale() const
  2573. - void GetScaleXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2574. - Matrix3x4 GetTransform() const
  2575. - Vector3 GetWorldPosition() const
  2576. - void GetWorldPositionXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2577. - Quaternion GetWorldRotation() const
  2578. - void GetWorldRotationXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2579. - void GetWorldRotationWXYZ(float w = 0.0f, float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2580. - Vector3 GetWorldDirection() const
  2581. - void GetWorldDirectionXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2582. - Vector3 GetWorldUp() const
  2583. - void GetWorldUpXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2584. - Vector3 GetWorldRight() const
  2585. - void GetWorldRightXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2586. - Vector3 GetWorldScale() const
  2587. - void GetWorldScaleXYZ(float x = 0.0f, float y = 0.0f, float z = 0.0f) const
  2588. - const Matrix3x4& GetWorldTransform() const
  2589. - Vector3 LocalToWorld(const Vector3& position) const
  2590. - Vector3 LocalToWorld(const Vector4& vector) const
  2591. - Vector3 WorldToLocal(const Vector3& position) const
  2592. - Vector3 WorldToLocal(const Vector4& vector) const
  2593. - bool IsDirty() const
  2594. - unsigned GetNumChildren(bool recursive = false) const
  2595. - Node* GetChild(const String name, bool recursive = false) const
  2596. - Node* GetChild(StringHash nameHash, bool recursive = false) const
  2597. - Node* GetChild(unsigned index) const
  2598. - unsigned GetNumComponents() const
  2599. - unsigned GetNumNetworkComponents() const
  2600. - bool HasComponent(ShortStringHash type) const
  2601. - bool HasComponent(const String type) const
  2602. - const Variant& GetVar(ShortStringHash key) const
  2603. - const VariantMap& GetVars() const
  2604. - Component* GetComponent(const String type) const
  2605. - void SetID(unsigned id)
  2606. - void SetScene(Scene* scene)
  2607. - void ResetScene()
  2608. - bool Load(Deserializer& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  2609. - bool LoadXML(const XMLElement& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  2610. - Node* CreateChild(unsigned id, CreateMode mode)
  2611. - void AddComponent(Component* component, unsigned id, CreateMode mode)
  2612. Properties:
  2613. - unsigned ID
  2614. - String name
  2615. - StringHash nameHash (readonly)
  2616. - Node* parent
  2617. - Scene* scene
  2618. - bool enabled
  2619. - Connection* owner
  2620. - Vector3& position
  2621. - Quaternion& rotation
  2622. - Vector3 direction
  2623. - Vector3 up (readonly)
  2624. - Vector3 right (readonly)
  2625. - Vector3& scale
  2626. - Matrix3x4 transform (readonly)
  2627. - Vector3 worldPosition
  2628. - Quaternion worldRotation
  2629. - Vector3 worldDirection
  2630. - Vector3 worldUp (readonly)
  2631. - Vector3 worldRight (readonly)
  2632. - Vector3 worldScale
  2633. - Matrix3x4& worldTransform (readonly)
  2634. - bool dirty (readonly)
  2635. - unsigned numComponents (readonly)
  2636. - unsigned numNetworkComponents (readonly)
  2637. ### Object : RefCounted
  2638. Methods:
  2639. - ShortStringHash GetType() const
  2640. - ShortStringHash GetBaseType() const
  2641. - const String GetTypeName() const
  2642. - const String GetCategory() const
  2643. - void SendEvent(const String eventName, VariantMap* eventData = 0)
  2644. Properties:
  2645. - ShortStringHash type (readonly)
  2646. - ShortStringHash baseType (readonly)
  2647. - const String typeName (readonly)
  2648. - const String category (readonly)
  2649. ### ObjectAnimation : Resource
  2650. Methods:
  2651. - ObjectAnimation() (GC)
  2652. - ObjectAnimation* new()
  2653. - void delete()
  2654. - void AddAttributeAnimation(const String name, AttributeAnimation* attributeAnimation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
  2655. - void RemoveAttributeAnimation(const String name)
  2656. - void RemoveAttributeAnimation(AttributeAnimation* attributeAnimation)
  2657. - AttributeAnimation* GetAttributeAnimation(const String name) const
  2658. - WrapMode GetAttributeAnimationWrapMode(const String name) const
  2659. - float GetAttributeAnimationSpeed(const String name) const
  2660. ### Octree : Component
  2661. Methods:
  2662. - void SetSize(const BoundingBox& box, unsigned numLevels)
  2663. - void Update(const FrameInfo& frame)
  2664. - void AddManualDrawable(Drawable* drawable)
  2665. - void RemoveManualDrawable(Drawable* drawable)
  2666. - const PODVector<OctreeQueryResult>& GetDrawables(const Vector3& point, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  2667. - const PODVector<OctreeQueryResult>& GetDrawables(const BoundingBox& box, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  2668. - const PODVector<OctreeQueryResult>& GetDrawables(const Frustum& frustum, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  2669. - const PODVector<OctreeQueryResult>& GetDrawables(const Sphere& sphere, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  2670. - const PODVector<RayQueryResult>& Raycast(const Ray& ray, RayQueryLevel level, float maxDistance, char drawableFlags) const
  2671. - RayQueryResult RaycastSingle(const Ray& ray, RayQueryLevel level, float maxDistance, char drawableFlags) const
  2672. - unsigned GetNumLevels() const
  2673. - void QueueUpdate(Drawable* drawable)
  2674. - void DrawDebugGeometry(bool depthTest)
  2675. Properties:
  2676. - unsigned numLevels (readonly)
  2677. ### OctreeQueryResult
  2678. Methods:
  2679. - OctreeQueryResult() (GC)
  2680. - OctreeQueryResult* new()
  2681. - void delete()
  2682. Properties:
  2683. - Drawable* drawable
  2684. - Node* node
  2685. ### OffMeshConnection : Component
  2686. Methods:
  2687. - void SetEndPoint(Node* node)
  2688. - void SetRadius(float radius)
  2689. - void SetBidirectional(bool enabled)
  2690. - Node* GetEndPoint() const
  2691. - float GetRadius() const
  2692. - bool IsBidirectional() const
  2693. Properties:
  2694. - Node* endPoint
  2695. - float radius
  2696. - bool bidirectional
  2697. ### PackageEntry
  2698. Properties:
  2699. - unsigned offset
  2700. - unsigned size
  2701. - unsigned checksum
  2702. ### PackageFile : Object
  2703. Methods:
  2704. - PackageFile() (GC)
  2705. - PackageFile* new()
  2706. - PackageFile(const String fileName, unsigned startOffset = 0) (GC)
  2707. - PackageFile* new(const String fileName, unsigned startOffset = 0)
  2708. - void delete()
  2709. - bool Open(const String fileName, unsigned startOffset = 0)
  2710. - bool Exists(const String fileName) const
  2711. - const PackageEntry* GetEntry(const String fileName) const
  2712. - const HashMap<String,PackageEntry>& GetEntries() const
  2713. - const String GetName() const
  2714. - StringHash GetNameHash() const
  2715. - unsigned GetNumFiles() const
  2716. - unsigned GetTotalSize() const
  2717. - unsigned GetChecksum() const
  2718. - bool IsCompressed() const
  2719. Properties:
  2720. - String name (readonly)
  2721. - StringHash nameHash (readonly)
  2722. - unsigned numFiles (readonly)
  2723. - unsigned totalSize (readonly)
  2724. - unsigned checksum (readonly)
  2725. - bool compressed (readonly)
  2726. ### ParticleEffect2D : Resource
  2727. ### ParticleEmitter : BillboardSet
  2728. Methods:
  2729. - bool Load(XMLFile* file)
  2730. - bool Save(XMLFile* file)
  2731. - void SetNumParticles(unsigned num)
  2732. - void SetEmissionRate(float rate)
  2733. - void SetMinEmissionRate(float rate)
  2734. - void SetMaxEmissionRate(float rate)
  2735. - void SetEmitterType(EmitterType type)
  2736. - void SetEmitterSize(const Vector3& size)
  2737. - void SetActiveTime(float time)
  2738. - void SetInactiveTime(float time)
  2739. - void SetEmitting(bool enable, bool resetPeriod = false)
  2740. - void SetUpdateInvisible(bool enable)
  2741. - void SetTimeToLive(float time)
  2742. - void SetMinTimeToLive(float time)
  2743. - void SetMaxTimeToLive(float time)
  2744. - void SetParticleSize(const Vector2& size)
  2745. - void SetMinParticleSize(const Vector2& size)
  2746. - void SetMaxParticleSize(const Vector2& size)
  2747. - void SetMinDirection(const Vector3& direction)
  2748. - void SetMaxDirection(const Vector3& direction)
  2749. - void SetVelocity(float velocity)
  2750. - void SetMinVelocity(float velocity)
  2751. - void SetMaxVelocity(float velocity)
  2752. - void SetRotation(float rotation)
  2753. - void SetMinRotation(float rotation)
  2754. - void SetMaxRotation(float rotation)
  2755. - void SetRotationSpeed(float speed)
  2756. - void SetMinRotationSpeed(float speed)
  2757. - void SetMaxRotationSpeed(float speed)
  2758. - void SetConstantForce(const Vector3& force)
  2759. - void SetDampingForce(float force)
  2760. - void SetSizeAdd(float sizeAdd)
  2761. - void SetSizeMul(float sizeMul)
  2762. - void SetColor(const Color& color)
  2763. - void SetNumColors(unsigned num)
  2764. - void SetNumTextureFrames(unsigned num)
  2765. - unsigned GetNumParticles() const
  2766. - bool IsEmitting() const
  2767. - bool GetUpdateInvisible() const
  2768. - float GetMinEmissionRate() const
  2769. - float GetMaxEmissionRate() const
  2770. - EmitterType GetEmitterType() const
  2771. - const Vector3& GetEmitterSize() const
  2772. - float GetActiveTime() const
  2773. - float GetInactiveTime() const
  2774. - float GetMinTimeToLive() const
  2775. - float GetMaxTimeToLive() const
  2776. - const Vector2& GetMinParticleSize() const
  2777. - const Vector2& GetMaxParticleSize() const
  2778. - const Vector3& GetMinDirection() const
  2779. - const Vector3& GetMaxDirection() const
  2780. - float GetMinVelocity() const
  2781. - float GetMaxVelocity() const
  2782. - float GetMinRotation() const
  2783. - float GetMaxRotation() const
  2784. - float GetMinRotationSpeed() const
  2785. - float GetMaxRotationSpeed() const
  2786. - const Vector3& GetConstantForce() const
  2787. - float GetDampingForce() const
  2788. - float GetSizeAdd() const
  2789. - float GetSizeMul() const
  2790. - unsigned GetNumColors() const
  2791. - ColorFrame* GetColor(unsigned index)
  2792. - unsigned GetNumTextureFrames() const
  2793. - TextureFrame* GetTextureFrame(unsigned index)
  2794. Properties:
  2795. - unsigned numParticles
  2796. - float emissionRate
  2797. - bool emitting
  2798. - bool updateInvisible
  2799. - float minEmissionRate
  2800. - float maxEmissionRate
  2801. - EmitterType emitterType
  2802. - Vector3& emitterSize
  2803. - float activeTime
  2804. - float inactiveTime
  2805. - float timeToLive
  2806. - float minTimeToLive
  2807. - float maxTimeToLive
  2808. - Vector2& particleSize
  2809. - Vector2& minParticleSize
  2810. - Vector2& maxParticleSize
  2811. - Vector3& minDirection
  2812. - Vector3& maxDirection
  2813. - float velocity
  2814. - float minVelocity
  2815. - float maxVelocity
  2816. - float rotation
  2817. - float minRotation
  2818. - float maxRotation
  2819. - float rotationSpeed
  2820. - float minRotationSpeed
  2821. - float maxRotationSpeed
  2822. - Vector3& constantForce
  2823. - float dampingForce
  2824. - float sizeAdd
  2825. - float sizeMul
  2826. - unsigned numColors
  2827. - unsigned numTextureFrames
  2828. ### ParticleEmitter2D : Drawable2D
  2829. Methods:
  2830. - void SetEffect(ParticleEffect2D* effect)
  2831. - ParticleEffect2D* GetEffect() const
  2832. Properties:
  2833. - ParticleEffect2D* effect
  2834. ### Pass : RefCounted
  2835. Methods:
  2836. - bool IsSM3() const
  2837. Properties:
  2838. - bool SM3 (readonly)
  2839. ### PhysicsRaycastResult
  2840. Methods:
  2841. - PhysicsRaycastResult() (GC)
  2842. - PhysicsRaycastResult* new()
  2843. - void delete()
  2844. Properties:
  2845. - Vector3 position
  2846. - Vector3 normal
  2847. - float distance
  2848. - RigidBody* body
  2849. ### PhysicsRaycastResult2D
  2850. Methods:
  2851. - PhysicsRaycastResult2D() (GC)
  2852. - PhysicsRaycastResult2D* new()
  2853. - void delete()
  2854. Properties:
  2855. - Vector2 position
  2856. - Vector2 normal
  2857. - float distance
  2858. - RigidBody2D* body
  2859. ### PhysicsWorld : Component
  2860. Methods:
  2861. - void Update(float timeStep)
  2862. - void UpdateCollisions()
  2863. - void SetFps(int fps)
  2864. - void SetGravity(Vector3 gravity)
  2865. - void SetNumIterations(int num)
  2866. - void SetInterpolation(bool enable)
  2867. - void SetInternalEdge(bool enable)
  2868. - void SetSplitImpulse(bool enable)
  2869. - void SetMaxNetworkAngularVelocity(float velocity)
  2870. - const PODVector<PhysicsRaycastResult>& Raycast(const Ray& ray, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  2871. - PhysicsRaycastResult RaycastSingle(const Ray& ray, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  2872. - PhysicsRaycastResult SphereCast(const Ray& ray, float radius, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  2873. - const PODVector<RigidBody*>& GetRigidBodies(const Sphere& sphere, unsigned collisionMask = M_MAX_UNSIGNED)
  2874. - const PODVector<RigidBody*>& GetRigidBodies(const BoundingBox& box, unsigned collisionMask = M_MAX_UNSIGNED)
  2875. - const PODVector<RigidBody*>& GetRigidBodies(const RigidBody* body)
  2876. - void DrawDebugGeometry(bool depthTest)
  2877. - void RemoveCachedGeometry(Model* model)
  2878. - Vector3 GetGravity() const
  2879. - int GetNumIterations() const
  2880. - bool GetInterpolation() const
  2881. - bool GetInternalEdge() const
  2882. - bool GetSplitImpulse() const
  2883. - int GetFps() const
  2884. - float GetMaxNetworkAngularVelocity() const
  2885. Properties:
  2886. - Vector3 gravity
  2887. - int numIterations
  2888. - bool interpolation
  2889. - bool internalEdge
  2890. - bool splitImpulse
  2891. - int fps
  2892. - float maxNetworkAngularVelocity
  2893. - bool applyingTransforms
  2894. ### PhysicsWorld2D : Component
  2895. Methods:
  2896. - void DrawDebugGeometry()
  2897. - void SetDrawShape(bool drawShape)
  2898. - void SetDrawJoint(bool drawJoint)
  2899. - void SetDrawAabb(bool drawAabb)
  2900. - void SetDrawPair(bool drawPair)
  2901. - void SetDrawCenterOfMass(bool drawCenterOfMass)
  2902. - void SetAllowSleeping(bool enable)
  2903. - void SetWarmStarting(bool enable)
  2904. - void SetContinuousPhysics(bool enable)
  2905. - void SetSubStepping(bool enable)
  2906. - void SetGravity(const Vector2& gravity)
  2907. - void SetAutoClearForces(bool enable)
  2908. - void SetVelocityIterations(int velocityIterations)
  2909. - void SetPositionIterations(int positionIterations)
  2910. - const PODVector<PhysicsRaycastResult2D>& Raycast(const Vector2& startPoint, const Vector2& endPoint, unsigned collisionMask = M_MAX_UNSIGNED)
  2911. - PhysicsRaycastResult2D RaycastSingle(const Vector2& startPoint, const Vector2& endPoint, unsigned collisionMask = M_MAX_UNSIGNED)
  2912. - RigidBody2D* GetRigidBody(const Vector2& point, unsigned collisionMask = M_MAX_UNSIGNED)
  2913. - RigidBody2D* GetRigidBody(int screenX, int screenY, unsigned collisionMask = M_MAX_UNSIGNED, Camera* camera = 0)
  2914. - const PODVector<RigidBody2D*>& GetRigidBodies(const Rect& aabb, unsigned collisionMask = M_MAX_UNSIGNED)
  2915. - bool GetDrawShape() const
  2916. - bool GetDrawJoint() const
  2917. - bool GetDrawAabb() const
  2918. - bool GetDrawPair() const
  2919. - bool GetDrawCenterOfMass() const
  2920. - bool GetAllowSleeping() const
  2921. - bool GetWarmStarting() const
  2922. - bool GetContinuousPhysics() const
  2923. - bool GetSubStepping() const
  2924. - bool GetAutoClearForces() const
  2925. - const Vector2& GetGravity() const
  2926. - int GetVelocityIterations() const
  2927. - int GetPositionIterations() const
  2928. Properties:
  2929. - bool drawShape
  2930. - bool drawJoint
  2931. - bool drawAabb
  2932. - bool drawPair
  2933. - bool drawCenterOfMass
  2934. - bool allowSleeping
  2935. - bool warmStarting
  2936. - bool continuousPhysics
  2937. - bool subStepping
  2938. - bool autoClearForces
  2939. - Vector2& gravity
  2940. - int velocityIterations
  2941. - int positionIterations
  2942. ### Plane
  2943. Methods:
  2944. - Plane() (GC)
  2945. - Plane* new()
  2946. - Plane(const Plane& plane) (GC)
  2947. - Plane* new(const Plane& plane)
  2948. - Plane(const Vector3& v0, const Vector3& v1, const Vector3& v2) (GC)
  2949. - Plane* new(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  2950. - Plane(const Vector3& normal, const Vector3& point) (GC)
  2951. - Plane* new(const Vector3& normal, const Vector3& point)
  2952. - Plane(const Vector4& plane) (GC)
  2953. - Plane* new(const Vector4& plane)
  2954. - void delete()
  2955. - void Define(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  2956. - void Define(const Vector3& normal, const Vector3& point)
  2957. - void Define(const Vector4& plane)
  2958. - void Transform(const Matrix3& transform)
  2959. - void Transform(const Matrix3x4& transform)
  2960. - void Transform(const Matrix4& transform)
  2961. - Vector3 Project(const Vector3& point) const
  2962. - float Distance(const Vector3& point) const
  2963. - Vector3 Reflect(const Vector3& direction) const
  2964. - Matrix3x4 ReflectionMatrix() const
  2965. - Plane Transformed(const Matrix3& transform) const
  2966. - Plane Transformed(const Matrix3x4& transform) const
  2967. - Plane Transformed(const Matrix4& transform) const
  2968. - Vector4 ToVector4() const
  2969. Properties:
  2970. - Vector3 normal
  2971. - Vector3 absNormal
  2972. - float d
  2973. - const Plane UP
  2974. ### Polyhedron
  2975. Methods:
  2976. - Polyhedron() (GC)
  2977. - Polyhedron* new()
  2978. - Polyhedron(const Polyhedron& polyhedron) (GC)
  2979. - Polyhedron* new(const Polyhedron& polyhedron)
  2980. - Polyhedron(const BoundingBox& box) (GC)
  2981. - Polyhedron* new(const BoundingBox& box)
  2982. - Polyhedron(const Frustum& frustum) (GC)
  2983. - Polyhedron* new(const Frustum& frustum)
  2984. - void delete()
  2985. - void Define(const BoundingBox& box)
  2986. - void Define(const Frustum& frustum)
  2987. - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  2988. - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2, const Vector3& v3)
  2989. - void Clip(const Plane& plane)
  2990. - void Clip(const BoundingBox& box)
  2991. - void Clip(const Frustum& box)
  2992. - void Clear()
  2993. - void Transform(const Matrix3& transform)
  2994. - void Transform(const Matrix3x4& transform)
  2995. - Polyhedron Transformed(const Matrix3& transform) const
  2996. - Polyhedron Transformed(const Matrix3x4& transform) const
  2997. - bool Empty() const
  2998. Properties:
  2999. - bool empty (readonly)
  3000. ### Quaternion
  3001. Methods:
  3002. - Quaternion() (GC)
  3003. - Quaternion* new()
  3004. - Quaternion(const Quaternion& quat) (GC)
  3005. - Quaternion* new(const Quaternion& quat)
  3006. - Quaternion(float w, float x, float y, float z) (GC)
  3007. - Quaternion* new(float w, float x, float y, float z)
  3008. - Quaternion(float angle, const Vector3& axis) (GC)
  3009. - Quaternion* new(float angle, const Vector3& axis)
  3010. - Quaternion(float x, float y, float z) (GC)
  3011. - Quaternion* new(float x, float y, float z)
  3012. - Quaternion(const Vector3& start, const Vector3& end) (GC)
  3013. - Quaternion* new(const Vector3& start, const Vector3& end)
  3014. - Quaternion(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis) (GC)
  3015. - Quaternion* new(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  3016. - Quaternion(const Matrix3& matrix) (GC)
  3017. - Quaternion* new(const Matrix3& matrix)
  3018. - void delete()
  3019. - bool operator==(const Quaternion& rhs) const
  3020. - Quaternion operator*(float rhs) const
  3021. - Quaternion operator-() const
  3022. - bool operator==(const Quaternion& rhs) const
  3023. - Quaternion operator*(float rhs) const
  3024. - Quaternion operator-() const
  3025. - Quaternion operator+(const Quaternion& rhs) const
  3026. - Quaternion operator-(const Quaternion& rhs) const
  3027. - Quaternion operator*(const Quaternion& rhs) const
  3028. - Vector3 operator*(const Vector3& rhs) const
  3029. - void FromAngleAxis(float angle, const Vector3& axis)
  3030. - void FromEulerAngles(float x, float y, float z)
  3031. - void FromRotationTo(const Vector3& start, const Vector3& end)
  3032. - void FromAxes(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  3033. - void FromRotationMatrix(const Matrix3& matrix)
  3034. - bool FromLookRotation(const Vector3& direction, const Vector3& up)
  3035. - void Normalize()
  3036. - Quaternion Normalized() const
  3037. - Quaternion Inverse() const
  3038. - float LengthSquared() const
  3039. - float DotProduct(const Quaternion& rhs) const
  3040. - bool Equals(const Quaternion& rhs) const
  3041. - bool IsNaN() const
  3042. - Quaternion Conjugate() const
  3043. - Vector3 EulerAngles() const
  3044. - float YawAngle() const
  3045. - float PitchAngle() const
  3046. - float RollAngle() const
  3047. - Matrix3 RotationMatrix() const
  3048. - Quaternion Slerp(Quaternion rhs, float t) const
  3049. - Quaternion Nlerp(Quaternion rhs, float t, bool shortestPath) const
  3050. - String ToString() const
  3051. Properties:
  3052. - float w
  3053. - float x
  3054. - float y
  3055. - float z
  3056. - const Quaternion IDENTITY
  3057. ### Ray
  3058. Methods:
  3059. - Ray() (GC)
  3060. - Ray* new()
  3061. - Ray(const Vector3& origin, const Vector3& direction) (GC)
  3062. - Ray* new(const Vector3& origin, const Vector3& direction)
  3063. - Ray(const Ray& ray) (GC)
  3064. - Ray* new(const Ray& ray)
  3065. - void delete()
  3066. - bool operator==(const Ray& rhs) const
  3067. - void Define(const Vector3& origin, const Vector3& direction)
  3068. - Vector3 Project(const Vector3& point) const
  3069. - float Distance(const Vector3& point) const
  3070. - Vector3 ClosestPoint(const Ray& ray) const
  3071. - float HitDistance(const Plane& plane) const
  3072. - float HitDistance(const BoundingBox& box) const
  3073. - float HitDistance(const Frustum& frustum, bool solidInside = true) const
  3074. - float HitDistance(const Sphere& sphere) const
  3075. - float HitDistance(const Vector3& v0, const Vector3& v1, const Vector3& v2) const
  3076. - Ray Transformed(const Matrix3x4& transform) const
  3077. Properties:
  3078. - Vector3 origin
  3079. - Vector3 direction
  3080. ### RayQueryResult
  3081. Methods:
  3082. - RayQueryResult() (GC)
  3083. - RayQueryResult* new()
  3084. - void delete()
  3085. Properties:
  3086. - Vector3 position
  3087. - Vector3 normal
  3088. - float distance
  3089. - Drawable* drawable
  3090. - Node* node
  3091. - unsigned subObject
  3092. ### Rect
  3093. Methods:
  3094. - Rect() (GC)
  3095. - Rect* new()
  3096. - Rect(const Rect& rect) (GC)
  3097. - Rect* new(const Rect& rect)
  3098. - Rect(const Vector2& min, const Vector2& max) (GC)
  3099. - Rect* new(const Vector2& min, const Vector2& max)
  3100. - Rect(float left, float top, float right, float bottom) (GC)
  3101. - Rect* new(float left, float top, float right, float bottom)
  3102. - Rect(const Vector4& vector) (GC)
  3103. - Rect* new(const Vector4& vector)
  3104. - void delete()
  3105. - bool operator==(const Rect& rhs) const
  3106. - void Define(const Rect& rect)
  3107. - void Define(const Vector2& min, const Vector2& max)
  3108. - void Define(const Vector2& point)
  3109. - void Merge(const Vector2& point)
  3110. - void Merge(const Rect& rect)
  3111. - void Clear()
  3112. - void Clip(const Rect& rect)
  3113. - Vector2 Center() const
  3114. - Vector2 Size() const
  3115. - Vector2 HalfSize() const
  3116. - bool Equals(const Rect& rhs) const
  3117. - Intersection IsInside(const Vector2& point) const
  3118. - Vector4 ToVector4() const
  3119. - String ToString() const
  3120. Properties:
  3121. - Vector2 min
  3122. - Vector2 max
  3123. - const Rect FULL
  3124. - const Rect POSITIVE
  3125. - const Rect ZERO
  3126. - Vector2 center (readonly)
  3127. - Vector2 size (readonly)
  3128. - Vector2 halfSize (readonly)
  3129. ### RemoteEvent
  3130. Properties:
  3131. - unsigned senderID
  3132. - StringHash eventType
  3133. - VariantMap eventData
  3134. - bool inOrder
  3135. ### RenderPath
  3136. Methods:
  3137. - RenderPath* Clone()
  3138. - bool Load(XMLFile* file)
  3139. - bool Append(XMLFile* file)
  3140. - void SetEnabled(const String tag, bool active)
  3141. - void ToggleEnabled(const String tag)
  3142. - void SetRenderTarget(unsigned index, const RenderTargetInfo& info)
  3143. - void AddRenderTarget(const RenderTargetInfo& info)
  3144. - void RemoveRenderTarget(const String name)
  3145. - void RemoveRenderTarget(unsigned index)
  3146. - void RemoveRenderTargets(const String tag)
  3147. - void SetCommand(unsigned index, const RenderPathCommand& command)
  3148. - void AddCommand(const RenderPathCommand& command)
  3149. - void InsertCommand(unsigned index, const RenderPathCommand& command)
  3150. - void RemoveCommand(unsigned index)
  3151. - void RemoveCommands(const String tag)
  3152. - void SetShaderParameter(const String name, const Variant& value)
  3153. - unsigned GetNumRenderTargets() const
  3154. - unsigned GetNumCommands() const
  3155. - const Variant& GetShaderParameter(const String name) const
  3156. ### RenderSurface
  3157. Methods:
  3158. - RenderSurface(Texture* parentTexture) (GC)
  3159. - RenderSurface* new(Texture* parentTexture)
  3160. - void delete()
  3161. - void SetNumViewports(unsigned num)
  3162. - void SetViewport(unsigned index, Viewport* viewport)
  3163. - void SetUpdateMode(RenderSurfaceUpdateMode mode)
  3164. - void SetLinkedRenderTarget(RenderSurface* renderTarget)
  3165. - void SetLinkedDepthStencil(RenderSurface* depthStencil)
  3166. - void QueueUpdate()
  3167. - void Release()
  3168. - Texture* GetParentTexture() const
  3169. - int GetWidth() const
  3170. - int GetHeight() const
  3171. - TextureUsage GetUsage() const
  3172. - unsigned GetNumViewports() const
  3173. - Viewport* GetViewport(unsigned index) const
  3174. - RenderSurfaceUpdateMode GetUpdateMode() const
  3175. - RenderSurface* GetLinkedRenderTarget() const
  3176. - RenderSurface* GetLinkedDepthStencil() const
  3177. Properties:
  3178. - Texture* parentTexture (readonly)
  3179. - int width (readonly)
  3180. - int height (readonly)
  3181. - TextureUsage usage (readonly)
  3182. - unsigned numViewports
  3183. - RenderSurfaceUpdateMode updateMode
  3184. - RenderSurface* linkedRenderTarget
  3185. - RenderSurface* linkedDepthStencil
  3186. ### Renderer
  3187. Methods:
  3188. - void SetNumViewports(unsigned num)
  3189. - void SetViewport(unsigned index, Viewport* viewport)
  3190. - void SetDefaultRenderPath(RenderPath* renderPath)
  3191. - void SetDefaultRenderPath(XMLFile* file)
  3192. - void SetHDRRendering(bool enable)
  3193. - void SetSpecularLighting(bool enable)
  3194. - void SetTextureAnisotropy(int level)
  3195. - void SetTextureFilterMode(TextureFilterMode mode)
  3196. - void SetTextureQuality(int quality)
  3197. - void SetMaterialQuality(int quality)
  3198. - void SetDrawShadows(bool enable)
  3199. - void SetShadowMapSize(int size)
  3200. - void SetShadowQuality(int quality)
  3201. - void SetReuseShadowMaps(bool enable)
  3202. - void SetMaxShadowMaps(int shadowMaps)
  3203. - void SetDynamicInstancing(bool enable)
  3204. - void SetMinInstances(int instances)
  3205. - void SetMaxInstanceTriangles(int triangles)
  3206. - void SetMaxSortedInstances(int instances)
  3207. - void SetMaxOccluderTriangles(int triangles)
  3208. - void SetOcclusionBufferSize(int size)
  3209. - void SetOccluderSizeThreshold(float screenSize)
  3210. - void SetMobileShadowBiasMul(float mul)
  3211. - void SetMobileShadowBiasAdd(float add)
  3212. - void ReloadShaders()
  3213. - unsigned GetNumViewports() const
  3214. - Viewport* GetViewport(unsigned index) const
  3215. - RenderPath* GetDefaultRenderPath() const
  3216. - bool GetHDRRendering() const
  3217. - bool GetSpecularLighting() const
  3218. - bool GetDrawShadows() const
  3219. - int GetTextureAnisotropy() const
  3220. - TextureFilterMode GetTextureFilterMode() const
  3221. - int GetTextureQuality() const
  3222. - int GetMaterialQuality() const
  3223. - int GetShadowMapSize() const
  3224. - int GetShadowQuality() const
  3225. - bool GetReuseShadowMaps() const
  3226. - int GetMaxShadowMaps() const
  3227. - bool GetDynamicInstancing() const
  3228. - int GetMinInstances() const
  3229. - int GetMaxInstanceTriangles() const
  3230. - int GetMaxSortedInstances() const
  3231. - int GetMaxOccluderTriangles() const
  3232. - int GetOcclusionBufferSize() const
  3233. - float GetOccluderSizeThreshold() const
  3234. - float GetMobileShadowBiasMul() const
  3235. - float GetMobileShadowBiasAdd() const
  3236. - unsigned GetNumViews() const
  3237. - unsigned GetNumPrimitives() const
  3238. - unsigned GetNumBatches() const
  3239. - unsigned GetNumGeometries(bool allViews = false) const
  3240. - unsigned GetNumLights(bool allViews = false) const
  3241. - unsigned GetNumShadowMaps(bool allViews = false) const
  3242. - unsigned GetNumOccluders(bool allViews = false) const
  3243. - Zone* GetDefaultZone() const
  3244. - Material* GetDefaultMaterial() const
  3245. - Texture2D* GetDefaultLightRamp() const
  3246. - Texture2D* GetDefaultLightSpot() const
  3247. - void DrawDebugGeometry(bool depthTest)
  3248. Properties:
  3249. - unsigned numViewports
  3250. - RenderPath* defaultRenderPath
  3251. - bool HDRRendering
  3252. - bool specularLighting
  3253. - bool drawShadows
  3254. - int textureAnisotropy
  3255. - TextureFilterMode textureFilterMode
  3256. - int textureQuality
  3257. - int materialQuality
  3258. - int shadowMapSize
  3259. - int shadowQuality
  3260. - bool reuseShadowMaps
  3261. - int maxShadowMaps
  3262. - bool dynamicInstancing
  3263. - int minInstances
  3264. - int maxInstanceTriangles
  3265. - int maxSortedInstances
  3266. - int maxOccluderTriangles
  3267. - int occlusionBufferSize
  3268. - float occluderSizeThreshold
  3269. - float mobileShadowBiasMul
  3270. - float mobileShadowBiasAdd
  3271. - unsigned numViews (readonly)
  3272. - unsigned numPrimitives (readonly)
  3273. - unsigned numBatches (readonly)
  3274. - Zone* defaultZone (readonly)
  3275. - Material* defaultMaterial (readonly)
  3276. - Texture2D* defaultLightRamp (readonly)
  3277. - Texture2D* defaultLightSpot (readonly)
  3278. ### Resource
  3279. Methods:
  3280. - bool Load(Deserializer& source)
  3281. - bool Save(Serializer& dest) const
  3282. - bool Load(const String fileName)
  3283. - bool Save(const String fileName) const
  3284. - const String GetName() const
  3285. - StringHash GetNameHash() const
  3286. - unsigned GetMemoryUse() const
  3287. Properties:
  3288. - String name (readonly)
  3289. - StringHash nameHash (readonly)
  3290. - unsigned memoryUse (readonly)
  3291. ### ResourceCache
  3292. Methods:
  3293. - void ReleaseAllResources(bool force = false)
  3294. - bool ReloadResource(Resource* resource)
  3295. - void SetMemoryBudget(ShortStringHash type, unsigned budget)
  3296. - void SetMemoryBudget(const String type, unsigned budget)
  3297. - void SetAutoReloadResources(bool enable)
  3298. - void SetReturnFailedResources(bool enable)
  3299. - void SetSearchPackagesFirst(bool value)
  3300. - File* GetFile(const String name)
  3301. - Resource* GetResource(const String type, const String name, bool SendEventOnFailure = true)
  3302. - bool Exists(const String name) const
  3303. - unsigned GetMemoryBudget(ShortStringHash type) const
  3304. - unsigned GetMemoryUse(ShortStringHash type) const
  3305. - unsigned GetTotalMemoryUse() const
  3306. - String GetResourceFileName(const String name) const
  3307. - bool GetAutoReloadResources() const
  3308. - bool GetReturnFailedResources() const
  3309. - bool GetSearchPackagesFirst() const
  3310. - String GetPreferredResourceDir(const String path) const
  3311. - String SanitateResourceName(const String name) const
  3312. - String SanitateResourceDirName(const String name) const
  3313. Properties:
  3314. - unsigned totalMemoryUse (readonly)
  3315. - bool autoReloadResources (readonly)
  3316. - bool returnFailedResources (readonly)
  3317. - bool searchPackagesFirst (readonly)
  3318. ### ResourceRef
  3319. Methods:
  3320. - ResourceRef() (GC)
  3321. - ResourceRef* new()
  3322. - ResourceRef(ShortStringHash type) (GC)
  3323. - ResourceRef* new(ShortStringHash type)
  3324. - ResourceRef(ShortStringHash type, String name) (GC)
  3325. - ResourceRef* new(ShortStringHash type, String name)
  3326. - ResourceRef(const ResourceRef& rhs) (GC)
  3327. - ResourceRef* new(const ResourceRef& rhs)
  3328. - void delete()
  3329. - bool operator==(const ResourceRef& rhs) const
  3330. Properties:
  3331. - ShortStringHash type
  3332. - String name
  3333. ### ResourceRefList
  3334. Methods:
  3335. - ResourceRefList() (GC)
  3336. - ResourceRefList* new()
  3337. - ResourceRefList(ShortStringHash type) (GC)
  3338. - ResourceRefList* new(ShortStringHash type)
  3339. - void delete()
  3340. - bool operator==(const ResourceRefList& rhs) const
  3341. Properties:
  3342. - ShortStringHash type
  3343. ### RigidBody : Component
  3344. Methods:
  3345. - void SetMass(float mass)
  3346. - void SetPosition(Vector3 position)
  3347. - void SetRotation(Quaternion rotation)
  3348. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  3349. - void SetLinearVelocity(Vector3 velocity)
  3350. - void SetLinearFactor(Vector3 factor)
  3351. - void SetLinearRestThreshold(float threshold)
  3352. - void SetLinearDamping(float damping)
  3353. - void SetAngularVelocity(Vector3 angularVelocity)
  3354. - void SetAngularFactor(Vector3 factor)
  3355. - void SetAngularRestThreshold(float threshold)
  3356. - void SetAngularDamping(float factor)
  3357. - void SetFriction(float friction)
  3358. - void SetAnisotropicFriction(Vector3 friction)
  3359. - void SetRollingFriction(float friction)
  3360. - void SetRestitution(float restitution)
  3361. - void SetContactProcessingThreshold(float threshold)
  3362. - void SetCcdRadius(float radius)
  3363. - void SetCcdMotionThreshold(float threshold)
  3364. - void SetUseGravity(bool enable)
  3365. - void SetGravityOverride(const Vector3& gravity)
  3366. - void SetKinematic(bool enable)
  3367. - void SetTrigger(bool enable)
  3368. - void SetCollisionLayer(unsigned layer)
  3369. - void SetCollisionMask(unsigned mask)
  3370. - void SetCollisionLayerAndMask(unsigned layer, unsigned mask)
  3371. - void SetCollisionEventMode(CollisionEventMode mode)
  3372. - void ApplyForce(const Vector3& force)
  3373. - void ApplyForce(const Vector3& force, const Vector3& position)
  3374. - void ApplyTorque(const Vector3& torque)
  3375. - void ApplyImpulse(const Vector3& impulse)
  3376. - void ApplyImpulse(const Vector3& impulse, const Vector3& position)
  3377. - void ApplyTorqueImpulse(const Vector3& torque)
  3378. - void ResetForces()
  3379. - void Activate()
  3380. - void ReAddBodyToWorld()
  3381. - PhysicsWorld* GetPhysicsWorld() const
  3382. - float GetMass() const
  3383. - Vector3 GetPosition() const
  3384. - Quaternion GetRotation() const
  3385. - Vector3 GetLinearVelocity() const
  3386. - Vector3 GetLinearFactor() const
  3387. - Vector3 GetVelocityAtPoint(const Vector3& position) const
  3388. - float GetLinearRestThreshold() const
  3389. - float GetLinearDamping() const
  3390. - Vector3 GetAngularVelocity() const
  3391. - Vector3 GetAngularFactor() const
  3392. - float GetAngularRestThreshold() const
  3393. - float GetAngularDamping() const
  3394. - float GetFriction() const
  3395. - Vector3 GetAnisotropicFriction() const
  3396. - float GetRollingFriction() const
  3397. - float GetRestitution() const
  3398. - float GetContactProcessingThreshold() const
  3399. - float GetCcdRadius() const
  3400. - float GetCcdMotionThreshold() const
  3401. - bool GetUseGravity() const
  3402. - const Vector3& GetGravityOverride() const
  3403. - const Vector3& GetCenterOfMass() const
  3404. - bool IsKinematic() const
  3405. - bool IsTrigger() const
  3406. - bool IsActive() const
  3407. - unsigned GetCollisionLayer() const
  3408. - unsigned GetCollisionMask() const
  3409. - CollisionEventMode GetCollisionEventMode() const
  3410. Properties:
  3411. - PhysicsWorld* physicsWorld (readonly)
  3412. - float mass
  3413. - Vector3 position
  3414. - Quaternion rotation
  3415. - Vector3 linearVelocity
  3416. - Vector3 linearFactor
  3417. - float linearRestThreshold
  3418. - float linearDamping
  3419. - Vector3 angularVelocity
  3420. - Vector3 angularFactor
  3421. - float angularRestThreshold
  3422. - float angularDamping
  3423. - float friction
  3424. - Vector3 anisotropicFriction
  3425. - float rollingFriction
  3426. - float restitution
  3427. - float contactProcessingThreshold
  3428. - float ccdRadius
  3429. - float ccdMotionThreshold
  3430. - bool useGravity
  3431. - Vector3& gravityOverride
  3432. - Vector3& centerOfMass (readonly)
  3433. - bool kinematic
  3434. - bool trigger
  3435. - bool active (readonly)
  3436. - unsigned collisionLayer
  3437. - unsigned collisionMask
  3438. - CollisionEventMode collisionEventMode
  3439. ### RigidBody2D : Component
  3440. Methods:
  3441. - void SetBodyType(BodyType2D bodyType)
  3442. - void SetMass(float mass)
  3443. - void SetInertia(float inertia)
  3444. - void SetMassCenter(Vector2 center)
  3445. - void SetUseFixtureMass(bool useFixtureMass)
  3446. - void SetLinearDamping(float linearDamping)
  3447. - void SetAngularDamping(float angularDamping)
  3448. - void SetAllowSleep(bool allowSleep)
  3449. - void SetFixedRotation(bool fixedRotation)
  3450. - void SetBullet(bool bullet)
  3451. - void SetGravityScale(float gravityScale)
  3452. - void SetAwake(bool awake)
  3453. - void SetLinearVelocity(Vector2 linearVelocity)
  3454. - void SetAngularVelocity(float angularVelocity)
  3455. - void ApplyForce(const Vector2& force, const Vector2& point, bool wake)
  3456. - void ApplyForceToCenter(const Vector2& force, bool wake)
  3457. - void ApplyTorque(float torque, bool wake)
  3458. - void ApplyLinearImpulse(const Vector2& impulse, const Vector2& point, bool wake)
  3459. - void ApplyAngularImpulse(float impulse, bool wake)
  3460. - BodyType2D GetBodyType() const
  3461. - float GetMass() const
  3462. - float GetInertia() const
  3463. - Vector2 GetMassCenter() const
  3464. - bool GetUseFixtureMass() const
  3465. - float GetLinearDamping() const
  3466. - float GetAngularDamping() const
  3467. - bool IsAllowSleep() const
  3468. - bool IsFixedRotation() const
  3469. - bool IsBullet() const
  3470. - float GetGravityScale() const
  3471. - bool IsAwake() const
  3472. - Vector2 GetLinearVelocity() const
  3473. - float GetAngularVelocity() const
  3474. Properties:
  3475. - BodyType2D bodyType
  3476. - float mass
  3477. - float inertia
  3478. - Vector2 massCenter
  3479. - bool useFixtureMass
  3480. - float linearDamping
  3481. - float angularDamping
  3482. - bool allowSleep
  3483. - bool fixedRotation
  3484. - bool bullet
  3485. - float gravityScale
  3486. - bool awake
  3487. - Vector2 linearVelocity
  3488. - float angularVelocity
  3489. ### Scene : Node
  3490. Methods:
  3491. - Scene() (GC)
  3492. - Scene* new()
  3493. - void delete()
  3494. - bool Load(File* source)
  3495. - bool Save(File* dest) const
  3496. - bool Load(const String fileName)
  3497. - bool Save(const String fileName) const
  3498. - bool LoadXML(File* source)
  3499. - bool SaveXML(File* dest) const
  3500. - bool LoadXML(const String fileName)
  3501. - bool SaveXML(const String fileName) const
  3502. - Node* Instantiate(File* source, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3503. - Node* Instantiate(const String fileName, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3504. - Node* InstantiateXML(File* source, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3505. - Node* InstantiateXML(const String fileName, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3506. - bool LoadAsync(File* file)
  3507. - bool LoadAsyncXML(File* file)
  3508. - bool LoadAsync(const String fileName)
  3509. - bool LoadAsyncXML(const String fileName)
  3510. - void StopAsyncLoading()
  3511. - void Clear(bool clearReplicated = true, bool clearLocal = true)
  3512. - void SetUpdateEnabled(bool enable)
  3513. - void SetTimeScale(float scale)
  3514. - void SetElapsedTime(float time)
  3515. - void SetSmoothingConstant(float constant)
  3516. - void SetSnapThreshold(float threshold)
  3517. - Node* GetNode(unsigned id) const
  3518. - bool IsUpdateEnabled() const
  3519. - bool IsAsyncLoading() const
  3520. - float GetAsyncProgress() const
  3521. - const String GetFileName() const
  3522. - unsigned GetChecksum() const
  3523. - float GetTimeScale() const
  3524. - float GetElapsedTime() const
  3525. - float GetSmoothingConstant() const
  3526. - float GetSnapThreshold() const
  3527. - const String GetVarName(ShortStringHash hash) const
  3528. - void Update(float timeStep)
  3529. - void BeginThreadedUpdate()
  3530. - void EndThreadedUpdate()
  3531. - void DelayedMarkedDirty(Component* component)
  3532. - bool IsThreadedUpdate() const
  3533. - unsigned GetFreeNodeID(CreateMode mode)
  3534. - unsigned GetFreeComponentID(CreateMode mode)
  3535. - void NodeAdded(Node* node)
  3536. - void NodeRemoved(Node* node)
  3537. - void ComponentAdded(Component* component)
  3538. - void ComponentRemoved(Component* component)
  3539. - void SetVarNamesAttr(String value)
  3540. - String GetVarNamesAttr() const
  3541. - void PrepareNetworkUpdate()
  3542. - void CleanupConnection(Connection* connection)
  3543. - void MarkNetworkUpdate(Node* node)
  3544. - void MarkNetworkUpdate(Component* component)
  3545. - void MarkReplicationDirty(Node* node)
  3546. Properties:
  3547. - bool updateEnabled
  3548. - bool asyncLoading (readonly)
  3549. - float asyncProgress (readonly)
  3550. - const String fileName
  3551. - unsigned checksum (readonly)
  3552. - float timeScale
  3553. - float elapsedTime
  3554. - float smoothingConstant
  3555. - float snapThreshold
  3556. - bool threadedUpdate (readonly)
  3557. - String varNamesAttr
  3558. ### ScrollBar : UIElement
  3559. Methods:
  3560. - ScrollBar() (GC)
  3561. - ScrollBar* new()
  3562. - void delete()
  3563. - void SetOrientation(Orientation orientation)
  3564. - void SetRange(float range)
  3565. - void SetValue(float value)
  3566. - void ChangeValue(float delta)
  3567. - void SetScrollStep(float step)
  3568. - void SetStepFactor(float factor)
  3569. - void StepBack()
  3570. - void StepForward()
  3571. - Orientation GetOrientation() const
  3572. - float GetRange() const
  3573. - float GetValue() const
  3574. - float GetScrollStep() const
  3575. - float GetStepFactor() const
  3576. - float GetEffectiveScrollStep() const
  3577. - Button* GetBackButton() const
  3578. - Button* GetForwardButton() const
  3579. - Slider* GetSlider() const
  3580. Properties:
  3581. - Orientation orientation
  3582. - float range
  3583. - float value
  3584. - float scrollStep
  3585. - float stepFactor
  3586. - float effectiveScrollStep (readonly)
  3587. - Button* backButton (readonly)
  3588. - Button* forwardButton (readonly)
  3589. - Slider* slider (readonly)
  3590. ### ScrollView : UIElement
  3591. Methods:
  3592. - ScrollView() (GC)
  3593. - ScrollView* new()
  3594. - void delete()
  3595. - void SetContentElement(UIElement* element)
  3596. - void SetViewPosition(const IntVector2& position)
  3597. - void SetViewPosition(int x, int y)
  3598. - void SetScrollBarsVisible(bool horizontal, bool vertical)
  3599. - void SetScrollBarsAutoVisible(bool enable)
  3600. - void SetScrollStep(float step)
  3601. - void SetPageStep(float step)
  3602. - const IntVector2& GetViewPosition() const
  3603. - UIElement* GetContentElement() const
  3604. - ScrollBar* GetHorizontalScrollBar() const
  3605. - ScrollBar* GetVerticalScrollBar() const
  3606. - BorderImage* GetScrollPanel() const
  3607. - bool GetScrollBarsAutoVisible() const
  3608. - float GetScrollStep() const
  3609. - float GetPageStep() const
  3610. Properties:
  3611. - IntVector2& viewPosition
  3612. - UIElement* contentElement
  3613. - ScrollBar* horizontalScrollBar (readonly)
  3614. - ScrollBar* verticalScrollBar (readonly)
  3615. - BorderImage* scrollPanel (readonly)
  3616. - bool scrollBarsAutoVisible
  3617. - float scrollStep
  3618. - float pageStep
  3619. ### Serializable : Object
  3620. Methods:
  3621. - void SetTemporary(bool enable)
  3622. - bool IsTemporary() const
  3623. Properties:
  3624. - bool temporary
  3625. ### Serializer
  3626. Methods:
  3627. - unsigned Write(const VectorBuffer& buffer)
  3628. - bool WriteInt(int value)
  3629. - bool WriteShort(short value)
  3630. - bool WriteByte(char value)
  3631. - bool WriteUInt(unsigned value)
  3632. - bool WriteUShort(short value)
  3633. - bool WriteUByte(char value)
  3634. - bool WriteBool(bool value)
  3635. - bool WriteFloat(float value)
  3636. - bool WriteIntRect(const IntRect& value)
  3637. - bool WriteIntVector2(const IntVector2& value)
  3638. - bool WriteRect(const Rect& value)
  3639. - bool WriteVector2(const Vector2& value)
  3640. - bool WriteVector3(const Vector3& value)
  3641. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  3642. - bool WriteVector4(const Vector4& value)
  3643. - bool WriteQuaternion(const Quaternion& value)
  3644. - bool WritePackedQuaternion(const Quaternion& value)
  3645. - bool WriteMatrix3(const Matrix3& value)
  3646. - bool WriteMatrix3x4(const Matrix3x4& value)
  3647. - bool WriteMatrix4(const Matrix4& value)
  3648. - bool WriteColor(const Color& value)
  3649. - bool WriteBoundingBox(const BoundingBox& value)
  3650. - bool WriteString(const String value)
  3651. - bool WriteFileID(const String value)
  3652. - bool WriteStringHash(const StringHash& value)
  3653. - bool WriteShortStringHash(const ShortStringHash& value)
  3654. - bool WriteBuffer(const VectorBuffer& buffer)
  3655. - bool WriteResourceRef(const ResourceRef& value)
  3656. - bool WriteResourceRefList(const ResourceRefList& value)
  3657. - bool WriteVariant(const Variant& value)
  3658. - bool WriteVariantData(const Variant& value)
  3659. - bool WriteVariantVector(const VariantVector& value)
  3660. - bool WriteVariantMap(const VariantMap& value)
  3661. - bool WriteVLE(unsigned value)
  3662. - bool WriteNetID(unsigned value)
  3663. - bool WriteLine(const String value)
  3664. ### ShortStringHash
  3665. Methods:
  3666. - ShortStringHash() (GC)
  3667. - ShortStringHash* new()
  3668. - ShortStringHash(const ShortStringHash& rhs) (GC)
  3669. - ShortStringHash* new(const ShortStringHash& rhs)
  3670. - ShortStringHash(const StringHash& rhs) (GC)
  3671. - ShortStringHash* new(const StringHash& rhs)
  3672. - ShortStringHash(short value) (GC)
  3673. - ShortStringHash* new(short value)
  3674. - ShortStringHash(const String str) (GC)
  3675. - ShortStringHash* new(const String str)
  3676. - void delete()
  3677. - ShortStringHash operator+(const ShortStringHash& rhs) const
  3678. - bool operator==(const ShortStringHash& rhs) const
  3679. - bool operator<(const ShortStringHash& rhs) const
  3680. - short Value() const
  3681. - short Calculate(const char* str)
  3682. Properties:
  3683. - const ShortStringHash ZERO
  3684. - short value (readonly)
  3685. ### Skeleton
  3686. Methods:
  3687. - unsigned GetNumBones() const
  3688. - Bone* GetRootBone()
  3689. - Bone* GetBone(const String name)
  3690. - Bone* GetBone(unsigned index)
  3691. Properties:
  3692. - unsigned numBones (readonly)
  3693. - Bone* rootBone (readonly)
  3694. ### Skybox : StaticModel
  3695. ### Slider : BorderImage
  3696. Methods:
  3697. - Slider() (GC)
  3698. - Slider* new()
  3699. - void delete()
  3700. - void SetOrientation(Orientation orientation)
  3701. - void SetRange(float range)
  3702. - void SetValue(float value)
  3703. - void ChangeValue(float delta)
  3704. - void SetRepeatRate(float rate)
  3705. - Orientation GetOrientation() const
  3706. - float GetRange() const
  3707. - float GetValue() const
  3708. - BorderImage* GetKnob() const
  3709. - float GetRepeatRate() const
  3710. Properties:
  3711. - Orientation orientation
  3712. - float range
  3713. - float value
  3714. - BorderImage* knob (readonly)
  3715. - float repeatRate
  3716. ### Sound : Resource
  3717. Methods:
  3718. - Sound() (GC)
  3719. - Sound* new()
  3720. - void delete()
  3721. - bool LoadRaw(Deserializer& source)
  3722. - bool LoadWav(Deserializer& source)
  3723. - bool LoadOggVorbis(Deserializer& source)
  3724. - bool LoadRaw(const String fileName)
  3725. - bool LoadWav(const String fileName)
  3726. - bool LoadOggVorbis(const String fileName)
  3727. - void SetSize(unsigned dataSize)
  3728. - void SetData(const void* data, unsigned dataSize)
  3729. - void SetFormat(unsigned frequency, bool sixteenBit, bool stereo)
  3730. - void SetLooped(bool enable)
  3731. - void SetLoop(unsigned repeatOffset, unsigned endOffset)
  3732. - void FixInterpolation()
  3733. - float GetLength() const
  3734. - unsigned GetDataSize() const
  3735. - unsigned GetSampleSize() const
  3736. - float GetFrequency() const
  3737. - unsigned GetIntFrequency() const
  3738. - bool IsLooped() const
  3739. - bool IsSixteenBit() const
  3740. - bool IsStereo() const
  3741. - bool IsCompressed() const
  3742. Properties:
  3743. - float length (readonly)
  3744. - unsigned dataSize (readonly)
  3745. - unsigned sampleSize (readonly)
  3746. - float frequency (readonly)
  3747. - int intFrequency (readonly)
  3748. - bool looped
  3749. - bool sixteenBit (readonly)
  3750. - bool stereo (readonly)
  3751. - bool compressed (readonly)
  3752. ### SoundListener : Component
  3753. ### SoundSource : Component
  3754. Methods:
  3755. - void Play(Sound* sound)
  3756. - void Play(Sound* sound, float frequency)
  3757. - void Play(Sound* sound, float frequency, float gain)
  3758. - void Play(Sound* sound, float frequency, float gain, float panning)
  3759. - void Stop()
  3760. - void SetSoundType(SoundType type)
  3761. - void SetFrequency(float frequency)
  3762. - void SetGain(float gain)
  3763. - void SetAttenuation(float attenuation)
  3764. - void SetPanning(float panning)
  3765. - void SetAutoRemove(bool enable)
  3766. - Sound* GetSound() const
  3767. - SoundType GetSoundType() const
  3768. - float GetTimePosition() const
  3769. - float GetFrequency() const
  3770. - float GetGain() const
  3771. - float GetAttenuation() const
  3772. - float GetPanning() const
  3773. - bool GetAutoRemove() const
  3774. - bool IsPlaying() const
  3775. Properties:
  3776. - Sound* sound (readonly)
  3777. - SoundType soundType
  3778. - float timePosition (readonly)
  3779. - float frequency
  3780. - float gain
  3781. - float attenuation
  3782. - float panning
  3783. - bool autoRemove
  3784. - bool playing (readonly)
  3785. ### SoundSource3D : SoundSource
  3786. Methods:
  3787. - void SetDistanceAttenuation(float nearDistance, float farDistance, float rolloffFactor)
  3788. - void SetAngleAttenuation(float innerAngle, float outerAngle)
  3789. - void SetNearDistance(float distance)
  3790. - void SetFarDistance(float distance)
  3791. - void SetInnerAngle(float angle)
  3792. - void SetOuterAngle(float angle)
  3793. - void SetRolloffFactor(float factor)
  3794. - void CalculateAttenuation()
  3795. - float GetNearDistance() const
  3796. - float GetFarDistance() const
  3797. - float GetInnerAngle() const
  3798. - float GetOuterAngle() const
  3799. - float RollAngleoffFactor() const
  3800. Properties:
  3801. - float nearDistance
  3802. - float farDistance
  3803. - float innerAngle
  3804. - float outerAngle
  3805. - float rolloffFactor
  3806. ### Sphere
  3807. Methods:
  3808. - Sphere() (GC)
  3809. - Sphere* new()
  3810. - Sphere(const Sphere& sphere) (GC)
  3811. - Sphere* new(const Sphere& sphere)
  3812. - Sphere(const Vector3& center, float radius) (GC)
  3813. - Sphere* new(const Vector3& center, float radius)
  3814. - Sphere(const BoundingBox& box) (GC)
  3815. - Sphere* new(const BoundingBox& box)
  3816. - Sphere(const Frustum& frustum) (GC)
  3817. - Sphere* new(const Frustum& frustum)
  3818. - Sphere(const Polyhedron& poly) (GC)
  3819. - Sphere* new(const Polyhedron& poly)
  3820. - void delete()
  3821. - bool operator==(const Sphere& rhs) const
  3822. - void Define(const Sphere& sphere)
  3823. - void Define(const Vector3& center, float radius)
  3824. - void Define(const BoundingBox& box)
  3825. - void Define(const Frustum& frustum)
  3826. - void Define(const Polyhedron& poly)
  3827. - void Merge(const Vector3& point)
  3828. - void Merge(const BoundingBox& box)
  3829. - void Merge(const Frustum& frustum)
  3830. - void Merge(const Polyhedron& poly)
  3831. - void Merge(const Sphere& sphere)
  3832. - void Clear()
  3833. - Intersection IsInside(const Vector3& point) const
  3834. - Intersection IsInside(const Sphere& sphere) const
  3835. - Intersection IsInsideFast(const Sphere& sphere) const
  3836. - Intersection IsInside(const BoundingBox& box) const
  3837. - Intersection IsInsideFast(const BoundingBox& box) const
  3838. - float Distance(const Vector3& point) const
  3839. Properties:
  3840. - Vector3 center
  3841. - float radius
  3842. - bool defined
  3843. ### Spline
  3844. Methods:
  3845. - Spline() (GC)
  3846. - Spline* new()
  3847. - Spline(InterpolationMode mode) (GC)
  3848. - Spline* new(InterpolationMode mode)
  3849. - Spline(const Spline& rhs) (GC)
  3850. - Spline* new(const Spline& rhs)
  3851. - void delete()
  3852. - bool operator==(const Spline& rhs) const
  3853. - Variant GetPoint(float f) const
  3854. - Variant GetKnot(unsigned index) const
  3855. - void SetKnot(const Variant& knot, unsigned tolua_var_1)
  3856. - void AddKnot(const Variant& knot)
  3857. - void AddKnot(const Variant& knot, unsigned index)
  3858. - void RemoveKnot()
  3859. - void RemoveKnot(unsigned index)
  3860. - void Clear()
  3861. Properties:
  3862. - InterpolationMode interpolationMode
  3863. ### SplinePath : Component
  3864. Methods:
  3865. - void AddControlPoint(Node* point, unsigned index = M_MAX_UNSIGNED)
  3866. - void RemoveControlPoint(Node* point)
  3867. - void ClearControlPoints()
  3868. - Vector3 GetPoint(float factor) const
  3869. - InterpolationMode GetInterpolationMode() const
  3870. - Vector3 GetPosition() const
  3871. - void SetInterpolationMode(InterpolationMode mode)
  3872. - void SetPosition(float factor)
  3873. - void Move(float timeStep)
  3874. - void Reset()
  3875. - bool IsFinished() const
  3876. Properties:
  3877. - float speed
  3878. - Node* controlledNode
  3879. ### Sprite : UIElement
  3880. Methods:
  3881. - Sprite() (GC)
  3882. - Sprite* new()
  3883. - void delete()
  3884. - void SetPosition(const Vector2& position)
  3885. - void SetPosition(float x, float y)
  3886. - void SetHotSpot(const IntVector2& hotSpot)
  3887. - void SetHotSpot(int x, int y)
  3888. - void SetScale(const Vector2& scale)
  3889. - void SetScale(float x, float y)
  3890. - void SetScale(float scale)
  3891. - void SetRotation(float angle)
  3892. - void SetTexture(Texture* texture)
  3893. - void SetImageRect(const IntRect& rect)
  3894. - void SetFullImageRect()
  3895. - void SetBlendMode(BlendMode mode)
  3896. - const Vector2& GetPosition() const
  3897. - const IntVector2& GetHotSpot() const
  3898. - const Vector2& GetScale() const
  3899. - float GetRotation() const
  3900. - Texture* GetTexture() const
  3901. - const IntRect& GetImageRect() const
  3902. - BlendMode GetBlendMode() const
  3903. - const Matrix3x4& GetTransform() const
  3904. Properties:
  3905. - Vector2& position
  3906. - IntVector2& hotSpot
  3907. - Vector2& scale
  3908. - float rotation
  3909. - Texture* texture
  3910. - IntRect& imageRect
  3911. - BlendMode blendMode
  3912. - Matrix3x4& transform (readonly)
  3913. ### Sprite2D : Resource
  3914. Methods:
  3915. - void SetTexture(Texture2D* texture)
  3916. - void SetRectangle(const IntRect& rectangle)
  3917. - void SetHotSpot(const Vector2& hotSpot)
  3918. - void SetSpriteSheet(SpriteSheet2D* spriteSheet)
  3919. - Texture2D* GetTexture() const
  3920. - const IntRect& GetRectangle() const
  3921. - const Vector2& GetHotSpot() const
  3922. - SpriteSheet2D* GetSpriteSheet() const
  3923. Properties:
  3924. - Texture2D* texture
  3925. - IntRect rectangle
  3926. - Vector2 hotSpot
  3927. - SpriteSheet2D* spriteSheet
  3928. ### SpriteSheet2D : Resource
  3929. Methods:
  3930. - Texture2D* GetTexture() const
  3931. - Sprite2D* GetSprite(const String name) const
  3932. - void DefineSprite(const String name, const IntRect& rectangle)
  3933. - void DefineSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot)
  3934. - void UpdateSprite(const String name, const IntRect& rectangle)
  3935. - void UpdateSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot)
  3936. ### StaticModel : Drawable
  3937. Methods:
  3938. - void SetModel(Model* model)
  3939. - void SetMaterial(Material* material)
  3940. - bool SetMaterial(unsigned index, Material* material)
  3941. - void SetOcclusionLodLevel(unsigned level)
  3942. - void ApplyMaterialList(const String fileName = String::EMPTY)
  3943. - Model* GetModel() const
  3944. - unsigned GetNumGeometries() const
  3945. - Material* GetMaterial(unsigned index = 0) const
  3946. - unsigned GetOcclusionLodLevel() const
  3947. - bool IsInside(const Vector3& point) const
  3948. - bool IsInsideLocal(const Vector3& point) const
  3949. Properties:
  3950. - Model* model
  3951. - Material* material
  3952. - BoundingBox& boundingBox (readonly)
  3953. - unsigned numGeometries (readonly)
  3954. - unsigned occlusionLodLevel
  3955. ### StaticModelGeometryData
  3956. Properties:
  3957. - Vector3 center
  3958. - unsigned lodLevel
  3959. ### StaticModelGroup : StaticModel
  3960. Methods:
  3961. - void AddInstanceNode(Node* node)
  3962. - void RemoveInstanceNode(Node* node)
  3963. - void RemoveAllInstanceNodes()
  3964. - unsigned GetNumInstanceNodes() const
  3965. - Node* GetInstanceNode(unsigned index) const
  3966. Properties:
  3967. - unsigned numInstanceNodes (readonly)
  3968. ### StaticSprite2D : Drawable2D
  3969. Methods:
  3970. - void SetFlip(bool flipX, bool flipY)
  3971. - void SetFlipX(bool flipX)
  3972. - void SetFlipY(bool flipY)
  3973. - void SetColor(const Color& color)
  3974. - bool GetFlipX() const
  3975. - bool GetFlipY() const
  3976. - const Color& GetColor() const
  3977. Properties:
  3978. - bool flipX
  3979. - bool flipY
  3980. - Color& color
  3981. ### StringHash
  3982. Methods:
  3983. - StringHash() (GC)
  3984. - StringHash* new()
  3985. - StringHash(const StringHash& rhs) (GC)
  3986. - StringHash* new(const StringHash& rhs)
  3987. - StringHash(unsigned value) (GC)
  3988. - StringHash* new(unsigned value)
  3989. - StringHash(const String str) (GC)
  3990. - StringHash* new(const String str)
  3991. - void delete()
  3992. - StringHash operator+(const StringHash& rhs) const
  3993. - bool operator==(const StringHash& rhs) const
  3994. - bool operator<(const StringHash& rhs) const
  3995. - bool operatorbool() const
  3996. - unsigned Value() const
  3997. - String ToString() const
  3998. - unsigned ToHash() const
  3999. - unsigned Calculate(const char* str)
  4000. Properties:
  4001. - const StringHash ZERO
  4002. - unsigned value (readonly)
  4003. ### Technique : Resource
  4004. Methods:
  4005. - bool HasPass(const String type) const
  4006. - Pass* GetPass(const String type) const
  4007. - bool IsSM3() const
  4008. Properties:
  4009. - bool SM3 (readonly)
  4010. ### Terrain : Component
  4011. Methods:
  4012. - void SetPatchSize(int size)
  4013. - void SetSpacing(const Vector3& spacing)
  4014. - void SetSmoothing(bool enable)
  4015. - bool SetHeightMap(Image* image)
  4016. - void SetMaterial(Material* material)
  4017. - void SetDrawDistance(float distance)
  4018. - void SetShadowDistance(float distance)
  4019. - void SetLodBias(float bias)
  4020. - void SetViewMask(unsigned mask)
  4021. - void SetLightMask(unsigned mask)
  4022. - void SetShadowMask(unsigned mask)
  4023. - void SetZoneMask(unsigned mask)
  4024. - void SetMaxLights(unsigned num)
  4025. - void SetCastShadows(bool enable)
  4026. - void SetOccluder(bool enable)
  4027. - void SetOccludee(bool enable)
  4028. - int GetPatchSize() const
  4029. - const Vector3& GetSpacing() const
  4030. - const IntVector2& GetNumVertices() const
  4031. - const IntVector2& GetNumPatches() const
  4032. - bool GetSmoothing() const
  4033. - Image* GetHeightMap() const
  4034. - Material* GetMaterial() const
  4035. - TerrainPatch* GetPatch(unsigned index) const
  4036. - TerrainPatch* GetPatch(int x, int z) const
  4037. - float GetHeight(const Vector3& worldPosition) const
  4038. - Vector3 GetNormal(const Vector3& worldPosition) const
  4039. - SharedArrayPtr<float> GetHeightData() const
  4040. - float GetDrawDistance() const
  4041. - float GetShadowDistance() const
  4042. - float GetLodBias() const
  4043. - unsigned GetViewMask() const
  4044. - unsigned GetLightMask() const
  4045. - unsigned GetShadowMask() const
  4046. - unsigned GetZoneMask() const
  4047. - unsigned GetMaxLights() const
  4048. - bool IsVisible() const
  4049. - bool GetCastShadows() const
  4050. - bool IsOccluder() const
  4051. - bool IsOccludee() const
  4052. Properties:
  4053. - int patchSize
  4054. - Vector3& spacing
  4055. - IntVector2& numVertices (readonly)
  4056. - IntVector2& numPatches (readonly)
  4057. - bool smoothing
  4058. - Image* heightMap
  4059. - Material* material
  4060. - float drawDistance
  4061. - float shadowDistance
  4062. - float lodBias
  4063. - unsigned viewMask
  4064. - unsigned lightMask
  4065. - unsigned shadowMask
  4066. - unsigned zoneMask
  4067. - unsigned maxLights
  4068. - bool visible (readonly)
  4069. - bool castShadows
  4070. - bool occluder
  4071. - bool occludee
  4072. ### TerrainPatch : Drawable
  4073. Methods:
  4074. - void SetOwner(Terrain* terrain)
  4075. - void SetNeighbors(TerrainPatch* north, TerrainPatch* south, TerrainPatch* west, TerrainPatch* east)
  4076. - void SetMaterial(Material* material)
  4077. - void SetBoundingBox(const BoundingBox& box)
  4078. - void SetCoordinates(const IntVector2& coordinates)
  4079. - void SetOcclusionOffset(float offset)
  4080. - void ResetLod()
  4081. - Geometry* GetGeometry() const
  4082. - Geometry* GetMaxLodGeometry() const
  4083. - Geometry* GetMinLodGeometry() const
  4084. - VertexBuffer* GetVertexBuffer() const
  4085. - Terrain* GetOwner() const
  4086. - TerrainPatch* GetNorthPatch() const
  4087. - TerrainPatch* GetSouthPatch() const
  4088. - TerrainPatch* GetWestPatch() const
  4089. - TerrainPatch* GetEastPatch() const
  4090. - const IntVector2& GetCoordinates() const
  4091. - unsigned GetLodLevel() const
  4092. - float GetOcclusionOffset() const
  4093. Properties:
  4094. - Geometry* geometry (readonly)
  4095. - Geometry* maxLodGeometry (readonly)
  4096. - Geometry* minLodGeometry (readonly)
  4097. - VertexBuffer* vertexBuffer (readonly)
  4098. - Terrain* owner
  4099. - TerrainPatch* northPatch (readonly)
  4100. - TerrainPatch* southPatch (readonly)
  4101. - TerrainPatch* westPatch (readonly)
  4102. - TerrainPatch* eastPatch (readonly)
  4103. - BoundingBox& boundingBox
  4104. - IntVector2& coordinates
  4105. - unsigned lodLevel (readonly)
  4106. - float occlusionOffset
  4107. ### Text : UIElement
  4108. Methods:
  4109. - Text() (GC)
  4110. - Text* new()
  4111. - void delete()
  4112. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  4113. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  4114. - void SetText(const String text)
  4115. - void SetTextAlignment(HorizontalAlignment align)
  4116. - void SetRowSpacing(float spacing)
  4117. - void SetWordwrap(bool enable)
  4118. - void SetSelection(unsigned start, unsigned length = M_MAX_UNSIGNED)
  4119. - void ClearSelection()
  4120. - void SetSelectionColor(const Color& color)
  4121. - void SetHoverColor(const Color& color)
  4122. - void SetTextEffect(TextEffect textEffect)
  4123. - void SetEffectColor(const Color& effectColor)
  4124. - Font* GetFont() const
  4125. - int GetFontSize() const
  4126. - const String GetText() const
  4127. - HorizontalAlignment GetTextAlignment() const
  4128. - float GetRowSpacing() const
  4129. - bool GetWordwrap() const
  4130. - unsigned GetSelectionStart() const
  4131. - unsigned GetSelectionLength() const
  4132. - const Color& GetSelectionColor() const
  4133. - const Color& GetHoverColor() const
  4134. - TextEffect GetTextEffect() const
  4135. - const Color& GetEffectColor() const
  4136. - int GetRowHeight() const
  4137. - unsigned GetNumRows() const
  4138. - unsigned GetNumChars() const
  4139. - int GetRowWidth(unsigned index) const
  4140. - IntVector2 GetCharPosition(unsigned index)
  4141. - IntVector2 GetCharSize(unsigned index)
  4142. - void SetEffectDepthBias(float bias)
  4143. - float GetEffectDepthBias() const
  4144. Properties:
  4145. - Font* font
  4146. - int fontSize (readonly)
  4147. - String text
  4148. - HorizontalAlignment textAlignment
  4149. - float rowSpacing
  4150. - bool wordwrap
  4151. - unsigned selectionStart (readonly)
  4152. - unsigned selectionLength (readonly)
  4153. - Color& selectionColor
  4154. - Color& hoverColor
  4155. - TextEffect textEffect
  4156. - Color& effectColor
  4157. - int rowHeight (readonly)
  4158. - unsigned numRows (readonly)
  4159. - unsigned numChars (readonly)
  4160. ### Text3D : Drawable
  4161. Methods:
  4162. - Text3D() (GC)
  4163. - Text3D* new()
  4164. - void delete()
  4165. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  4166. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  4167. - void SetMaterial(Material* material)
  4168. - void SetText(const String text)
  4169. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4170. - void SetHorizontalAlignment(HorizontalAlignment align)
  4171. - void SetVerticalAlignment(VerticalAlignment align)
  4172. - void SetTextAlignment(HorizontalAlignment align)
  4173. - void SetRowSpacing(float spacing)
  4174. - void SetWordwrap(bool enable)
  4175. - void SetTextEffect(TextEffect textEffect)
  4176. - void SetEffectColor(const Color& effectColor)
  4177. - void SetEffectDepthBias(float bias)
  4178. - void SetWidth(int width)
  4179. - void SetColor(const Color& color)
  4180. - void SetColor(Corner corner, const Color& color)
  4181. - void SetOpacity(float opacity)
  4182. - void SetFaceCamera(bool enable)
  4183. - Font* GetFont() const
  4184. - Material* GetMaterial() const
  4185. - int GetFontSize() const
  4186. - const String GetText() const
  4187. - HorizontalAlignment GetTextAlignment() const
  4188. - HorizontalAlignment GetHorizontalAlignment() const
  4189. - VerticalAlignment GetVerticalAlignment() const
  4190. - float GetRowSpacing() const
  4191. - bool GetWordwrap() const
  4192. - TextEffect GetTextEffect() const
  4193. - const Color& GetEffectColor() const
  4194. - float GetEffectDepthBias() const
  4195. - int GetWidth() const
  4196. - int GetRowHeight() const
  4197. - unsigned GetNumRows() const
  4198. - unsigned GetNumChars() const
  4199. - int GetRowWidth(unsigned index) const
  4200. - IntVector2 GetCharPosition(unsigned index)
  4201. - IntVector2 GetCharSize(unsigned index)
  4202. - const Color& GetColor(Corner corner) const
  4203. - float GetOpacity() const
  4204. - bool GetFaceCamera() const
  4205. Properties:
  4206. - Font* font
  4207. - Material* material
  4208. - int fontSize (readonly)
  4209. - String text
  4210. - HorizontalAlignment textAlignment
  4211. - HorizontalAlignment horizontalAlignment
  4212. - VerticalAlignment verticalAlignment
  4213. - float rowSpacing
  4214. - bool wordwrap
  4215. - TextEffect textEffect
  4216. - Color& effectColor
  4217. - float effectDepthBias
  4218. - int width
  4219. - Color& color
  4220. - int rowHeight (readonly)
  4221. - unsigned numRows (readonly)
  4222. - unsigned numChars (readonly)
  4223. - float opacity
  4224. - bool faceCamera
  4225. ### Texture : Resource
  4226. Methods:
  4227. - void SetNumLevels(unsigned levels)
  4228. - void SetFilterMode(TextureFilterMode filter)
  4229. - void SetAddressMode(TextureCoordinate coord, TextureAddressMode address)
  4230. - void SetBorderColor(const Color& color)
  4231. - void SetSRGB(bool enable)
  4232. - void SetBackupTexture(Texture* texture)
  4233. - void SetMipsToSkip(int quality, int mips)
  4234. - unsigned GetFormat() const
  4235. - bool IsCompressed() const
  4236. - unsigned GetLevels() const
  4237. - int GetWidth() const
  4238. - int GetHeight() const
  4239. - TextureFilterMode GetFilterMode() const
  4240. - TextureAddressMode GetAddressMode(TextureCoordinate coord) const
  4241. - const Color& GetBorderColor() const
  4242. - bool GetSRGB() const
  4243. - Texture* GetBackupTexture() const
  4244. - int GetMipsToSkip(int quality) const
  4245. - int GetLevelWidth(unsigned level) const
  4246. - int GetLevelHeight(unsigned level) const
  4247. - TextureUsage GetUsage() const
  4248. - unsigned GetDataSize(int width, int height) const
  4249. - unsigned GetRowDataSize(int width) const
  4250. Properties:
  4251. - unsigned format (readonly)
  4252. - bool compressed (readonly)
  4253. - unsigned levels (readonly)
  4254. - int width (readonly)
  4255. - int height (readonly)
  4256. - TextureFilterMode filterMode
  4257. - Color& borderColor
  4258. - bool sRGB
  4259. - Texture* backupTexture
  4260. - TextureUsage usage (readonly)
  4261. ### Texture2D : Texture
  4262. Methods:
  4263. - Texture2D() (GC)
  4264. - Texture2D* new()
  4265. - void delete()
  4266. - bool SetSize(int width, int height, unsigned format, TextureUsage usage = TEXTURE_STATIC)
  4267. - bool Load(Image* image, bool useAlpha = false)
  4268. - RenderSurface* GetRenderSurface() const
  4269. Properties:
  4270. - RenderSurface* renderSurface (readonly)
  4271. ### TextureCube : Texture
  4272. Methods:
  4273. - RenderSurface* GetRenderSurface(CubeMapFace face) const
  4274. ### TextureFrame
  4275. Methods:
  4276. - TextureFrame() (GC)
  4277. - TextureFrame* new()
  4278. - void delete()
  4279. Properties:
  4280. - Rect uv
  4281. - float time
  4282. ### Time : Object
  4283. Methods:
  4284. - unsigned GetFrameNumber() const
  4285. - float GetTimeStep() const
  4286. - unsigned GetTimerPeriod() const
  4287. - float GetElapsedTime()
  4288. - unsigned GetSystemTime()
  4289. - String GetTimeStamp()
  4290. - void Sleep(unsigned mSec)
  4291. Properties:
  4292. - unsigned frameNumber (readonly)
  4293. - float timeStep (readonly)
  4294. - unsigned timerPeriod (readonly)
  4295. - float elapsedTime (readonly)
  4296. ### ToolTip : UIElement
  4297. Methods:
  4298. - ToolTip() (GC)
  4299. - ToolTip* new()
  4300. - void delete()
  4301. - void SetDelay(float delay)
  4302. - float GetDelay() const
  4303. Properties:
  4304. - float delay
  4305. ### TouchState
  4306. Properties:
  4307. - int touchID
  4308. - IntVector2 position
  4309. - IntVector2 lastPosition
  4310. - IntVector2 delta
  4311. - float pressure
  4312. - WeakPtr<UIElement> touchedElement
  4313. ### UI : Object
  4314. Methods:
  4315. - void SetCursor(Cursor* cursor)
  4316. - void SetFocusElement(UIElement* element, bool byKey = false)
  4317. - bool SetModalElement(UIElement* modalElement, bool enable)
  4318. - void Clear()
  4319. - void Update(float timeStep)
  4320. - void RenderUpdate()
  4321. - void Render()
  4322. - void DebugDraw(UIElement* element)
  4323. - UIElement* LoadLayout(File* source, XMLFile* styleFile = 0)
  4324. - UIElement* LoadLayout(const String fileName, XMLFile* styleFile = 0)
  4325. - UIElement* LoadLayout(XMLFile* file, XMLFile* styleFile = 0)
  4326. - bool SaveLayout(Serializer& dest, UIElement* element)
  4327. - void SetClipboardText(const String text)
  4328. - void SetDoubleClickInterval(float interval)
  4329. - void SetDragBeginInterval(float interval)
  4330. - void SetDragBeginDistance(int pixels)
  4331. - void SetDefaultToolTipDelay(float delay)
  4332. - void SetMaxFontTextureSize(int size)
  4333. - void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel)
  4334. - void SetUseSystemClipboard(bool enable)
  4335. - void SetUseScreenKeyboard(bool enable)
  4336. - void SetUseMutableGlyphs(bool enable)
  4337. - void SetForceAutoHint(bool enable)
  4338. - UIElement* GetRoot() const
  4339. - UIElement* GetRootModalElement() const
  4340. - Cursor* GetCursor() const
  4341. - IntVector2 GetCursorPosition() const
  4342. - UIElement* GetElementAt(const IntVector2& position, bool enabledOnly = true)
  4343. - UIElement* GetElementAt(int x, int y, bool enabledOnly = true)
  4344. - UIElement* GetFocusElement() const
  4345. - UIElement* GetFrontElement() const
  4346. - UIElement* GetDragElement() const
  4347. - const String GetClipboardText() const
  4348. - float GetDoubleClickInterval() const
  4349. - float GetDragBeginInterval() const
  4350. - int GetDragBeginDistance() const
  4351. - float GetDefaultToolTipDelay() const
  4352. - int GetMaxFontTextureSize() const
  4353. - bool IsNonFocusedMouseWheel() const
  4354. - bool GetUseSystemClipboard() const
  4355. - bool GetUseScreenKeyboard() const
  4356. - bool GetUseMutableGlyphs() const
  4357. - bool GetForceAutoHint() const
  4358. - bool HasModalElement() const
  4359. Properties:
  4360. - UIElement* root (readonly)
  4361. - UIElement* rootModalElement (readonly)
  4362. - Cursor* cursor
  4363. - IntVector2 cursorPosition (readonly)
  4364. - UIElement* focusElement (readonly)
  4365. - UIElement* frontElement (readonly)
  4366. - UIElement* dragElement (readonly)
  4367. - String clipboardText
  4368. - float doubleClickInterval
  4369. - float dragBeginInterval
  4370. - int dragBeginDistance
  4371. - float defaultToolTipDelay
  4372. - int maxFontTextureSize
  4373. - bool nonFocusedMouseWheel
  4374. - bool useSystemClipboard
  4375. - bool useScreenKeyboard
  4376. - bool useMutableGlyphs
  4377. - bool forceAutoHint
  4378. - bool modalElement (readonly)
  4379. ### UIElement : Animatable
  4380. Methods:
  4381. - UIElement() (GC)
  4382. - UIElement* new()
  4383. - void delete()
  4384. - const IntVector2& GetScreenPosition() const
  4385. - bool LoadXML(Deserializer& source)
  4386. - bool SaveXML(Serializer& dest) const
  4387. - bool LoadXML(const String fileName)
  4388. - bool SaveXML(const String fileName) const
  4389. - bool FilterAttributes(XMLElement& dest) const
  4390. - void SetName(const String name)
  4391. - void SetPosition(const IntVector2& position)
  4392. - void SetPosition(int x, int y)
  4393. - void SetSize(const IntVector2& size)
  4394. - void SetSize(int width, int height)
  4395. - void SetWidth(int width)
  4396. - void SetHeight(int height)
  4397. - void SetMinSize(const IntVector2& minSize)
  4398. - void SetMinSize(int width, int height)
  4399. - void SetMinWidth(int width)
  4400. - void SetMinHeight(int height)
  4401. - void SetMaxSize(const IntVector2& maxSize)
  4402. - void SetMaxSize(int width, int height)
  4403. - void SetMaxWidth(int width)
  4404. - void SetMaxHeight(int height)
  4405. - void SetFixedSize(const IntVector2& size)
  4406. - void SetFixedSize(int width, int height)
  4407. - void SetFixedWidth(int width)
  4408. - void SetFixedHeight(int height)
  4409. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4410. - void SetHorizontalAlignment(HorizontalAlignment align)
  4411. - void SetVerticalAlignment(VerticalAlignment align)
  4412. - void SetClipBorder(const IntRect& rect)
  4413. - void SetColor(const Color& color)
  4414. - void SetColor(Corner corner, const Color& color)
  4415. - void SetPriority(int priority)
  4416. - void SetOpacity(float opacity)
  4417. - void SetBringToFront(bool enable)
  4418. - void SetBringToBack(bool enable)
  4419. - void SetClipChildren(bool enable)
  4420. - void SetSortChildren(bool enable)
  4421. - void SetUseDerivedOpacity(bool enable)
  4422. - void SetEnabled(bool enable)
  4423. - void SetEditable(bool enable)
  4424. - void SetFocus(bool enable)
  4425. - void SetSelected(bool enable)
  4426. - void SetVisible(bool enable)
  4427. - void SetFocusMode(FocusMode mode)
  4428. - void SetDragDropMode(unsigned mode)
  4429. - bool SetStyle(const String styleName, XMLFile* file = 0)
  4430. - bool SetStyle(const XMLElement& element)
  4431. - bool SetStyleAuto(XMLFile* file = 0)
  4432. - void SetDefaultStyle(XMLFile* style)
  4433. - void SetLayout(LayoutMode mode, int spacing = 0)
  4434. - void SetLayout(LayoutMode mode, int spacing, const IntRect& border)
  4435. - void SetLayoutMode(LayoutMode mode)
  4436. - void SetLayoutSpacing(int spacing)
  4437. - void SetLayoutBorder(const IntRect& border)
  4438. - void SetIndent(int indent)
  4439. - void SetIndentSpacing(int indentSpacing)
  4440. - void UpdateLayout()
  4441. - void DisableLayoutUpdate()
  4442. - void EnableLayoutUpdate()
  4443. - void BringToFront()
  4444. - UIElement* CreateChild(const String type, const String name = String::EMPTY, unsigned index = M_MAX_UNSIGNED)
  4445. - void AddChild(UIElement* element)
  4446. - void InsertChild(unsigned index, UIElement* element)
  4447. - void RemoveChild(UIElement* element, unsigned index = 0)
  4448. - void RemoveChildAtIndex(unsigned index)
  4449. - void RemoveAllChildren()
  4450. - void Remove()
  4451. - unsigned FindChild(UIElement* element) const
  4452. - void SetParent(UIElement* parent, unsigned index = M_MAX_UNSIGNED)
  4453. - void SetVar(ShortStringHash key, const Variant& value)
  4454. - void SetInternal(bool enable)
  4455. - void SetTraversalMode(TraversalMode traversalMode)
  4456. - void SetElementEventSender(bool flag)
  4457. - const String GetName() const
  4458. - const IntVector2& GetPosition() const
  4459. - const IntVector2& GetSize() const
  4460. - int GetWidth() const
  4461. - int GetHeight() const
  4462. - const IntVector2& GetMinSize() const
  4463. - int GetMinWidth() const
  4464. - int GetMinHeight() const
  4465. - const IntVector2& GetMaxSize() const
  4466. - int GetMaxWidth() const
  4467. - int GetMaxHeight() const
  4468. - bool IsFixedSize() const
  4469. - bool IsFixedWidth() const
  4470. - bool IsFixedHeight() const
  4471. - const IntVector2& GetChildOffset() const
  4472. - HorizontalAlignment GetHorizontalAlignment() const
  4473. - VerticalAlignment GetVerticalAlignment() const
  4474. - const IntRect& GetClipBorder() const
  4475. - const Color& GetColor(Corner corner) const
  4476. - int GetPriority() const
  4477. - float GetOpacity() const
  4478. - float GetDerivedOpacity() const
  4479. - bool GetBringToFront() const
  4480. - bool GetBringToBack() const
  4481. - bool GetClipChildren() const
  4482. - bool GetSortChildren() const
  4483. - bool GetUseDerivedOpacity() const
  4484. - bool HasFocus() const
  4485. - bool IsEnabled() const
  4486. - bool IsEditable() const
  4487. - bool IsSelected() const
  4488. - bool IsVisible() const
  4489. - bool IsHovering() const
  4490. - bool IsInternal() const
  4491. - bool HasColorGradient() const
  4492. - FocusMode GetFocusMode() const
  4493. - unsigned GetDragDropMode() const
  4494. - const String GetAppliedStyle() const
  4495. - XMLFile* GetDefaultStyle(bool recursiveUp = true) const
  4496. - LayoutMode GetLayoutMode() const
  4497. - int GetLayoutSpacing() const
  4498. - const IntRect& GetLayoutBorder() const
  4499. - unsigned GetNumChildren(bool recursive = false) const
  4500. - UIElement* GetChild(const String name, bool recursive = false) const
  4501. - UIElement* GetChild(unsigned index) const
  4502. - UIElement* GetParent() const
  4503. - UIElement* GetRoot() const
  4504. - const Color& GetDerivedColor() const
  4505. - const Variant& GetVar(ShortStringHash key) const
  4506. - const VariantMap& GetVars() const
  4507. - IntVector2 ScreenToElement(const IntVector2& screenPosition)
  4508. - IntVector2 ElementToScreen(const IntVector2& position)
  4509. - bool IsInside(IntVector2 position, bool isScreen)
  4510. - bool IsInsideCombined(IntVector2 position, bool isScreen)
  4511. - IntRect GetCombinedScreenRect()
  4512. - void SortChildren()
  4513. - int GetLayoutMinSize() const
  4514. - int GetIndent() const
  4515. - int GetIndentSpacing() const
  4516. - int GetIndentWidth() const
  4517. - void SetChildOffset(const IntVector2& offset)
  4518. - void SetHovering(bool enable)
  4519. - const Color& GetColor() const
  4520. - TraversalMode GetTraversalMode() const
  4521. - bool IsElementEventSender() const
  4522. - UIElement* GetElementEventSender() const
  4523. Properties:
  4524. - IntVector2& screenPosition (readonly)
  4525. - String name
  4526. - IntVector2& position
  4527. - IntVector2 size
  4528. - int width
  4529. - int height
  4530. - IntVector2 minSize
  4531. - int minWidth
  4532. - int minHeight
  4533. - IntVector2 maxSize
  4534. - int maxWidth
  4535. - int maxHeight
  4536. - bool fixedSize (readonly)
  4537. - bool fixedWidth (readonly)
  4538. - bool fixedHeight (readonly)
  4539. - IntVector2& childOffset
  4540. - HorizontalAlignment horizontalAlignment
  4541. - VerticalAlignment verticalAlignment
  4542. - IntRect clipBorder
  4543. - Color& color
  4544. - int priority
  4545. - float opacity
  4546. - float derivedOpacity (readonly)
  4547. - bool bringToFront
  4548. - bool bringToBack
  4549. - bool clipChildren
  4550. - bool sortChildren
  4551. - bool useDerivedOpacity
  4552. - bool focus
  4553. - bool enabled
  4554. - bool editable
  4555. - bool selected
  4556. - bool visible
  4557. - bool hovering
  4558. - bool internal
  4559. - bool colorGradient (readonly)
  4560. - FocusMode focusMode
  4561. - unsigned dragDropMode
  4562. - String style
  4563. - XMLFile* defaultStyle
  4564. - LayoutMode layoutMode
  4565. - int layoutSpacing
  4566. - IntRect& layoutBorder
  4567. - unsigned numChildren (readonly)
  4568. - UIElement* parent
  4569. - UIElement* root (readonly)
  4570. - Color& derivedColor (readonly)
  4571. - IntRect combinedScreenRect (readonly)
  4572. - int layoutMinSize (readonly)
  4573. - int indent
  4574. - int indentSpacing
  4575. - int indentWidth (readonly)
  4576. - TraversalMode traversalMode
  4577. - bool elementEventSender
  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. }