LuaScriptAPI.dox 199 KB

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