LuaScriptAPI.dox 165 KB

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