LuaScriptAPI.dox 172 KB

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