LuaScriptAPI.dox 172 KB

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