LuaScriptAPI.dox 167 KB

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