LuaScriptAPI.dox 195 KB

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