2
0

LuaScriptAPI.dox 199 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146
  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(StringHash 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(StringHash 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. - VectorBuffer ReadBuffer()
  1244. - ResourceRef ReadResourceRef()
  1245. - ResourceRefList ReadResourceRefList()
  1246. - Variant ReadVariant()
  1247. - Variant ReadVariant(VariantType type)
  1248. - VariantVector ReadVariantVector()
  1249. - VariantMap ReadVariantMap()
  1250. - unsigned ReadVLE()
  1251. - unsigned ReadNetID()
  1252. - String ReadLine()
  1253. Properties:
  1254. - String name (readonly)
  1255. - unsigned checksum (readonly)
  1256. - unsigned position (readonly)
  1257. - unsigned size (readonly)
  1258. - bool eof (readonly)
  1259. ### Drawable : Component
  1260. Methods:
  1261. - void SetDrawDistance(float distance)
  1262. - void SetShadowDistance(float distance)
  1263. - void SetLodBias(float bias)
  1264. - void SetViewMask(unsigned mask)
  1265. - void SetLightMask(unsigned mask)
  1266. - void SetShadowMask(unsigned mask)
  1267. - void SetZoneMask(unsigned mask)
  1268. - void SetMaxLights(unsigned num)
  1269. - void SetCastShadows(bool enable)
  1270. - void SetOccluder(bool enable)
  1271. - void SetOccludee(bool enable)
  1272. - void MarkForUpdate()
  1273. - const BoundingBox& GetBoundingBox() const
  1274. - const BoundingBox& GetWorldBoundingBox()
  1275. - char GetDrawableFlags() const
  1276. - float GetDrawDistance() const
  1277. - float GetShadowDistance() const
  1278. - float GetLodBias() const
  1279. - unsigned GetViewMask() const
  1280. - unsigned GetLightMask() const
  1281. - unsigned GetShadowMask() const
  1282. - unsigned GetZoneMask() const
  1283. - unsigned GetMaxLights() const
  1284. - bool GetCastShadows() const
  1285. - bool IsOccluder() const
  1286. - bool IsOccludee() const
  1287. - bool IsInView() const
  1288. - bool IsInView(Camera* tolua_var_2) const
  1289. - Zone* GetZone() const
  1290. Properties:
  1291. - BoundingBox& worldBoundingBox (readonly)
  1292. - char drawableFlags (readonly)
  1293. - float drawDistance
  1294. - float shadowDistance
  1295. - float lodBias
  1296. - unsigned viewMask
  1297. - unsigned lightMask
  1298. - unsigned shadowMask
  1299. - unsigned zoneMask
  1300. - unsigned maxLights
  1301. - bool castShadows
  1302. - bool occluder
  1303. - bool occludee
  1304. - bool inView (readonly)
  1305. - Zone* zone (readonly)
  1306. ### Drawable2D : Drawable
  1307. Methods:
  1308. - void SetLayer(int layer)
  1309. - void SetOrderInLayer(int orderInLayer)
  1310. - void SetSprite(Sprite2D* sprite)
  1311. - void SetBlendMode(BlendMode mode)
  1312. - void SetMaterial(Material* material)
  1313. - int GetLayer() const
  1314. - int GetOrderInLayer() const
  1315. - Sprite2D* GetSprite() const
  1316. - Texture2D* GetTexture() const
  1317. - BlendMode GetBlendMode() const
  1318. - Material* GetMaterial() const
  1319. Properties:
  1320. - int layer
  1321. - int orderInLayer
  1322. - Sprite2D* sprite
  1323. - Texture2D* texture (readonly)
  1324. - BlendMode blendMode
  1325. - Material* material
  1326. ### DropDownList : Menu
  1327. Methods:
  1328. - DropDownList() (GC)
  1329. - DropDownList* new()
  1330. - void delete()
  1331. - void AddItem(UIElement* item)
  1332. - void InsertItem(unsigned index, UIElement* item)
  1333. - void RemoveItem(UIElement* item)
  1334. - void RemoveItem(unsigned index)
  1335. - void RemoveAllItems()
  1336. - void SetSelection(unsigned index)
  1337. - void SetPlaceholderText(const String text)
  1338. - void SetResizePopup(bool enable)
  1339. - unsigned GetNumItems() const
  1340. - UIElement* GetItem(unsigned index) const
  1341. - const PODVector<UIElement*>& GetItems() const
  1342. - unsigned GetSelection() const
  1343. - UIElement* GetSelectedItem() const
  1344. - ListView* GetListView() const
  1345. - UIElement* GetPlaceholder() const
  1346. - const String GetPlaceholderText() const
  1347. - bool GetResizePopup() const
  1348. Properties:
  1349. - unsigned numItems (readonly)
  1350. - unsigned selection
  1351. - UIElement* selectedItem (readonly)
  1352. - ListView* listView (readonly)
  1353. - UIElement* placeholder (readonly)
  1354. - String placeholderText
  1355. - bool resizePopup
  1356. ### Engine : Object
  1357. Methods:
  1358. - void RunFrame()
  1359. - Console* CreateConsole()
  1360. - DebugHud* CreateDebugHud()
  1361. - void SetMinFps(int fps)
  1362. - void SetMaxFps(int fps)
  1363. - void SetMaxInactiveFps(int fps)
  1364. - void SetTimeStepSmoothing(int frames)
  1365. - void SetPauseMinimized(bool enable)
  1366. - void SetAutoExit(bool enable)
  1367. - void Exit()
  1368. - void DumpProfiler()
  1369. - void DumpResources()
  1370. - void DumpMemory()
  1371. - int GetMinFps() const
  1372. - int GetMaxFps() const
  1373. - int GetMaxInactiveFps() const
  1374. - int GetTimeStepSmoothing() const
  1375. - bool GetPauseMinimized() const
  1376. - bool GetAutoExit() const
  1377. - bool IsInitialized() const
  1378. - bool IsExiting() const
  1379. - bool IsHeadless() const
  1380. Properties:
  1381. - int minFps
  1382. - int maxFps
  1383. - int maxInactiveFps
  1384. - int timeStepSmoothing
  1385. - bool pauseMinimized
  1386. - bool autoExit
  1387. - bool initialized (readonly)
  1388. - bool exiting (readonly)
  1389. - bool headless (readonly)
  1390. ### File : Object
  1391. Methods:
  1392. - File() (GC)
  1393. - File* new()
  1394. - File(const String fileName, FileMode mode = FILE_READ) (GC)
  1395. - File* new(const String fileName, FileMode mode = FILE_READ)
  1396. - File(PackageFile* package, const String fileName) (GC)
  1397. - File* new(PackageFile* package, const String fileName)
  1398. - void delete()
  1399. - bool Open(const String fileName, FileMode mode = FILE_READ)
  1400. - bool Open(PackageFile* package, const String fileName)
  1401. - void Close()
  1402. - void Flush()
  1403. - void SetName(const String name)
  1404. - FileMode GetMode() const
  1405. - bool IsOpen() const
  1406. - void* GetHandle() const
  1407. - bool IsPackaged() const
  1408. - VectorBuffer Read(unsigned size)
  1409. - unsigned Seek(unsigned position)
  1410. - const String GetName() const
  1411. - unsigned GetChecksum()
  1412. - unsigned GetPosition() const
  1413. - unsigned GetSize() const
  1414. - bool IsEof() const
  1415. - int ReadInt()
  1416. - short ReadShort()
  1417. - char ReadByte()
  1418. - unsigned ReadUInt()
  1419. - short ReadUShort()
  1420. - char ReadUByte()
  1421. - bool ReadBool()
  1422. - float ReadFloat()
  1423. - IntRect ReadIntRect()
  1424. - IntVector2 ReadIntVector2()
  1425. - Rect ReadRect()
  1426. - Vector2 ReadVector2()
  1427. - Vector3 ReadVector3()
  1428. - Vector3 ReadPackedVector3(float maxAbsCoord)
  1429. - Vector4 ReadVector4()
  1430. - Quaternion ReadQuaternion()
  1431. - Quaternion ReadPackedQuaternion()
  1432. - Matrix3 ReadMatrix3()
  1433. - Matrix3x4 ReadMatrix3x4()
  1434. - Matrix4 ReadMatrix4()
  1435. - Color ReadColor()
  1436. - BoundingBox ReadBoundingBox()
  1437. - String ReadString()
  1438. - String ReadFileID()
  1439. - StringHash ReadStringHash()
  1440. - VectorBuffer ReadBuffer()
  1441. - ResourceRef ReadResourceRef()
  1442. - ResourceRefList ReadResourceRefList()
  1443. - Variant ReadVariant()
  1444. - Variant ReadVariant(VariantType type)
  1445. - VariantVector ReadVariantVector()
  1446. - VariantMap ReadVariantMap()
  1447. - unsigned ReadVLE()
  1448. - unsigned ReadNetID()
  1449. - String ReadLine()
  1450. - unsigned Write(const VectorBuffer& buffer)
  1451. - bool WriteInt(int value)
  1452. - bool WriteShort(short value)
  1453. - bool WriteByte(char value)
  1454. - bool WriteUInt(unsigned value)
  1455. - bool WriteUShort(short value)
  1456. - bool WriteUByte(char value)
  1457. - bool WriteBool(bool value)
  1458. - bool WriteFloat(float value)
  1459. - bool WriteIntRect(const IntRect& value)
  1460. - bool WriteIntVector2(const IntVector2& value)
  1461. - bool WriteRect(const Rect& value)
  1462. - bool WriteVector2(const Vector2& value)
  1463. - bool WriteVector3(const Vector3& value)
  1464. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  1465. - bool WriteVector4(const Vector4& value)
  1466. - bool WriteQuaternion(const Quaternion& value)
  1467. - bool WritePackedQuaternion(const Quaternion& value)
  1468. - bool WriteMatrix3(const Matrix3& value)
  1469. - bool WriteMatrix3x4(const Matrix3x4& value)
  1470. - bool WriteMatrix4(const Matrix4& value)
  1471. - bool WriteColor(const Color& value)
  1472. - bool WriteBoundingBox(const BoundingBox& value)
  1473. - bool WriteString(const String value)
  1474. - bool WriteFileID(const String value)
  1475. - bool WriteStringHash(const StringHash& value)
  1476. - bool WriteBuffer(const VectorBuffer& buffer)
  1477. - bool WriteResourceRef(const ResourceRef& value)
  1478. - bool WriteResourceRefList(const ResourceRefList& value)
  1479. - bool WriteVariant(const Variant& value)
  1480. - bool WriteVariantData(const Variant& value)
  1481. - bool WriteVariantVector(const VariantVector& value)
  1482. - bool WriteVariantMap(const VariantMap& value)
  1483. - bool WriteVLE(unsigned value)
  1484. - bool WriteNetID(unsigned value)
  1485. - bool WriteLine(const String value)
  1486. Properties:
  1487. - FileMode mode (readonly)
  1488. - bool open (readonly)
  1489. - bool packaged (readonly)
  1490. - String name (readonly)
  1491. - unsigned checksum (readonly)
  1492. - unsigned position (readonly)
  1493. - unsigned size (readonly)
  1494. - bool eof (readonly)
  1495. ### FileSelector : Object
  1496. Methods:
  1497. - FileSelector() (GC)
  1498. - FileSelector* new()
  1499. - void delete()
  1500. - void SetDefaultStyle(XMLFile* style)
  1501. - void SetTitle(const String text)
  1502. - void SetButtonTexts(const String okText, const String cancelText)
  1503. - void SetPath(const String path)
  1504. - void SetFileName(const String fileName)
  1505. - void SetFilters(const Vector<String>& filters, unsigned defaultIndex)
  1506. - void SetDirectoryMode(bool enable)
  1507. - void UpdateElements()
  1508. - XMLFile* GetDefaultStyle() const
  1509. - Window* GetWindow() const
  1510. - Text* GetTitleText() const
  1511. - ListView* GetFileList() const
  1512. - LineEdit* GetPathEdit() const
  1513. - LineEdit* GetFileNameEdit() const
  1514. - DropDownList* GetFilterList() const
  1515. - Button* GetOKButton() const
  1516. - Button* GetCancelButton() const
  1517. - Button* GetCloseButton() const
  1518. - const String GetTitle() const
  1519. - const String GetPath() const
  1520. - const String GetFileName() const
  1521. - const String GetFilter() const
  1522. - unsigned GetFilterIndex() const
  1523. - bool GetDirectoryMode() const
  1524. Properties:
  1525. - XMLFile* defaultStyle
  1526. - Window* window (readonly)
  1527. - Text* titleText (readonly)
  1528. - ListView* fileList (readonly)
  1529. - LineEdit* pathEdit (readonly)
  1530. - LineEdit* fileNameEdit (readonly)
  1531. - DropDownList* filterList (readonly)
  1532. - Button* OKButton (readonly)
  1533. - Button* cancelButton (readonly)
  1534. - Button* closeButton (readonly)
  1535. - String title
  1536. - String path
  1537. - String fileName
  1538. - String filter (readonly)
  1539. - unsigned filterIndex (readonly)
  1540. - bool directoryMode
  1541. ### FileSelectorEntry
  1542. Properties:
  1543. - String name
  1544. - bool directory
  1545. ### FileSystem : Object
  1546. Methods:
  1547. - bool SetCurrentDir(const String pathName)
  1548. - bool CreateDir(const String pathName)
  1549. - void SetExecuteConsoleCommands(bool enable)
  1550. - int SystemCommand(const String commandLine, bool redirectStdOutToLog = false)
  1551. - int SystemRun(const String fileName, const Vector<String>& arguments)
  1552. - unsigned SystemCommandAsync(const String commandLine)
  1553. - unsigned SystemRunAsync(const String fileName, const Vector<String>& arguments)
  1554. - bool SystemOpen(const String fileName, const String mode = String::EMPTY)
  1555. - bool Copy(const String srcFileName, const String destFileName)
  1556. - bool Rename(const String srcFileName, const String destFileName)
  1557. - bool Delete(const String fileName)
  1558. - void RegisterPath(const String pathName)
  1559. - String GetCurrentDir() const
  1560. - bool GetExecuteConsoleCommands() const
  1561. - bool HasRegisteredPaths() const
  1562. - bool CheckAccess(const String pathName) const
  1563. - unsigned GetLastModifiedTime(const String fileName) const
  1564. - bool FileExists(const String fileName) const
  1565. - bool DirExists(const String pathName) const
  1566. - const Vector<String>& ScanDir(const String pathName, const String filter, unsigned flags, bool recursive) const
  1567. - String GetProgramDir() const
  1568. - String GetUserDocumentsDir() const
  1569. - String GetAppPreferencesDir(const String org, const String app) const
  1570. ### FileWatcher : Object
  1571. Methods:
  1572. - bool StartWatching(const String pathName, bool watchSubDirs)
  1573. - void StopWatching()
  1574. - void AddChange(const String fileName)
  1575. - const String GetPath() const
  1576. ### FocusParameters
  1577. Methods:
  1578. - FocusParameters() (GC)
  1579. - FocusParameters* new()
  1580. - FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView) (GC)
  1581. - FocusParameters* new(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
  1582. - void delete()
  1583. ### Font : Resource
  1584. ### Frustum
  1585. Methods:
  1586. - Frustum() (GC)
  1587. - Frustum* new()
  1588. - Frustum(const Frustum& frustum) (GC)
  1589. - Frustum* new(const Frustum& frustum)
  1590. - void delete()
  1591. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ)
  1592. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform)
  1593. - void Define(const Vector3& near, const Vector3& far)
  1594. - void Define(const Vector3& near, const Vector3& far, const Matrix3x4& transform)
  1595. - void Define(const BoundingBox& box)
  1596. - void Define(const BoundingBox& box, const Matrix3x4& transform)
  1597. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ)
  1598. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform)
  1599. - void Transform(const Matrix3& transform)
  1600. - void Transform(const Matrix3x4& transform)
  1601. - Intersection IsInside(const Vector3& point) const
  1602. - Intersection IsInside(const Sphere& sphere) const
  1603. - Intersection IsInsideFast(const Sphere& sphere) const
  1604. - Intersection IsInside(const BoundingBox& box) const
  1605. - Intersection IsInsideFast(const BoundingBox& box) const
  1606. - float Distance(const Vector3& point) const
  1607. - Frustum Transformed(const Matrix3& transform) const
  1608. - Frustum Transformed(const Matrix3x4& transform) const
  1609. - Rect Projected(const Matrix4& transform) const
  1610. - void UpdatePlanes()
  1611. ### Graphics : Object
  1612. Methods:
  1613. - void SetWindowTitle(const String windowTitle)
  1614. - void SetWindowIcon(Image* windowIcon)
  1615. - void SetWindowPosition(const IntVector2& position)
  1616. - void SetWindowPosition(int x, int y)
  1617. - bool SetMode(int width, int height, bool fullscreen, bool borderless, bool resizable, bool vsync, bool tripleBuffer, int multiSample)
  1618. - bool SetMode(int width, int height)
  1619. - void SetSRGB(bool enable)
  1620. - void SetFlushGPU(bool enable)
  1621. - void SetOrientations(const String orientations)
  1622. - bool ToggleFullscreen()
  1623. - void Maximize()
  1624. - void Minimize()
  1625. - void Close()
  1626. - bool TakeScreenShot(Image& destImage)
  1627. - void BeginDumpShaders(const String fileName)
  1628. - void EndDumpShaders()
  1629. - void PrecacheShaders(Deserializer& source)
  1630. - void PrecacheShaders(const String fileName)
  1631. - bool IsInitialized() const
  1632. - void* GetExternalWindow() const
  1633. - const String GetWindowTitle() const
  1634. - IntVector2 GetWindowPosition() const
  1635. - int GetWidth() const
  1636. - int GetHeight() const
  1637. - int GetMultiSample() const
  1638. - bool GetFullscreen() const
  1639. - bool GetResizable() const
  1640. - bool GetBorderless() const
  1641. - bool GetVSync() const
  1642. - bool GetTripleBuffer() const
  1643. - bool GetSRGB() const
  1644. - bool GetFlushGPU() const
  1645. - const String GetOrientations() const
  1646. - bool IsDeviceLost() const
  1647. - unsigned GetNumPrimitives() const
  1648. - unsigned GetNumBatches() const
  1649. - unsigned GetDummyColorFormat() const
  1650. - unsigned GetShadowMapFormat() const
  1651. - unsigned GetHiresShadowMapFormat() const
  1652. - bool GetSM3Support() const
  1653. - bool GetInstancingSupport() const
  1654. - bool GetLightPrepassSupport() const
  1655. - bool GetDeferredSupport() const
  1656. - bool GetHardwareShadowSupport() const
  1657. - bool GetStreamOffsetSupport() const
  1658. - bool GetSRGBSupport() const
  1659. - bool GetSRGBWriteSupport() const
  1660. - IntVector2 GetDesktopResolution() const
  1661. - unsigned GetRGBFormat()
  1662. Properties:
  1663. - bool initialized (readonly)
  1664. - String windowTitle
  1665. - IntVector2 windowPosition
  1666. - int width (readonly)
  1667. - int height (readonly)
  1668. - int multiSample (readonly)
  1669. - bool fullscreen (readonly)
  1670. - bool resizable (readonly)
  1671. - bool borderless (readonly)
  1672. - bool vSync (readonly)
  1673. - bool tripleBuffer (readonly)
  1674. - bool sRGB
  1675. - bool flushGPU
  1676. - String orientations
  1677. - bool deviceLost (readonly)
  1678. - unsigned numPrimitives (readonly)
  1679. - unsigned numBatches (readonly)
  1680. - unsigned dummyColorFormat (readonly)
  1681. - unsigned shadowMapFormat (readonly)
  1682. - unsigned hiresShadowMapFormat (readonly)
  1683. - bool sM3Support (readonly)
  1684. - bool instancingSupport (readonly)
  1685. - bool lightPrepassSupport (readonly)
  1686. - bool deferredSupport (readonly)
  1687. - bool hardwareShadowSupport (readonly)
  1688. - bool streamOffsetSupport (readonly)
  1689. - bool sRGBSupport (readonly)
  1690. - bool sRGBWriteSupport (readonly)
  1691. - IntVector2 desktopResolution (readonly)
  1692. ### HttpRequest : Deserializer
  1693. Methods:
  1694. - const String GetURL() const
  1695. - const String GetVerb() const
  1696. - String GetError() const
  1697. - HttpRequestState GetState() const
  1698. - unsigned GetAvailableSize() const
  1699. - bool IsOpen() const
  1700. Properties:
  1701. - String URL (readonly)
  1702. - String verb (readonly)
  1703. - String error (readonly)
  1704. - HttpRequestState state (readonly)
  1705. - unsigned availableSize (readonly)
  1706. - bool open (readonly)
  1707. ### Image : Resource
  1708. Methods:
  1709. - Image() (GC)
  1710. - Image* new()
  1711. - void delete()
  1712. - bool SetSize(int width, int height, unsigned components)
  1713. - bool SetSize(int width, int height, int depth, unsigned components)
  1714. - void SetPixel(int x, int y, const Color& color)
  1715. - void SetPixel(int x, int y, int z, const Color& color)
  1716. - void SetPixelInt(int x, int y, unsigned uintColor)
  1717. - void SetPixelInt(int x, int y, int z, unsigned uintColor)
  1718. - bool LoadColorLUT(Deserializer& source)
  1719. - bool LoadColorLUT(const String fileName)
  1720. - void FlipVertical()
  1721. - bool Resize(int width, int height)
  1722. - void Clear(const Color& color)
  1723. - void ClearInt(unsigned uintColor)
  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. - unsigned GetPixelInt(int x, int y) const
  1731. - unsigned GetPixelInt(int x, int y, int z) const
  1732. - Color GetPixelBilinear(float x, float y) const
  1733. - Color GetPixelTrilinear(float x, float y, float z) const
  1734. - int GetWidth() const
  1735. - int GetHeight() const
  1736. - int GetDepth() const
  1737. - unsigned GetComponents() const
  1738. - bool IsCompressed() const
  1739. - CompressedFormat GetCompressedFormat() const
  1740. - unsigned GetNumCompressedLevels() const
  1741. - CompressedLevel GetCompressedLevel(unsigned index) const
  1742. - Image* GetSubimage(const IntRect& rect) const
  1743. Properties:
  1744. - int width (readonly)
  1745. - int height (readonly)
  1746. - int depth (readonly)
  1747. - unsigned components (readonly)
  1748. - bool compressed (readonly)
  1749. - CompressedFormat compressedFormat (readonly)
  1750. - unsigned numCompressedLevels (readonly)
  1751. ### Input : Object
  1752. Methods:
  1753. - void SetToggleFullscreen(bool enable)
  1754. - void SetMouseVisible(bool enable)
  1755. - void SetMouseGrabbed(bool grab)
  1756. - int AddScreenJoystick(XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
  1757. - bool RemoveScreenJoystick(int id)
  1758. - void SetScreenJoystickVisible(int id, bool enable)
  1759. - void SetScreenKeyboardVisible(bool enable)
  1760. - void SetTouchEmulation(bool enable)
  1761. - bool RecordGesture()
  1762. - bool SaveGestures(File* dest)
  1763. - bool SaveGesture(File* dest, unsigned gestureID)
  1764. - unsigned LoadGestures(File* source)
  1765. - bool SaveGestures(const String fileName)
  1766. - bool SaveGesture(const String fileName, unsigned gestureID)
  1767. - unsigned LoadGestures(const String fileName)
  1768. - bool RemoveGesture(unsigned gestureID)
  1769. - void RemoveAllGestures()
  1770. - int GetKeyFromName(const String name) const
  1771. - int GetKeyFromScancode(int scancode) const
  1772. - String GetKeyName(int key) const
  1773. - int GetScancodeFromKey(int key) const
  1774. - int GetScancodeFromName(const String name) const
  1775. - String GetScancodeName(int scancode) const
  1776. - bool GetKeyDown(int key) const
  1777. - bool GetKeyPress(int key) const
  1778. - bool GetScancodeDown(int scancode) const
  1779. - bool GetScancodePress(int scancode) const
  1780. - bool GetMouseButtonDown(int button) const
  1781. - bool GetMouseButtonPress(int button) const
  1782. - bool GetQualifierDown(int qualifier) const
  1783. - bool GetQualifierPress(int qualifier) const
  1784. - int GetQualifiers() const
  1785. - IntVector2 GetMousePosition() const
  1786. - const IntVector2& GetMouseMove() const
  1787. - int GetMouseMoveX() const
  1788. - int GetMouseMoveY() const
  1789. - int GetMouseMoveWheel() const
  1790. - unsigned GetNumTouches() const
  1791. - TouchState* GetTouch(unsigned index) const
  1792. - unsigned GetNumJoysticks() const
  1793. - JoystickState* GetJoystick(int id)
  1794. - JoystickState* GetJoystickByIndex(unsigned index)
  1795. - bool GetToggleFullscreen() const
  1796. - bool GetScreenKeyboardSupport() const
  1797. - bool IsScreenJoystickVisible(int id) const
  1798. - bool IsScreenKeyboardVisible() const
  1799. - bool GetTouchEmulation() const
  1800. - bool IsMouseVisible() const
  1801. - bool IsMouseGrabbed() const
  1802. - bool HasFocus()
  1803. - bool IsMinimized() const
  1804. Properties:
  1805. - int qualifiers (readonly)
  1806. - IntVector2 mousePosition (readonly)
  1807. - IntVector2& mouseMove (readonly)
  1808. - int mouseMoveX (readonly)
  1809. - int mouseMoveY (readonly)
  1810. - int mouseMoveWheel (readonly)
  1811. - unsigned numTouches (readonly)
  1812. - unsigned numJoysticks (readonly)
  1813. - bool toggleFullscreen (readonly)
  1814. - bool screenKeyboardSupport (readonly)
  1815. - bool screenKeyboardVisible
  1816. - bool touchEmulation
  1817. - bool mouseVisible
  1818. - bool mouseGrabbed
  1819. - bool focus (readonly)
  1820. - bool minimized (readonly)
  1821. ### IntRect
  1822. Methods:
  1823. - IntRect() (GC)
  1824. - IntRect* new()
  1825. - IntRect(int left, int top, int right, int bottom) (GC)
  1826. - IntRect* new(int left, int top, int right, int bottom)
  1827. - void delete()
  1828. - bool operator==(const IntRect& rhs) const
  1829. - IntVector2 Size() const
  1830. - int Width() const
  1831. - int Height() const
  1832. - Intersection IsInside(const IntVector2& point) const
  1833. Properties:
  1834. - int left
  1835. - int top
  1836. - int right
  1837. - int bottom
  1838. - const IntRect ZERO
  1839. - IntVector2 size (readonly)
  1840. - int width (readonly)
  1841. - int height (readonly)
  1842. ### IntVector2
  1843. Methods:
  1844. - IntVector2() (GC)
  1845. - IntVector2* new()
  1846. - IntVector2(int x, int y) (GC)
  1847. - IntVector2* new(int x, int y)
  1848. - IntVector2(const IntVector2& rhs) (GC)
  1849. - IntVector2* new(const IntVector2& rhs)
  1850. - void delete()
  1851. - bool operator==(const IntVector2& rhs) const
  1852. - IntVector2 operator+(const IntVector2& rhs) const
  1853. - IntVector2 operator-() const
  1854. - IntVector2 operator-(const IntVector2& rhs) const
  1855. - IntVector2 operator*(int rhs) const
  1856. - IntVector2 operator/(int rhs) const
  1857. - IntVector2 operator/(int rhs) const
  1858. - String ToString() const
  1859. Properties:
  1860. - int x
  1861. - int y
  1862. - const IntVector2 ZERO
  1863. ### JSONFile : Resource
  1864. Methods:
  1865. - JSONFile() (GC)
  1866. - JSONFile* new()
  1867. - void delete()
  1868. - JSONValue CreateRoot(JSONValueType valueType = JSON_OBJECT)
  1869. - JSONValue GetRoot(JSONValueType valueType = JSON_ANY)
  1870. ### JSONValue
  1871. Methods:
  1872. - bool IsNull() const
  1873. - bool NotNull() const
  1874. - bool operatorbool() const
  1875. - JSONValue CreateChild(const String name, JSONValueType valueType = JSON_OBJECT)
  1876. - JSONValue GetChild(const String name, JSONValueType valueType = JSON_ANY) const
  1877. - void SetInt(const String name, int value)
  1878. - void SetBool(const String name, bool value)
  1879. - void SetFloat(const String name, float value)
  1880. - void SetVector2(const String name, const Vector2& value)
  1881. - void SetVector3(const String name, const Vector3& value)
  1882. - void SetVector4(const String name, const Vector4& value)
  1883. - void SetVectorVariant(const String name, const Variant& value)
  1884. - void SetQuaternion(const String name, const Quaternion& value)
  1885. - void SetColor(const String name, const Color& value)
  1886. - void SetString(const String name, const String value)
  1887. - void SetResourceRef(const String name, const ResourceRef& value)
  1888. - void SetResourceRefList(const String name, const ResourceRefList& value)
  1889. - void SetIntRect(const String name, const IntRect& value)
  1890. - void SetIntVector2(const String name, const IntVector2& value)
  1891. - void SetMatrix3(const String name, const Matrix3& value)
  1892. - void SetMatrix3x4(const String name, const Matrix3x4& value)
  1893. - void SetMatrix4(const String name, const Matrix4& value)
  1894. - void SetVariant(const String name, const Variant& value)
  1895. - void SetVariantValue(const String name, const Variant& value)
  1896. - bool IsObject() const
  1897. - Vector<String> GetChildNames() const
  1898. - int GetInt(const String name) const
  1899. - bool GetBool(const String name) const
  1900. - float GetFloat(const String name) const
  1901. - Vector2 GetVector2(const String name) const
  1902. - Vector3 GetVector3(const String name) const
  1903. - Vector4 GetVector4(const String name) const
  1904. - Variant GetVectorVariant(const String name) const
  1905. - Quaternion GetQuaternion(const String name) const
  1906. - Color GetColor(const String name) const
  1907. - String GetString(const String name) const
  1908. - const char* GetCString(const String name) const
  1909. - ResourceRef GetResourceRef(const String name) const
  1910. - ResourceRefList GetResourceRefList(const String name) const
  1911. - IntRect GetIntRect(const String name) const
  1912. - IntVector2 GetIntVector2(const String name) const
  1913. - Matrix3 GetMatrix3(const String name) const
  1914. - Matrix3x4 GetMatrix3x4(const String name) const
  1915. - Matrix4 GetMatrix4(const String name) const
  1916. - Variant GetVariant(const String name) const
  1917. - Variant GetVariantValue(const String name, VariantType type) const
  1918. - JSONValue CreateChild(JSONValueType valueType = JSON_OBJECT)
  1919. - JSONValue GetChild(unsigned index, JSONValueType valueType = JSON_ANY) const
  1920. - void AddInt(int value)
  1921. - void AddBool(bool value)
  1922. - void AddFloat(float value)
  1923. - void AddVector2(const Vector2& value)
  1924. - void AddVector3(const Vector3& value)
  1925. - void AddVector4(const Vector4& value)
  1926. - void AddVectorVariant(const Variant& value)
  1927. - void AddQuaternion(const Quaternion& value)
  1928. - void AddColor(const Color& value)
  1929. - void AddString(const String value)
  1930. - void AddResourceRef(const ResourceRef& value)
  1931. - void AddResourceRefList(const ResourceRefList& value)
  1932. - void AddIntRect(const IntRect& value)
  1933. - void AddIntVector2(const IntVector2& value)
  1934. - void AddMatrix3(const Matrix3& value)
  1935. - void AddMatrix3x4(const Matrix3x4& value)
  1936. - void AddMatrix4(const Matrix4& value)
  1937. - void AddVariant(const Variant& value)
  1938. - void AddVariantValue(const Variant& value)
  1939. - bool IsArray() const
  1940. - unsigned GetSize() const
  1941. - int GetInt(unsigned index) const
  1942. - bool GetBool(unsigned index) const
  1943. - float GetFloat(unsigned index) const
  1944. - Vector2 GetVector2(unsigned index) const
  1945. - Vector3 GetVector3(unsigned index) const
  1946. - Vector4 GetVector4(unsigned index) const
  1947. - Variant GetVectorVariant(unsigned index) const
  1948. - Quaternion GetQuaternion(unsigned index) const
  1949. - Color GetColor(unsigned index) const
  1950. - String GetString(unsigned index) const
  1951. - const char* GetCString(unsigned index) const
  1952. - ResourceRef GetResourceRef(unsigned index) const
  1953. - ResourceRefList GetResourceRefList(unsigned index) const
  1954. - IntRect GetIntRect(unsigned index) const
  1955. - IntVector2 GetIntVector2(unsigned index) const
  1956. - Matrix3 GetMatrix3(unsigned index) const
  1957. - Matrix3x4 GetMatrix3x4(unsigned index) const
  1958. - Matrix4 GetMatrix4(unsigned index) const
  1959. - Variant GetVariant(unsigned index) const
  1960. - Variant GetVariantValue(unsigned index, VariantType type) const
  1961. Properties:
  1962. - const JSONValue EMPTY
  1963. - bool null (readonly)
  1964. - bool object (readonly)
  1965. - bool array (readonly)
  1966. ### JoystickState
  1967. Methods:
  1968. - bool IsController() const
  1969. - unsigned GetNumButtons() const
  1970. - unsigned GetNumAxes() const
  1971. - unsigned GetNumHats() const
  1972. - bool GetButtonDown(unsigned index) const
  1973. - bool GetButtonPress(unsigned index) const
  1974. - float GetAxisPosition(unsigned index) const
  1975. - int GetHatPosition(unsigned index) const
  1976. Properties:
  1977. - const String name
  1978. - const int joystickID
  1979. - bool controller (readonly)
  1980. - unsigned numButtons (readonly)
  1981. - unsigned numAxes (readonly)
  1982. - unsigned numHats (readonly)
  1983. ### Light : Drawable
  1984. Methods:
  1985. - void SetLightType(LightType type)
  1986. - void SetPerVertex(bool enable)
  1987. - void SetColor(const Color& color)
  1988. - void SetSpecularIntensity(float intensity)
  1989. - void SetBrightness(float brightness)
  1990. - void SetRange(float range)
  1991. - void SetFov(float fov)
  1992. - void SetAspectRatio(float aspectRatio)
  1993. - void SetFadeDistance(float distance)
  1994. - void SetShadowFadeDistance(float distance)
  1995. - void SetShadowBias(const BiasParameters& parameters)
  1996. - void SetShadowCascade(const CascadeParameters& parameters)
  1997. - void SetShadowFocus(const FocusParameters& parameters)
  1998. - void SetShadowIntensity(float intensity)
  1999. - void SetShadowResolution(float resolution)
  2000. - void SetShadowNearFarRatio(float nearFarRatio)
  2001. - void SetRampTexture(Texture* texture)
  2002. - void SetShapeTexture(Texture* texture)
  2003. - LightType GetLightType() const
  2004. - bool GetPerVertex() const
  2005. - const Color& GetColor() const
  2006. - float GetSpecularIntensity() const
  2007. - float GetBrightness() const
  2008. - Color GetEffectiveColor() const
  2009. - float GetEffectiveSpecularIntensity() const
  2010. - float GetRange() const
  2011. - float GetFov() const
  2012. - float GetAspectRatio() const
  2013. - float GetFadeDistance() const
  2014. - float GetShadowFadeDistance() const
  2015. - const BiasParameters& GetShadowBias() const
  2016. - const CascadeParameters& GetShadowCascade() const
  2017. - const FocusParameters& GetShadowFocus() const
  2018. - float GetShadowIntensity() const
  2019. - float GetShadowResolution() const
  2020. - float GetShadowNearFarRatio() const
  2021. - Texture* GetRampTexture() const
  2022. - Texture* GetShapeTexture() const
  2023. - Frustum GetFrustum() const
  2024. - int GetNumShadowSplits() const
  2025. - bool IsNegative() const
  2026. Properties:
  2027. - LightType lightType
  2028. - bool perVertex
  2029. - Color& color
  2030. - float specularIntensity
  2031. - float brightness
  2032. - float range
  2033. - float fov
  2034. - float aspectRatio
  2035. - float fadeDistance
  2036. - float shadowFadeDistance
  2037. - BiasParameters& shadowBias
  2038. - CascadeParameters& shadowCascade
  2039. - FocusParameters& shadowFocus
  2040. - float shadowIntensity
  2041. - float shadowResolution
  2042. - float shadowNearFarRatio
  2043. - Texture* rampTexture
  2044. - Texture* shapeTexture
  2045. - Frustum frustum (readonly)
  2046. - int numShadowSplits (readonly)
  2047. - bool negative (readonly)
  2048. - Color effectiveColor (readonly)
  2049. - float effectiveSpecularIntensity (readonly)
  2050. ### LineEdit : BorderImage
  2051. Methods:
  2052. - LineEdit() (GC)
  2053. - LineEdit* new()
  2054. - void delete()
  2055. - void SetText(const String text)
  2056. - void SetCursorPosition(unsigned position)
  2057. - void SetCursorBlinkRate(float rate)
  2058. - void SetMaxLength(unsigned length)
  2059. - void SetEchoCharacter(unsigned c)
  2060. - void SetCursorMovable(bool enable)
  2061. - void SetTextSelectable(bool enable)
  2062. - void SetTextCopyable(bool enable)
  2063. - const String GetText() const
  2064. - unsigned GetCursorPosition() const
  2065. - float GetCursorBlinkRate() const
  2066. - unsigned GetMaxLength() const
  2067. - unsigned GetEchoCharacter() const
  2068. - bool IsCursorMovable() const
  2069. - bool IsTextSelectable() const
  2070. - bool IsTextCopyable() const
  2071. - Text* GetTextElement() const
  2072. - BorderImage* GetCursor() const
  2073. Properties:
  2074. - String text
  2075. - unsigned cursorPosition
  2076. - float cursorBlinkRate
  2077. - unsigned maxLength
  2078. - unsigned echoCharacter
  2079. - bool cursorMovable
  2080. - bool textSelectable
  2081. - bool textCopyable
  2082. - Text* textElement (readonly)
  2083. - BorderImage* cursor (readonly)
  2084. ### ListView : ScrollView
  2085. Methods:
  2086. - ListView() (GC)
  2087. - ListView* new()
  2088. - void delete()
  2089. - void AddItem(UIElement* item)
  2090. - void InsertItem(unsigned index, UIElement* item, UIElement* parentItem = 0)
  2091. - void RemoveItem(UIElement* item, unsigned index = 0)
  2092. - void RemoveItem(unsigned index)
  2093. - void RemoveAllItems()
  2094. - void SetSelection(unsigned index)
  2095. - void SetSelections(const PODVector<unsigned>& indices)
  2096. - void AddSelection(unsigned index)
  2097. - void RemoveSelection(unsigned index)
  2098. - void ToggleSelection(unsigned index)
  2099. - void ChangeSelection(int delta, bool additive = false)
  2100. - void ClearSelection()
  2101. - void SetHighlightMode(HighlightMode mode)
  2102. - void SetMultiselect(bool enable)
  2103. - void SetHierarchyMode(bool enable)
  2104. - void SetBaseIndent(int baseIndent)
  2105. - void SetClearSelectionOnDefocus(bool enable)
  2106. - void SetSelectOnClickEnd(bool enable)
  2107. - void Expand(unsigned index, bool enable, bool recursive = false)
  2108. - void ToggleExpand(unsigned index, bool recursive = false)
  2109. - unsigned GetNumItems() const
  2110. - UIElement* GetItem(unsigned index) const
  2111. - const PODVector<UIElement*>& GetItems() const
  2112. - unsigned FindItem(UIElement* item) const
  2113. - unsigned GetSelection() const
  2114. - const PODVector<unsigned>& GetSelections() const
  2115. - void CopySelectedItemsToClipboard() const
  2116. - UIElement* GetSelectedItem() const
  2117. - const PODVector<UIElement*>& GetSelectedItems() const
  2118. - bool IsSelected(unsigned index) const
  2119. - bool IsExpanded(unsigned index) const
  2120. - HighlightMode GetHighlightMode() const
  2121. - bool GetMultiselect() const
  2122. - bool GetClearSelectionOnDefocus() const
  2123. - bool GetSelectOnClickEnd() const
  2124. - bool GetHierarchyMode() const
  2125. - int GetBaseIndent() const
  2126. Properties:
  2127. - unsigned numItems (readonly)
  2128. - unsigned selection
  2129. - UIElement* selectedItem (readonly)
  2130. - HighlightMode highlightMode
  2131. - bool multiselect
  2132. - bool clearSelectionOnDefocus
  2133. - bool selectOnClickEnd
  2134. - bool hierarchyMode
  2135. - int baseIndent
  2136. ### Log : Object
  2137. Methods:
  2138. - void Open(const String fileName)
  2139. - void Close()
  2140. - void SetLevel(int level)
  2141. - void SetTimeStamp(bool enable)
  2142. - void SetQuiet(bool quiet)
  2143. - int GetLevel() const
  2144. - bool GetTimeStamp() const
  2145. - String GetLastMessage() const
  2146. - bool IsQuiet() const
  2147. - void Write(int level, const String message)
  2148. - void WriteRaw(const String message, bool error = false)
  2149. Properties:
  2150. - int level
  2151. - bool timeStamp
  2152. - bool quiet
  2153. ### LuaScriptInstance : Component
  2154. Methods:
  2155. - bool CreateObject(const String scriptObjectType)
  2156. - bool CreateObject(LuaFile* scriptFile, const String scriptObjectType)
  2157. - void SetScriptFile(LuaFile* scriptFile)
  2158. - void SetScriptObjectType(const String scriptObjectType)
  2159. - void SubscribeToEvent(const String eventName, const String functionName)
  2160. - void UnsubscribeFromEvent(const String eventName)
  2161. - void UnsubscribeFromAllEvents()
  2162. - void SubscribeToEvent(void* sender, const String eventName, const String functionName)
  2163. - void UnsubscribeFromEvent(void* sender, const String eventName)
  2164. - void UnsubscribeFromEvents(void* sender)
  2165. - LuaFile* GetScriptFile() const
  2166. - const String GetScriptObjectType() const
  2167. Properties:
  2168. - const LuaFile* scriptFile
  2169. - const String scriptObjectType
  2170. ### Material : Resource
  2171. Methods:
  2172. - Material() (GC)
  2173. - Material* new()
  2174. - void delete()
  2175. - void SetNumTechniques(unsigned num)
  2176. - void SetTechnique(unsigned index, Technique* tech, unsigned qualityLevel = 0, float lodDistance = 0.0f)
  2177. - void SetShaderParameter(const String name, const Variant& value)
  2178. - void SetShaderParameterAnimation(const String name, ValueAnimation* animation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
  2179. - void SetShaderParameterAnimationWrapMode(const String name, WrapMode wrapMode)
  2180. - void SetShaderParameterAnimationSpeed(const String name, float speed)
  2181. - void SetTexture(TextureUnit unit, Texture* texture)
  2182. - void SetUVTransform(const Vector2& offset, float rotation, const Vector2& repeat)
  2183. - void SetUVTransform(const Vector2& offset, float rotation, float repeat)
  2184. - void SetCullMode(CullMode mode)
  2185. - void SetShadowCullMode(CullMode mode)
  2186. - void SetDepthBias(const BiasParameters& parameters)
  2187. - void RemoveShaderParameter(const String name)
  2188. - void ReleaseShaders()
  2189. - Material* Clone(const String cloneName = String::EMPTY) const
  2190. - void SortTechniques()
  2191. - void MarkForAuxView(unsigned frameNumber)
  2192. - unsigned GetNumTechniques() const
  2193. - Technique* GetTechnique(unsigned index) const
  2194. - Pass* GetPass(unsigned index, StringHash passType) const
  2195. - Pass* GetPass(unsigned index, const String passType) const
  2196. - Texture* GetTexture(TextureUnit unit) const
  2197. - ValueAnimation* GetShaderParameterAnimation(const String name) const
  2198. - WrapMode GetShaderParameterAnimationWrapMode(const String name) const
  2199. - float GetShaderParameterAnimationSpeed(const String name) const
  2200. - CullMode GetCullMode() const
  2201. - CullMode GetShadowCullMode() const
  2202. - const BiasParameters& GetDepthBias() const
  2203. - unsigned GetAuxViewFrameNumber() const
  2204. - bool GetOcclusion() const
  2205. - bool GetSpecular() const
  2206. Properties:
  2207. - CullMode cullMode (readonly)
  2208. - CullMode shadowCullMode (readonly)
  2209. - unsigned auxViewFrameNumber (readonly)
  2210. - bool occlusion (readonly)
  2211. - bool specular (readonly)
  2212. ### Matrix3
  2213. Methods:
  2214. - Matrix3() (GC)
  2215. - Matrix3* new()
  2216. - Matrix3(const Matrix3& matrix) (GC)
  2217. - Matrix3* new(const Matrix3& matrix)
  2218. - Matrix3(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22) (GC)
  2219. - Matrix3* new(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22)
  2220. - void delete()
  2221. - bool operator==(const Matrix3& rhs) const
  2222. - Vector3 operator*(const Vector3& rhs) const
  2223. - Matrix3 operator+(const Matrix3& rhs) const
  2224. - Matrix3 operator-(const Matrix3& rhs) const
  2225. - Matrix3 operator*(float rhs) const
  2226. - Matrix3 operator*(const Matrix3& rhs) const
  2227. - void SetScale(const Vector3& scale)
  2228. - void SetScale(float scale)
  2229. - Vector3 Scale() const
  2230. - Matrix3 Transpose() const
  2231. - Matrix3 Scaled(const Vector3& scale) const
  2232. - bool Equals(const Matrix3& rhs) const
  2233. - Matrix3 Inverse() const
  2234. - String ToString() const
  2235. Properties:
  2236. - float m00
  2237. - float m01
  2238. - float m02
  2239. - float m10
  2240. - float m11
  2241. - float m12
  2242. - float m20
  2243. - float m21
  2244. - float m22
  2245. - const Matrix3 ZERO
  2246. - const Matrix3 IDENTITY
  2247. ### Matrix3x4
  2248. Methods:
  2249. - Matrix3x4() (GC)
  2250. - Matrix3x4* new()
  2251. - Matrix3x4(const Matrix3x4& matrix) (GC)
  2252. - Matrix3x4* new(const Matrix3x4& matrix)
  2253. - Matrix3x4(const Matrix3& matrix) (GC)
  2254. - Matrix3x4* new(const Matrix3& matrix)
  2255. - Matrix3x4(const Matrix4& matrix) (GC)
  2256. - Matrix3x4* new(const Matrix4& matrix)
  2257. - 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)
  2258. - 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)
  2259. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, float scale) (GC)
  2260. - Matrix3x4* new(const Vector3& translation, const Quaternion& rotation, float scale)
  2261. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, const Vector3& scale) (GC)
  2262. - Matrix3x4* new(const Vector3& translation, const Quaternion& rotation, const Vector3& scale)
  2263. - void delete()
  2264. - bool operator==(const Matrix3x4& rhs) const
  2265. - Vector3 operator*(const Vector3& rhs) const
  2266. - Vector3 operator*(const Vector4& rhs) const
  2267. - Matrix3x4 operator+(const Matrix3x4& rhs) const
  2268. - Matrix3x4 operator-(const Matrix3x4& rhs) const
  2269. - Matrix3x4 operator*(float rhs) const
  2270. - Matrix3x4 operator*(const Matrix3x4& rhs) const
  2271. - Matrix4 operator*(const Matrix4& rhs) const
  2272. - void SetTranslation(const Vector3& translation)
  2273. - void SetRotation(const Matrix3& rotation)
  2274. - void SetScale(const Vector3& scale)
  2275. - void SetScale(float scale)
  2276. - Matrix3 ToMatrix3() const
  2277. - Matrix4 ToMatrix4() const
  2278. - Matrix3 RotationMatrix() const
  2279. - Vector3 Translation() const
  2280. - Quaternion Rotation() const
  2281. - Vector3 Scale() const
  2282. - bool Equals(const Matrix3x4& rhs) const
  2283. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2284. - Matrix3x4 Inverse() const
  2285. - String ToString() const
  2286. Properties:
  2287. - float m00
  2288. - float m01
  2289. - float m02
  2290. - float m03
  2291. - float m10
  2292. - float m11
  2293. - float m12
  2294. - float m13
  2295. - float m20
  2296. - float m21
  2297. - float m22
  2298. - float m23
  2299. - const Matrix3x4 ZERO
  2300. - const Matrix3x4 IDENTITY
  2301. ### Matrix4
  2302. Methods:
  2303. - Matrix4() (GC)
  2304. - Matrix4* new()
  2305. - Matrix4(const Matrix4& matrix) (GC)
  2306. - Matrix4* new(const Matrix4& matrix)
  2307. - Matrix4(const Matrix3& matrix) (GC)
  2308. - Matrix4* new(const Matrix3& matrix)
  2309. - 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)
  2310. - 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)
  2311. - void delete()
  2312. - bool operator==(const Matrix4& rhs) const
  2313. - Vector3 operator*(const Vector3& rhs) const
  2314. - Vector4 operator*(const Vector4& rhs) const
  2315. - Matrix4 operator+(const Matrix4& rhs) const
  2316. - Matrix4 operator-(const Matrix4& rhs) const
  2317. - Matrix4 operator*(float rhs) const
  2318. - Matrix4 operator*(const Matrix4& rhs) const
  2319. - void SetTranslation(const Vector3& translation)
  2320. - void SetRotation(const Matrix3& rotation)
  2321. - void SetScale(const Vector3& scale)
  2322. - void SetScale(float scale)
  2323. - Matrix3 ToMatrix3() const
  2324. - Matrix3 RotationMatrix() const
  2325. - Vector3 Translation() const
  2326. - Quaternion Rotation() const
  2327. - Vector3 Scale() const
  2328. - Matrix4 Transpose() const
  2329. - bool Equals(const Matrix4& rhs) const
  2330. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2331. - Matrix4 Inverse() const
  2332. - String ToString() const
  2333. Properties:
  2334. - float m00
  2335. - float m01
  2336. - float m02
  2337. - float m03
  2338. - float m10
  2339. - float m11
  2340. - float m12
  2341. - float m13
  2342. - float m20
  2343. - float m21
  2344. - float m22
  2345. - float m23
  2346. - float m30
  2347. - float m31
  2348. - float m32
  2349. - float m33
  2350. - const Matrix4 ZERO
  2351. - const Matrix4 IDENTITY
  2352. ### Menu : Button
  2353. Methods:
  2354. - Menu() (GC)
  2355. - Menu* new()
  2356. - void delete()
  2357. - void SetPopup(UIElement* element)
  2358. - void SetPopupOffset(const IntVector2& offset)
  2359. - void SetPopupOffset(int x, int y)
  2360. - void ShowPopup(bool enable)
  2361. - void SetAccelerator(int key, int qualifiers)
  2362. - UIElement* GetPopup() const
  2363. - const IntVector2& GetPopupOffset() const
  2364. - bool GetShowPopup() const
  2365. - int GetAcceleratorKey() const
  2366. - int GetAcceleratorQualifiers() const
  2367. Properties:
  2368. - UIElement* popup
  2369. - IntVector2& popupOffset
  2370. - bool showPopup
  2371. - int acceleratorKey (readonly)
  2372. - int acceleratorQualifiers (readonly)
  2373. ### MessageBox : Object
  2374. Methods:
  2375. - MessageBox(const String messageString = String::EMPTY, const String titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0) (GC)
  2376. - MessageBox* new(const String messageString = String::EMPTY, const String titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
  2377. - void delete()
  2378. - void SetTitle(const String text)
  2379. - void SetMessage(const String text)
  2380. - const String GetTitle() const
  2381. - const String GetMessage() const
  2382. - UIElement* GetWindow() const
  2383. Properties:
  2384. - String title
  2385. - String message
  2386. - UIElement* window (readonly)
  2387. ### Model : Resource
  2388. Methods:
  2389. - Model* Clone(const String cloneName = String::EMPTY) const
  2390. - const BoundingBox& GetBoundingBox() const
  2391. - Skeleton& GetSkeleton()
  2392. - unsigned GetNumGeometries() const
  2393. - unsigned GetNumGeometryLodLevels(unsigned index) const
  2394. - Geometry* GetGeometry(unsigned index, unsigned lodLevel) const
  2395. - unsigned GetNumMorphs() const
  2396. - const ModelMorph* GetMorph(const String name) const
  2397. - const ModelMorph* GetMorph(StringHash nameHash) const
  2398. - const ModelMorph* GetMorph(unsigned index) const
  2399. - unsigned GetMorphRangeStart(unsigned bufferIndex) const
  2400. - unsigned GetMorphRangeCount(unsigned bufferIndex) const
  2401. Properties:
  2402. - BoundingBox& boundingBox (readonly)
  2403. - Skeleton skeleton (readonly)
  2404. - unsigned numGeometries (readonly)
  2405. - unsigned numMorphs (readonly)
  2406. ### Navigable : Component
  2407. Methods:
  2408. - void SetRecursive(bool enable)
  2409. - bool IsRecursive() const
  2410. Properties:
  2411. - bool recursive
  2412. ### NavigationGeometryInfo
  2413. Properties:
  2414. - Component* component
  2415. - unsigned lodLevel
  2416. - Matrix3x4 transform
  2417. - BoundingBox boundingBox
  2418. ### NavigationMesh : Component
  2419. Methods:
  2420. - void SetTileSize(int size)
  2421. - void SetCellSize(float size)
  2422. - void SetCellHeight(float height)
  2423. - void SetAgentHeight(float height)
  2424. - void SetAgentRadius(float radius)
  2425. - void SetAgentMaxClimb(float maxClimb)
  2426. - void SetAgentMaxSlope(float maxSlope)
  2427. - void SetRegionMinSize(float size)
  2428. - void SetRegionMergeSize(float size)
  2429. - void SetEdgeMaxLength(float length)
  2430. - void SetEdgeMaxError(float error)
  2431. - void SetDetailSampleDistance(float distance)
  2432. - void SetDetailSampleMaxError(float error)
  2433. - void SetPadding(const Vector3& padding)
  2434. - bool Build()
  2435. - bool Build(const BoundingBox& boundingBox)
  2436. - Vector3 FindNearestPoint(const Vector3& point)
  2437. - Vector3 FindNearestPoint(const Vector3& point, const Vector3& extents)
  2438. - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end)
  2439. - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end, const Vector3& extents, int maxVisited = 3)
  2440. - const PODVector<Vector3>& FindPath(const Vector3& start, const Vector3& end)
  2441. - const PODVector<Vector3>& FindPath(const Vector3& start, const Vector3& end, const Vector3& extents)
  2442. - Vector3 GetRandomPoint()
  2443. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius)
  2444. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius, const Vector3& extents)
  2445. - float GetDistanceToWall(const Vector3& point, float radius)
  2446. - float GetDistanceToWall(const Vector3& point, float radius, const Vector3& extents)
  2447. - Vector3 Raycast(const Vector3& start, const Vector3& end)
  2448. - Vector3 Raycast(const Vector3& start, const Vector3& end, const Vector3& extents)
  2449. - void DrawDebugGeometry(bool depthTest)
  2450. - int GetTileSize() const
  2451. - float GetCellSize() const
  2452. - float GetCellHeight() const
  2453. - float GetAgentHeight() const
  2454. - float GetAgentRadius() const
  2455. - float GetAgentMaxClimb() const
  2456. - float GetAgentMaxSlope() const
  2457. - float GetRegionMinSize() const
  2458. - float GetRegionMergeSize() const
  2459. - float GetEdgeMaxLength() const
  2460. - float GetEdgeMaxError() const
  2461. - float GetDetailSampleDistance() const
  2462. - float GetDetailSampleMaxError() const
  2463. - const Vector3& GetPadding() const
  2464. - bool IsInitialized() const
  2465. - const BoundingBox& GetBoundingBox() const
  2466. - BoundingBox GetWorldBoundingBox() const
  2467. - IntVector2 GetNumTiles() const
  2468. Properties:
  2469. - int tileSize
  2470. - float cellSize
  2471. - float cellHeight
  2472. - float agentHeight
  2473. - float agentRadius
  2474. - float agentMaxClimb
  2475. - float agentMaxSlope
  2476. - float regionMinSize
  2477. - float regionMergeSize
  2478. - float edgeMaxLength
  2479. - float edgeMaxError
  2480. - float detailSampleDistance
  2481. - float detailSampleMaxError
  2482. - Vector3& padding
  2483. - bool initialized (readonly)
  2484. - BoundingBox& boundingBox (readonly)
  2485. - BoundingBox worldBoundingBox (readonly)
  2486. - IntVector2 numTiles (readonly)
  2487. ### Network
  2488. Methods:
  2489. - bool Connect(const String address, short port, Scene* scene)
  2490. - bool Connect(const String address, short port, Scene* scene, const VariantMap& identity)
  2491. - void Disconnect(int waitMSec = 0)
  2492. - bool StartServer(short port)
  2493. - void StopServer()
  2494. - void BroadcastMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  2495. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder)
  2496. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData)
  2497. - void BroadcastRemoteEvent(const String eventType, bool inOrder)
  2498. - void BroadcastRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData)
  2499. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder)
  2500. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder, const VariantMap& eventData)
  2501. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder)
  2502. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder, const VariantMap& eventData)
  2503. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder)
  2504. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData)
  2505. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder)
  2506. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData)
  2507. - void SetUpdateFps(int fps)
  2508. - void RegisterRemoteEvent(StringHash eventType)
  2509. - void RegisterRemoteEvent(const String eventType)
  2510. - void UnregisterRemoteEvent(StringHash eventType)
  2511. - void UnregisterRemoteEvent(const String eventType)
  2512. - void UnregisterAllRemoteEvents()
  2513. - void SetPackageCacheDir(const String path)
  2514. - HttpRequest* MakeHttpRequest(const String url, const String verb = String::EMPTY)
  2515. - HttpRequest* MakeHttpRequest(const String url, const String verb, const Vector<String>& headers, const String postData = String::EMPTY)
  2516. - int GetUpdateFps() const
  2517. - Connection* GetServerConnection() const
  2518. - bool IsServerRunning() const
  2519. - bool CheckRemoteEvent(StringHash eventType) const
  2520. - const String GetPackageCacheDir() const
  2521. Properties:
  2522. - int updateFps
  2523. - Connection* serverConnection (readonly)
  2524. - bool serverRunning (readonly)
  2525. - String packageCacheDir
  2526. ### NetworkPriority : Component
  2527. Methods:
  2528. - void SetBasePriority(float priority)
  2529. - void SetDistanceFactor(float factor)
  2530. - void SetMinPriority(float priority)
  2531. - void SetAlwaysUpdateOwner(bool enable)
  2532. - float GetBasePriority() const
  2533. - float GetDistanceFactor() const
  2534. - float GetMinPriority() const
  2535. - bool GetAlwaysUpdateOwner() const
  2536. - bool CheckUpdate(float distance, float accumulator)
  2537. Properties:
  2538. - float basePriority
  2539. - float distanceFactor
  2540. - float minPriority
  2541. - bool alwaysUpdateOwner
  2542. ### Node : Animatable
  2543. Methods:
  2544. - Node() (GC)
  2545. - Node* new()
  2546. - void delete()
  2547. - bool SaveXML(File* dest) const
  2548. - void SetName(const String name)
  2549. - void SetPosition(const Vector3& position)
  2550. - void SetPosition2D(const Vector2& position)
  2551. - void SetPosition2D(float x, float y)
  2552. - void SetRotation(const Quaternion& rotation)
  2553. - void SetRotation2D(float rotation)
  2554. - void SetDirection(const Vector3& direction)
  2555. - void SetScale(float scale)
  2556. - void SetScale(const Vector3& scale)
  2557. - void SetScale2D(const Vector2& scale)
  2558. - void SetScale2D(float x, float y)
  2559. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  2560. - void SetTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  2561. - void SetTransform(const Vector3& position, const Quaternion& rotation, float scale)
  2562. - void SetTransform2D(const Vector2& position, float rotation)
  2563. - void SetTransform2D(const Vector2& position, float rotation, const Vector2& scale)
  2564. - void SetTransform2D(const Vector2& position, float rotation, float scale)
  2565. - void SetWorldPosition(const Vector3& position)
  2566. - void SetWorldPosition2D(const Vector2& position)
  2567. - void SetWorldPosition2D(float x, float y)
  2568. - void SetWorldRotation(const Quaternion& rotation)
  2569. - void SetWorldRotation2D(float rotation)
  2570. - void SetWorldDirection(const Vector3& direction)
  2571. - void SetWorldScale(float scale)
  2572. - void SetWorldScale(const Vector3& scale)
  2573. - void SetWorldScale2D(const Vector2& scale)
  2574. - void SetWorldScale2D(float x, float y)
  2575. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation)
  2576. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  2577. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, float scale)
  2578. - void SetWorldTransform2D(const Vector2& position, float rotation)
  2579. - void SetWorldTransform2D(const Vector2& position, float rotation, const Vector2& scale)
  2580. - void SetWorldTransform2D(const Vector2& position, float rotation, float scale)
  2581. - void Translate(const Vector3& delta, TransformSpace space = TS_LOCAL)
  2582. - void Translate2D(const Vector2& delta, TransformSpace space = TS_LOCAL)
  2583. - void Rotate(const Quaternion& delta, TransformSpace space = TS_LOCAL)
  2584. - void Rotate2D(float delta, TransformSpace space = TS_LOCAL)
  2585. - void RotateAround(const Vector3& point, const Quaternion& delta, TransformSpace space = TS_LOCAL)
  2586. - void RotateAround2D(const Vector2& point, float delta, TransformSpace space = TS_LOCAL)
  2587. - void Pitch(float angle, TransformSpace space = TS_LOCAL)
  2588. - void Yaw(float angle, TransformSpace space = TS_LOCAL)
  2589. - void Roll(float angle, TransformSpace space = TS_LOCAL)
  2590. - bool LookAt(const Vector3& target)
  2591. - bool LookAt(const Vector3& target, const Vector3& upAxis, TransformSpace space = TS_WORLD)
  2592. - void Scale(float scale)
  2593. - void Scale(const Vector3& scale)
  2594. - void Scale2D(const Vector2& scale)
  2595. - void SetEnabled(bool enable)
  2596. - void SetEnabled(bool enable, bool recursive)
  2597. - void SetOwner(Connection* owner)
  2598. - void MarkDirty()
  2599. - Node* CreateChild(const String name = String::EMPTY, CreateMode mode = REPLICATED, unsigned id = 0)
  2600. - void AddChild(Node* node, unsigned index = M_MAX_UNSIGNED)
  2601. - void RemoveChild(Node* node)
  2602. - void RemoveAllChildren()
  2603. - void RemoveChildren(bool removeReplicated, bool removeLocal, bool recursive)
  2604. - void RemoveComponent(Component* component)
  2605. - void RemoveComponent(StringHash type)
  2606. - void RemoveComponent(const String type)
  2607. - void RemoveAllComponents()
  2608. - void RemoveComponents(bool removeReplicated, bool removeLocal)
  2609. - Node* Clone(CreateMode mode = REPLICATED)
  2610. - void Remove()
  2611. - void SetParent(Node* parent)
  2612. - void SetVar(StringHash key, const Variant& value)
  2613. - void AddListener(Component* component)
  2614. - void RemoveListener(Component* component)
  2615. - Component* CreateComponent(const String type, CreateMode mode = REPLICATED, unsigned id = 0)
  2616. - Component* CloneComponent(Component* component, unsigned id = 0)
  2617. - Component* CloneComponent(Component* component, CreateMode mode, unsigned id = 0)
  2618. - int CreateScriptObject(const String scriptObjectType)
  2619. - int CreateScriptObject(const String fileName, const String scriptObjectType)
  2620. - int GetScriptObject() const
  2621. - int GetScriptObject(const String scriptObjectType) const
  2622. - unsigned GetID() const
  2623. - const String GetName() const
  2624. - StringHash GetNameHash() const
  2625. - Node* GetParent() const
  2626. - Scene* GetScene() const
  2627. - bool IsEnabled() const
  2628. - Connection* GetOwner() const
  2629. - const Vector3& GetPosition() const
  2630. - Vector2 GetPosition2D() const
  2631. - const Quaternion& GetRotation() const
  2632. - float GetRotation2D() const
  2633. - Vector3 GetDirection() const
  2634. - Vector3 GetUp() const
  2635. - Vector3 GetRight() const
  2636. - const Vector3& GetScale() const
  2637. - Vector2 GetScale2D() const
  2638. - Matrix3x4 GetTransform() const
  2639. - Vector3 GetWorldPosition() const
  2640. - Vector2 GetWorldPosition2D() const
  2641. - Quaternion GetWorldRotation() const
  2642. - float GetWorldRotation2D() const
  2643. - Vector3 GetWorldDirection() const
  2644. - Vector3 GetWorldUp() const
  2645. - Vector3 GetWorldRight() const
  2646. - Vector3 GetWorldScale() const
  2647. - Vector2 GetWorldScale2D() const
  2648. - const Matrix3x4& GetWorldTransform() const
  2649. - Vector3 LocalToWorld(const Vector3& position) const
  2650. - Vector3 LocalToWorld(const Vector4& vector) const
  2651. - Vector2 LocalToWorld2D(const Vector2& vector) const
  2652. - Vector3 WorldToLocal(const Vector3& position) const
  2653. - Vector3 WorldToLocal(const Vector4& vector) const
  2654. - Vector2 WorldToLocal2D(const Vector2& vector) const
  2655. - bool IsDirty() const
  2656. - unsigned GetNumChildren(bool recursive = false) const
  2657. - Node* GetChild(const String name, bool recursive = false) const
  2658. - Node* GetChild(StringHash nameHash, bool recursive = false) const
  2659. - Node* GetChild(unsigned index) const
  2660. - unsigned GetNumComponents() const
  2661. - unsigned GetNumNetworkComponents() const
  2662. - bool HasComponent(StringHash type) const
  2663. - bool HasComponent(const String type) const
  2664. - const Variant& GetVar(StringHash key) const
  2665. - const VariantMap& GetVars() const
  2666. - Component* GetComponent(const String type) const
  2667. - void SetID(unsigned id)
  2668. - void SetScene(Scene* scene)
  2669. - void ResetScene()
  2670. - bool Load(Deserializer& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  2671. - bool LoadXML(const XMLElement& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  2672. - Node* CreateChild(unsigned id, CreateMode mode)
  2673. - void AddComponent(Component* component, unsigned id, CreateMode mode)
  2674. Properties:
  2675. - unsigned ID
  2676. - String name
  2677. - StringHash nameHash (readonly)
  2678. - Node* parent
  2679. - Scene* scene
  2680. - bool enabled
  2681. - Connection* owner
  2682. - Vector3& position
  2683. - Vector2 position2D
  2684. - Quaternion& rotation
  2685. - float rotation2D
  2686. - Vector3 direction
  2687. - Vector3 up (readonly)
  2688. - Vector3 right (readonly)
  2689. - Vector3& scale
  2690. - Vector2 scale2D
  2691. - Matrix3x4 transform (readonly)
  2692. - Vector3 worldPosition
  2693. - Vector2 worldPosition2D
  2694. - Quaternion worldRotation
  2695. - float worldRotation2D
  2696. - Vector3 worldDirection
  2697. - Vector3 worldUp (readonly)
  2698. - Vector3 worldRight (readonly)
  2699. - Vector3 worldScale
  2700. - Vector2 worldScale2D
  2701. - Matrix3x4& worldTransform (readonly)
  2702. - bool dirty (readonly)
  2703. - unsigned numComponents (readonly)
  2704. - unsigned numNetworkComponents (readonly)
  2705. ### Object : RefCounted
  2706. Methods:
  2707. - StringHash GetType() const
  2708. - StringHash GetBaseType() const
  2709. - const String GetTypeName() const
  2710. - const String GetCategory() const
  2711. - void SendEvent(const String eventName, VariantMap* eventData = 0)
  2712. Properties:
  2713. - StringHash type (readonly)
  2714. - StringHash baseType (readonly)
  2715. - const String typeName (readonly)
  2716. - const String category (readonly)
  2717. ### ObjectAnimation : Resource
  2718. Methods:
  2719. - ObjectAnimation() (GC)
  2720. - ObjectAnimation* new()
  2721. - void delete()
  2722. - void AddAttributeAnimation(const String name, ValueAnimation* attributeAnimation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
  2723. - void RemoveAttributeAnimation(const String name)
  2724. - void RemoveAttributeAnimation(ValueAnimation* attributeAnimation)
  2725. - ValueAnimation* GetAttributeAnimation(const String name) const
  2726. - WrapMode GetAttributeAnimationWrapMode(const String name) const
  2727. - float GetAttributeAnimationSpeed(const String name) const
  2728. ### Octree : Component
  2729. Methods:
  2730. - void SetSize(const BoundingBox& box, unsigned numLevels)
  2731. - void Update(const FrameInfo& frame)
  2732. - void AddManualDrawable(Drawable* drawable)
  2733. - void RemoveManualDrawable(Drawable* drawable)
  2734. - const PODVector<OctreeQueryResult>& GetDrawables(const Vector3& point, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  2735. - const PODVector<OctreeQueryResult>& GetDrawables(const BoundingBox& box, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  2736. - const PODVector<OctreeQueryResult>& GetDrawables(const Frustum& frustum, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  2737. - const PODVector<OctreeQueryResult>& GetDrawables(const Sphere& sphere, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  2738. - const PODVector<RayQueryResult>& Raycast(const Ray& ray, RayQueryLevel level, float maxDistance, char drawableFlags, unsigned viewMask = DEFAULT_VIEWMASK) const
  2739. - RayQueryResult RaycastSingle(const Ray& ray, RayQueryLevel level, float maxDistance, char drawableFlags, unsigned viewMask = DEFAULT_VIEWMASK) const
  2740. - unsigned GetNumLevels() const
  2741. - void QueueUpdate(Drawable* drawable)
  2742. - void DrawDebugGeometry(bool depthTest)
  2743. Properties:
  2744. - unsigned numLevels (readonly)
  2745. ### OctreeQueryResult
  2746. Methods:
  2747. - OctreeQueryResult() (GC)
  2748. - OctreeQueryResult* new()
  2749. - void delete()
  2750. Properties:
  2751. - Drawable* drawable
  2752. - Node* node
  2753. ### OffMeshConnection : Component
  2754. Methods:
  2755. - void SetEndPoint(Node* node)
  2756. - void SetRadius(float radius)
  2757. - void SetBidirectional(bool enabled)
  2758. - Node* GetEndPoint() const
  2759. - float GetRadius() const
  2760. - bool IsBidirectional() const
  2761. Properties:
  2762. - Node* endPoint
  2763. - float radius
  2764. - bool bidirectional
  2765. ### PackageEntry
  2766. Properties:
  2767. - unsigned offset
  2768. - unsigned size
  2769. - unsigned checksum
  2770. ### PackageFile : Object
  2771. Methods:
  2772. - PackageFile() (GC)
  2773. - PackageFile* new()
  2774. - PackageFile(const String fileName, unsigned startOffset = 0) (GC)
  2775. - PackageFile* new(const String fileName, unsigned startOffset = 0)
  2776. - void delete()
  2777. - bool Open(const String fileName, unsigned startOffset = 0)
  2778. - bool Exists(const String fileName) const
  2779. - const PackageEntry* GetEntry(const String fileName) const
  2780. - const HashMap<String,PackageEntry>& GetEntries() const
  2781. - const String GetName() const
  2782. - StringHash GetNameHash() const
  2783. - unsigned GetNumFiles() const
  2784. - unsigned GetTotalSize() const
  2785. - unsigned GetChecksum() const
  2786. - bool IsCompressed() const
  2787. Properties:
  2788. - String name (readonly)
  2789. - StringHash nameHash (readonly)
  2790. - unsigned numFiles (readonly)
  2791. - unsigned totalSize (readonly)
  2792. - unsigned checksum (readonly)
  2793. - bool compressed (readonly)
  2794. ### ParticleEffect : Resource
  2795. Methods:
  2796. - void SetMaterial(Material* material)
  2797. - void SetNumParticles(unsigned num)
  2798. - void SetUpdateInvisible(bool enable)
  2799. - void SetRelative(bool enable)
  2800. - void SetScaled(bool enable)
  2801. - void SetSorted(bool enable)
  2802. - void SetAnimationLodBias(float lodBias)
  2803. - void SetEmitterType(EmitterType type)
  2804. - void SetEmitterSize(const Vector3& size)
  2805. - void SetMinDirection(const Vector3& direction)
  2806. - void SetMaxDirection(const Vector3& direction)
  2807. - void SetConstantForce(const Vector3& force)
  2808. - void SetDampingForce(float force)
  2809. - void SetActiveTime(float time)
  2810. - void SetInactiveTime(float time)
  2811. - void SetMinEmissionRate(float rate)
  2812. - void SetMaxEmissionRate(float rate)
  2813. - void SetMinParticleSize(const Vector2& size)
  2814. - void SetMaxParticleSize(const Vector2& size)
  2815. - void SetMinTimeToLive(float time)
  2816. - void SetMaxTimeToLive(float time)
  2817. - void SetMinVelocity(float velocity)
  2818. - void SetMaxVelocity(float velocity)
  2819. - void SetMinRotation(float rotation)
  2820. - void SetMaxRotation(float rotation)
  2821. - void SetMinRotationSpeed(float speed)
  2822. - void SetMaxRotationSpeed(float speed)
  2823. - void SetSizeAdd(float sizeAdd)
  2824. - void SetSizeMul(float sizeMul)
  2825. - void SetColorFrame(unsigned index, const ColorFrame& colorFrame)
  2826. - void SetTextureFrame(unsigned index, const TextureFrame& textureFrame)
  2827. - Material* GetMaterial() const
  2828. - unsigned GetNumParticles() const
  2829. - bool GetUpdateInvisible() const
  2830. - bool IsRelative() const
  2831. - bool IsScaled() const
  2832. - bool IsSorted() const
  2833. - float GetAnimationLodBias() const
  2834. - EmitterType GetEmitterType() const
  2835. - const Vector3& GetEmitterSize() const
  2836. - const Vector3& GetMinDirection() const
  2837. - const Vector3& GetMaxDirection() const
  2838. - const Vector3& GetConstantForce() const
  2839. - float GetDampingForce() const
  2840. - float GetActiveTime() const
  2841. - float GetInactiveTime() const
  2842. - float GetMinEmissionRate() const
  2843. - float GetMaxEmissionRate() const
  2844. - const Vector2& GetMinParticleSize() const
  2845. - const Vector2& GetMaxParticleSize() const
  2846. - float GetMinTimeToLive() const
  2847. - float GetMaxTimeToLive() const
  2848. - float GetMinVelocity() const
  2849. - float GetMaxVelocity() const
  2850. - float GetMinRotation() const
  2851. - float GetMaxRotation() const
  2852. - float GetMinRotationSpeed() const
  2853. - float GetMaxRotationSpeed() const
  2854. - float GetSizeAdd() const
  2855. - float GetSizeMul() const
  2856. - unsigned GetNumColorFrames() const
  2857. - const ColorFrame* GetColorFrame(unsigned index) const
  2858. - unsigned GetNumTextureFrames() const
  2859. - const TextureFrame* GetTextureFrame(unsigned index) const
  2860. Properties:
  2861. - Material* material
  2862. - unsigned numParticles
  2863. - bool updateInvisible
  2864. - bool relative
  2865. - bool scaled
  2866. - bool sorted
  2867. - float animationLodBias
  2868. - EmitterType emitterType
  2869. - const Vector3& emitterSize
  2870. - const Vector3& minDirection
  2871. - const Vector3& maxDirection
  2872. - const Vector3& constantForce
  2873. - float dampingForce
  2874. - float activeTime
  2875. - float inactiveTime
  2876. - float minEmissionRate
  2877. - float maxEmissionRate
  2878. - const Vector2& minParticleSize
  2879. - const Vector2& maxParticleSize
  2880. - float minTimeToLive
  2881. - float maxTimeToLive
  2882. - float minVelocity
  2883. - float maxVelocity
  2884. - float minRotation
  2885. - float maxRotation
  2886. - float minRotationSpeed
  2887. - float maxRotationSpeed
  2888. - float sizeAdd
  2889. - float sizeMul
  2890. - unsigned numColorFrames
  2891. - unsigned numTextureFrames
  2892. ### ParticleEffect2D : Resource
  2893. ### ParticleEmitter : BillboardSet
  2894. Methods:
  2895. - void SetEffect(ParticleEffect* effect)
  2896. - void SetNumParticles(unsigned num)
  2897. - void SetEmitting(bool enable)
  2898. - void ResetEmissionTimer()
  2899. - void RemoveAllParticles()
  2900. - void Reset()
  2901. - void ApplyEffect()
  2902. - ParticleEffect* GetEffect() const
  2903. - unsigned GetNumParticles() const
  2904. - bool IsEmitting() const
  2905. Properties:
  2906. - ParticleEffect* effect
  2907. - unsigned numParticles
  2908. - bool emitting
  2909. ### ParticleEmitter2D : Drawable2D
  2910. Methods:
  2911. - void SetEffect(ParticleEffect2D* effect)
  2912. - ParticleEffect2D* GetEffect() const
  2913. Properties:
  2914. - ParticleEffect2D* effect
  2915. ### Pass : RefCounted
  2916. Methods:
  2917. - bool IsSM3() const
  2918. Properties:
  2919. - bool SM3 (readonly)
  2920. ### PhysicsRaycastResult
  2921. Methods:
  2922. - PhysicsRaycastResult() (GC)
  2923. - PhysicsRaycastResult* new()
  2924. - void delete()
  2925. Properties:
  2926. - Vector3 position
  2927. - Vector3 normal
  2928. - float distance
  2929. - RigidBody* body
  2930. ### PhysicsRaycastResult2D
  2931. Methods:
  2932. - PhysicsRaycastResult2D() (GC)
  2933. - PhysicsRaycastResult2D* new()
  2934. - void delete()
  2935. Properties:
  2936. - Vector2 position
  2937. - Vector2 normal
  2938. - float distance
  2939. - RigidBody2D* body
  2940. ### PhysicsWorld : Component
  2941. Methods:
  2942. - void Update(float timeStep)
  2943. - void UpdateCollisions()
  2944. - void SetFps(int fps)
  2945. - void SetGravity(Vector3 gravity)
  2946. - void SetNumIterations(int num)
  2947. - void SetInterpolation(bool enable)
  2948. - void SetInternalEdge(bool enable)
  2949. - void SetSplitImpulse(bool enable)
  2950. - void SetMaxNetworkAngularVelocity(float velocity)
  2951. - const PODVector<PhysicsRaycastResult>& Raycast(const Ray& ray, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  2952. - PhysicsRaycastResult RaycastSingle(const Ray& ray, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  2953. - PhysicsRaycastResult SphereCast(const Ray& ray, float radius, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  2954. - const PODVector<RigidBody*>& GetRigidBodies(const Sphere& sphere, unsigned collisionMask = M_MAX_UNSIGNED)
  2955. - const PODVector<RigidBody*>& GetRigidBodies(const BoundingBox& box, unsigned collisionMask = M_MAX_UNSIGNED)
  2956. - const PODVector<RigidBody*>& GetRigidBodies(const RigidBody* body)
  2957. - void DrawDebugGeometry(bool depthTest)
  2958. - void RemoveCachedGeometry(Model* model)
  2959. - Vector3 GetGravity() const
  2960. - int GetNumIterations() const
  2961. - bool GetInterpolation() const
  2962. - bool GetInternalEdge() const
  2963. - bool GetSplitImpulse() const
  2964. - int GetFps() const
  2965. - float GetMaxNetworkAngularVelocity() const
  2966. Properties:
  2967. - Vector3 gravity
  2968. - int numIterations
  2969. - bool interpolation
  2970. - bool internalEdge
  2971. - bool splitImpulse
  2972. - int fps
  2973. - float maxNetworkAngularVelocity
  2974. - bool applyingTransforms
  2975. ### PhysicsWorld2D : Component
  2976. Methods:
  2977. - void DrawDebugGeometry()
  2978. - void SetDrawShape(bool drawShape)
  2979. - void SetDrawJoint(bool drawJoint)
  2980. - void SetDrawAabb(bool drawAabb)
  2981. - void SetDrawPair(bool drawPair)
  2982. - void SetDrawCenterOfMass(bool drawCenterOfMass)
  2983. - void SetAllowSleeping(bool enable)
  2984. - void SetWarmStarting(bool enable)
  2985. - void SetContinuousPhysics(bool enable)
  2986. - void SetSubStepping(bool enable)
  2987. - void SetGravity(const Vector2& gravity)
  2988. - void SetAutoClearForces(bool enable)
  2989. - void SetVelocityIterations(int velocityIterations)
  2990. - void SetPositionIterations(int positionIterations)
  2991. - const PODVector<PhysicsRaycastResult2D>& Raycast(const Vector2& startPoint, const Vector2& endPoint, unsigned collisionMask = M_MAX_UNSIGNED)
  2992. - PhysicsRaycastResult2D RaycastSingle(const Vector2& startPoint, const Vector2& endPoint, unsigned collisionMask = M_MAX_UNSIGNED)
  2993. - RigidBody2D* GetRigidBody(const Vector2& point, unsigned collisionMask = M_MAX_UNSIGNED)
  2994. - RigidBody2D* GetRigidBody(int screenX, int screenY, unsigned collisionMask = M_MAX_UNSIGNED, Camera* camera = 0)
  2995. - const PODVector<RigidBody2D*>& GetRigidBodies(const Rect& aabb, unsigned collisionMask = M_MAX_UNSIGNED)
  2996. - bool GetDrawShape() const
  2997. - bool GetDrawJoint() const
  2998. - bool GetDrawAabb() const
  2999. - bool GetDrawPair() const
  3000. - bool GetDrawCenterOfMass() const
  3001. - bool GetAllowSleeping() const
  3002. - bool GetWarmStarting() const
  3003. - bool GetContinuousPhysics() const
  3004. - bool GetSubStepping() const
  3005. - bool GetAutoClearForces() const
  3006. - const Vector2& GetGravity() const
  3007. - int GetVelocityIterations() const
  3008. - int GetPositionIterations() const
  3009. Properties:
  3010. - bool drawShape
  3011. - bool drawJoint
  3012. - bool drawAabb
  3013. - bool drawPair
  3014. - bool drawCenterOfMass
  3015. - bool allowSleeping
  3016. - bool warmStarting
  3017. - bool continuousPhysics
  3018. - bool subStepping
  3019. - bool autoClearForces
  3020. - Vector2& gravity
  3021. - int velocityIterations
  3022. - int positionIterations
  3023. ### Plane
  3024. Methods:
  3025. - Plane() (GC)
  3026. - Plane* new()
  3027. - Plane(const Plane& plane) (GC)
  3028. - Plane* new(const Plane& plane)
  3029. - Plane(const Vector3& v0, const Vector3& v1, const Vector3& v2) (GC)
  3030. - Plane* new(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  3031. - Plane(const Vector3& normal, const Vector3& point) (GC)
  3032. - Plane* new(const Vector3& normal, const Vector3& point)
  3033. - Plane(const Vector4& plane) (GC)
  3034. - Plane* new(const Vector4& plane)
  3035. - void delete()
  3036. - void Define(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  3037. - void Define(const Vector3& normal, const Vector3& point)
  3038. - void Define(const Vector4& plane)
  3039. - void Transform(const Matrix3& transform)
  3040. - void Transform(const Matrix3x4& transform)
  3041. - void Transform(const Matrix4& transform)
  3042. - Vector3 Project(const Vector3& point) const
  3043. - float Distance(const Vector3& point) const
  3044. - Vector3 Reflect(const Vector3& direction) const
  3045. - Matrix3x4 ReflectionMatrix() const
  3046. - Plane Transformed(const Matrix3& transform) const
  3047. - Plane Transformed(const Matrix3x4& transform) const
  3048. - Plane Transformed(const Matrix4& transform) const
  3049. - Vector4 ToVector4() const
  3050. Properties:
  3051. - Vector3 normal
  3052. - Vector3 absNormal
  3053. - float d
  3054. - const Plane UP
  3055. ### Polyhedron
  3056. Methods:
  3057. - Polyhedron() (GC)
  3058. - Polyhedron* new()
  3059. - Polyhedron(const Polyhedron& polyhedron) (GC)
  3060. - Polyhedron* new(const Polyhedron& polyhedron)
  3061. - Polyhedron(const BoundingBox& box) (GC)
  3062. - Polyhedron* new(const BoundingBox& box)
  3063. - Polyhedron(const Frustum& frustum) (GC)
  3064. - Polyhedron* new(const Frustum& frustum)
  3065. - void delete()
  3066. - void Define(const BoundingBox& box)
  3067. - void Define(const Frustum& frustum)
  3068. - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  3069. - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2, const Vector3& v3)
  3070. - void Clip(const Plane& plane)
  3071. - void Clip(const BoundingBox& box)
  3072. - void Clip(const Frustum& box)
  3073. - void Clear()
  3074. - void Transform(const Matrix3& transform)
  3075. - void Transform(const Matrix3x4& transform)
  3076. - Polyhedron Transformed(const Matrix3& transform) const
  3077. - Polyhedron Transformed(const Matrix3x4& transform) const
  3078. - bool Empty() const
  3079. Properties:
  3080. - bool empty (readonly)
  3081. ### Quaternion
  3082. Methods:
  3083. - Quaternion() (GC)
  3084. - Quaternion* new()
  3085. - Quaternion(const Quaternion& quat) (GC)
  3086. - Quaternion* new(const Quaternion& quat)
  3087. - Quaternion(float w, float x, float y, float z) (GC)
  3088. - Quaternion* new(float w, float x, float y, float z)
  3089. - Quaternion(float angle, const Vector3& axis) (GC)
  3090. - Quaternion* new(float angle, const Vector3& axis)
  3091. - Quaternion(float angle) (GC)
  3092. - Quaternion* new(float angle)
  3093. - Quaternion(float x, float y, float z) (GC)
  3094. - Quaternion* new(float x, float y, float z)
  3095. - Quaternion(const Vector3& start, const Vector3& end) (GC)
  3096. - Quaternion* new(const Vector3& start, const Vector3& end)
  3097. - Quaternion(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis) (GC)
  3098. - Quaternion* new(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  3099. - Quaternion(const Matrix3& matrix) (GC)
  3100. - Quaternion* new(const Matrix3& matrix)
  3101. - void delete()
  3102. - bool operator==(const Quaternion& rhs) const
  3103. - Quaternion operator*(float rhs) const
  3104. - Quaternion operator-() const
  3105. - bool operator==(const Quaternion& rhs) const
  3106. - Quaternion operator*(float rhs) const
  3107. - Quaternion operator-() const
  3108. - Quaternion operator+(const Quaternion& rhs) const
  3109. - Quaternion operator-(const Quaternion& rhs) const
  3110. - Quaternion operator*(const Quaternion& rhs) const
  3111. - Vector3 operator*(const Vector3& rhs) const
  3112. - void FromAngleAxis(float angle, const Vector3& axis)
  3113. - void FromEulerAngles(float x, float y, float z)
  3114. - void FromRotationTo(const Vector3& start, const Vector3& end)
  3115. - void FromAxes(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  3116. - void FromRotationMatrix(const Matrix3& matrix)
  3117. - bool FromLookRotation(const Vector3& direction, const Vector3& up)
  3118. - void Normalize()
  3119. - Quaternion Normalized() const
  3120. - Quaternion Inverse() const
  3121. - float LengthSquared() const
  3122. - float DotProduct(const Quaternion& rhs) const
  3123. - bool Equals(const Quaternion& rhs) const
  3124. - bool IsNaN() const
  3125. - Quaternion Conjugate() const
  3126. - Vector3 EulerAngles() const
  3127. - float YawAngle() const
  3128. - float PitchAngle() const
  3129. - float RollAngle() const
  3130. - Matrix3 RotationMatrix() const
  3131. - Quaternion Slerp(Quaternion rhs, float t) const
  3132. - Quaternion Nlerp(Quaternion rhs, float t, bool shortestPath) const
  3133. - String ToString() const
  3134. Properties:
  3135. - float w
  3136. - float x
  3137. - float y
  3138. - float z
  3139. - const Quaternion IDENTITY
  3140. ### Ray
  3141. Methods:
  3142. - Ray() (GC)
  3143. - Ray* new()
  3144. - Ray(const Vector3& origin, const Vector3& direction) (GC)
  3145. - Ray* new(const Vector3& origin, const Vector3& direction)
  3146. - Ray(const Ray& ray) (GC)
  3147. - Ray* new(const Ray& ray)
  3148. - void delete()
  3149. - bool operator==(const Ray& rhs) const
  3150. - void Define(const Vector3& origin, const Vector3& direction)
  3151. - Vector3 Project(const Vector3& point) const
  3152. - float Distance(const Vector3& point) const
  3153. - Vector3 ClosestPoint(const Ray& ray) const
  3154. - float HitDistance(const Plane& plane) const
  3155. - float HitDistance(const BoundingBox& box) const
  3156. - float HitDistance(const Frustum& frustum, bool solidInside = true) const
  3157. - float HitDistance(const Sphere& sphere) const
  3158. - float HitDistance(const Vector3& v0, const Vector3& v1, const Vector3& v2) const
  3159. - Ray Transformed(const Matrix3x4& transform) const
  3160. Properties:
  3161. - Vector3 origin
  3162. - Vector3 direction
  3163. ### RayQueryResult
  3164. Methods:
  3165. - RayQueryResult() (GC)
  3166. - RayQueryResult* new()
  3167. - void delete()
  3168. Properties:
  3169. - Vector3 position
  3170. - Vector3 normal
  3171. - float distance
  3172. - Drawable* drawable
  3173. - Node* node
  3174. - unsigned subObject
  3175. ### Rect
  3176. Methods:
  3177. - Rect() (GC)
  3178. - Rect* new()
  3179. - Rect(const Rect& rect) (GC)
  3180. - Rect* new(const Rect& rect)
  3181. - Rect(const Vector2& min, const Vector2& max) (GC)
  3182. - Rect* new(const Vector2& min, const Vector2& max)
  3183. - Rect(float left, float top, float right, float bottom) (GC)
  3184. - Rect* new(float left, float top, float right, float bottom)
  3185. - Rect(const Vector4& vector) (GC)
  3186. - Rect* new(const Vector4& vector)
  3187. - void delete()
  3188. - bool operator==(const Rect& rhs) const
  3189. - void Define(const Rect& rect)
  3190. - void Define(const Vector2& min, const Vector2& max)
  3191. - void Define(const Vector2& point)
  3192. - void Merge(const Vector2& point)
  3193. - void Merge(const Rect& rect)
  3194. - void Clear()
  3195. - void Clip(const Rect& rect)
  3196. - Vector2 Center() const
  3197. - Vector2 Size() const
  3198. - Vector2 HalfSize() const
  3199. - bool Equals(const Rect& rhs) const
  3200. - Intersection IsInside(const Vector2& point) const
  3201. - Vector4 ToVector4() const
  3202. - String ToString() const
  3203. Properties:
  3204. - Vector2 min
  3205. - Vector2 max
  3206. - const Rect FULL
  3207. - const Rect POSITIVE
  3208. - const Rect ZERO
  3209. - Vector2 center (readonly)
  3210. - Vector2 size (readonly)
  3211. - Vector2 halfSize (readonly)
  3212. ### RemoteEvent
  3213. Properties:
  3214. - unsigned senderID
  3215. - StringHash eventType
  3216. - VariantMap eventData
  3217. - bool inOrder
  3218. ### RenderPath
  3219. Methods:
  3220. - RenderPath* Clone()
  3221. - bool Load(XMLFile* file)
  3222. - bool Append(XMLFile* file)
  3223. - void SetEnabled(const String tag, bool active)
  3224. - void ToggleEnabled(const String tag)
  3225. - void SetRenderTarget(unsigned index, const RenderTargetInfo& info)
  3226. - void AddRenderTarget(const RenderTargetInfo& info)
  3227. - void RemoveRenderTarget(const String name)
  3228. - void RemoveRenderTarget(unsigned index)
  3229. - void RemoveRenderTargets(const String tag)
  3230. - void SetCommand(unsigned index, const RenderPathCommand& command)
  3231. - void AddCommand(const RenderPathCommand& command)
  3232. - void InsertCommand(unsigned index, const RenderPathCommand& command)
  3233. - void RemoveCommand(unsigned index)
  3234. - void RemoveCommands(const String tag)
  3235. - void SetShaderParameter(const String name, const Variant& value)
  3236. - unsigned GetNumRenderTargets() const
  3237. - unsigned GetNumCommands() const
  3238. - const Variant& GetShaderParameter(const String name) const
  3239. ### RenderSurface
  3240. Methods:
  3241. - RenderSurface(Texture* parentTexture) (GC)
  3242. - RenderSurface* new(Texture* parentTexture)
  3243. - void delete()
  3244. - void SetNumViewports(unsigned num)
  3245. - void SetViewport(unsigned index, Viewport* viewport)
  3246. - void SetUpdateMode(RenderSurfaceUpdateMode mode)
  3247. - void SetLinkedRenderTarget(RenderSurface* renderTarget)
  3248. - void SetLinkedDepthStencil(RenderSurface* depthStencil)
  3249. - void QueueUpdate()
  3250. - void Release()
  3251. - Texture* GetParentTexture() const
  3252. - int GetWidth() const
  3253. - int GetHeight() const
  3254. - TextureUsage GetUsage() const
  3255. - unsigned GetNumViewports() const
  3256. - Viewport* GetViewport(unsigned index) const
  3257. - RenderSurfaceUpdateMode GetUpdateMode() const
  3258. - RenderSurface* GetLinkedRenderTarget() const
  3259. - RenderSurface* GetLinkedDepthStencil() const
  3260. Properties:
  3261. - Texture* parentTexture (readonly)
  3262. - int width (readonly)
  3263. - int height (readonly)
  3264. - TextureUsage usage (readonly)
  3265. - unsigned numViewports
  3266. - RenderSurfaceUpdateMode updateMode
  3267. - RenderSurface* linkedRenderTarget
  3268. - RenderSurface* linkedDepthStencil
  3269. ### Renderer
  3270. Methods:
  3271. - void SetNumViewports(unsigned num)
  3272. - void SetViewport(unsigned index, Viewport* viewport)
  3273. - void SetDefaultRenderPath(RenderPath* renderPath)
  3274. - void SetDefaultRenderPath(XMLFile* file)
  3275. - void SetHDRRendering(bool enable)
  3276. - void SetSpecularLighting(bool enable)
  3277. - void SetTextureAnisotropy(int level)
  3278. - void SetTextureFilterMode(TextureFilterMode mode)
  3279. - void SetTextureQuality(int quality)
  3280. - void SetMaterialQuality(int quality)
  3281. - void SetDrawShadows(bool enable)
  3282. - void SetShadowMapSize(int size)
  3283. - void SetShadowQuality(int quality)
  3284. - void SetReuseShadowMaps(bool enable)
  3285. - void SetMaxShadowMaps(int shadowMaps)
  3286. - void SetDynamicInstancing(bool enable)
  3287. - void SetMinInstances(int instances)
  3288. - void SetMaxInstanceTriangles(int triangles)
  3289. - void SetMaxSortedInstances(int instances)
  3290. - void SetMaxOccluderTriangles(int triangles)
  3291. - void SetOcclusionBufferSize(int size)
  3292. - void SetOccluderSizeThreshold(float screenSize)
  3293. - void SetMobileShadowBiasMul(float mul)
  3294. - void SetMobileShadowBiasAdd(float add)
  3295. - void ReloadShaders()
  3296. - unsigned GetNumViewports() const
  3297. - Viewport* GetViewport(unsigned index) const
  3298. - RenderPath* GetDefaultRenderPath() const
  3299. - bool GetHDRRendering() const
  3300. - bool GetSpecularLighting() const
  3301. - bool GetDrawShadows() const
  3302. - int GetTextureAnisotropy() const
  3303. - TextureFilterMode GetTextureFilterMode() const
  3304. - int GetTextureQuality() const
  3305. - int GetMaterialQuality() const
  3306. - int GetShadowMapSize() const
  3307. - int GetShadowQuality() const
  3308. - bool GetReuseShadowMaps() const
  3309. - int GetMaxShadowMaps() const
  3310. - bool GetDynamicInstancing() const
  3311. - int GetMinInstances() const
  3312. - int GetMaxInstanceTriangles() const
  3313. - int GetMaxSortedInstances() const
  3314. - int GetMaxOccluderTriangles() const
  3315. - int GetOcclusionBufferSize() const
  3316. - float GetOccluderSizeThreshold() const
  3317. - float GetMobileShadowBiasMul() const
  3318. - float GetMobileShadowBiasAdd() const
  3319. - unsigned GetNumViews() const
  3320. - unsigned GetNumPrimitives() const
  3321. - unsigned GetNumBatches() const
  3322. - unsigned GetNumGeometries(bool allViews = false) const
  3323. - unsigned GetNumLights(bool allViews = false) const
  3324. - unsigned GetNumShadowMaps(bool allViews = false) const
  3325. - unsigned GetNumOccluders(bool allViews = false) const
  3326. - Zone* GetDefaultZone() const
  3327. - Material* GetDefaultMaterial() const
  3328. - Texture2D* GetDefaultLightRamp() const
  3329. - Texture2D* GetDefaultLightSpot() const
  3330. - void DrawDebugGeometry(bool depthTest)
  3331. Properties:
  3332. - unsigned numViewports
  3333. - RenderPath* defaultRenderPath
  3334. - bool HDRRendering
  3335. - bool specularLighting
  3336. - bool drawShadows
  3337. - int textureAnisotropy
  3338. - TextureFilterMode textureFilterMode
  3339. - int textureQuality
  3340. - int materialQuality
  3341. - int shadowMapSize
  3342. - int shadowQuality
  3343. - bool reuseShadowMaps
  3344. - int maxShadowMaps
  3345. - bool dynamicInstancing
  3346. - int minInstances
  3347. - int maxInstanceTriangles
  3348. - int maxSortedInstances
  3349. - int maxOccluderTriangles
  3350. - int occlusionBufferSize
  3351. - float occluderSizeThreshold
  3352. - float mobileShadowBiasMul
  3353. - float mobileShadowBiasAdd
  3354. - unsigned numViews (readonly)
  3355. - unsigned numPrimitives (readonly)
  3356. - unsigned numBatches (readonly)
  3357. - Zone* defaultZone (readonly)
  3358. - Material* defaultMaterial (readonly)
  3359. - Texture2D* defaultLightRamp (readonly)
  3360. - Texture2D* defaultLightSpot (readonly)
  3361. ### Resource
  3362. Methods:
  3363. - bool Load(Deserializer& source)
  3364. - bool Save(Serializer& dest) const
  3365. - bool Load(const String fileName)
  3366. - bool Save(const String fileName) const
  3367. - const String GetName() const
  3368. - StringHash GetNameHash() const
  3369. - unsigned GetMemoryUse() const
  3370. Properties:
  3371. - String name (readonly)
  3372. - StringHash nameHash (readonly)
  3373. - unsigned memoryUse (readonly)
  3374. ### ResourceCache
  3375. Methods:
  3376. - void ReleaseAllResources(bool force = false)
  3377. - bool ReloadResource(Resource* resource)
  3378. - void SetMemoryBudget(StringHash type, unsigned budget)
  3379. - void SetMemoryBudget(const String type, unsigned budget)
  3380. - void SetAutoReloadResources(bool enable)
  3381. - void SetReturnFailedResources(bool enable)
  3382. - void SetSearchPackagesFirst(bool value)
  3383. - void SetFinishBackgroundResourcesMs(int ms)
  3384. - File* GetFile(const String name)
  3385. - Resource* GetResource(const String type, const String name, bool sendEventOnFailure = true)
  3386. - bool BackgroundLoadResource(const String type, const String name, bool sendEventOnFailure = true)
  3387. - unsigned GetNumBackgroundLoadResources() const
  3388. - bool Exists(const String name) const
  3389. - unsigned GetMemoryBudget(StringHash type) const
  3390. - unsigned GetMemoryUse(StringHash type) const
  3391. - unsigned GetTotalMemoryUse() const
  3392. - String GetResourceFileName(const String name) const
  3393. - bool GetAutoReloadResources() const
  3394. - bool GetReturnFailedResources() const
  3395. - bool GetSearchPackagesFirst() const
  3396. - int GetFinishBackgroundResourcesMs() const
  3397. - String GetPreferredResourceDir(const String path) const
  3398. - String SanitateResourceName(const String name) const
  3399. - String SanitateResourceDirName(const String name) const
  3400. Properties:
  3401. - unsigned totalMemoryUse (readonly)
  3402. - bool autoReloadResources
  3403. - bool returnFailedResources
  3404. - bool searchPackagesFirst
  3405. - unsigned numBackgroundLoadResources (readonly)
  3406. - int finishBackgroundResourcesMs
  3407. ### ResourceRef
  3408. Methods:
  3409. - ResourceRef() (GC)
  3410. - ResourceRef* new()
  3411. - ResourceRef(StringHash type) (GC)
  3412. - ResourceRef* new(StringHash type)
  3413. - ResourceRef(StringHash type, String name) (GC)
  3414. - ResourceRef* new(StringHash type, String name)
  3415. - ResourceRef(const ResourceRef& rhs) (GC)
  3416. - ResourceRef* new(const ResourceRef& rhs)
  3417. - void delete()
  3418. - bool operator==(const ResourceRef& rhs) const
  3419. Properties:
  3420. - StringHash type
  3421. - String name
  3422. ### ResourceRefList
  3423. Methods:
  3424. - ResourceRefList() (GC)
  3425. - ResourceRefList* new()
  3426. - ResourceRefList(StringHash type) (GC)
  3427. - ResourceRefList* new(StringHash type)
  3428. - void delete()
  3429. - bool operator==(const ResourceRefList& rhs) const
  3430. Properties:
  3431. - StringHash type
  3432. ### RigidBody : Component
  3433. Methods:
  3434. - void SetMass(float mass)
  3435. - void SetPosition(Vector3 position)
  3436. - void SetRotation(Quaternion rotation)
  3437. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  3438. - void SetLinearVelocity(Vector3 velocity)
  3439. - void SetLinearFactor(Vector3 factor)
  3440. - void SetLinearRestThreshold(float threshold)
  3441. - void SetLinearDamping(float damping)
  3442. - void SetAngularVelocity(Vector3 angularVelocity)
  3443. - void SetAngularFactor(Vector3 factor)
  3444. - void SetAngularRestThreshold(float threshold)
  3445. - void SetAngularDamping(float factor)
  3446. - void SetFriction(float friction)
  3447. - void SetAnisotropicFriction(Vector3 friction)
  3448. - void SetRollingFriction(float friction)
  3449. - void SetRestitution(float restitution)
  3450. - void SetContactProcessingThreshold(float threshold)
  3451. - void SetCcdRadius(float radius)
  3452. - void SetCcdMotionThreshold(float threshold)
  3453. - void SetUseGravity(bool enable)
  3454. - void SetGravityOverride(const Vector3& gravity)
  3455. - void SetKinematic(bool enable)
  3456. - void SetTrigger(bool enable)
  3457. - void SetCollisionLayer(unsigned layer)
  3458. - void SetCollisionMask(unsigned mask)
  3459. - void SetCollisionLayerAndMask(unsigned layer, unsigned mask)
  3460. - void SetCollisionEventMode(CollisionEventMode mode)
  3461. - void ApplyForce(const Vector3& force)
  3462. - void ApplyForce(const Vector3& force, const Vector3& position)
  3463. - void ApplyTorque(const Vector3& torque)
  3464. - void ApplyImpulse(const Vector3& impulse)
  3465. - void ApplyImpulse(const Vector3& impulse, const Vector3& position)
  3466. - void ApplyTorqueImpulse(const Vector3& torque)
  3467. - void ResetForces()
  3468. - void Activate()
  3469. - void ReAddBodyToWorld()
  3470. - PhysicsWorld* GetPhysicsWorld() const
  3471. - float GetMass() const
  3472. - Vector3 GetPosition() const
  3473. - Quaternion GetRotation() const
  3474. - Vector3 GetLinearVelocity() const
  3475. - Vector3 GetLinearFactor() const
  3476. - Vector3 GetVelocityAtPoint(const Vector3& position) const
  3477. - float GetLinearRestThreshold() const
  3478. - float GetLinearDamping() const
  3479. - Vector3 GetAngularVelocity() const
  3480. - Vector3 GetAngularFactor() const
  3481. - float GetAngularRestThreshold() const
  3482. - float GetAngularDamping() const
  3483. - float GetFriction() const
  3484. - Vector3 GetAnisotropicFriction() const
  3485. - float GetRollingFriction() const
  3486. - float GetRestitution() const
  3487. - float GetContactProcessingThreshold() const
  3488. - float GetCcdRadius() const
  3489. - float GetCcdMotionThreshold() const
  3490. - bool GetUseGravity() const
  3491. - const Vector3& GetGravityOverride() const
  3492. - const Vector3& GetCenterOfMass() const
  3493. - bool IsKinematic() const
  3494. - bool IsTrigger() const
  3495. - bool IsActive() const
  3496. - unsigned GetCollisionLayer() const
  3497. - unsigned GetCollisionMask() const
  3498. - CollisionEventMode GetCollisionEventMode() const
  3499. Properties:
  3500. - PhysicsWorld* physicsWorld (readonly)
  3501. - float mass
  3502. - Vector3 position
  3503. - Quaternion rotation
  3504. - Vector3 linearVelocity
  3505. - Vector3 linearFactor
  3506. - float linearRestThreshold
  3507. - float linearDamping
  3508. - Vector3 angularVelocity
  3509. - Vector3 angularFactor
  3510. - float angularRestThreshold
  3511. - float angularDamping
  3512. - float friction
  3513. - Vector3 anisotropicFriction
  3514. - float rollingFriction
  3515. - float restitution
  3516. - float contactProcessingThreshold
  3517. - float ccdRadius
  3518. - float ccdMotionThreshold
  3519. - bool useGravity
  3520. - Vector3& gravityOverride
  3521. - Vector3& centerOfMass (readonly)
  3522. - bool kinematic
  3523. - bool trigger
  3524. - bool active (readonly)
  3525. - unsigned collisionLayer
  3526. - unsigned collisionMask
  3527. - CollisionEventMode collisionEventMode
  3528. ### RigidBody2D : Component
  3529. Methods:
  3530. - void SetBodyType(BodyType2D bodyType)
  3531. - void SetMass(float mass)
  3532. - void SetInertia(float inertia)
  3533. - void SetMassCenter(Vector2 center)
  3534. - void SetUseFixtureMass(bool useFixtureMass)
  3535. - void SetLinearDamping(float linearDamping)
  3536. - void SetAngularDamping(float angularDamping)
  3537. - void SetAllowSleep(bool allowSleep)
  3538. - void SetFixedRotation(bool fixedRotation)
  3539. - void SetBullet(bool bullet)
  3540. - void SetGravityScale(float gravityScale)
  3541. - void SetAwake(bool awake)
  3542. - void SetLinearVelocity(Vector2 linearVelocity)
  3543. - void SetAngularVelocity(float angularVelocity)
  3544. - void ApplyForce(const Vector2& force, const Vector2& point, bool wake)
  3545. - void ApplyForceToCenter(const Vector2& force, bool wake)
  3546. - void ApplyTorque(float torque, bool wake)
  3547. - void ApplyLinearImpulse(const Vector2& impulse, const Vector2& point, bool wake)
  3548. - void ApplyAngularImpulse(float impulse, bool wake)
  3549. - BodyType2D GetBodyType() const
  3550. - float GetMass() const
  3551. - float GetInertia() const
  3552. - Vector2 GetMassCenter() const
  3553. - bool GetUseFixtureMass() const
  3554. - float GetLinearDamping() const
  3555. - float GetAngularDamping() const
  3556. - bool IsAllowSleep() const
  3557. - bool IsFixedRotation() const
  3558. - bool IsBullet() const
  3559. - float GetGravityScale() const
  3560. - bool IsAwake() const
  3561. - Vector2 GetLinearVelocity() const
  3562. - float GetAngularVelocity() const
  3563. Properties:
  3564. - BodyType2D bodyType
  3565. - float mass
  3566. - float inertia
  3567. - Vector2 massCenter
  3568. - bool useFixtureMass
  3569. - float linearDamping
  3570. - float angularDamping
  3571. - bool allowSleep
  3572. - bool fixedRotation
  3573. - bool bullet
  3574. - float gravityScale
  3575. - bool awake
  3576. - Vector2 linearVelocity
  3577. - float angularVelocity
  3578. ### Scene : Node
  3579. Methods:
  3580. - Scene() (GC)
  3581. - Scene* new()
  3582. - void delete()
  3583. - bool Load(File* source)
  3584. - bool Save(File* dest) const
  3585. - bool Load(const String fileName)
  3586. - bool Save(const String fileName) const
  3587. - bool LoadXML(File* source)
  3588. - bool SaveXML(File* dest) const
  3589. - bool LoadXML(const String fileName)
  3590. - bool SaveXML(const String fileName) const
  3591. - Node* Instantiate(File* source, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3592. - Node* Instantiate(const String fileName, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3593. - Node* InstantiateXML(File* source, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3594. - Node* InstantiateXML(const String fileName, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3595. - bool LoadAsync(File* file, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  3596. - bool LoadAsyncXML(File* file, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  3597. - bool LoadAsync(const String fileName, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  3598. - bool LoadAsyncXML(const String fileName, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  3599. - void StopAsyncLoading()
  3600. - void Clear(bool clearReplicated = true, bool clearLocal = true)
  3601. - void SetUpdateEnabled(bool enable)
  3602. - void SetTimeScale(float scale)
  3603. - void SetElapsedTime(float time)
  3604. - void SetSmoothingConstant(float constant)
  3605. - void SetSnapThreshold(float threshold)
  3606. - void SetAsyncLoadingMs(int ms)
  3607. - Node* GetNode(unsigned id) const
  3608. - bool IsUpdateEnabled() const
  3609. - bool IsAsyncLoading() const
  3610. - float GetAsyncProgress() const
  3611. - LoadMode GetAsyncLoadMode() const
  3612. - const String GetFileName() const
  3613. - unsigned GetChecksum() const
  3614. - float GetTimeScale() const
  3615. - float GetElapsedTime() const
  3616. - float GetSmoothingConstant() const
  3617. - float GetSnapThreshold() const
  3618. - int GetAsyncLoadingMs() const
  3619. - const String GetVarName(StringHash hash) const
  3620. - void Update(float timeStep)
  3621. - void BeginThreadedUpdate()
  3622. - void EndThreadedUpdate()
  3623. - void DelayedMarkedDirty(Component* component)
  3624. - bool IsThreadedUpdate() const
  3625. - unsigned GetFreeNodeID(CreateMode mode)
  3626. - unsigned GetFreeComponentID(CreateMode mode)
  3627. - void NodeAdded(Node* node)
  3628. - void NodeRemoved(Node* node)
  3629. - void ComponentAdded(Component* component)
  3630. - void ComponentRemoved(Component* component)
  3631. - void SetVarNamesAttr(String value)
  3632. - String GetVarNamesAttr() const
  3633. - void PrepareNetworkUpdate()
  3634. - void CleanupConnection(Connection* connection)
  3635. - void MarkNetworkUpdate(Node* node)
  3636. - void MarkNetworkUpdate(Component* component)
  3637. - void MarkReplicationDirty(Node* node)
  3638. Properties:
  3639. - bool updateEnabled
  3640. - bool asyncLoading (readonly)
  3641. - float asyncProgress (readonly)
  3642. - LoadMode asyncLoadMode (readonly)
  3643. - const String fileName
  3644. - unsigned checksum (readonly)
  3645. - float timeScale
  3646. - float elapsedTime
  3647. - float smoothingConstant
  3648. - float snapThreshold
  3649. - int asyncLoadingMs
  3650. - bool threadedUpdate (readonly)
  3651. - String varNamesAttr
  3652. ### ScrollBar : UIElement
  3653. Methods:
  3654. - ScrollBar() (GC)
  3655. - ScrollBar* new()
  3656. - void delete()
  3657. - void SetOrientation(Orientation orientation)
  3658. - void SetRange(float range)
  3659. - void SetValue(float value)
  3660. - void ChangeValue(float delta)
  3661. - void SetScrollStep(float step)
  3662. - void SetStepFactor(float factor)
  3663. - void StepBack()
  3664. - void StepForward()
  3665. - Orientation GetOrientation() const
  3666. - float GetRange() const
  3667. - float GetValue() const
  3668. - float GetScrollStep() const
  3669. - float GetStepFactor() const
  3670. - float GetEffectiveScrollStep() const
  3671. - Button* GetBackButton() const
  3672. - Button* GetForwardButton() const
  3673. - Slider* GetSlider() const
  3674. Properties:
  3675. - Orientation orientation
  3676. - float range
  3677. - float value
  3678. - float scrollStep
  3679. - float stepFactor
  3680. - float effectiveScrollStep (readonly)
  3681. - Button* backButton (readonly)
  3682. - Button* forwardButton (readonly)
  3683. - Slider* slider (readonly)
  3684. ### ScrollView : UIElement
  3685. Methods:
  3686. - ScrollView() (GC)
  3687. - ScrollView* new()
  3688. - void delete()
  3689. - void SetContentElement(UIElement* element)
  3690. - void SetViewPosition(const IntVector2& position)
  3691. - void SetViewPosition(int x, int y)
  3692. - void SetScrollBarsVisible(bool horizontal, bool vertical)
  3693. - void SetScrollBarsAutoVisible(bool enable)
  3694. - void SetScrollStep(float step)
  3695. - void SetPageStep(float step)
  3696. - const IntVector2& GetViewPosition() const
  3697. - UIElement* GetContentElement() const
  3698. - ScrollBar* GetHorizontalScrollBar() const
  3699. - ScrollBar* GetVerticalScrollBar() const
  3700. - BorderImage* GetScrollPanel() const
  3701. - bool GetScrollBarsAutoVisible() const
  3702. - float GetScrollStep() const
  3703. - float GetPageStep() const
  3704. Properties:
  3705. - IntVector2& viewPosition
  3706. - UIElement* contentElement
  3707. - ScrollBar* horizontalScrollBar (readonly)
  3708. - ScrollBar* verticalScrollBar (readonly)
  3709. - BorderImage* scrollPanel (readonly)
  3710. - bool scrollBarsAutoVisible
  3711. - float scrollStep
  3712. - float pageStep
  3713. ### Serializable : Object
  3714. Methods:
  3715. - void SetTemporary(bool enable)
  3716. - bool IsTemporary() const
  3717. Properties:
  3718. - bool temporary
  3719. ### Serializer
  3720. Methods:
  3721. - unsigned Write(const VectorBuffer& buffer)
  3722. - bool WriteInt(int value)
  3723. - bool WriteShort(short value)
  3724. - bool WriteByte(char value)
  3725. - bool WriteUInt(unsigned value)
  3726. - bool WriteUShort(short value)
  3727. - bool WriteUByte(char value)
  3728. - bool WriteBool(bool value)
  3729. - bool WriteFloat(float value)
  3730. - bool WriteIntRect(const IntRect& value)
  3731. - bool WriteIntVector2(const IntVector2& value)
  3732. - bool WriteRect(const Rect& value)
  3733. - bool WriteVector2(const Vector2& value)
  3734. - bool WriteVector3(const Vector3& value)
  3735. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  3736. - bool WriteVector4(const Vector4& value)
  3737. - bool WriteQuaternion(const Quaternion& value)
  3738. - bool WritePackedQuaternion(const Quaternion& value)
  3739. - bool WriteMatrix3(const Matrix3& value)
  3740. - bool WriteMatrix3x4(const Matrix3x4& value)
  3741. - bool WriteMatrix4(const Matrix4& value)
  3742. - bool WriteColor(const Color& value)
  3743. - bool WriteBoundingBox(const BoundingBox& value)
  3744. - bool WriteString(const String value)
  3745. - bool WriteFileID(const String value)
  3746. - bool WriteStringHash(const StringHash& value)
  3747. - bool WriteBuffer(const VectorBuffer& buffer)
  3748. - bool WriteResourceRef(const ResourceRef& value)
  3749. - bool WriteResourceRefList(const ResourceRefList& value)
  3750. - bool WriteVariant(const Variant& value)
  3751. - bool WriteVariantData(const Variant& value)
  3752. - bool WriteVariantVector(const VariantVector& value)
  3753. - bool WriteVariantMap(const VariantMap& value)
  3754. - bool WriteVLE(unsigned value)
  3755. - bool WriteNetID(unsigned value)
  3756. - bool WriteLine(const String value)
  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. - void ApplyHeightMap()
  4099. - int GetPatchSize() const
  4100. - const Vector3& GetSpacing() const
  4101. - const IntVector2& GetNumVertices() const
  4102. - const IntVector2& GetNumPatches() const
  4103. - bool GetSmoothing() const
  4104. - Image* GetHeightMap() const
  4105. - Material* GetMaterial() const
  4106. - TerrainPatch* GetPatch(unsigned index) const
  4107. - TerrainPatch* GetPatch(int x, int z) const
  4108. - float GetHeight(const Vector3& worldPosition) const
  4109. - Vector3 GetNormal(const Vector3& worldPosition) const
  4110. - IntVector2 WorldToHeightMap(const Vector3& worldPosition) const
  4111. - SharedArrayPtr<float> GetHeightData() const
  4112. - float GetDrawDistance() const
  4113. - float GetShadowDistance() const
  4114. - float GetLodBias() const
  4115. - unsigned GetViewMask() const
  4116. - unsigned GetLightMask() const
  4117. - unsigned GetShadowMask() const
  4118. - unsigned GetZoneMask() const
  4119. - unsigned GetMaxLights() const
  4120. - bool IsVisible() const
  4121. - bool GetCastShadows() const
  4122. - bool IsOccluder() const
  4123. - bool IsOccludee() const
  4124. Properties:
  4125. - int patchSize
  4126. - Vector3& spacing
  4127. - IntVector2& numVertices (readonly)
  4128. - IntVector2& numPatches (readonly)
  4129. - bool smoothing
  4130. - Image* heightMap
  4131. - Material* material
  4132. - float drawDistance
  4133. - float shadowDistance
  4134. - float lodBias
  4135. - unsigned viewMask
  4136. - unsigned lightMask
  4137. - unsigned shadowMask
  4138. - unsigned zoneMask
  4139. - unsigned maxLights
  4140. - bool visible (readonly)
  4141. - bool castShadows
  4142. - bool occluder
  4143. - bool occludee
  4144. ### TerrainPatch : Drawable
  4145. Methods:
  4146. - void SetOwner(Terrain* terrain)
  4147. - void SetNeighbors(TerrainPatch* north, TerrainPatch* south, TerrainPatch* west, TerrainPatch* east)
  4148. - void SetMaterial(Material* material)
  4149. - void SetBoundingBox(const BoundingBox& box)
  4150. - void SetCoordinates(const IntVector2& coordinates)
  4151. - void SetOcclusionOffset(float offset)
  4152. - void ResetLod()
  4153. - Geometry* GetGeometry() const
  4154. - Geometry* GetMaxLodGeometry() const
  4155. - Geometry* GetMinLodGeometry() const
  4156. - VertexBuffer* GetVertexBuffer() const
  4157. - Terrain* GetOwner() const
  4158. - TerrainPatch* GetNorthPatch() const
  4159. - TerrainPatch* GetSouthPatch() const
  4160. - TerrainPatch* GetWestPatch() const
  4161. - TerrainPatch* GetEastPatch() const
  4162. - const IntVector2& GetCoordinates() const
  4163. - unsigned GetLodLevel() const
  4164. - float GetOcclusionOffset() const
  4165. Properties:
  4166. - Geometry* geometry (readonly)
  4167. - Geometry* maxLodGeometry (readonly)
  4168. - Geometry* minLodGeometry (readonly)
  4169. - VertexBuffer* vertexBuffer (readonly)
  4170. - Terrain* owner
  4171. - TerrainPatch* northPatch (readonly)
  4172. - TerrainPatch* southPatch (readonly)
  4173. - TerrainPatch* westPatch (readonly)
  4174. - TerrainPatch* eastPatch (readonly)
  4175. - BoundingBox& boundingBox
  4176. - IntVector2& coordinates
  4177. - unsigned lodLevel (readonly)
  4178. - float occlusionOffset
  4179. ### Text : UIElement
  4180. Methods:
  4181. - Text() (GC)
  4182. - Text* new()
  4183. - void delete()
  4184. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  4185. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  4186. - void SetText(const String text)
  4187. - void SetTextAlignment(HorizontalAlignment align)
  4188. - void SetRowSpacing(float spacing)
  4189. - void SetWordwrap(bool enable)
  4190. - void SetSelection(unsigned start, unsigned length = M_MAX_UNSIGNED)
  4191. - void ClearSelection()
  4192. - void SetSelectionColor(const Color& color)
  4193. - void SetHoverColor(const Color& color)
  4194. - void SetTextEffect(TextEffect textEffect)
  4195. - void SetEffectColor(const Color& effectColor)
  4196. - Font* GetFont() const
  4197. - int GetFontSize() const
  4198. - const String GetText() const
  4199. - HorizontalAlignment GetTextAlignment() const
  4200. - float GetRowSpacing() const
  4201. - bool GetWordwrap() const
  4202. - unsigned GetSelectionStart() const
  4203. - unsigned GetSelectionLength() const
  4204. - const Color& GetSelectionColor() const
  4205. - const Color& GetHoverColor() const
  4206. - TextEffect GetTextEffect() const
  4207. - const Color& GetEffectColor() const
  4208. - int GetRowHeight() const
  4209. - unsigned GetNumRows() const
  4210. - unsigned GetNumChars() const
  4211. - int GetRowWidth(unsigned index) const
  4212. - IntVector2 GetCharPosition(unsigned index)
  4213. - IntVector2 GetCharSize(unsigned index)
  4214. - void SetEffectDepthBias(float bias)
  4215. - float GetEffectDepthBias() const
  4216. Properties:
  4217. - Font* font
  4218. - int fontSize (readonly)
  4219. - String text
  4220. - HorizontalAlignment textAlignment
  4221. - float rowSpacing
  4222. - bool wordwrap
  4223. - unsigned selectionStart (readonly)
  4224. - unsigned selectionLength (readonly)
  4225. - Color& selectionColor
  4226. - Color& hoverColor
  4227. - TextEffect textEffect
  4228. - Color& effectColor
  4229. - int rowHeight (readonly)
  4230. - unsigned numRows (readonly)
  4231. - unsigned numChars (readonly)
  4232. ### Text3D : Drawable
  4233. Methods:
  4234. - Text3D() (GC)
  4235. - Text3D* new()
  4236. - void delete()
  4237. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  4238. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  4239. - void SetMaterial(Material* material)
  4240. - void SetText(const String text)
  4241. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4242. - void SetHorizontalAlignment(HorizontalAlignment align)
  4243. - void SetVerticalAlignment(VerticalAlignment align)
  4244. - void SetTextAlignment(HorizontalAlignment align)
  4245. - void SetRowSpacing(float spacing)
  4246. - void SetWordwrap(bool enable)
  4247. - void SetTextEffect(TextEffect textEffect)
  4248. - void SetEffectColor(const Color& effectColor)
  4249. - void SetEffectDepthBias(float bias)
  4250. - void SetWidth(int width)
  4251. - void SetColor(const Color& color)
  4252. - void SetColor(Corner corner, const Color& color)
  4253. - void SetOpacity(float opacity)
  4254. - void SetFaceCameraMode(FaceCameraMode mode)
  4255. - Font* GetFont() const
  4256. - Material* GetMaterial() const
  4257. - int GetFontSize() const
  4258. - const String GetText() const
  4259. - HorizontalAlignment GetTextAlignment() const
  4260. - HorizontalAlignment GetHorizontalAlignment() const
  4261. - VerticalAlignment GetVerticalAlignment() const
  4262. - float GetRowSpacing() const
  4263. - bool GetWordwrap() const
  4264. - TextEffect GetTextEffect() const
  4265. - const Color& GetEffectColor() const
  4266. - float GetEffectDepthBias() const
  4267. - int GetWidth() const
  4268. - int GetRowHeight() const
  4269. - unsigned GetNumRows() const
  4270. - unsigned GetNumChars() const
  4271. - int GetRowWidth(unsigned index) const
  4272. - IntVector2 GetCharPosition(unsigned index)
  4273. - IntVector2 GetCharSize(unsigned index)
  4274. - const Color& GetColor(Corner corner) const
  4275. - float GetOpacity() const
  4276. - FaceCameraMode GetFaceCameraMode() const
  4277. Properties:
  4278. - Font* font
  4279. - Material* material
  4280. - int fontSize (readonly)
  4281. - String text
  4282. - HorizontalAlignment textAlignment
  4283. - HorizontalAlignment horizontalAlignment
  4284. - VerticalAlignment verticalAlignment
  4285. - float rowSpacing
  4286. - bool wordwrap
  4287. - TextEffect textEffect
  4288. - Color& effectColor
  4289. - float effectDepthBias
  4290. - int width
  4291. - Color& color
  4292. - int rowHeight (readonly)
  4293. - unsigned numRows (readonly)
  4294. - unsigned numChars (readonly)
  4295. - float opacity
  4296. - FaceCameraMode faceCameraMode
  4297. ### Texture : Resource
  4298. Methods:
  4299. - void SetNumLevels(unsigned levels)
  4300. - void SetFilterMode(TextureFilterMode filter)
  4301. - void SetAddressMode(TextureCoordinate coord, TextureAddressMode address)
  4302. - void SetBorderColor(const Color& color)
  4303. - void SetSRGB(bool enable)
  4304. - void SetBackupTexture(Texture* texture)
  4305. - void SetMipsToSkip(int quality, int mips)
  4306. - unsigned GetFormat() const
  4307. - bool IsCompressed() const
  4308. - unsigned GetLevels() const
  4309. - int GetWidth() const
  4310. - int GetHeight() const
  4311. - TextureFilterMode GetFilterMode() const
  4312. - TextureAddressMode GetAddressMode(TextureCoordinate coord) const
  4313. - const Color& GetBorderColor() const
  4314. - bool GetSRGB() const
  4315. - Texture* GetBackupTexture() const
  4316. - int GetMipsToSkip(int quality) const
  4317. - int GetLevelWidth(unsigned level) const
  4318. - int GetLevelHeight(unsigned level) const
  4319. - TextureUsage GetUsage() const
  4320. - unsigned GetDataSize(int width, int height) const
  4321. - unsigned GetRowDataSize(int width) const
  4322. Properties:
  4323. - unsigned format (readonly)
  4324. - bool compressed (readonly)
  4325. - unsigned levels (readonly)
  4326. - int width (readonly)
  4327. - int height (readonly)
  4328. - TextureFilterMode filterMode
  4329. - Color& borderColor
  4330. - bool sRGB
  4331. - Texture* backupTexture
  4332. - TextureUsage usage (readonly)
  4333. ### Texture2D : Texture
  4334. Methods:
  4335. - Texture2D() (GC)
  4336. - Texture2D* new()
  4337. - void delete()
  4338. - bool SetSize(int width, int height, unsigned format, TextureUsage usage = TEXTURE_STATIC)
  4339. - bool SetData(Image* image, bool useAlpha = false)
  4340. - RenderSurface* GetRenderSurface() const
  4341. Properties:
  4342. - RenderSurface* renderSurface (readonly)
  4343. ### TextureCube : Texture
  4344. Methods:
  4345. - RenderSurface* GetRenderSurface(CubeMapFace face) const
  4346. ### TextureFrame
  4347. Methods:
  4348. - TextureFrame() (GC)
  4349. - TextureFrame* new()
  4350. - void delete()
  4351. Properties:
  4352. - Rect uv
  4353. - float time
  4354. ### Time : Object
  4355. Methods:
  4356. - unsigned GetFrameNumber() const
  4357. - float GetTimeStep() const
  4358. - unsigned GetTimerPeriod() const
  4359. - float GetElapsedTime()
  4360. - unsigned GetSystemTime()
  4361. - String GetTimeStamp()
  4362. - void Sleep(unsigned mSec)
  4363. Properties:
  4364. - unsigned frameNumber (readonly)
  4365. - float timeStep (readonly)
  4366. - unsigned timerPeriod (readonly)
  4367. - float elapsedTime (readonly)
  4368. ### ToolTip : UIElement
  4369. Methods:
  4370. - ToolTip() (GC)
  4371. - ToolTip* new()
  4372. - void delete()
  4373. - void SetDelay(float delay)
  4374. - float GetDelay() const
  4375. Properties:
  4376. - float delay
  4377. ### TouchState
  4378. Methods:
  4379. - UIElement* GetTouchedElement()
  4380. Properties:
  4381. - int touchID
  4382. - IntVector2 position
  4383. - IntVector2 lastPosition
  4384. - IntVector2 delta
  4385. - float pressure
  4386. - UIElement* touchedElement (readonly)
  4387. ### UI : Object
  4388. Methods:
  4389. - void SetCursor(Cursor* cursor)
  4390. - void SetFocusElement(UIElement* element, bool byKey = false)
  4391. - bool SetModalElement(UIElement* modalElement, bool enable)
  4392. - void Clear()
  4393. - void Update(float timeStep)
  4394. - void RenderUpdate()
  4395. - void Render()
  4396. - void DebugDraw(UIElement* element)
  4397. - UIElement* LoadLayout(File* source, XMLFile* styleFile = 0)
  4398. - UIElement* LoadLayout(const String fileName, XMLFile* styleFile = 0)
  4399. - UIElement* LoadLayout(XMLFile* file, XMLFile* styleFile = 0)
  4400. - bool SaveLayout(Serializer& dest, UIElement* element)
  4401. - void SetClipboardText(const String text)
  4402. - void SetDoubleClickInterval(float interval)
  4403. - void SetDragBeginInterval(float interval)
  4404. - void SetDragBeginDistance(int pixels)
  4405. - void SetDefaultToolTipDelay(float delay)
  4406. - void SetMaxFontTextureSize(int size)
  4407. - void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel)
  4408. - void SetUseSystemClipboard(bool enable)
  4409. - void SetUseScreenKeyboard(bool enable)
  4410. - void SetUseMutableGlyphs(bool enable)
  4411. - void SetForceAutoHint(bool enable)
  4412. - UIElement* GetRoot() const
  4413. - UIElement* GetRootModalElement() const
  4414. - Cursor* GetCursor() const
  4415. - IntVector2 GetCursorPosition() const
  4416. - UIElement* GetElementAt(const IntVector2& position, bool enabledOnly = true)
  4417. - UIElement* GetElementAt(int x, int y, bool enabledOnly = true)
  4418. - UIElement* GetFocusElement() const
  4419. - UIElement* GetFrontElement() const
  4420. - UIElement* GetDragElement() const
  4421. - const String GetClipboardText() const
  4422. - float GetDoubleClickInterval() const
  4423. - float GetDragBeginInterval() const
  4424. - int GetDragBeginDistance() const
  4425. - float GetDefaultToolTipDelay() const
  4426. - int GetMaxFontTextureSize() const
  4427. - bool IsNonFocusedMouseWheel() const
  4428. - bool GetUseSystemClipboard() const
  4429. - bool GetUseScreenKeyboard() const
  4430. - bool GetUseMutableGlyphs() const
  4431. - bool GetForceAutoHint() const
  4432. - bool HasModalElement() const
  4433. Properties:
  4434. - UIElement* root (readonly)
  4435. - UIElement* rootModalElement (readonly)
  4436. - Cursor* cursor
  4437. - IntVector2 cursorPosition (readonly)
  4438. - UIElement* focusElement (readonly)
  4439. - UIElement* frontElement (readonly)
  4440. - UIElement* dragElement (readonly)
  4441. - String clipboardText
  4442. - float doubleClickInterval
  4443. - float dragBeginInterval
  4444. - int dragBeginDistance
  4445. - float defaultToolTipDelay
  4446. - int maxFontTextureSize
  4447. - bool nonFocusedMouseWheel
  4448. - bool useSystemClipboard
  4449. - bool useScreenKeyboard
  4450. - bool useMutableGlyphs
  4451. - bool forceAutoHint
  4452. - bool modalElement (readonly)
  4453. ### UIElement : Animatable
  4454. Methods:
  4455. - UIElement() (GC)
  4456. - UIElement* new()
  4457. - void delete()
  4458. - const IntVector2& GetScreenPosition() const
  4459. - bool LoadXML(Deserializer& source)
  4460. - bool SaveXML(Serializer& dest) const
  4461. - bool LoadXML(const String fileName)
  4462. - bool SaveXML(const String fileName) const
  4463. - bool FilterAttributes(XMLElement& dest) const
  4464. - void SetName(const String name)
  4465. - void SetPosition(const IntVector2& position)
  4466. - void SetPosition(int x, int y)
  4467. - void SetSize(const IntVector2& size)
  4468. - void SetSize(int width, int height)
  4469. - void SetWidth(int width)
  4470. - void SetHeight(int height)
  4471. - void SetMinSize(const IntVector2& minSize)
  4472. - void SetMinSize(int width, int height)
  4473. - void SetMinWidth(int width)
  4474. - void SetMinHeight(int height)
  4475. - void SetMaxSize(const IntVector2& maxSize)
  4476. - void SetMaxSize(int width, int height)
  4477. - void SetMaxWidth(int width)
  4478. - void SetMaxHeight(int height)
  4479. - void SetFixedSize(const IntVector2& size)
  4480. - void SetFixedSize(int width, int height)
  4481. - void SetFixedWidth(int width)
  4482. - void SetFixedHeight(int height)
  4483. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4484. - void SetHorizontalAlignment(HorizontalAlignment align)
  4485. - void SetVerticalAlignment(VerticalAlignment align)
  4486. - void SetClipBorder(const IntRect& rect)
  4487. - void SetColor(const Color& color)
  4488. - void SetColor(Corner corner, const Color& color)
  4489. - void SetPriority(int priority)
  4490. - void SetOpacity(float opacity)
  4491. - void SetBringToFront(bool enable)
  4492. - void SetBringToBack(bool enable)
  4493. - void SetClipChildren(bool enable)
  4494. - void SetSortChildren(bool enable)
  4495. - void SetUseDerivedOpacity(bool enable)
  4496. - void SetEnabled(bool enable)
  4497. - void SetEditable(bool enable)
  4498. - void SetFocus(bool enable)
  4499. - void SetSelected(bool enable)
  4500. - void SetVisible(bool enable)
  4501. - void SetFocusMode(FocusMode mode)
  4502. - void SetDragDropMode(unsigned mode)
  4503. - bool SetStyle(const String styleName, XMLFile* file = 0)
  4504. - bool SetStyle(const XMLElement& element)
  4505. - bool SetStyleAuto(XMLFile* file = 0)
  4506. - void SetDefaultStyle(XMLFile* style)
  4507. - void SetLayout(LayoutMode mode, int spacing = 0)
  4508. - void SetLayout(LayoutMode mode, int spacing, const IntRect& border)
  4509. - void SetLayoutMode(LayoutMode mode)
  4510. - void SetLayoutSpacing(int spacing)
  4511. - void SetLayoutBorder(const IntRect& border)
  4512. - void SetIndent(int indent)
  4513. - void SetIndentSpacing(int indentSpacing)
  4514. - void UpdateLayout()
  4515. - void DisableLayoutUpdate()
  4516. - void EnableLayoutUpdate()
  4517. - void BringToFront()
  4518. - UIElement* CreateChild(const String type, const String name = String::EMPTY, unsigned index = M_MAX_UNSIGNED)
  4519. - void AddChild(UIElement* element)
  4520. - void InsertChild(unsigned index, UIElement* element)
  4521. - void RemoveChild(UIElement* element, unsigned index = 0)
  4522. - void RemoveChildAtIndex(unsigned index)
  4523. - void RemoveAllChildren()
  4524. - void Remove()
  4525. - unsigned FindChild(UIElement* element) const
  4526. - void SetParent(UIElement* parent, unsigned index = M_MAX_UNSIGNED)
  4527. - void SetVar(StringHash key, const Variant& value)
  4528. - void SetInternal(bool enable)
  4529. - void SetTraversalMode(TraversalMode traversalMode)
  4530. - void SetElementEventSender(bool flag)
  4531. - const String GetName() const
  4532. - const IntVector2& GetPosition() const
  4533. - const IntVector2& GetSize() const
  4534. - int GetWidth() const
  4535. - int GetHeight() const
  4536. - const IntVector2& GetMinSize() const
  4537. - int GetMinWidth() const
  4538. - int GetMinHeight() const
  4539. - const IntVector2& GetMaxSize() const
  4540. - int GetMaxWidth() const
  4541. - int GetMaxHeight() const
  4542. - bool IsFixedSize() const
  4543. - bool IsFixedWidth() const
  4544. - bool IsFixedHeight() const
  4545. - const IntVector2& GetChildOffset() const
  4546. - HorizontalAlignment GetHorizontalAlignment() const
  4547. - VerticalAlignment GetVerticalAlignment() const
  4548. - const IntRect& GetClipBorder() const
  4549. - const Color& GetColor(Corner corner) const
  4550. - int GetPriority() const
  4551. - float GetOpacity() const
  4552. - float GetDerivedOpacity() const
  4553. - bool GetBringToFront() const
  4554. - bool GetBringToBack() const
  4555. - bool GetClipChildren() const
  4556. - bool GetSortChildren() const
  4557. - bool GetUseDerivedOpacity() const
  4558. - bool HasFocus() const
  4559. - bool IsEnabled() const
  4560. - bool IsEditable() const
  4561. - bool IsSelected() const
  4562. - bool IsVisible() const
  4563. - bool IsHovering() const
  4564. - bool IsInternal() const
  4565. - bool HasColorGradient() const
  4566. - FocusMode GetFocusMode() const
  4567. - unsigned GetDragDropMode() const
  4568. - const String GetAppliedStyle() const
  4569. - XMLFile* GetDefaultStyle(bool recursiveUp = true) const
  4570. - LayoutMode GetLayoutMode() const
  4571. - int GetLayoutSpacing() const
  4572. - const IntRect& GetLayoutBorder() const
  4573. - unsigned GetNumChildren(bool recursive = false) const
  4574. - UIElement* GetChild(const String name, bool recursive = false) const
  4575. - UIElement* GetChild(unsigned index) const
  4576. - UIElement* GetParent() const
  4577. - UIElement* GetRoot() const
  4578. - const Color& GetDerivedColor() const
  4579. - const Variant& GetVar(StringHash key) const
  4580. - const VariantMap& GetVars() const
  4581. - IntVector2 ScreenToElement(const IntVector2& screenPosition)
  4582. - IntVector2 ElementToScreen(const IntVector2& position)
  4583. - bool IsInside(IntVector2 position, bool isScreen)
  4584. - bool IsInsideCombined(IntVector2 position, bool isScreen)
  4585. - IntRect GetCombinedScreenRect()
  4586. - void SortChildren()
  4587. - int GetLayoutMinSize() const
  4588. - int GetIndent() const
  4589. - int GetIndentSpacing() const
  4590. - int GetIndentWidth() const
  4591. - void SetChildOffset(const IntVector2& offset)
  4592. - void SetHovering(bool enable)
  4593. - const Color& GetColor() const
  4594. - TraversalMode GetTraversalMode() const
  4595. - bool IsElementEventSender() const
  4596. - UIElement* GetElementEventSender() const
  4597. Properties:
  4598. - IntVector2& screenPosition (readonly)
  4599. - String name
  4600. - IntVector2& position
  4601. - IntVector2 size
  4602. - int width
  4603. - int height
  4604. - IntVector2 minSize
  4605. - int minWidth
  4606. - int minHeight
  4607. - IntVector2 maxSize
  4608. - int maxWidth
  4609. - int maxHeight
  4610. - bool fixedSize (readonly)
  4611. - bool fixedWidth (readonly)
  4612. - bool fixedHeight (readonly)
  4613. - IntVector2& childOffset
  4614. - HorizontalAlignment horizontalAlignment
  4615. - VerticalAlignment verticalAlignment
  4616. - IntRect clipBorder
  4617. - Color& color
  4618. - int priority
  4619. - float opacity
  4620. - float derivedOpacity (readonly)
  4621. - bool bringToFront
  4622. - bool bringToBack
  4623. - bool clipChildren
  4624. - bool sortChildren
  4625. - bool useDerivedOpacity
  4626. - bool focus
  4627. - bool enabled
  4628. - bool editable
  4629. - bool selected
  4630. - bool visible
  4631. - bool hovering
  4632. - bool internal
  4633. - bool colorGradient (readonly)
  4634. - FocusMode focusMode
  4635. - unsigned dragDropMode
  4636. - String style
  4637. - XMLFile* defaultStyle
  4638. - LayoutMode layoutMode
  4639. - int layoutSpacing
  4640. - IntRect& layoutBorder
  4641. - unsigned numChildren (readonly)
  4642. - UIElement* parent
  4643. - UIElement* root (readonly)
  4644. - Color& derivedColor (readonly)
  4645. - IntRect combinedScreenRect (readonly)
  4646. - int layoutMinSize (readonly)
  4647. - int indent
  4648. - int indentSpacing
  4649. - int indentWidth (readonly)
  4650. - TraversalMode traversalMode
  4651. - bool elementEventSender
  4652. ### ValueAnimation : Resource
  4653. Methods:
  4654. - ValueAnimation() (GC)
  4655. - ValueAnimation* new()
  4656. - void delete()
  4657. - void SetInterpolationMethod(InterpMethod method)
  4658. - void SetSplineTension(float tension)
  4659. - void SetValueType(VariantType valueType)
  4660. - bool SetKeyFrame(float time, const Variant& value)
  4661. - void SetEventFrame(float time, const StringHash& eventType)
  4662. - void SetEventFrame(float time, const StringHash& eventType, const VariantMap& eventData)
  4663. - InterpMethod GetInterpolationMethod() const
  4664. - float GetSplineTension() const
  4665. - VariantType GetValueType() const
  4666. Properties:
  4667. - InterpMethod interpolationMethod
  4668. - float splineTension
  4669. - VariantType valueType
  4670. ### Variant
  4671. Methods:
  4672. - Variant() (GC)
  4673. - Variant* new()
  4674. - Variant(int value) (GC)
  4675. - Variant* new(int value)
  4676. - Variant(unsigned value) (GC)
  4677. - Variant* new(unsigned value)
  4678. - Variant(const StringHash& value) (GC)
  4679. - Variant* new(const StringHash& 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 Matrix3& rhs) const
  4739. - bool operator==(const Matrix3x4& rhs) const
  4740. - bool operator==(const Matrix4& rhs) const
  4741. - void SetInt(int value)
  4742. - void SetUint(unsigned value)
  4743. - void SetStringHash(const StringHash& value)
  4744. - void SetBool(bool value)
  4745. - void SetFloat(float value)
  4746. - void SetVector2(const Vector2& value)
  4747. - void SetVector3(const Vector3& value)
  4748. - void SetVector4(const Vector4& value)
  4749. - void SetQuaternion(const Quaternion& value)
  4750. - void SetColor(const Color& value)
  4751. - void SetString(const String value)
  4752. - void SetBuffer(const VectorBuffer& value)
  4753. - void SetResourceRef(const ResourceRef& value)
  4754. - void SetResourceRefList(const ResourceRefList& value)
  4755. - void SetIntRect(const IntRect& value)
  4756. - void SetIntVector2(const IntVector2& value)
  4757. - void SetMatrix3(const Matrix3& value)
  4758. - void SetMatrix3x4(const Matrix3x4& value)
  4759. - void SetMatrix4(const Matrix4& value)
  4760. - int GetInt() const
  4761. - int GetUInt() const
  4762. - StringHash GetStringHash()
  4763. - bool GetBool() const
  4764. - float GetFloat() const
  4765. - const Vector2& GetVector2() const
  4766. - const Vector3& GetVector3() const
  4767. - const Vector4& GetVector4() const
  4768. - const Quaternion& GetQuaternion() const
  4769. - const Color& GetColor() const
  4770. - const String GetString() const
  4771. - VectorBuffer GetBuffer() const
  4772. - const ResourceRef& GetResourceRef() const
  4773. - const ResourceRefList& GetResourceRefList() const
  4774. - const IntRect& GetIntRect() const
  4775. - const IntVector2& GetIntVector2() const
  4776. - const Matrix3& GetMatrix3() const
  4777. - const Matrix3x4& GetMatrix3x4() const
  4778. - const Matrix4& GetMatrix4() const
  4779. - VariantType GetType() const
  4780. - String GetTypeName() const
  4781. - String ToString() const
  4782. - bool IsZero() const
  4783. - bool IsEmpty() const
  4784. Properties:
  4785. - VariantType type (readonly)
  4786. - String typeName (readonly)
  4787. - bool zero (readonly)
  4788. - bool empty (readonly)
  4789. ### VariantMap
  4790. Methods:
  4791. - VariantMap() (GC)
  4792. - VariantMap* new()
  4793. - void delete()
  4794. - void SetInt(const String key, int value)
  4795. - void SetUInt(const String key, unsigned value)
  4796. - void SetStringHash(const String key, const StringHash& value)
  4797. - void SetBool(const String key, bool value)
  4798. - void SetFloat(const String key, float value)
  4799. - void SetVector2(const String key, const Vector2 value)
  4800. - void SetVector3(const String key, const Vector3 value)
  4801. - void SetVector4(const String key, const Vector4 value)
  4802. - void SetQuaternion(const String key, const Quaternion value)
  4803. - void SetColor(const String key, const Color value)
  4804. - void SetString(const String key, const String value)
  4805. - void SetBuffer(const String key, const VectorBuffer& value)
  4806. - void SetResourceRef(const String key, const ResourceRef value)
  4807. - void SetResourceRefList(const String key, const ResourceRefList value)
  4808. - void SetIntRect(const String key, const IntRect value)
  4809. - void SetIntVector2(const String key, const IntVector2 value)
  4810. - void SetPtr(const String key, void* value)
  4811. - void SetMatrix3(const String key, const Matrix3 value)
  4812. - void SetMatrix3x4(const String key, const Matrix3x4 value)
  4813. - void SetMatrix4(const String key, const Matrix4 value)
  4814. - int GetInt(const String key)
  4815. - int GetUInt(const String key)
  4816. - StringHash GetStringHash(const String key)
  4817. - bool GetBool(const String key)
  4818. - float GetFloat(const String key)
  4819. - const Vector2& GetVector2(const String key)
  4820. - const Vector3& GetVector3(const String key)
  4821. - const Vector4& GetVector4(const String key)
  4822. - const Quaternion& GetQuaternion(const String key)
  4823. - const Color& GetColor(const String key)
  4824. - const String GetString(const String key)
  4825. - VectorBuffer GetBuffer(const String key)
  4826. - const ResourceRef& GetResourceRef(const String key)
  4827. - const ResourceRefList& GetResourceRefList(const String key)
  4828. - const IntRect& GetIntRect(const String key)
  4829. - const IntVector2& GetIntVector2(const String key)
  4830. - const void* GetPtr(const String type, const String key)
  4831. - const Matrix3& GetMatrix3(const String key)
  4832. - const Matrix3x4& GetMatrix3x4(const String key)
  4833. - const Matrix4& GetMatrix4(const String key)
  4834. ### Vector2
  4835. Methods:
  4836. - Vector2() (GC)
  4837. - Vector2* new()
  4838. - Vector2(const Vector2& vector) (GC)
  4839. - Vector2* new(const Vector2& vector)
  4840. - Vector2(float x, float y) (GC)
  4841. - Vector2* new(float x, float y)
  4842. - void delete()
  4843. - bool operator==(const Vector2& rhs) const
  4844. - Vector2 operator+(const Vector2& rhs) const
  4845. - Vector2 operator-() const
  4846. - Vector2 operator-(const Vector2& rhs) const
  4847. - Vector2 operator*(float rhs) const
  4848. - Vector2 operator*(const Vector2& rhs) const
  4849. - Vector2 operator/(float rhs) const
  4850. - Vector2 operator/(const Vector2& rhs) const
  4851. - Vector2 operator/(const Vector2& rhs) const
  4852. - void Normalize()
  4853. - float Length() const
  4854. - float LengthSquared() const
  4855. - float DotProduct(const Vector2& rhs) const
  4856. - float AbsDotProduct(const Vector2& rhs) const
  4857. - Vector2 Abs() const
  4858. - Vector2 Lerp(const Vector2& rhs, float t) const
  4859. - bool Equals(const Vector2& rhs) const
  4860. - bool IsNaN() const
  4861. - Vector2 Normalized() const
  4862. - String ToString() const
  4863. Properties:
  4864. - float x
  4865. - float y
  4866. - const Vector2 ZERO
  4867. - const Vector2 LEFT
  4868. - const Vector2 RIGHT
  4869. - const Vector2 UP
  4870. - const Vector2 DOWN
  4871. - const Vector2 ONE
  4872. ### Vector3
  4873. Methods:
  4874. - Vector3() (GC)
  4875. - Vector3* new()
  4876. - Vector3(const Vector3& vector) (GC)
  4877. - Vector3* new(const Vector3& vector)
  4878. - Vector3(const Vector2& vector, float z) (GC)
  4879. - Vector3* new(const Vector2& vector, float z)
  4880. - Vector3(const Vector2& vector) (GC)
  4881. - Vector3* new(const Vector2& vector)
  4882. - Vector3(float x, float y, float z) (GC)
  4883. - Vector3* new(float x, float y, float z)
  4884. - Vector3(float x, float y) (GC)
  4885. - Vector3* new(float x, float y)
  4886. - void delete()
  4887. - bool operator==(const Vector3& rhs) const
  4888. - Vector3 operator+(const Vector3& rhs) const
  4889. - Vector3 operator-() const
  4890. - Vector3 operator-(const Vector3& rhs) const
  4891. - Vector3 operator*(float rhs) const
  4892. - Vector3 operator*(const Vector3& rhs) const
  4893. - Vector3 operator/(float rhs) const
  4894. - Vector3 operator/(const Vector3& rhs) const
  4895. - void Normalize()
  4896. - float Length() const
  4897. - float LengthSquared() const
  4898. - float DotProduct(const Vector3& rhs) const
  4899. - float AbsDotProduct(const Vector3& rhs) const
  4900. - Vector3 CrossProduct(const Vector3& rhs) const
  4901. - Vector3 Abs() const
  4902. - Vector3 Lerp(const Vector3& rhs, float t) const
  4903. - bool Equals(const Vector3& rhs) const
  4904. - bool IsNaN() const
  4905. - float Angle(const Vector3& rhs) const
  4906. - Vector3 Normalized() const
  4907. - String ToString() const
  4908. Properties:
  4909. - float x
  4910. - float y
  4911. - float z
  4912. - const Vector3 ZERO
  4913. - const Vector3 LEFT
  4914. - const Vector3 RIGHT
  4915. - const Vector3 UP
  4916. - const Vector3 DOWN
  4917. - const Vector3 FORWARD
  4918. - const Vector3 BACK
  4919. - const Vector3 ONE
  4920. ### Vector4
  4921. Methods:
  4922. - Vector4() (GC)
  4923. - Vector4* new()
  4924. - Vector4(const Vector4& vector) (GC)
  4925. - Vector4* new(const Vector4& vector)
  4926. - Vector4(const Vector3& vector, float w) (GC)
  4927. - Vector4* new(const Vector3& vector, float w)
  4928. - Vector4(float x, float y, float z, float w) (GC)
  4929. - Vector4* new(float x, float y, float z, float w)
  4930. - void delete()
  4931. - bool operator==(const Vector4& rhs) const
  4932. - Vector4 operator+(const Vector4& rhs) const
  4933. - Vector4 operator-() const
  4934. - Vector4 operator-(const Vector4& rhs) const
  4935. - Vector4 operator*(float rhs) const
  4936. - Vector4 operator*(const Vector4& rhs) const
  4937. - Vector4 operator/(float rhs) const
  4938. - Vector4 operator/(const Vector4& rhs) const
  4939. - Vector4 operator/(const Vector4& rhs) const
  4940. - float DotProduct(const Vector4& rhs) const
  4941. - float AbsDotProduct(const Vector4& rhs) const
  4942. - Vector4 Abs() const
  4943. - Vector4 Lerp(const Vector4& rhs, float t) const
  4944. - bool Equals(const Vector4& rhs) const
  4945. - bool IsNaN() const
  4946. - String ToString() const
  4947. Properties:
  4948. - float x
  4949. - float y
  4950. - float z
  4951. - float w
  4952. - const Vector4 ZERO
  4953. - const Vector4 ONE
  4954. ### VectorBuffer
  4955. Methods:
  4956. - VectorBuffer() (GC)
  4957. - VectorBuffer* new()
  4958. - VectorBuffer(Deserializer& source, unsigned size) (GC)
  4959. - VectorBuffer* new(Deserializer& source, unsigned size)
  4960. - void delete()
  4961. - void SetData(Deserializer& source, unsigned size)
  4962. - void Clear()
  4963. - void Resize(unsigned size)
  4964. - const void* GetData() const
  4965. - void* GetModifiableData()
  4966. - VectorBuffer Read(unsigned size)
  4967. - unsigned Seek(unsigned position)
  4968. - const String GetName() const
  4969. - unsigned GetChecksum()
  4970. - unsigned GetPosition() const
  4971. - unsigned GetSize() const
  4972. - bool IsEof() const
  4973. - int ReadInt()
  4974. - short ReadShort()
  4975. - char ReadByte()
  4976. - unsigned ReadUInt()
  4977. - short ReadUShort()
  4978. - char ReadUByte()
  4979. - bool ReadBool()
  4980. - float ReadFloat()
  4981. - IntRect ReadIntRect()
  4982. - IntVector2 ReadIntVector2()
  4983. - Rect ReadRect()
  4984. - Vector2 ReadVector2()
  4985. - Vector3 ReadVector3()
  4986. - Vector3 ReadPackedVector3(float maxAbsCoord)
  4987. - Vector4 ReadVector4()
  4988. - Quaternion ReadQuaternion()
  4989. - Quaternion ReadPackedQuaternion()
  4990. - Matrix3 ReadMatrix3()
  4991. - Matrix3x4 ReadMatrix3x4()
  4992. - Matrix4 ReadMatrix4()
  4993. - Color ReadColor()
  4994. - BoundingBox ReadBoundingBox()
  4995. - String ReadString()
  4996. - String ReadFileID()
  4997. - StringHash ReadStringHash()
  4998. - VectorBuffer ReadBuffer()
  4999. - ResourceRef ReadResourceRef()
  5000. - ResourceRefList ReadResourceRefList()
  5001. - Variant ReadVariant()
  5002. - Variant ReadVariant(VariantType type)
  5003. - VariantVector ReadVariantVector()
  5004. - VariantMap ReadVariantMap()
  5005. - unsigned ReadVLE()
  5006. - unsigned ReadNetID()
  5007. - String ReadLine()
  5008. - unsigned Write(const VectorBuffer& buffer)
  5009. - bool WriteInt(int value)
  5010. - bool WriteShort(short value)
  5011. - bool WriteByte(char value)
  5012. - bool WriteUInt(unsigned value)
  5013. - bool WriteUShort(short value)
  5014. - bool WriteUByte(char value)
  5015. - bool WriteBool(bool value)
  5016. - bool WriteFloat(float value)
  5017. - bool WriteIntRect(const IntRect& value)
  5018. - bool WriteIntVector2(const IntVector2& value)
  5019. - bool WriteRect(const Rect& value)
  5020. - bool WriteVector2(const Vector2& value)
  5021. - bool WriteVector3(const Vector3& value)
  5022. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  5023. - bool WriteVector4(const Vector4& value)
  5024. - bool WriteQuaternion(const Quaternion& value)
  5025. - bool WritePackedQuaternion(const Quaternion& value)
  5026. - bool WriteMatrix3(const Matrix3& value)
  5027. - bool WriteMatrix3x4(const Matrix3x4& value)
  5028. - bool WriteMatrix4(const Matrix4& value)
  5029. - bool WriteColor(const Color& value)
  5030. - bool WriteBoundingBox(const BoundingBox& value)
  5031. - bool WriteString(const String value)
  5032. - bool WriteFileID(const String value)
  5033. - bool WriteStringHash(const StringHash& value)
  5034. - bool WriteBuffer(const VectorBuffer& buffer)
  5035. - bool WriteResourceRef(const ResourceRef& value)
  5036. - bool WriteResourceRefList(const ResourceRefList& value)
  5037. - bool WriteVariant(const Variant& value)
  5038. - bool WriteVariantData(const Variant& value)
  5039. - bool WriteVariantVector(const VariantVector& value)
  5040. - bool WriteVariantMap(const VariantMap& value)
  5041. - bool WriteVLE(unsigned value)
  5042. - bool WriteNetID(unsigned value)
  5043. - bool WriteLine(const String value)
  5044. Properties:
  5045. - String name (readonly)
  5046. - unsigned checksum (readonly)
  5047. - unsigned position (readonly)
  5048. - unsigned size (readonly)
  5049. - bool eof (readonly)
  5050. ### View3D : Window
  5051. Methods:
  5052. - View3D() (GC)
  5053. - View3D* new()
  5054. - void delete()
  5055. - void SetView(Scene* scene, Camera* camera)
  5056. - void SetFormat(unsigned format)
  5057. - void SetAutoUpdate(bool enable)
  5058. - void QueueUpdate()
  5059. - unsigned GetFormat() const
  5060. - bool GetAutoUpdate() const
  5061. - Scene* GetScene() const
  5062. - Node* GetCameraNode() const
  5063. - Texture2D* GetRenderTexture() const
  5064. - Texture2D* GetDepthTexture() const
  5065. - Viewport* GetViewport() const
  5066. Properties:
  5067. - unsigned format
  5068. - bool autoUpdate
  5069. ### Viewport
  5070. Methods:
  5071. - Viewport() (GC)
  5072. - Viewport* new()
  5073. - Viewport(Scene* scene, Camera* camera, RenderPath* renderPath = 0) (GC)
  5074. - Viewport* new(Scene* scene, Camera* camera, RenderPath* renderPath = 0)
  5075. - Viewport(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0) (GC)
  5076. - Viewport* new(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0)
  5077. - void delete()
  5078. - void SetScene(Scene* scene)
  5079. - void SetCamera(Camera* camera)
  5080. - void SetRect(const IntRect& rect)
  5081. - void SetRenderPath(RenderPath* path)
  5082. - void SetRenderPath(XMLFile* file)
  5083. - Scene* GetScene() const
  5084. - Camera* GetCamera() const
  5085. - const IntRect& GetRect() const
  5086. - RenderPath* GetRenderPath() const
  5087. Properties:
  5088. - Scene* scene
  5089. - Camera* camera
  5090. - IntRect& rect
  5091. - RenderPath* renderPath
  5092. ### Window : BorderImage
  5093. Methods:
  5094. - Window() (GC)
  5095. - Window* new()
  5096. - void delete()
  5097. - void SetMovable(bool enable)
  5098. - void SetResizable(bool enable)
  5099. - void SetFixedWidthResizing(bool enable)
  5100. - void SetFixedHeightResizing(bool enable)
  5101. - void SetResizeBorder(const IntRect& rect)
  5102. - void SetModal(bool modal)
  5103. - void SetModalShadeColor(const Color& color)
  5104. - void SetModalFrameColor(const Color& color)
  5105. - void SetModalFrameSize(const IntVector2& size)
  5106. - bool IsMovable() const
  5107. - bool IsResizable() const
  5108. - bool GetFixedWidthResizing() const
  5109. - bool GetFixedHeightResizing() const
  5110. - const IntRect& GetResizeBorder() const
  5111. - bool IsModal() const
  5112. - const Color& GetModalShadeColor() const
  5113. - const Color& GetModalFrameColor() const
  5114. - const IntVector2& GetModalFrameSize() const
  5115. Properties:
  5116. - bool movable
  5117. - bool resizable
  5118. - bool fixedWidthResizing
  5119. - bool fixedHeightResizing
  5120. - IntRect& resizeBorder
  5121. - bool modal
  5122. - Color& modalShadeColor
  5123. - Color& modalFrameColor
  5124. - IntVector2& modalFrameSize
  5125. ### XMLElement
  5126. Methods:
  5127. - XMLElement CreateChild(const String name)
  5128. - bool RemoveChild(const XMLElement& element)
  5129. - bool RemoveChild(const String name)
  5130. - bool RemoveChildren(const String name = String::EMPTY)
  5131. - bool RemoveAttribute(const String name = String::EMPTY)
  5132. - bool SetValue(const String value)
  5133. - bool SetAttribute(const String name, const String value)
  5134. - bool SetAttribute(const String value)
  5135. - bool SetBool(const String name, bool value)
  5136. - bool SetBoundingBox(const BoundingBox& value)
  5137. - bool SetColor(const String name, const Color& value)
  5138. - bool SetFloat(const String name, float value)
  5139. - bool SetUInt(const String name, unsigned value)
  5140. - bool SetInt(const String name, int value)
  5141. - bool SetIntRect(const String name, const IntRect& value)
  5142. - bool SetIntVector2(const String name, const IntVector2& value)
  5143. - bool SetRect(const String name, const Rect& value)
  5144. - bool SetQuaternion(const String name, const Quaternion& value)
  5145. - bool SetString(const String name, const String value)
  5146. - bool SetVariant(const Variant& value)
  5147. - bool SetVariantValue(const Variant& value)
  5148. - bool SetResourceRef(const ResourceRef& value)
  5149. - bool SetResourceRefList(const ResourceRefList& value)
  5150. - bool SetVector2(const String name, const Vector2& value)
  5151. - bool SetVector3(const String name, const Vector3& value)
  5152. - bool SetVector4(const String name, const Vector4& value)
  5153. - bool SetVectorVariant(const String name, const Variant& value)
  5154. - bool SetMatrix3(const String name, const Matrix3& value)
  5155. - bool SetMatrix3x4(const String name, const Matrix3x4& value)
  5156. - bool SetMatrix4(const String name, const Matrix4& value)
  5157. - bool IsNull() const
  5158. - bool NotNull() const
  5159. - bool operatorbool() const
  5160. - String GetName() const
  5161. - bool HasChild(const String name) const
  5162. - XMLElement GetChild(const String name = String::EMPTY) const
  5163. - XMLElement GetNext(const String name = String::EMPTY) const
  5164. - XMLElement GetParent() const
  5165. - unsigned GetNumAttributes() const
  5166. - bool HasAttribute(const String name) const
  5167. - String GetValue() const
  5168. - String GetAttribute(const String name = String::EMPTY) const
  5169. - String GetAttributeLower(const String name) const
  5170. - String GetAttributeUpper(const String name) const
  5171. - Vector<String> GetAttributeNames() const
  5172. - bool GetBool(const String name) const
  5173. - BoundingBox GetBoundingBox() const
  5174. - Color GetColor(const String name) const
  5175. - float GetFloat(const String name) const
  5176. - unsigned GetUInt(const String name) const
  5177. - int GetInt(const String name) const
  5178. - IntRect GetIntRect(const String name) const
  5179. - IntVector2 GetIntVector2(const String name) const
  5180. - Rect GetRect(const String name) const
  5181. - Quaternion GetQuaternion(const String name) const
  5182. - Variant GetVariant() const
  5183. - Variant GetVariantValue(VariantType type) const
  5184. - ResourceRef GetResourceRef() const
  5185. - ResourceRefList GetResourceRefList() const
  5186. - VariantMap GetVariantMap() const
  5187. - Vector2 GetVector2(const String name) const
  5188. - Vector3 GetVector3(const String name) const
  5189. - Vector4 GetVector4(const String name) const
  5190. - Vector4 GetVector(const String name) const
  5191. - Matrix3 GetMatrix3(const String name) const
  5192. - Matrix3x4 GetMatrix3x4(const String name) const
  5193. - Matrix4 GetMatrix4(const String name) const
  5194. - XMLFile* GetFile() const
  5195. Properties:
  5196. - const XMLElement EMPTY
  5197. - bool null (readonly)
  5198. - String name (readonly)
  5199. - XMLElement parent (readonly)
  5200. - String value (readonly)
  5201. - unsigned numAttributes (readonly)
  5202. - XMLFile* file (readonly)
  5203. ### XMLFile : Resource
  5204. Methods:
  5205. - XMLFile() (GC)
  5206. - XMLFile* new()
  5207. - void delete()
  5208. - bool FromString(const String source)
  5209. - XMLElement CreateRoot(const String name = String::EMPTY)
  5210. - XMLElement GetRoot(const String name = String::EMPTY)
  5211. - void Patch(XMLFile* patchFile)
  5212. - void Patch(XMLElement patchElement)
  5213. ### Zone : Drawable
  5214. Methods:
  5215. - void SetBoundingBox(const BoundingBox& box)
  5216. - void SetAmbientColor(const Color& color)
  5217. - void SetFogColor(const Color& color)
  5218. - void SetFogStart(float start)
  5219. - void SetFogEnd(float end)
  5220. - void SetFogHeight(float height)
  5221. - void SetFogHeightScale(float scale)
  5222. - void SetPriority(int priority)
  5223. - void SetHeightFog(bool enable)
  5224. - void SetOverride(bool enable)
  5225. - void SetAmbientGradient(bool enable)
  5226. - void SetZoneTexture(Texture* texture)
  5227. - const Matrix3x4& GetInverseWorldTransform() const
  5228. - const Color& GetAmbientColor() const
  5229. - const Color& GetAmbientStartColor()
  5230. - const Color& GetAmbientEndColor()
  5231. - const Color& GetFogColor() const
  5232. - float GetFogStart() const
  5233. - float GetFogEnd() const
  5234. - float GetFogHeight() const
  5235. - float GetFogHeightScale() const
  5236. - int GetPriority() const
  5237. - bool GetHeightFog() const
  5238. - bool GetOverride() const
  5239. - bool GetAmbientGradient() const
  5240. - Texture* GetZoneTexture() const
  5241. - bool IsInside(const Vector3& point) const
  5242. Properties:
  5243. - BoundingBox& boundingBox
  5244. - Matrix3x4& inverseWorldTransform (readonly)
  5245. - Color& ambientColor
  5246. - Color& ambientStartColor (readonly)
  5247. - Color& ambientEndColor (readonly)
  5248. - Color& fogColor
  5249. - float fogStart
  5250. - float fogEnd
  5251. - float fogHeight
  5252. - float fogHeightScale
  5253. - int priority
  5254. - bool heightFog
  5255. - bool override
  5256. - bool ambientGradient
  5257. - Texture* zoneTexture
  5258. \section LuaScriptAPI_Enums Enumerations
  5259. ### BlendMode
  5260. - int BLEND_REPLACE
  5261. - int BLEND_ADD
  5262. - int BLEND_MULTIPLY
  5263. - int BLEND_ALPHA
  5264. - int BLEND_ADDALPHA
  5265. - int BLEND_PREMULALPHA
  5266. - int BLEND_INVDESTALPHA
  5267. - int BLEND_SUBTRACT
  5268. - int BLEND_SUBTRACTALPHA
  5269. - int MAX_BLENDMODES
  5270. ### BodyType2D
  5271. - int BT_STATIC
  5272. - int BT_DYNAMIC
  5273. - int BT_KINEMATIC
  5274. ### CollisionEventMode
  5275. - int COLLISION_NEVER
  5276. - int COLLISION_ACTIVE
  5277. - int COLLISION_ALWAYS
  5278. ### CompareMode
  5279. - int CMP_ALWAYS
  5280. - int CMP_EQUAL
  5281. - int CMP_NOTEQUAL
  5282. - int CMP_LESS
  5283. - int CMP_LESSEQUAL
  5284. - int CMP_GREATER
  5285. - int CMP_GREATEREQUAL
  5286. - int MAX_COMPAREMODES
  5287. ### CompressedFormat
  5288. - int CF_NONE
  5289. - int CF_DXT1
  5290. - int CF_DXT3
  5291. - int CF_DXT5
  5292. - int CF_ETC1
  5293. - int CF_PVRTC_RGB_2BPP
  5294. - int CF_PVRTC_RGBA_2BPP
  5295. - int CF_PVRTC_RGB_4BPP
  5296. - int CF_PVRTC_RGBA_4BPP
  5297. ### ConstraintType
  5298. - int CONSTRAINT_POINT
  5299. - int CONSTRAINT_HINGE
  5300. - int CONSTRAINT_SLIDER
  5301. - int CONSTRAINT_CONETWIST
  5302. ### Corner
  5303. - int C_TOPLEFT
  5304. - int C_TOPRIGHT
  5305. - int C_BOTTOMLEFT
  5306. - int C_BOTTOMRIGHT
  5307. - int MAX_UIELEMENT_CORNERS
  5308. ### CreateMode
  5309. - int REPLICATED
  5310. - int LOCAL
  5311. ### CubeMapFace
  5312. - int FACE_POSITIVE_X
  5313. - int FACE_NEGATIVE_X
  5314. - int FACE_POSITIVE_Y
  5315. - int FACE_NEGATIVE_Y
  5316. - int FACE_POSITIVE_Z
  5317. - int FACE_NEGATIVE_Z
  5318. - int MAX_CUBEMAP_FACES
  5319. ### CullMode
  5320. - int CULL_NONE
  5321. - int CULL_CCW
  5322. - int CULL_CW
  5323. - int MAX_CULLMODES
  5324. ### CursorShape
  5325. - int CS_NORMAL
  5326. - int CS_RESIZEVERTICAL
  5327. - int CS_RESIZEDIAGONAL_TOPRIGHT
  5328. - int CS_RESIZEHORIZONTAL
  5329. - int CS_RESIZEDIAGONAL_TOPLEFT
  5330. - int CS_ACCEPTDROP
  5331. - int CS_REJECTDROP
  5332. - int CS_BUSY
  5333. - int CS_MAX_SHAPES
  5334. ### EmitterType
  5335. - int EMITTER_SPHERE
  5336. - int EMITTER_BOX
  5337. ### EmitterType2D
  5338. - int EMITTER_TYPE_GRAVITY
  5339. - int EMITTER_TYPE_RADIAL
  5340. ### FaceCameraMode
  5341. - int FC_NONE
  5342. - int FC_ROTATE_XYZ
  5343. - int FC_ROTATE_Y
  5344. - int FC_LOOKAT_XYZ
  5345. - int FC_LOOKAT_Y
  5346. ### FileMode
  5347. - int FILE_READ
  5348. - int FILE_WRITE
  5349. - int FILE_READWRITE
  5350. ### FillMode
  5351. - int FILL_SOLID
  5352. - int FILL_WIREFRAME
  5353. - int FILL_POINT
  5354. ### FocusMode
  5355. - int FM_NOTFOCUSABLE
  5356. - int FM_RESETFOCUS
  5357. - int FM_FOCUSABLE
  5358. - int FM_FOCUSABLE_DEFOCUSABLE
  5359. ### FrustumPlane
  5360. - int PLANE_NEAR
  5361. - int PLANE_LEFT
  5362. - int PLANE_RIGHT
  5363. - int PLANE_UP
  5364. - int PLANE_DOWN
  5365. - int PLANE_FAR
  5366. ### GeometryType
  5367. - int GEOM_STATIC
  5368. - int GEOM_SKINNED
  5369. - int GEOM_INSTANCED
  5370. - int GEOM_BILLBOARD
  5371. - int GEOM_STATIC_NOINSTANCING
  5372. - int MAX_GEOMETRYTYPES
  5373. ### HighlightMode
  5374. - int HM_NEVER
  5375. - int HM_FOCUS
  5376. - int HM_ALWAYS
  5377. ### HorizontalAlignment
  5378. - int HA_LEFT
  5379. - int HA_CENTER
  5380. - int HA_RIGHT
  5381. ### HttpRequestState
  5382. - int HTTP_INITIALIZING
  5383. - int HTTP_ERROR
  5384. - int HTTP_OPEN
  5385. - int HTTP_CLOSED
  5386. ### InterpMethod
  5387. - int IM_LINEAR
  5388. - int IM_SPLINE
  5389. ### InterpolationMode
  5390. - int BEZIER_CURVE
  5391. ### Intersection
  5392. - int OUTSIDE
  5393. - int INTERSECTS
  5394. - int INSIDE
  5395. ### JSONValueType
  5396. - int JSON_ANY
  5397. - int JSON_OBJECT
  5398. - int JSON_ARRAY
  5399. ### LayoutMode
  5400. - int LM_FREE
  5401. - int LM_HORIZONTAL
  5402. - int LM_VERTICAL
  5403. ### LightType
  5404. - int LIGHT_DIRECTIONAL
  5405. - int LIGHT_SPOT
  5406. - int LIGHT_POINT
  5407. ### LoadMode
  5408. - int LOAD_RESOURCES_ONLY
  5409. - int LOAD_SCENE
  5410. - int LOAD_SCENE_AND_RESOURCES
  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. - int POINT_LIST
  5431. - int TRIANGLE_STRIP
  5432. - int LINE_STRIP
  5433. - int TRIANGLE_FAN
  5434. ### RayQueryLevel
  5435. - int RAY_AABB
  5436. - int RAY_OBB
  5437. - int RAY_TRIANGLE
  5438. ### RenderSurfaceUpdateMode
  5439. - int SURFACE_MANUALUPDATE
  5440. - int SURFACE_UPDATEVISIBLE
  5441. - int SURFACE_UPDATEALWAYS
  5442. ### ShaderParameterGroup
  5443. - int SP_FRAME
  5444. - int SP_CAMERA
  5445. - int SP_VIEWPORT
  5446. - int SP_ZONE
  5447. - int SP_LIGHT
  5448. - int SP_VERTEXLIGHTS
  5449. - int SP_MATERIAL
  5450. - int SP_OBJECTTRANSFORM
  5451. - int MAX_SHADER_PARAMETER_GROUPS
  5452. ### ShaderType
  5453. - int VS
  5454. - int PS
  5455. ### ShapeType
  5456. - int SHAPE_BOX
  5457. - int SHAPE_SPHERE
  5458. - int SHAPE_STATICPLANE
  5459. - int SHAPE_CYLINDER
  5460. - int SHAPE_CAPSULE
  5461. - int SHAPE_CONE
  5462. - int SHAPE_TRIANGLEMESH
  5463. - int SHAPE_CONVEXHULL
  5464. - int SHAPE_TERRAIN
  5465. ### SoundType
  5466. - int SOUND_EFFECT
  5467. - int SOUND_AMBIENT
  5468. - int SOUND_VOICE
  5469. - int SOUND_MUSIC
  5470. - int SOUND_MASTER
  5471. - int MAX_SOUND_TYPES
  5472. ### StencilOp
  5473. - int OP_KEEP
  5474. - int OP_ZERO
  5475. - int OP_REF
  5476. - int OP_INCR
  5477. - int OP_DECR
  5478. ### TextEffect
  5479. - int TE_NONE
  5480. - int TE_SHADOW
  5481. - int TE_STROKE
  5482. ### TextureAddressMode
  5483. - int ADDRESS_WRAP
  5484. - int ADDRESS_MIRROR
  5485. - int ADDRESS_CLAMP
  5486. - int ADDRESS_BORDER
  5487. - int MAX_ADDRESSMODES
  5488. ### TextureCoordinate
  5489. - int COORD_U
  5490. - int COORD_V
  5491. - int COORD_W
  5492. - int MAX_COORDS
  5493. ### TextureFilterMode
  5494. - int FILTER_NEAREST
  5495. - int FILTER_BILINEAR
  5496. - int FILTER_TRILINEAR
  5497. - int FILTER_ANISOTROPIC
  5498. - int FILTER_DEFAULT
  5499. - int MAX_FILTERMODES
  5500. ### TextureUnit
  5501. - int TU_DIFFUSE
  5502. - int TU_ALBEDOBUFFER
  5503. - int TU_NORMAL
  5504. - int TU_NORMALBUFFER
  5505. - int TU_SPECULAR
  5506. - int TU_EMISSIVE
  5507. - int TU_ENVIRONMENT
  5508. - int MAX_MATERIAL_TEXTURE_UNITS
  5509. - int TU_LIGHTRAMP
  5510. - int TU_LIGHTSHAPE
  5511. - int TU_SHADOWMAP
  5512. - int TU_FACESELECT
  5513. - int TU_INDIRECTION
  5514. - int TU_DEPTHBUFFER
  5515. - int TU_LIGHTBUFFER
  5516. - int TU_VOLUMEMAP
  5517. - int TU_ZONE
  5518. - int MAX_TEXTURE_UNITS
  5519. ### TextureUsage
  5520. - int TEXTURE_STATIC
  5521. - int TEXTURE_DYNAMIC
  5522. - int TEXTURE_RENDERTARGET
  5523. - int TEXTURE_DEPTHSTENCIL
  5524. ### TransformSpace
  5525. - int TS_LOCAL
  5526. - int TS_PARENT
  5527. - int TS_WORLD
  5528. ### TraversalMode
  5529. - int TM_BREADTH_FIRST
  5530. - int TM_DEPTH_FIRST
  5531. ### VariantType
  5532. - int VAR_NONE
  5533. - int VAR_INT
  5534. - int VAR_BOOL
  5535. - int VAR_FLOAT
  5536. - int VAR_VECTOR2
  5537. - int VAR_VECTOR3
  5538. - int VAR_VECTOR4
  5539. - int VAR_QUATERNION
  5540. - int VAR_COLOR
  5541. - int VAR_STRING
  5542. - int VAR_BUFFER
  5543. - int VAR_VOIDPTR
  5544. - int VAR_RESOURCEREF
  5545. - int VAR_RESOURCEREFLIST
  5546. - int VAR_VARIANTVECTOR
  5547. - int VAR_VARIANTMAP
  5548. - int VAR_INTRECT
  5549. - int VAR_INTVECTOR2
  5550. - int VAR_PTR
  5551. - int VAR_MATRIX3
  5552. - int VAR_MATRIX3X4
  5553. - int VAR_MATRIX4
  5554. - int MAX_VAR_TYPES
  5555. ### VertexElement
  5556. - int ELEMENT_POSITION
  5557. - int ELEMENT_NORMAL
  5558. - int ELEMENT_COLOR
  5559. - int ELEMENT_TEXCOORD1
  5560. - int ELEMENT_TEXCOORD2
  5561. - int ELEMENT_CUBETEXCOORD1
  5562. - int ELEMENT_CUBETEXCOORD2
  5563. - int ELEMENT_TANGENT
  5564. - int ELEMENT_BLENDWEIGHTS
  5565. - int ELEMENT_BLENDINDICES
  5566. - int ELEMENT_INSTANCEMATRIX1
  5567. - int ELEMENT_INSTANCEMATRIX2
  5568. - int ELEMENT_INSTANCEMATRIX3
  5569. - int MAX_VERTEX_ELEMENTS
  5570. ### VerticalAlignment
  5571. - int VA_TOP
  5572. - int VA_CENTER
  5573. - int VA_BOTTOM
  5574. ### WindowDragMode
  5575. - int DRAG_NONE
  5576. - int DRAG_MOVE
  5577. - int DRAG_RESIZE_TOPLEFT
  5578. - int DRAG_RESIZE_TOP
  5579. - int DRAG_RESIZE_TOPRIGHT
  5580. - int DRAG_RESIZE_RIGHT
  5581. - int DRAG_RESIZE_BOTTOMRIGHT
  5582. - int DRAG_RESIZE_BOTTOM
  5583. - int DRAG_RESIZE_BOTTOMLEFT
  5584. - int DRAG_RESIZE_LEFT
  5585. ### WrapMode
  5586. - int WM_LOOP
  5587. - int WM_ONCE
  5588. - int WM_CLAMP
  5589. \section LuaScriptAPI_GlobalFunctions Global functions
  5590. - float Abs(float value)
  5591. - int AbsInt(int value)
  5592. - float Acos(float x)
  5593. - String AddTrailingSlash(const String pathName)
  5594. - float Asin(float x)
  5595. - float Atan(float x)
  5596. - float Atan2(float y, float x)
  5597. - float Clamp(float value, float min, float max)
  5598. - int ClampInt(int value, int min, int max)
  5599. - float Cos(float angle)
  5600. - bool Equals(float lhs, float rhs)
  5601. - void ErrorDialog(const String title, const String message)
  5602. - void ErrorExit(const String message = String::EMPTY, int exitCode = EXIT_FAILURE)
  5603. - const Vector<String>& GetArguments()
  5604. - Audio* GetAudio()
  5605. - ResourceCache* GetCache()
  5606. - Console* GetConsole()
  5607. - String GetConsoleInput()
  5608. - Context* GetContext()
  5609. - DebugHud* GetDebugHud()
  5610. - Engine* GetEngine()
  5611. - EventHandler* GetEventHandler() const
  5612. - Object* GetEventSender()
  5613. - bool GetExecuteConsoleCommands()
  5614. - String GetExtension(const String fullPath, bool lowercaseExtension = true)
  5615. - String GetFileName(const String fullPath)
  5616. - String GetFileNameAndExtension(const String fullPath, bool lowercaseExtension = false)
  5617. - FileSystem* GetFileSystem()
  5618. - Graphics* GetGraphics()
  5619. - Input* GetInput()
  5620. - String GetInternalPath(const String pathName)
  5621. - Log* GetLog()
  5622. - String GetNativePath(const String pathName)
  5623. - Network* GetNetwork()
  5624. - unsigned GetNumLogicalCPUs()
  5625. - unsigned GetNumPhysicalCPUs()
  5626. - String GetParentPath(const String pathName)
  5627. - String GetPath(const String fullPath)
  5628. - String GetPlatform()
  5629. - unsigned GetRandomSeed()
  5630. - Renderer* GetRenderer()
  5631. - Time* GetTime()
  5632. - UI* GetUI()
  5633. - bool IsAbsolutePath(const String pathName)
  5634. - bool IsAlpha(unsigned ch)
  5635. - bool IsDigit(unsigned ch)
  5636. - bool IsNaN(float value)
  5637. - bool IsPowerOfTwo(unsigned value)
  5638. - float Lerp(float lhs, float rhs, float t)
  5639. - float Max(float lhs, float rhs)
  5640. - int MaxInt(int lhs, int rhs)
  5641. - float Min(float lhs, float rhs)
  5642. - int MinInt(int lhs, int rhs)
  5643. - unsigned NextPowerOfTwo(unsigned value)
  5644. - void OpenConsoleWindow()
  5645. - void PrintLine(const String str, bool error = false)
  5646. - int Rand()
  5647. - float RandStandardNormal()
  5648. - float Random()
  5649. - float Random(float min, float max)
  5650. - float Random(float range)
  5651. - int RandomInt(int range)
  5652. - int RandomInt(int min, int max)
  5653. - float RandomNormal(float meanValue, float variance)
  5654. - String RemoveTrailingSlash(const String pathName)
  5655. - String ReplaceExtension(const String fullPath, const String newExtension)
  5656. - unsigned SDBMHash(unsigned hash, char c)
  5657. - void SendEvent(const String eventName, VariantMap& eventData)
  5658. - void SetExecuteConsoleCommands(bool enable)
  5659. - void SetRandomSeed(unsigned seed)
  5660. - float Sign(float value)
  5661. - float Sin(float angle)
  5662. - float SmoothStep(float lhs, float rhs, float t)
  5663. - void SubscribeToEvent(const String eventName, const String functionName)
  5664. - void SubscribeToEvent(void* sender, const String eventName, const String functionName)
  5665. - float Tan(float angle)
  5666. - bool ToBool(const String source)
  5667. - Color ToColor(const String source)
  5668. - float ToFloat(const String source)
  5669. - int ToInt(const String source)
  5670. - IntRect ToIntRect(const String source)
  5671. - IntVector2 ToIntVector2(const String source)
  5672. - unsigned ToLower(unsigned ch)
  5673. - Matrix3 ToMatrix3(const String source)
  5674. - Matrix3x4 ToMatrix3x4(const String source)
  5675. - Matrix4 ToMatrix4(const String source)
  5676. - Quaternion ToQuaternion(const String source)
  5677. - Rect ToRect(const String source)
  5678. - String ToString(void* value)
  5679. - String ToStringHex(unsigned value)
  5680. - unsigned ToUInt(const String source)
  5681. - unsigned ToUpper(unsigned ch)
  5682. - Vector2 ToVector2(const String source)
  5683. - Vector3 ToVector3(const String source)
  5684. - Vector4 ToVector4(const String source, bool allowMissingCoords = false)
  5685. - void UnsubscribeFromAllEvents()
  5686. - void UnsubscribeFromEvent(void* sender, const String eventName, const String functionName = String::EMPTY)
  5687. - void UnsubscribeFromEvent(const String eventName, const String functionName = String::EMPTY)
  5688. - void UnsubscribeFromEvents(void* sender)
  5689. \section LuaScriptAPI_GlobalProperties Global properties
  5690. - Audio* audio (readonly)
  5691. - ResourceCache* cache (readonly)
  5692. - Console* console (readonly)
  5693. - DebugHud* debugHud (readonly)
  5694. - Engine* engine (readonly)
  5695. - FileSystem* fileSystem (readonly)
  5696. - Graphics* graphics (readonly)
  5697. - Input* input (readonly)
  5698. - Log* log (readonly)
  5699. - Network* network (readonly)
  5700. - Renderer* renderer (readonly)
  5701. - Time* time (readonly)
  5702. - UI* ui (readonly)
  5703. \section LuaScriptAPI_GlobalConstants Global constants
  5704. - float ANIMATION_LOD_BASESCALE
  5705. - char CHANNEL_POSITION
  5706. - char CHANNEL_ROTATION
  5707. - char CHANNEL_SCALE
  5708. - unsigned CLEAR_COLOR
  5709. - unsigned CLEAR_DEPTH
  5710. - unsigned CLEAR_STENCIL
  5711. - int CONTROLLER_AXIS_LEFTX
  5712. - int CONTROLLER_AXIS_LEFTY
  5713. - int CONTROLLER_AXIS_RIGHTX
  5714. - int CONTROLLER_AXIS_RIGHTY
  5715. - int CONTROLLER_AXIS_TRIGGERLEFT
  5716. - int CONTROLLER_AXIS_TRIGGERRIGHT
  5717. - int CONTROLLER_BUTTON_A
  5718. - int CONTROLLER_BUTTON_B
  5719. - int CONTROLLER_BUTTON_BACK
  5720. - int CONTROLLER_BUTTON_DPAD_DOWN
  5721. - int CONTROLLER_BUTTON_DPAD_LEFT
  5722. - int CONTROLLER_BUTTON_DPAD_RIGHT
  5723. - int CONTROLLER_BUTTON_DPAD_UP
  5724. - int CONTROLLER_BUTTON_GUIDE
  5725. - int CONTROLLER_BUTTON_LEFTSHOULDER
  5726. - int CONTROLLER_BUTTON_LEFTSTICK
  5727. - int CONTROLLER_BUTTON_RIGHTSHOULDER
  5728. - int CONTROLLER_BUTTON_RIGHTSTICK
  5729. - int CONTROLLER_BUTTON_START
  5730. - int CONTROLLER_BUTTON_X
  5731. - int CONTROLLER_BUTTON_Y
  5732. - unsigned DD_DISABLED
  5733. - unsigned DD_SOURCE
  5734. - unsigned DD_SOURCE_AND_TARGET
  5735. - unsigned DD_TARGET
  5736. - unsigned DEBUGHUD_SHOW_ALL
  5737. - unsigned DEBUGHUD_SHOW_MODE
  5738. - unsigned DEBUGHUD_SHOW_NONE
  5739. - unsigned DEBUGHUD_SHOW_PROFILER
  5740. - unsigned DEBUGHUD_SHOW_STATS
  5741. - unsigned DEFAULT_LIGHTMASK
  5742. - unsigned DEFAULT_SHADOWMASK
  5743. - unsigned DEFAULT_VIEWMASK
  5744. - unsigned DEFAULT_ZONEMASK
  5745. - unsigned DRAWABLE_ANY
  5746. - unsigned DRAWABLE_GEOMETRY
  5747. - unsigned DRAWABLE_LIGHT
  5748. - unsigned DRAWABLE_PROXYGEOMETRY
  5749. - unsigned DRAWABLE_ZONE
  5750. - unsigned FIRST_LOCAL_ID
  5751. - unsigned FIRST_REPLICATED_ID
  5752. - int HAT_CENTER
  5753. - int HAT_DOWN
  5754. - int HAT_LEFT
  5755. - int HAT_RIGHT
  5756. - int HAT_UP
  5757. - int KEY_0
  5758. - int KEY_1
  5759. - int KEY_2
  5760. - int KEY_3
  5761. - int KEY_4
  5762. - int KEY_5
  5763. - int KEY_6
  5764. - int KEY_7
  5765. - int KEY_8
  5766. - int KEY_9
  5767. - int KEY_A
  5768. - int KEY_ALT
  5769. - int KEY_APPLICATION
  5770. - int KEY_B
  5771. - int KEY_BACKSPACE
  5772. - int KEY_C
  5773. - int KEY_CAPSLOCK
  5774. - int KEY_CTRL
  5775. - int KEY_D
  5776. - int KEY_DELETE
  5777. - int KEY_DOWN
  5778. - int KEY_E
  5779. - int KEY_END
  5780. - int KEY_ESC
  5781. - int KEY_F
  5782. - int KEY_F1
  5783. - int KEY_F10
  5784. - int KEY_F11
  5785. - int KEY_F12
  5786. - int KEY_F13
  5787. - int KEY_F14
  5788. - int KEY_F15
  5789. - int KEY_F16
  5790. - int KEY_F17
  5791. - int KEY_F18
  5792. - int KEY_F19
  5793. - int KEY_F2
  5794. - int KEY_F20
  5795. - int KEY_F21
  5796. - int KEY_F22
  5797. - int KEY_F23
  5798. - int KEY_F24
  5799. - int KEY_F3
  5800. - int KEY_F4
  5801. - int KEY_F5
  5802. - int KEY_F6
  5803. - int KEY_F7
  5804. - int KEY_F8
  5805. - int KEY_F9
  5806. - int KEY_G
  5807. - int KEY_GUI
  5808. - int KEY_H
  5809. - int KEY_HOME
  5810. - int KEY_I
  5811. - int KEY_INSERT
  5812. - int KEY_J
  5813. - int KEY_K
  5814. - int KEY_KP_0
  5815. - int KEY_KP_1
  5816. - int KEY_KP_2
  5817. - int KEY_KP_3
  5818. - int KEY_KP_4
  5819. - int KEY_KP_5
  5820. - int KEY_KP_6
  5821. - int KEY_KP_7
  5822. - int KEY_KP_8
  5823. - int KEY_KP_9
  5824. - int KEY_KP_DIVIDE
  5825. - int KEY_KP_ENTER
  5826. - int KEY_KP_MINUS
  5827. - int KEY_KP_MULTIPLY
  5828. - int KEY_KP_PERIOD
  5829. - int KEY_KP_PLUS
  5830. - int KEY_L
  5831. - int KEY_LALT
  5832. - int KEY_LCTRL
  5833. - int KEY_LEFT
  5834. - int KEY_LGUI
  5835. - int KEY_LSHIFT
  5836. - int KEY_M
  5837. - int KEY_N
  5838. - int KEY_NUMLOCKCLEAR
  5839. - int KEY_O
  5840. - int KEY_P
  5841. - int KEY_PAGEDOWN
  5842. - int KEY_PAGEUP
  5843. - int KEY_PAUSE
  5844. - int KEY_PRINTSCREEN
  5845. - int KEY_Q
  5846. - int KEY_R
  5847. - int KEY_RALT
  5848. - int KEY_RCTRL
  5849. - int KEY_RETURN
  5850. - int KEY_RETURN2
  5851. - int KEY_RGUI
  5852. - int KEY_RIGHT
  5853. - int KEY_RSHIFT
  5854. - int KEY_S
  5855. - int KEY_SCROLLLOCK
  5856. - int KEY_SELECT
  5857. - int KEY_SHIFT
  5858. - int KEY_SPACE
  5859. - int KEY_T
  5860. - int KEY_TAB
  5861. - int KEY_U
  5862. - int KEY_UP
  5863. - int KEY_V
  5864. - int KEY_W
  5865. - int KEY_X
  5866. - int KEY_Y
  5867. - int KEY_Z
  5868. - unsigned LAST_LOCAL_ID
  5869. - unsigned LAST_REPLICATED_ID
  5870. - int LOG_DEBUG
  5871. - int LOG_ERROR
  5872. - int LOG_INFO
  5873. - int LOG_NONE
  5874. - int LOG_WARNING
  5875. - int MAX_VERTEX_LIGHTS
  5876. - int MOUSEB_LEFT
  5877. - int MOUSEB_MIDDLE
  5878. - int MOUSEB_RIGHT
  5879. - float M_DEGTORAD
  5880. - float M_DEGTORAD_2
  5881. - float M_EPSILON
  5882. - float M_HALF_PI
  5883. - float M_INFINITY
  5884. - float M_LARGE_EPSILON
  5885. - float M_LARGE_VALUE
  5886. - float M_MAX_FOV
  5887. - int M_MAX_INT
  5888. - unsigned M_MAX_UNSIGNED
  5889. - int M_MIN_INT
  5890. - float M_MIN_NEARCLIP
  5891. - unsigned M_MIN_UNSIGNED
  5892. - float M_PI
  5893. - float M_RADTODEG
  5894. - unsigned NUM_FRUSTUM_PLANES
  5895. - unsigned NUM_FRUSTUM_VERTICES
  5896. - float PIXEL_SIZE
  5897. - int QUALITY_HIGH
  5898. - int QUALITY_LOW
  5899. - int QUALITY_MAX
  5900. - int QUALITY_MEDIUM
  5901. - int QUAL_ALT
  5902. - int QUAL_ANY
  5903. - int QUAL_CTRL
  5904. - int QUAL_SHIFT
  5905. - int SCANCODE_0
  5906. - int SCANCODE_1
  5907. - int SCANCODE_2
  5908. - int SCANCODE_3
  5909. - int SCANCODE_4
  5910. - int SCANCODE_5
  5911. - int SCANCODE_6
  5912. - int SCANCODE_7
  5913. - int SCANCODE_8
  5914. - int SCANCODE_9
  5915. - int SCANCODE_A
  5916. - int SCANCODE_AC_BACK
  5917. - int SCANCODE_AC_BOOKMARKS
  5918. - int SCANCODE_AC_FORWARD
  5919. - int SCANCODE_AC_HOME
  5920. - int SCANCODE_AC_REFRESH
  5921. - int SCANCODE_AC_SEARCH
  5922. - int SCANCODE_AC_STOP
  5923. - int SCANCODE_AGAIN
  5924. - int SCANCODE_ALT
  5925. - int SCANCODE_ALTERASE
  5926. - int SCANCODE_APOSTROPHE
  5927. - int SCANCODE_APP1
  5928. - int SCANCODE_APP2
  5929. - int SCANCODE_APPLICATION
  5930. - int SCANCODE_AUDIOMUTE
  5931. - int SCANCODE_AUDIONEXT
  5932. - int SCANCODE_AUDIOPLAY
  5933. - int SCANCODE_AUDIOPREV
  5934. - int SCANCODE_AUDIOSTOP
  5935. - int SCANCODE_B
  5936. - int SCANCODE_BACKSLASH
  5937. - int SCANCODE_BACKSPACE
  5938. - int SCANCODE_BRIGHTNESSDOWN
  5939. - int SCANCODE_BRIGHTNESSUP
  5940. - int SCANCODE_C
  5941. - int SCANCODE_CALCULATOR
  5942. - int SCANCODE_CANCEL
  5943. - int SCANCODE_CAPSLOCK
  5944. - int SCANCODE_CLEAR
  5945. - int SCANCODE_CLEARAGAIN
  5946. - int SCANCODE_COMMA
  5947. - int SCANCODE_COMPUTER
  5948. - int SCANCODE_COPY
  5949. - int SCANCODE_CRSEL
  5950. - int SCANCODE_CTRL
  5951. - int SCANCODE_CURRENCYSUBUNIT
  5952. - int SCANCODE_CURRENCYUNIT
  5953. - int SCANCODE_CUT
  5954. - int SCANCODE_D
  5955. - int SCANCODE_DECIMALSEPARATOR
  5956. - int SCANCODE_DELETE
  5957. - int SCANCODE_DISPLAYSWITCH
  5958. - int SCANCODE_DOWN
  5959. - int SCANCODE_E
  5960. - int SCANCODE_EJECT
  5961. - int SCANCODE_END
  5962. - int SCANCODE_EQUALS
  5963. - int SCANCODE_ESCAPE
  5964. - int SCANCODE_EXECUTE
  5965. - int SCANCODE_EXSEL
  5966. - int SCANCODE_F
  5967. - int SCANCODE_F1
  5968. - int SCANCODE_F10
  5969. - int SCANCODE_F11
  5970. - int SCANCODE_F12
  5971. - int SCANCODE_F13
  5972. - int SCANCODE_F14
  5973. - int SCANCODE_F15
  5974. - int SCANCODE_F16
  5975. - int SCANCODE_F17
  5976. - int SCANCODE_F18
  5977. - int SCANCODE_F19
  5978. - int SCANCODE_F2
  5979. - int SCANCODE_F20
  5980. - int SCANCODE_F21
  5981. - int SCANCODE_F22
  5982. - int SCANCODE_F23
  5983. - int SCANCODE_F24
  5984. - int SCANCODE_F3
  5985. - int SCANCODE_F4
  5986. - int SCANCODE_F5
  5987. - int SCANCODE_F6
  5988. - int SCANCODE_F7
  5989. - int SCANCODE_F8
  5990. - int SCANCODE_F9
  5991. - int SCANCODE_FIND
  5992. - int SCANCODE_G
  5993. - int SCANCODE_GRAVE
  5994. - int SCANCODE_GUI
  5995. - int SCANCODE_H
  5996. - int SCANCODE_HELP
  5997. - int SCANCODE_HOME
  5998. - int SCANCODE_I
  5999. - int SCANCODE_INSERT
  6000. - int SCANCODE_INTERNATIONAL1
  6001. - int SCANCODE_INTERNATIONAL2
  6002. - int SCANCODE_INTERNATIONAL3
  6003. - int SCANCODE_INTERNATIONAL4
  6004. - int SCANCODE_INTERNATIONAL5
  6005. - int SCANCODE_INTERNATIONAL6
  6006. - int SCANCODE_INTERNATIONAL7
  6007. - int SCANCODE_INTERNATIONAL8
  6008. - int SCANCODE_INTERNATIONAL9
  6009. - int SCANCODE_J
  6010. - int SCANCODE_K
  6011. - int SCANCODE_KBDILLUMDOWN
  6012. - int SCANCODE_KBDILLUMTOGGLE
  6013. - int SCANCODE_KBDILLUMUP
  6014. - int SCANCODE_KP_0
  6015. - int SCANCODE_KP_00
  6016. - int SCANCODE_KP_000
  6017. - int SCANCODE_KP_1
  6018. - int SCANCODE_KP_2
  6019. - int SCANCODE_KP_3
  6020. - int SCANCODE_KP_4
  6021. - int SCANCODE_KP_5
  6022. - int SCANCODE_KP_6
  6023. - int SCANCODE_KP_7
  6024. - int SCANCODE_KP_8
  6025. - int SCANCODE_KP_9
  6026. - int SCANCODE_KP_A
  6027. - int SCANCODE_KP_AMPERSAND
  6028. - int SCANCODE_KP_AT
  6029. - int SCANCODE_KP_B
  6030. - int SCANCODE_KP_BACKSPACE
  6031. - int SCANCODE_KP_BINARY
  6032. - int SCANCODE_KP_C
  6033. - int SCANCODE_KP_CLEAR
  6034. - int SCANCODE_KP_CLEARENTRY
  6035. - int SCANCODE_KP_COLON
  6036. - int SCANCODE_KP_COMMA
  6037. - int SCANCODE_KP_D
  6038. - int SCANCODE_KP_DBLAMPERSAND
  6039. - int SCANCODE_KP_DBLVERTICALBAR
  6040. - int SCANCODE_KP_DECIMAL
  6041. - int SCANCODE_KP_DIVIDE
  6042. - int SCANCODE_KP_E
  6043. - int SCANCODE_KP_ENTER
  6044. - int SCANCODE_KP_EQUALS
  6045. - int SCANCODE_KP_EQUALSAS400
  6046. - int SCANCODE_KP_EXCLAM
  6047. - int SCANCODE_KP_F
  6048. - int SCANCODE_KP_GREATER
  6049. - int SCANCODE_KP_HASH
  6050. - int SCANCODE_KP_HEXADECIMAL
  6051. - int SCANCODE_KP_LEFTBRACE
  6052. - int SCANCODE_KP_LEFTPAREN
  6053. - int SCANCODE_KP_LESS
  6054. - int SCANCODE_KP_MEMADD
  6055. - int SCANCODE_KP_MEMCLEAR
  6056. - int SCANCODE_KP_MEMDIVIDE
  6057. - int SCANCODE_KP_MEMMULTIPLY
  6058. - int SCANCODE_KP_MEMRECALL
  6059. - int SCANCODE_KP_MEMSTORE
  6060. - int SCANCODE_KP_MEMSUBTRACT
  6061. - int SCANCODE_KP_MINUS
  6062. - int SCANCODE_KP_MULTIPLY
  6063. - int SCANCODE_KP_OCTAL
  6064. - int SCANCODE_KP_PERCENT
  6065. - int SCANCODE_KP_PERIOD
  6066. - int SCANCODE_KP_PLUS
  6067. - int SCANCODE_KP_PLUSMINUS
  6068. - int SCANCODE_KP_POWER
  6069. - int SCANCODE_KP_RIGHTBRACE
  6070. - int SCANCODE_KP_RIGHTPAREN
  6071. - int SCANCODE_KP_SPACE
  6072. - int SCANCODE_KP_TAB
  6073. - int SCANCODE_KP_VERTICALBAR
  6074. - int SCANCODE_KP_XOR
  6075. - int SCANCODE_L
  6076. - int SCANCODE_LALT
  6077. - int SCANCODE_LANG1
  6078. - int SCANCODE_LANG2
  6079. - int SCANCODE_LANG3
  6080. - int SCANCODE_LANG4
  6081. - int SCANCODE_LANG5
  6082. - int SCANCODE_LANG6
  6083. - int SCANCODE_LANG7
  6084. - int SCANCODE_LANG8
  6085. - int SCANCODE_LANG9
  6086. - int SCANCODE_LCTRL
  6087. - int SCANCODE_LEFT
  6088. - int SCANCODE_LEFTBRACKET
  6089. - int SCANCODE_LGUI
  6090. - int SCANCODE_LSHIFT
  6091. - int SCANCODE_M
  6092. - int SCANCODE_MAIL
  6093. - int SCANCODE_MEDIASELECT
  6094. - int SCANCODE_MENU
  6095. - int SCANCODE_MINUS
  6096. - int SCANCODE_MODE
  6097. - int SCANCODE_MUTE
  6098. - int SCANCODE_N
  6099. - int SCANCODE_NONUSBACKSLASH
  6100. - int SCANCODE_NONUSHASH
  6101. - int SCANCODE_NUMLOCKCLEAR
  6102. - int SCANCODE_O
  6103. - int SCANCODE_OPER
  6104. - int SCANCODE_OUT
  6105. - int SCANCODE_P
  6106. - int SCANCODE_PAGEDOWN
  6107. - int SCANCODE_PAGEUP
  6108. - int SCANCODE_PASTE
  6109. - int SCANCODE_PAUSE
  6110. - int SCANCODE_PERIOD
  6111. - int SCANCODE_POWER
  6112. - int SCANCODE_PRINTSCREEN
  6113. - int SCANCODE_PRIOR
  6114. - int SCANCODE_Q
  6115. - int SCANCODE_R
  6116. - int SCANCODE_RALT
  6117. - int SCANCODE_RCTRL
  6118. - int SCANCODE_RETURN
  6119. - int SCANCODE_RETURN2
  6120. - int SCANCODE_RGUI
  6121. - int SCANCODE_RIGHT
  6122. - int SCANCODE_RIGHTBRACKET
  6123. - int SCANCODE_RSHIFT
  6124. - int SCANCODE_S
  6125. - int SCANCODE_SCROLLLOCK
  6126. - int SCANCODE_SELECT
  6127. - int SCANCODE_SEMICOLON
  6128. - int SCANCODE_SEPARATOR
  6129. - int SCANCODE_SHIFT
  6130. - int SCANCODE_SLASH
  6131. - int SCANCODE_SLEEP
  6132. - int SCANCODE_SPACE
  6133. - int SCANCODE_STOP
  6134. - int SCANCODE_SYSREQ
  6135. - int SCANCODE_T
  6136. - int SCANCODE_TAB
  6137. - int SCANCODE_THOUSANDSSEPARATOR
  6138. - int SCANCODE_U
  6139. - int SCANCODE_UNDO
  6140. - int SCANCODE_UNKNOWN
  6141. - int SCANCODE_UP
  6142. - int SCANCODE_V
  6143. - int SCANCODE_VOLUMEDOWN
  6144. - int SCANCODE_VOLUMEUP
  6145. - int SCANCODE_W
  6146. - int SCANCODE_WWW
  6147. - int SCANCODE_X
  6148. - int SCANCODE_Y
  6149. - int SCANCODE_Z
  6150. - unsigned SCAN_DIRS
  6151. - unsigned SCAN_FILES
  6152. - unsigned SCAN_HIDDEN
  6153. - int SHADOWQUALITY_HIGH_16BIT
  6154. - int SHADOWQUALITY_HIGH_24BIT
  6155. - int SHADOWQUALITY_LOW_16BIT
  6156. - int SHADOWQUALITY_LOW_24BIT
  6157. - unsigned VO_DISABLE_OCCLUSION
  6158. - unsigned VO_DISABLE_SHADOWS
  6159. - unsigned VO_LOW_MATERIAL_QUALITY
  6160. - unsigned VO_NONE
  6161. */
  6162. }