LuaScriptAPI.dox 163 KB

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