LuaScriptAPI.dox 166 KB

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