LuaScriptAPI.dox 199 KB

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