LuaScriptAPI.dox 167 KB

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