LuaScriptAPI.dox 198 KB

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