LuaScriptAPI.dox 195 KB

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