LuaScriptAPI.dox 218 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704
  1. namespace Urho3D
  2. {
  3. /**
  4. \page LuaScriptAPI Lua scripting API
  5. \section LuaScriptAPI_TableOfContents Table of contents
  6. \ref LuaScriptAPI_ClassList "Class list"<br>
  7. \ref LuaScriptAPI_Classes "Classes"<br>
  8. \ref LuaScriptAPI_Enums "Enumerations"<br>
  9. \ref LuaScriptAPI_GlobalFunctions "Global functions"<br>
  10. \ref LuaScriptAPI_GlobalProperties "Global properties"<br>
  11. \ref LuaScriptAPI_GlobalConstants "Global constants"<br>
  12. \section LuaScriptAPI_ClassList Class list
  13. <a href="#Class_Animatable"><b>Animatable</b></a>
  14. <a href="#Class_AnimatedModel"><b>AnimatedModel</b></a>
  15. <a href="#Class_AnimatedSprite2D"><b>AnimatedSprite2D</b></a>
  16. <a href="#Class_Animation"><b>Animation</b></a>
  17. <a href="#Class_Animation2D"><b>Animation2D</b></a>
  18. <a href="#Class_AnimationControl"><b>AnimationControl</b></a>
  19. <a href="#Class_AnimationController"><b>AnimationController</b></a>
  20. <a href="#Class_AnimationKeyFrame"><b>AnimationKeyFrame</b></a>
  21. <a href="#Class_AnimationSet2D"><b>AnimationSet2D</b></a>
  22. <a href="#Class_AnimationState"><b>AnimationState</b></a>
  23. <a href="#Class_Audio"><b>Audio</b></a>
  24. <a href="#Class_BiasParameters"><b>BiasParameters</b></a>
  25. <a href="#Class_Billboard"><b>Billboard</b></a>
  26. <a href="#Class_BillboardSet"><b>BillboardSet</b></a>
  27. <a href="#Class_Bone"><b>Bone</b></a>
  28. <a href="#Class_BorderImage"><b>BorderImage</b></a>
  29. <a href="#Class_BoundingBox"><b>BoundingBox</b></a>
  30. <a href="#Class_Button"><b>Button</b></a>
  31. <a href="#Class_Camera"><b>Camera</b></a>
  32. <a href="#Class_CascadeParameters"><b>CascadeParameters</b></a>
  33. <a href="#Class_CheckBox"><b>CheckBox</b></a>
  34. <a href="#Class_CollisionBox2D"><b>CollisionBox2D</b></a>
  35. <a href="#Class_CollisionChain2D"><b>CollisionChain2D</b></a>
  36. <a href="#Class_CollisionCircle2D"><b>CollisionCircle2D</b></a>
  37. <a href="#Class_CollisionEdge2D"><b>CollisionEdge2D</b></a>
  38. <a href="#Class_CollisionPolygon2D"><b>CollisionPolygon2D</b></a>
  39. <a href="#Class_CollisionShape"><b>CollisionShape</b></a>
  40. <a href="#Class_CollisionShape2D"><b>CollisionShape2D</b></a>
  41. <a href="#Class_Color"><b>Color</b></a>
  42. <a href="#Class_ColorFrame"><b>ColorFrame</b></a>
  43. <a href="#Class_Component"><b>Component</b></a>
  44. <a href="#Class_Connection"><b>Connection</b></a>
  45. <a href="#Class_Console"><b>Console</b></a>
  46. <a href="#Class_Constraint"><b>Constraint</b></a>
  47. <a href="#Class_Constraint2D"><b>Constraint2D</b></a>
  48. <a href="#Class_ConstraintDistance2D"><b>ConstraintDistance2D</b></a>
  49. <a href="#Class_ConstraintFriction2D"><b>ConstraintFriction2D</b></a>
  50. <a href="#Class_ConstraintGear2D"><b>ConstraintGear2D</b></a>
  51. <a href="#Class_ConstraintMotor2D"><b>ConstraintMotor2D</b></a>
  52. <a href="#Class_ConstraintMouse2D"><b>ConstraintMouse2D</b></a>
  53. <a href="#Class_ConstraintPrismatic2D"><b>ConstraintPrismatic2D</b></a>
  54. <a href="#Class_ConstraintPulley2D"><b>ConstraintPulley2D</b></a>
  55. <a href="#Class_ConstraintRevolute2D"><b>ConstraintRevolute2D</b></a>
  56. <a href="#Class_ConstraintRope2D"><b>ConstraintRope2D</b></a>
  57. <a href="#Class_ConstraintWeld2D"><b>ConstraintWeld2D</b></a>
  58. <a href="#Class_ConstraintWheel2D"><b>ConstraintWheel2D</b></a>
  59. <a href="#Class_Context"><b>Context</b></a>
  60. <a href="#Class_Controls"><b>Controls</b></a>
  61. <a href="#Class_Cursor"><b>Cursor</b></a>
  62. <a href="#Class_CustomGeometry"><b>CustomGeometry</b></a>
  63. <a href="#Class_CustomGeometryVertex"><b>CustomGeometryVertex</b></a>
  64. <a href="#Class_DebugHud"><b>DebugHud</b></a>
  65. <a href="#Class_DebugRenderer"><b>DebugRenderer</b></a>
  66. <a href="#Class_DecalSet"><b>DecalSet</b></a>
  67. <a href="#Class_Deserializer"><b>Deserializer</b></a>
  68. <a href="#Class_Drawable"><b>Drawable</b></a>
  69. <a href="#Class_Drawable2D"><b>Drawable2D</b></a>
  70. <a href="#Class_DropDownList"><b>DropDownList</b></a>
  71. <a href="#Class_Engine"><b>Engine</b></a>
  72. <a href="#Class_File"><b>File</b></a>
  73. <a href="#Class_FileSelector"><b>FileSelector</b></a>
  74. <a href="#Class_FileSelectorEntry"><b>FileSelectorEntry</b></a>
  75. <a href="#Class_FileSystem"><b>FileSystem</b></a>
  76. <a href="#Class_FocusParameters"><b>FocusParameters</b></a>
  77. <a href="#Class_Font"><b>Font</b></a>
  78. <a href="#Class_Frustum"><b>Frustum</b></a>
  79. <a href="#Class_Graphics"><b>Graphics</b></a>
  80. <a href="#Class_HttpRequest"><b>HttpRequest</b></a>
  81. <a href="#Class_Image"><b>Image</b></a>
  82. <a href="#Class_Input"><b>Input</b></a>
  83. <a href="#Class_IntRect"><b>IntRect</b></a>
  84. <a href="#Class_IntVector2"><b>IntVector2</b></a>
  85. <a href="#Class_JSONFile"><b>JSONFile</b></a>
  86. <a href="#Class_JSONValue"><b>JSONValue</b></a>
  87. <a href="#Class_JoystickState"><b>JoystickState</b></a>
  88. <a href="#Class_Light"><b>Light</b></a>
  89. <a href="#Class_LineEdit"><b>LineEdit</b></a>
  90. <a href="#Class_ListView"><b>ListView</b></a>
  91. <a href="#Class_Log"><b>Log</b></a>
  92. <a href="#Class_LuaScriptInstance"><b>LuaScriptInstance</b></a>
  93. <a href="#Class_Material"><b>Material</b></a>
  94. <a href="#Class_Matrix3"><b>Matrix3</b></a>
  95. <a href="#Class_Matrix3x4"><b>Matrix3x4</b></a>
  96. <a href="#Class_Matrix4"><b>Matrix4</b></a>
  97. <a href="#Class_Menu"><b>Menu</b></a>
  98. <a href="#Class_MessageBox"><b>MessageBox</b></a>
  99. <a href="#Class_Model"><b>Model</b></a>
  100. <a href="#Class_Navigable"><b>Navigable</b></a>
  101. <a href="#Class_NavigationGeometryInfo"><b>NavigationGeometryInfo</b></a>
  102. <a href="#Class_NavigationMesh"><b>NavigationMesh</b></a>
  103. <a href="#Class_Network"><b>Network</b></a>
  104. <a href="#Class_NetworkPriority"><b>NetworkPriority</b></a>
  105. <a href="#Class_Node"><b>Node</b></a>
  106. <a href="#Class_Object"><b>Object</b></a>
  107. <a href="#Class_ObjectAnimation"><b>ObjectAnimation</b></a>
  108. <a href="#Class_Octree"><b>Octree</b></a>
  109. <a href="#Class_OctreeQueryResult"><b>OctreeQueryResult</b></a>
  110. <a href="#Class_OffMeshConnection"><b>OffMeshConnection</b></a>
  111. <a href="#Class_PackageEntry"><b>PackageEntry</b></a>
  112. <a href="#Class_PackageFile"><b>PackageFile</b></a>
  113. <a href="#Class_ParticleEffect"><b>ParticleEffect</b></a>
  114. <a href="#Class_ParticleEffect2D"><b>ParticleEffect2D</b></a>
  115. <a href="#Class_ParticleEmitter"><b>ParticleEmitter</b></a>
  116. <a href="#Class_ParticleEmitter2D"><b>ParticleEmitter2D</b></a>
  117. <a href="#Class_Pass"><b>Pass</b></a>
  118. <a href="#Class_PhysicsRaycastResult"><b>PhysicsRaycastResult</b></a>
  119. <a href="#Class_PhysicsRaycastResult2D"><b>PhysicsRaycastResult2D</b></a>
  120. <a href="#Class_PhysicsWorld"><b>PhysicsWorld</b></a>
  121. <a href="#Class_PhysicsWorld2D"><b>PhysicsWorld2D</b></a>
  122. <a href="#Class_Plane"><b>Plane</b></a>
  123. <a href="#Class_Polyhedron"><b>Polyhedron</b></a>
  124. <a href="#Class_PropertySet2D"><b>PropertySet2D</b></a>
  125. <a href="#Class_Quaternion"><b>Quaternion</b></a>
  126. <a href="#Class_Ray"><b>Ray</b></a>
  127. <a href="#Class_RayQueryResult"><b>RayQueryResult</b></a>
  128. <a href="#Class_Rect"><b>Rect</b></a>
  129. <a href="#Class_RemoteEvent"><b>RemoteEvent</b></a>
  130. <a href="#Class_RenderPath"><b>RenderPath</b></a>
  131. <a href="#Class_RenderSurface"><b>RenderSurface</b></a>
  132. <a href="#Class_Renderer"><b>Renderer</b></a>
  133. <a href="#Class_Resource"><b>Resource</b></a>
  134. <a href="#Class_ResourceCache"><b>ResourceCache</b></a>
  135. <a href="#Class_ResourceRef"><b>ResourceRef</b></a>
  136. <a href="#Class_ResourceRefList"><b>ResourceRefList</b></a>
  137. <a href="#Class_RigidBody"><b>RigidBody</b></a>
  138. <a href="#Class_RigidBody2D"><b>RigidBody2D</b></a>
  139. <a href="#Class_Scene"><b>Scene</b></a>
  140. <a href="#Class_ScrollBar"><b>ScrollBar</b></a>
  141. <a href="#Class_ScrollView"><b>ScrollView</b></a>
  142. <a href="#Class_Serializable"><b>Serializable</b></a>
  143. <a href="#Class_Serializer"><b>Serializer</b></a>
  144. <a href="#Class_Skeleton"><b>Skeleton</b></a>
  145. <a href="#Class_Skybox"><b>Skybox</b></a>
  146. <a href="#Class_Slider"><b>Slider</b></a>
  147. <a href="#Class_Sound"><b>Sound</b></a>
  148. <a href="#Class_SoundListener"><b>SoundListener</b></a>
  149. <a href="#Class_SoundSource"><b>SoundSource</b></a>
  150. <a href="#Class_SoundSource3D"><b>SoundSource3D</b></a>
  151. <a href="#Class_Sphere"><b>Sphere</b></a>
  152. <a href="#Class_Spline"><b>Spline</b></a>
  153. <a href="#Class_SplinePath"><b>SplinePath</b></a>
  154. <a href="#Class_Sprite"><b>Sprite</b></a>
  155. <a href="#Class_Sprite2D"><b>Sprite2D</b></a>
  156. <a href="#Class_SpriteSheet2D"><b>SpriteSheet2D</b></a>
  157. <a href="#Class_StaticModel"><b>StaticModel</b></a>
  158. <a href="#Class_StaticModelGroup"><b>StaticModelGroup</b></a>
  159. <a href="#Class_StaticSprite2D"><b>StaticSprite2D</b></a>
  160. <a href="#Class_StringHash"><b>StringHash</b></a>
  161. <a href="#Class_Technique"><b>Technique</b></a>
  162. <a href="#Class_Terrain"><b>Terrain</b></a>
  163. <a href="#Class_TerrainPatch"><b>TerrainPatch</b></a>
  164. <a href="#Class_Text"><b>Text</b></a>
  165. <a href="#Class_Text3D"><b>Text3D</b></a>
  166. <a href="#Class_Texture"><b>Texture</b></a>
  167. <a href="#Class_Texture2D"><b>Texture2D</b></a>
  168. <a href="#Class_TextureCube"><b>TextureCube</b></a>
  169. <a href="#Class_TextureFrame"><b>TextureFrame</b></a>
  170. <a href="#Class_Tile2D"><b>Tile2D</b></a>
  171. <a href="#Class_TileMap2D"><b>TileMap2D</b></a>
  172. <a href="#Class_TileMapInfo2D"><b>TileMapInfo2D</b></a>
  173. <a href="#Class_TileMapLayer2D"><b>TileMapLayer2D</b></a>
  174. <a href="#Class_TileMapObject2D"><b>TileMapObject2D</b></a>
  175. <a href="#Class_Time"><b>Time</b></a>
  176. <a href="#Class_TmxFile2D"><b>TmxFile2D</b></a>
  177. <a href="#Class_ToolTip"><b>ToolTip</b></a>
  178. <a href="#Class_TouchState"><b>TouchState</b></a>
  179. <a href="#Class_UI"><b>UI</b></a>
  180. <a href="#Class_UIElement"><b>UIElement</b></a>
  181. <a href="#Class_ValueAnimation"><b>ValueAnimation</b></a>
  182. <a href="#Class_Variant"><b>Variant</b></a>
  183. <a href="#Class_VariantMap"><b>VariantMap</b></a>
  184. <a href="#Class_Vector2"><b>Vector2</b></a>
  185. <a href="#Class_Vector3"><b>Vector3</b></a>
  186. <a href="#Class_Vector4"><b>Vector4</b></a>
  187. <a href="#Class_VectorBuffer"><b>VectorBuffer</b></a>
  188. <a href="#Class_View3D"><b>View3D</b></a>
  189. <a href="#Class_Viewport"><b>Viewport</b></a>
  190. <a href="#Class_Window"><b>Window</b></a>
  191. <a href="#Class_XMLElement"><b>XMLElement</b></a>
  192. <a href="#Class_XMLFile"><b>XMLFile</b></a>
  193. <a href="#Class_Zone"><b>Zone</b></a>
  194. \section LuaScriptAPI_Classes Classes
  195. <a name="Class_Animatable"></a>
  196. ### Animatable : Serializable
  197. Methods:
  198. - void SetAnimationEnabled(bool enable)
  199. - void SetObjectAnimation(ObjectAnimation* objectAnimation)
  200. - void SetAttributeAnimation(const String name, ValueAnimation* attributeAnimation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
  201. - void SetAttributeAnimationWrapMode(const String name, WrapMode wrapMode)
  202. - void SetAttributeAnimationSpeed(const String name, float speed)
  203. - bool GetAnimationEnabled() const
  204. - ObjectAnimation* GetObjectAnimation() const
  205. - ValueAnimation* GetAttributeAnimation(const String name) const
  206. - WrapMode GetAttributeAnimationWrapMode(const String name) const
  207. - float GetAttributeAnimationSpeed(const String name) const
  208. Properties:
  209. - bool animationEnabled
  210. - ObjectAnimation* objectAnimation
  211. <a name="Class_AnimatedModel"></a>
  212. ### AnimatedModel : StaticModel
  213. Methods:
  214. - void SetModel(Model* model)
  215. - AnimationState* AddAnimationState(Animation* animation)
  216. - void RemoveAnimationState(Animation* animation)
  217. - void RemoveAnimationState(const String animationName)
  218. - void RemoveAnimationState(StringHash animationNameHash)
  219. - void RemoveAnimationState(AnimationState* state)
  220. - void RemoveAnimationState(unsigned index)
  221. - void RemoveAllAnimationStates()
  222. - void SetAnimationLodBias(float bias)
  223. - void SetUpdateInvisible(bool enable)
  224. - void SetMorphWeight(const String name, float weight)
  225. - void SetMorphWeight(StringHash nameHash, float weight)
  226. - void SetMorphWeight(unsigned index, float weight)
  227. - void ResetMorphWeights()
  228. - Skeleton& GetSkeleton()
  229. - unsigned GetNumAnimationStates() const
  230. - AnimationState* GetAnimationState(Animation* animation) const
  231. - AnimationState* GetAnimationState(const String animationName) const
  232. - AnimationState* GetAnimationState(const StringHash animationNameHash) const
  233. - AnimationState* GetAnimationState(unsigned index) const
  234. - float GetAnimationLodBias() const
  235. - bool GetUpdateInvisible() const
  236. - unsigned GetNumMorphs() const
  237. - float GetMorphWeight(const String name) const
  238. - float GetMorphWeight(StringHash nameHash) const
  239. - float GetMorphWeight(unsigned index) const
  240. - bool IsMaster() const
  241. Properties:
  242. - Model* model
  243. - Skeleton& skeleton (readonly)
  244. - unsigned numAnimationStates (readonly)
  245. - float animationLodBias
  246. - bool updateInvisible
  247. - unsigned numMorphs (readonly)
  248. - bool master (readonly)
  249. <a name="Class_AnimatedSprite2D"></a>
  250. ### AnimatedSprite2D : Drawable
  251. Methods:
  252. - void SetLayer(int layer)
  253. - void SetOrderInLayer(int orderInLayer)
  254. - void SetBlendMode(BlendMode mode)
  255. - void SetFlip(bool flipX, bool flipY)
  256. - void SetFlipX(bool flipX)
  257. - void SetFlipY(bool flipY)
  258. - void SetColor(const Color& color)
  259. - void SetSpeed(float speed)
  260. - void SetAnimation(AnimationSet2D* animationSet, const String name, LoopMode2D loopMode = LM_DEFAULT)
  261. - void SetAnimation(const String name, LoopMode2D loopMode = LM_DEFAULT)
  262. - void SetAnimationSet(AnimationSet2D* animationSet)
  263. - void SetLoopMode(LoopMode2D loopMode)
  264. - int GetLayer() const
  265. - int GetOrderInLayer() const
  266. - BlendMode GetBlendMode() const
  267. - bool GetFlipX() const
  268. - bool GetFlipY() const
  269. - const Color& GetColor() const
  270. - float GetSpeed() const
  271. - const String GetAnimation() const
  272. - AnimationSet2D* GetAnimationSet() const
  273. - LoopMode2D GetLoopMode() const
  274. Properties:
  275. - int layer
  276. - int orderInLayer
  277. - BlendMode blendMode
  278. - bool flipX
  279. - bool flipY
  280. - Color& color
  281. - float speed
  282. - String animation
  283. - AnimationSet2D* animationSet
  284. - LoopMode2D loopMode
  285. <a name="Class_Animation"></a>
  286. ### Animation : Resource
  287. Methods:
  288. - const String GetAnimationName() const
  289. - StringHash GetAnimationNameHash() const
  290. - float GetLength() const
  291. - unsigned GetNumTracks() const
  292. - const AnimationTrack* GetTrack(const String name) const
  293. - const AnimationTrack* GetTrack(StringHash nameHash) const
  294. - const AnimationTrack* GetTrack(unsigned index) const
  295. - unsigned GetNumTriggers() const
  296. Properties:
  297. - String animationName (readonly)
  298. - StringHash animationNameHash (readonly)
  299. - float length (readonly)
  300. - unsigned numTracks (readonly)
  301. - unsigned numTriggers (readonly)
  302. <a name="Class_Animation2D"></a>
  303. ### Animation2D : RefCounted
  304. Methods:
  305. - const String GetName() const
  306. - float GetLength() const
  307. - bool IsLooped() const
  308. Properties:
  309. - String name (readonly)
  310. - float length (readonly)
  311. - bool looped (readonly)
  312. <a name="Class_AnimationControl"></a>
  313. ### AnimationControl
  314. Methods:
  315. - AnimationControl() (GC)
  316. - AnimationControl* new()
  317. - void delete()
  318. Properties:
  319. - StringHash hash_
  320. - float speed_
  321. - float targetWeight_
  322. - float fadeTime_
  323. - float autoFadeTime_
  324. - float setTimeTtl_
  325. - float setWeightTtl_
  326. - short setTime_
  327. - char setWeight_
  328. - char setTimeRev_
  329. - char setWeightRev_
  330. <a name="Class_AnimationController"></a>
  331. ### AnimationController : Component
  332. Methods:
  333. - bool Play(const String name, char layer, bool looped, float fadeInTime = 0.0f)
  334. - bool PlayExclusive(const String name, char layer, bool looped, float fadeTime = 0.0f)
  335. - bool Stop(const String name, float fadeOutTime = 0.0f)
  336. - void StopLayer(char layer, float fadeOutTime = 0.0f)
  337. - void StopAll(float fadeTime = 0.0f)
  338. - bool Fade(const String name, float targetWeight, float fadeTime)
  339. - bool FadeOthers(const String name, float targetWeight, float fadeTime)
  340. - bool SetLayer(const String name, char layer)
  341. - bool SetStartBone(const String name, const String startBoneName)
  342. - bool SetTime(const String name, float time)
  343. - bool SetWeight(const String name, float weight)
  344. - bool SetLooped(const String name, bool enable)
  345. - bool SetSpeed(const String name, float speed)
  346. - bool SetAutoFade(const String name, float fadeOutTime)
  347. - bool IsPlaying(const String name) const
  348. - bool IsFadingIn(const String name) const
  349. - bool IsFadingOut(const String name) const
  350. - char GetLayer(const String name) const
  351. - Bone* GetStartBone(const String name) const
  352. - const String GetStartBoneName(const String name) const
  353. - float GetTime(const String name) const
  354. - float GetWeight(const String name) const
  355. - bool IsLooped(const String name) const
  356. - float GetLength(const String name) const
  357. - float GetSpeed(const String name) const
  358. - float GetFadeTarget(const String name) const
  359. - float GetFadeTime(const String name) const
  360. - float GetAutoFade(const String name) const
  361. - AnimationState* GetAnimationState(const String name) const
  362. - AnimationState* GetAnimationState(StringHash nameHash) const
  363. <a name="Class_AnimationKeyFrame"></a>
  364. ### AnimationKeyFrame
  365. Properties:
  366. - float time
  367. - Vector3 position
  368. - Quaternion rotation
  369. - Vector3 scale
  370. <a name="Class_AnimationSet2D"></a>
  371. ### AnimationSet2D : Resource
  372. Methods:
  373. - unsigned GetNumAnimations() const
  374. - Animation2D* GetAnimation(unsigned index) const
  375. - Animation2D* GetAnimation(const String name) const
  376. Properties:
  377. - unsigned numAnimations (readonly)
  378. <a name="Class_AnimationState"></a>
  379. ### AnimationState
  380. Methods:
  381. - AnimationState(AnimatedModel* model, Animation* animation) (GC)
  382. - AnimationState* new(AnimatedModel* model, Animation* animation)
  383. - AnimationState(Node* node, Animation* animation) (GC)
  384. - AnimationState* new(Node* node, Animation* animation)
  385. - void delete()
  386. - void SetStartBone(Bone* bone)
  387. - void SetLooped(bool looped)
  388. - void SetWeight(float weight)
  389. - void SetTime(float time)
  390. - void SetBoneWeight(const String name, float weight, bool recursive = false)
  391. - void SetBoneWeight(StringHash nameHash, float weight, bool recursive = false)
  392. - void SetBoneWeight(unsigned index, float weight, bool recursive = false)
  393. - void AddWeight(float delta)
  394. - void AddTime(float delta)
  395. - void SetLayer(char layer)
  396. - Animation* GetAnimation() const
  397. - Bone* GetStartBone() const
  398. - float GetBoneWeight(const String name) const
  399. - float GetBoneWeight(StringHash nameHash) const
  400. - float GetBoneWeight(unsigned index) const
  401. - unsigned GetTrackIndex(const String name) const
  402. - unsigned GetTrackIndex(StringHash nameHash) const
  403. - bool IsEnabled() const
  404. - bool IsLooped() const
  405. - float GetWeight() const
  406. - float GetTime() const
  407. - float GetLength() const
  408. - char GetLayer() const
  409. Properties:
  410. - Animation* animation (readonly)
  411. - Bone* startBone
  412. - bool enabled (readonly)
  413. - bool looped
  414. - float weight
  415. - float time
  416. - float length (readonly)
  417. - char layer
  418. <a name="Class_Audio"></a>
  419. ### Audio : Object
  420. Methods:
  421. - bool SetMode(int bufferLengthMSec, int mixRate, bool stereo, bool interpolation = true)
  422. - bool Play()
  423. - void Stop()
  424. - void SetMasterGain(SoundType type, float gain)
  425. - void SetListener(SoundListener* listener)
  426. - void StopSound(Sound* sound)
  427. - unsigned GetSampleSize() const
  428. - int GetMixRate() const
  429. - bool GetInterpolation() const
  430. - bool IsStereo() const
  431. - bool IsPlaying() const
  432. - bool IsInitialized() const
  433. - float GetMasterGain(SoundType type) const
  434. - SoundListener* GetListener() const
  435. - const PODVector<SoundSource*>& GetSoundSources() const
  436. - void AddSoundSource(SoundSource* soundSource)
  437. - void RemoveSoundSource(SoundSource* soundSource)
  438. - float GetSoundSourceMasterGain(SoundType type) const
  439. - void MixOutput(void* dest, unsigned samples)
  440. Properties:
  441. - unsigned sampleSize (readonly)
  442. - int mixRate (readonly)
  443. - bool interpolation (readonly)
  444. - bool stereo (readonly)
  445. - bool playing (readonly)
  446. - bool initialized (readonly)
  447. - SoundListener* listener
  448. <a name="Class_BiasParameters"></a>
  449. ### BiasParameters
  450. Methods:
  451. - BiasParameters() (GC)
  452. - BiasParameters* new()
  453. - BiasParameters(float constantBias, float slopeScaledBias) (GC)
  454. - BiasParameters* new(float constantBias, float slopeScaledBias)
  455. - void delete()
  456. <a name="Class_Billboard"></a>
  457. ### Billboard
  458. Properties:
  459. - Vector3 position
  460. - Vector2 size
  461. - Rect uv
  462. - Color color
  463. - float rotation
  464. - bool enabled
  465. - float sortDistance
  466. <a name="Class_BillboardSet"></a>
  467. ### BillboardSet : Drawable
  468. Methods:
  469. - void SetMaterial(Material* material)
  470. - void SetNumBillboards(unsigned num)
  471. - void SetRelative(bool enable)
  472. - void SetScaled(bool enable)
  473. - void SetSorted(bool enable)
  474. - void SetFaceCameraMode(FaceCameraMode mode)
  475. - void SetAnimationLodBias(float bias)
  476. - void Commit()
  477. - Material* GetMaterial() const
  478. - unsigned GetNumBillboards() const
  479. - Billboard* GetBillboard(unsigned index)
  480. - bool IsRelative() const
  481. - bool IsScaled() const
  482. - bool IsSorted() const
  483. - FaceCameraMode GetFaceCameraMode() const
  484. - float GetAnimationLodBias() const
  485. Properties:
  486. - Material* material
  487. - unsigned numBillboards
  488. - bool relative
  489. - bool scaled
  490. - bool sorted
  491. - FaceCameraMode faceCameraMode
  492. - float animationLodBias
  493. <a name="Class_Bone"></a>
  494. ### Bone
  495. Methods:
  496. - Bone() (GC)
  497. - Bone* new()
  498. - void delete()
  499. Properties:
  500. - String name
  501. - StringHash nameHash
  502. - unsigned parentIndex
  503. - Vector3 initialPosition
  504. - Quaternion initialRotation
  505. - Vector3 initialScale
  506. - Matrix3x4 offsetMatrix
  507. - bool animated
  508. - char collisionMask
  509. - float radius
  510. - BoundingBox boundingBox
  511. - Node* node
  512. <a name="Class_BorderImage"></a>
  513. ### BorderImage : UIElement
  514. Methods:
  515. - BorderImage() (GC)
  516. - BorderImage* new()
  517. - void delete()
  518. - void SetTexture(Texture* texture)
  519. - void SetImageRect(const IntRect& rect)
  520. - void SetFullImageRect()
  521. - void SetBorder(const IntRect& rect)
  522. - void SetImageBorder(const IntRect& rect)
  523. - void SetHoverOffset(const IntVector2& offset)
  524. - void SetHoverOffset(int x, int y)
  525. - void SetBlendMode(BlendMode mode)
  526. - void SetTiled(bool enable)
  527. - Texture* GetTexture() const
  528. - const IntRect& GetImageRect() const
  529. - const IntRect& GetBorder() const
  530. - const IntRect& GetImageBorder() const
  531. - const IntVector2& GetHoverOffset() const
  532. - BlendMode GetBlendMode() const
  533. - bool IsTiled() const
  534. Properties:
  535. - Texture* texture
  536. - IntRect& imageRect
  537. - IntRect& border
  538. - IntRect& imageBorder
  539. - IntVector2& hoverOffset
  540. - BlendMode blendMode
  541. - bool tiled
  542. <a name="Class_BoundingBox"></a>
  543. ### BoundingBox
  544. Methods:
  545. - BoundingBox() (GC)
  546. - BoundingBox* new()
  547. - BoundingBox(const BoundingBox& box) (GC)
  548. - BoundingBox* new(const BoundingBox& box)
  549. - BoundingBox(const Rect& rect) (GC)
  550. - BoundingBox* new(const Rect& rect)
  551. - BoundingBox(const Vector3& min, const Vector3& max) (GC)
  552. - BoundingBox* new(const Vector3& min, const Vector3& max)
  553. - BoundingBox(float min, float max) (GC)
  554. - BoundingBox* new(float min, float max)
  555. - BoundingBox(const Frustum& frustum) (GC)
  556. - BoundingBox* new(const Frustum& frustum)
  557. - BoundingBox(const Polyhedron& poly) (GC)
  558. - BoundingBox* new(const Polyhedron& poly)
  559. - BoundingBox(const Sphere& sphere) (GC)
  560. - BoundingBox* new(const Sphere& sphere)
  561. - void delete()
  562. - bool operator==(const BoundingBox& rhs) const
  563. - void Define(const BoundingBox& box)
  564. - void Define(const Rect& rect)
  565. - void Define(const Vector3& min, const Vector3& max)
  566. - void Define(float min, float max)
  567. - void Define(const Vector3& point)
  568. - void Define(const Frustum& frustum)
  569. - void Define(const Polyhedron& poly)
  570. - void Define(const Sphere& sphere)
  571. - void Merge(const Vector3& point)
  572. - void Merge(const BoundingBox& box)
  573. - void Merge(const Frustum& frustum)
  574. - void Merge(const Polyhedron& poly)
  575. - void Merge(const Sphere& sphere)
  576. - void Clip(const BoundingBox& box)
  577. - void Transform(const Matrix3& transform)
  578. - void Transform(const Matrix3x4& transform)
  579. - void Clear()
  580. - Vector3 Center() const
  581. - Vector3 Size() const
  582. - Vector3 HalfSize() const
  583. - BoundingBox Transformed(const Matrix3& transform) const
  584. - BoundingBox Transformed(const Matrix3x4& transform) const
  585. - Rect Projected(const Matrix4& projection) const
  586. - Intersection IsInside(const Vector3& point) const
  587. - Intersection IsInside(const BoundingBox& box) const
  588. - Intersection IsInsideFast(const BoundingBox& box) const
  589. - Intersection IsInside(const Sphere& sphere) const
  590. - Intersection IsInsideFast(const Sphere& sphere) const
  591. - String ToString() const
  592. Properties:
  593. - Vector3 min
  594. - Vector3 max
  595. - bool defined
  596. - Vector3 center (readonly)
  597. - Vector3 size (readonly)
  598. - Vector3 halfSize (readonly)
  599. <a name="Class_Button"></a>
  600. ### Button : BorderImage
  601. Methods:
  602. - Button() (GC)
  603. - Button* new()
  604. - void delete()
  605. - void SetPressedOffset(const IntVector2& offset)
  606. - void SetPressedOffset(int x, int y)
  607. - void SetPressedChildOffset(const IntVector2& offset)
  608. - void SetPressedChildOffset(int x, int y)
  609. - void SetRepeat(float delay, float rate)
  610. - void SetRepeatDelay(float delay)
  611. - void SetRepeatRate(float rate)
  612. - const IntVector2& GetPressedOffset() const
  613. - const IntVector2& GetPressedChildOffset() const
  614. - float GetRepeatDelay() const
  615. - float GetRepeatRate() const
  616. - bool IsPressed() const
  617. Properties:
  618. - IntVector2& pressedOffset
  619. - IntVector2& pressedChildOffset
  620. - float repeatDelay
  621. - float repeatRate
  622. - bool pressed (readonly)
  623. <a name="Class_Camera"></a>
  624. ### Camera : Component
  625. Methods:
  626. - void SetNearClip(float nearClip)
  627. - void SetFarClip(float farClip)
  628. - void SetFov(float fov)
  629. - void SetOrthoSize(float orthoSize)
  630. - void SetOrthoSize(const Vector2& orthoSize)
  631. - void SetAspectRatio(float aspectRatio)
  632. - void SetFillMode(FillMode mode)
  633. - void SetZoom(float zoom)
  634. - void SetLodBias(float bias)
  635. - void SetViewMask(unsigned mask)
  636. - void SetViewOverrideFlags(unsigned flags)
  637. - void SetOrthographic(bool enable)
  638. - void SetAutoAspectRatio(bool enable)
  639. - void SetProjectionOffset(const Vector2& offset)
  640. - void SetUseReflection(bool enable)
  641. - void SetReflectionPlane(const Plane& reflectionPlane)
  642. - void SetUseClipping(bool enable)
  643. - void SetClipPlane(const Plane& clipPlane)
  644. - float GetFarClip() const
  645. - float GetNearClip() const
  646. - float GetFov() const
  647. - float GetOrthoSize() const
  648. - float GetAspectRatio() const
  649. - float GetZoom() const
  650. - float GetLodBias() const
  651. - unsigned GetViewMask() const
  652. - unsigned GetViewOverrideFlags() const
  653. - FillMode GetFillMode() const
  654. - bool IsOrthographic() const
  655. - bool GetAutoAspectRatio() const
  656. - const Frustum& GetFrustum() const
  657. - const Matrix4& GetProjection() const
  658. - const Matrix3x4& GetView() const
  659. - void GetFrustumSize(Vector3& near, Vector3& far) const
  660. - float GetHalfViewSize() const
  661. - Frustum GetSplitFrustum(float nearClip, float farClip) const
  662. - Frustum GetViewSpaceFrustum() const
  663. - Frustum GetViewSpaceSplitFrustum(float nearClip, float farClip) const
  664. - Ray GetScreenRay(float x, float y) const
  665. - Vector2 WorldToScreenPoint(const Vector3& worldPos) const
  666. - Vector3 ScreenToWorldPoint(const Vector3& screenPos) const
  667. - const Vector2& GetProjectionOffset() const
  668. - bool GetUseReflection() const
  669. - const Plane& GetReflectionPlane() const
  670. - bool GetUseClipping() const
  671. - const Plane& GetClipPlane() const
  672. - float GetDistance(const Vector3& worldPos) const
  673. - float GetDistanceSquared(const Vector3& worldPos) const
  674. - float GetLodDistance(float distance, float scale, float bias) const
  675. - bool IsProjectionValid() const
  676. - Matrix3x4 GetEffectiveWorldTransform() const
  677. Properties:
  678. - float farClip
  679. - float nearClip
  680. - float fov
  681. - float orthoSize
  682. - float aspectRatio
  683. - float zoom
  684. - float lodBias
  685. - unsigned viewMask
  686. - unsigned viewOverrideFlags
  687. - FillMode fillMode
  688. - bool orthographic
  689. - bool autoAspectRatio
  690. - Frustum& frustum (readonly)
  691. - Matrix4& projection (readonly)
  692. - Matrix3x4& view (readonly)
  693. - float halfViewSize (readonly)
  694. - Frustum viewSpaceFrustum (readonly)
  695. - Vector2& projectionOffset
  696. - bool useReflection
  697. - Plane& reflectionPlane
  698. - bool useClipping
  699. - Plane& clipPlane
  700. - bool projectionValid (readonly)
  701. - Matrix3x4 effectiveWorldTransform (readonly)
  702. <a name="Class_CascadeParameters"></a>
  703. ### CascadeParameters
  704. Methods:
  705. - CascadeParameters() (GC)
  706. - CascadeParameters* new()
  707. - CascadeParameters(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f) (GC)
  708. - CascadeParameters* new(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f)
  709. - void delete()
  710. <a name="Class_CheckBox"></a>
  711. ### CheckBox : BorderImage
  712. Methods:
  713. - CheckBox() (GC)
  714. - CheckBox* new()
  715. - void delete()
  716. - void SetChecked(bool enable)
  717. - void SetCheckedOffset(const IntVector2& rect)
  718. - void SetCheckedOffset(int x, int y)
  719. - bool IsChecked() const
  720. - const IntVector2& GetCheckedOffset() const
  721. Properties:
  722. - bool checked
  723. - IntVector2& checkedOffset
  724. <a name="Class_CollisionBox2D"></a>
  725. ### CollisionBox2D : CollisionShape2D
  726. Methods:
  727. - void SetSize(const Vector2& size)
  728. - void SetSize(float width, float height)
  729. - void SetCenter(const Vector2& center)
  730. - void SetCenter(float x, float y)
  731. - void SetAngle(float angle)
  732. - const Vector2& GetSize() const
  733. - const Vector2& GetCenter() const
  734. - float GetAngle() const
  735. Properties:
  736. - Vector2& size
  737. - Vector2& center
  738. - float angle
  739. <a name="Class_CollisionChain2D"></a>
  740. ### CollisionChain2D : CollisionShape2D
  741. Methods:
  742. - void SetLoop(bool loop)
  743. - void SetVertexCount(unsigned count)
  744. - void SetVertex(unsigned index, const Vector2& vertex)
  745. - void SetVertices(const PODVector<Vector2>& vertices)
  746. - bool GetLoop() const
  747. - unsigned GetVertexCount() const
  748. - const Vector2& GetVertex(unsigned index) const
  749. Properties:
  750. - bool loop
  751. - unsigned vertexCount
  752. <a name="Class_CollisionCircle2D"></a>
  753. ### CollisionCircle2D : CollisionShape2D
  754. Methods:
  755. - void SetRadius(float radius)
  756. - void SetCenter(const Vector2& center)
  757. - void SetCenter(float x, float y)
  758. - float GetRadius() const
  759. - const Vector2& GetCenter() const
  760. Properties:
  761. - float radius
  762. - Vector2& center
  763. <a name="Class_CollisionEdge2D"></a>
  764. ### CollisionEdge2D : CollisionShape2D
  765. Methods:
  766. - void SetVertex1(const Vector2& vertex)
  767. - void SetVertex2(const Vector2& vertex)
  768. - void SetVertices(const Vector2& vertex1, const Vector2& vertex2)
  769. - const Vector2& GetVertex1() const
  770. - const Vector2& GetVertex2() const
  771. Properties:
  772. - Vector2& vertex1
  773. - Vector2& vertex2
  774. <a name="Class_CollisionPolygon2D"></a>
  775. ### CollisionPolygon2D : CollisionShape2D
  776. Methods:
  777. - void SetVertexCount(unsigned count)
  778. - void SetVertex(unsigned index, const Vector2& vertex)
  779. - void SetVertices(const PODVector<Vector2>& vertices)
  780. - unsigned GetVertexCount() const
  781. - const Vector2& GetVertex(unsigned index) const
  782. Properties:
  783. - unsigned vertexCount
  784. <a name="Class_CollisionShape"></a>
  785. ### CollisionShape : Component
  786. Methods:
  787. - void SetBox(const Vector3& size)
  788. - void SetBox(const Vector3& size, const Vector3& position)
  789. - void SetBox(const Vector3& size, const Vector3& position, const Quaternion& rotation)
  790. - void SetSphere(float diameter)
  791. - void SetSphere(float diameter, const Vector3& position)
  792. - void SetSphere(float diameter, const Vector3& position, const Quaternion& rotation)
  793. - void SetStaticPlane()
  794. - void SetStaticPlane(const Vector3& position)
  795. - void SetStaticPlane(const Vector3& position, const Quaternion& rotation)
  796. - void SetCylinder(float diameter, float height)
  797. - void SetCylinder(float diameter, float height, const Vector3& position)
  798. - void SetCylinder(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  799. - void SetCapsule(float diameter, float height)
  800. - void SetCapsule(float diameter, float height, const Vector3& position)
  801. - void SetCapsule(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  802. - void SetCone(float diameter, float height)
  803. - void SetCone(float diameter, float height, const Vector3& position)
  804. - void SetCone(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  805. - void SetTriangleMesh(Model* model, unsigned lodLevel = 0)
  806. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale)
  807. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position)
  808. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  809. - void SetCustomTriangleMesh(CustomGeometry* custom)
  810. - void SetCustomTriangleMesh(CustomGeometry* custom, const Vector3& scale)
  811. - void SetCustomTriangleMesh(CustomGeometry* custom, const Vector3& scale, const Vector3& position)
  812. - void SetCustomTriangleMesh(CustomGeometry* custom, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  813. - void SetConvexHull(Model* model, unsigned lodLevel = 0)
  814. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale)
  815. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position)
  816. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  817. - void SetCustomConvexHull(CustomGeometry* custom)
  818. - void SetCustomConvexHull(CustomGeometry* custom, const Vector3& scale)
  819. - void SetCustomConvexHull(CustomGeometry* custom, const Vector3& scale, const Vector3& position)
  820. - void SetCustomConvexHull(CustomGeometry* custom, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  821. - void SetTerrain()
  822. - void SetShapeType(ShapeType type)
  823. - void SetSize(const Vector3& size)
  824. - void SetPosition(const Vector3& position)
  825. - void SetRotation(const Quaternion& rotation)
  826. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  827. - void SetMargin(float margin)
  828. - void SetModel(Model* model)
  829. - void SetLodLevel(unsigned lodLevel)
  830. - PhysicsWorld* GetPhysicsWorld() const
  831. - ShapeType GetShapeType() const
  832. - const Vector3& GetSize() const
  833. - const Vector3& GetPosition() const
  834. - const Quaternion& GetRotation() const
  835. - float GetMargin() const
  836. - Model* GetModel() const
  837. - unsigned GetLodLevel() const
  838. - BoundingBox GetWorldBoundingBox() const
  839. Properties:
  840. - PhysicsWorld* physicsWorld (readonly)
  841. - ShapeType shapeType
  842. - Vector3& size
  843. - Vector3& position
  844. - Quaternion& rotation
  845. - float margin
  846. - Model* model
  847. - unsigned lodLevel
  848. - BoundingBox worldBoundingBox (readonly)
  849. - ResourceRef modelAttr
  850. <a name="Class_CollisionShape2D"></a>
  851. ### CollisionShape2D : Component
  852. Methods:
  853. - void SetTrigger(bool trigger)
  854. - void SetCategoryBits(int categoryBits)
  855. - void SetMaskBits(int maskBits)
  856. - void SetGroupIndex(int groupIndex)
  857. - void SetDensity(float density)
  858. - void SetFriction(float friction)
  859. - void SetRestitution(float restitution)
  860. - bool IsTrigger() const
  861. - int GetCategoryBits() const
  862. - int GetMaskBits() const
  863. - int GetGroupIndex() const
  864. - float GetDensity() const
  865. - float GetFriction() const
  866. - float GetRestitution() const
  867. - float GetMass() const
  868. - float GetInertia() const
  869. - Vector2 GetMassCenter() const
  870. Properties:
  871. - bool trigger
  872. - int categoryBits
  873. - int maskBits
  874. - int groupIndex
  875. - float density
  876. - float friction
  877. - float restitution
  878. - float mass (readonly)
  879. - float inertia (readonly)
  880. - Vector2 massCenter (readonly)
  881. <a name="Class_Color"></a>
  882. ### Color
  883. Methods:
  884. - Color() (GC)
  885. - Color* new()
  886. - Color(const Color& color) (GC)
  887. - Color* new(const Color& color)
  888. - Color(const Color& color, float a) (GC)
  889. - Color* new(const Color& color, float a)
  890. - Color(float r, float g, float b) (GC)
  891. - Color* new(float r, float g, float b)
  892. - Color(float r, float g, float b, float a) (GC)
  893. - Color* new(float r, float g, float b, float a)
  894. - void delete()
  895. - bool operator==(const Color& rhs) const
  896. - Color operator*(float rhs) const
  897. - Color operator+(const Color& rhs)
  898. - unsigned ToUInt() const
  899. - Vector3 ToHSL() const
  900. - Vector3 ToHSV() const
  901. - void FromHSL(float h, float s, float l, float a)
  902. - void FromHSV(float h, float s, float v, float a)
  903. - Vector3 ToVector3() const
  904. - Vector4 ToVector4() const
  905. - float SumRGB() const
  906. - float Average() const
  907. - float Luma() const
  908. - float Chroma() const
  909. - float Hue() const
  910. - float SaturationHSL() const
  911. - float SaturationHSV() const
  912. - float Value() const
  913. - float Lightness() const
  914. - float MaxRGB() const
  915. - float MinRGB() const
  916. - float Range() const
  917. - void Clip(bool clipAlpha = false)
  918. - void Invert(bool invertAlpha = false)
  919. - Color Lerp(const Color& rhs, float t) const
  920. - Color Abs() const
  921. - bool Equals(const Color& rhs) const
  922. - String ToString() const
  923. Properties:
  924. - float r
  925. - float g
  926. - float b
  927. - float a
  928. - const Color WHITE
  929. - const Color GRAY
  930. - const Color BLACK
  931. - const Color RED
  932. - const Color GREEN
  933. - const Color BLUE
  934. - const Color CYAN
  935. - const Color MAGENTA
  936. - const Color YELLOW
  937. - const Color TRANSPARENT
  938. <a name="Class_ColorFrame"></a>
  939. ### ColorFrame
  940. Methods:
  941. - ColorFrame() (GC)
  942. - ColorFrame* new()
  943. - ColorFrame(const Color& color) (GC)
  944. - ColorFrame* new(const Color& color)
  945. - ColorFrame(const Color& color, float time) (GC)
  946. - ColorFrame* new(const Color& color, float time)
  947. - void delete()
  948. - Color Interpolate(const ColorFrame& next, float time)
  949. Properties:
  950. - Color color
  951. - float time
  952. <a name="Class_Component"></a>
  953. ### Component : Animatable
  954. Methods:
  955. - void SetEnabled(bool enable)
  956. - void Remove()
  957. - unsigned GetID() const
  958. - Node* GetNode() const
  959. - Scene* GetScene() const
  960. - bool IsEnabled() const
  961. - bool IsEnabledEffective() const
  962. - Component* GetComponent(StringHash type) const
  963. - Component* GetComponent(const String type) const
  964. <a name="Class_Connection"></a>
  965. ### Connection : Object
  966. Methods:
  967. - void SendMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  968. - void SendRemoteEvent(StringHash eventType, bool inOrder)
  969. - void SendRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData)
  970. - void SendRemoteEvent(const String eventType, bool inOrder)
  971. - void SendRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData)
  972. - void SendRemoteEvent(Node* node, StringHash eventType, bool inOrder)
  973. - void SendRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData)
  974. - void SendRemoteEvent(Node* node, const String eventType, bool inOrder)
  975. - void SendRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData)
  976. - void SetScene(Scene* newScene)
  977. - void SetIdentity(const VariantMap& identity)
  978. - void SetControls(const Controls& newControls)
  979. - void SetPosition(const Vector3& position)
  980. - void SetRotation(const Quaternion& rotation)
  981. - void SetConnectPending(bool connectPending)
  982. - void SetLogStatistics(bool enable)
  983. - void Disconnect(int waitMSec = 0)
  984. - void SendServerUpdate()
  985. - void SendClientUpdate()
  986. - void SendRemoteEvents()
  987. - void SendPackages()
  988. - void ProcessPendingLatestData()
  989. - bool ProcessMessage(int msgID, MemoryBuffer& msg)
  990. - VariantMap& GetIdentity()
  991. - Scene* GetScene() const
  992. - const Controls& GetControls() const
  993. - const Vector3& GetPosition() const
  994. - const Quaternion& GetRotation() const
  995. - bool IsClient() const
  996. - bool IsConnected() const
  997. - bool IsConnectPending() const
  998. - bool IsSceneLoaded() const
  999. - bool GetLogStatistics() const
  1000. - String GetAddress() const
  1001. - short GetPort() const
  1002. - String ToString() const
  1003. - unsigned GetNumDownloads() const
  1004. - const String GetDownloadName() const
  1005. - float GetDownloadProgress() const
  1006. Properties:
  1007. - VariantMap& identity
  1008. - Scene* scene
  1009. - Controls& controls
  1010. - Vector3& position
  1011. - Quaternion& rotation
  1012. - bool client (readonly)
  1013. - bool connected (readonly)
  1014. - bool connectPending
  1015. - bool sceneLoaded (readonly)
  1016. - bool logStatistics
  1017. - String address (readonly)
  1018. - short port (readonly)
  1019. - unsigned numDownloads (readonly)
  1020. - String downloadName (readonly)
  1021. - float downloadProgress (readonly)
  1022. <a name="Class_Console"></a>
  1023. ### Console : Object
  1024. Methods:
  1025. - void SetDefaultStyle(XMLFile* style)
  1026. - void SetVisible(bool enable)
  1027. - void Toggle()
  1028. - void SetAutoVisibleOnError(bool enable)
  1029. - void SetCommandInterpreter(const String interpreter)
  1030. - void SetNumBufferedRows(unsigned rows)
  1031. - void SetNumRows(unsigned rows)
  1032. - void SetNumHistoryRows(unsigned rows)
  1033. - void SetFocusOnShow(bool enable)
  1034. - void UpdateElements()
  1035. - XMLFile* GetDefaultStyle() const
  1036. - BorderImage* GetBackground() const
  1037. - LineEdit* GetLineEdit() const
  1038. - Button* GetCloseButton() const
  1039. - bool IsVisible() const
  1040. - bool IsAutoVisibleOnError() const
  1041. - const String GetCommandInterpreter() const
  1042. - unsigned GetNumBufferedRows() const
  1043. - unsigned GetNumRows() const
  1044. - void CopySelectedRows() const
  1045. - unsigned GetNumHistoryRows() const
  1046. - unsigned GetHistoryPosition() const
  1047. - const String GetHistoryRow(unsigned index) const
  1048. - bool GetFocusOnShow() const
  1049. Properties:
  1050. - XMLFile* defaultStyle
  1051. - BorderImage* background (readonly)
  1052. - LineEdit* lineEdit (readonly)
  1053. - Button* closeButton (readonly)
  1054. - bool visible
  1055. - bool autoVisibleOnError
  1056. - String commandInterpreter
  1057. - unsigned numBufferedRows
  1058. - unsigned numRows
  1059. - unsigned numHistoryRows
  1060. - unsigned historyPosition (readonly)
  1061. - bool focusOnShow
  1062. <a name="Class_Constraint"></a>
  1063. ### Constraint : Component
  1064. Methods:
  1065. - void SetConstraintType(ConstraintType type)
  1066. - void SetOtherBody(RigidBody* body)
  1067. - void SetPosition(const Vector3& position)
  1068. - void SetRotation(const Quaternion& rotation)
  1069. - void SetAxis(const Vector3& axis)
  1070. - void SetOtherPosition(const Vector3& position)
  1071. - void SetOtherRotation(const Quaternion& rotation)
  1072. - void SetOtherAxis(const Vector3& axis)
  1073. - void SetWorldPosition(const Vector3& position)
  1074. - void SetHighLimit(const Vector2& limit)
  1075. - void SetLowLimit(const Vector2& limit)
  1076. - void SetERP(float erp)
  1077. - void SetCFM(float cfm)
  1078. - void SetDisableCollision(bool disable)
  1079. - PhysicsWorld* GetPhysicsWorld() const
  1080. - ConstraintType GetConstraintType() const
  1081. - RigidBody* GetOwnBody() const
  1082. - RigidBody* GetOtherBody() const
  1083. - const Vector3& GetPosition() const
  1084. - const Quaternion& GetRotation() const
  1085. - const Vector3& GetOtherPosition() const
  1086. - const Quaternion& GetOtherRotation() const
  1087. - Vector3 GetWorldPosition() const
  1088. - const Vector2& GetHighLimit() const
  1089. - const Vector2& GetLowLimit() const
  1090. - float GetERP() const
  1091. - float GetCFM() const
  1092. - bool GetDisableCollision() const
  1093. Properties:
  1094. - PhysicsWorld* physicsWorld (readonly)
  1095. - ConstraintType constraintType
  1096. - RigidBody* ownBody (readonly)
  1097. - RigidBody* otherBody
  1098. - Vector3& position
  1099. - Quaternion& rotation
  1100. - Vector3& axis
  1101. - Vector3& otherPosition
  1102. - Quaternion& otherRotation
  1103. - Vector3& otherAxis
  1104. - Vector3 worldPosition
  1105. - Vector2& highLimit
  1106. - Vector2& lowLimit
  1107. - float ERP
  1108. - float CFM
  1109. - bool disableCollision
  1110. <a name="Class_Constraint2D"></a>
  1111. ### Constraint2D : Component
  1112. Methods:
  1113. - void SetOtherBody(RigidBody2D* body)
  1114. - void SetCollideConnected(bool collideConnected)
  1115. - RigidBody2D* GetOwnerBody() const
  1116. - RigidBody2D* GetOtherBody() const
  1117. - bool GetCollideConnected() const
  1118. Properties:
  1119. - RigidBody2D* ownerBody (readonly)
  1120. - RigidBody2D* otherBody
  1121. - bool collideConnected
  1122. <a name="Class_ConstraintDistance2D"></a>
  1123. ### ConstraintDistance2D : Constraint2D
  1124. Methods:
  1125. - void SetOwnerBodyAnchor(const Vector2& anchor)
  1126. - void SetOtherBodyAnchor(const Vector2& anchor)
  1127. - void SetFrequencyHz(float frequencyHz)
  1128. - void SetDampingRatio(float dampingRatio)
  1129. - const Vector2& GetOwnerBodyAnchor() const
  1130. - const Vector2& GetOtherBodyAnchor() const
  1131. - float GetFrequencyHz() const
  1132. - float GetDampingRatio() const
  1133. Properties:
  1134. - Vector2& ownerBodyAnchor
  1135. - Vector2& otherBodyAnchor
  1136. - float frequencyHz
  1137. - float dampingRatio
  1138. <a name="Class_ConstraintFriction2D"></a>
  1139. ### ConstraintFriction2D : Constraint2D
  1140. Methods:
  1141. - void SetAnchor(const Vector2& anchor)
  1142. - void SetMaxForce(float maxForce)
  1143. - void SetMaxTorque(float maxTorque)
  1144. - const Vector2& GetAnchor() const
  1145. - float GetMaxForce() const
  1146. - float GetMaxTorque() const
  1147. Properties:
  1148. - Vector2& anchor
  1149. - float maxForce
  1150. - float maxTorque
  1151. <a name="Class_ConstraintGear2D"></a>
  1152. ### ConstraintGear2D : Constraint2D
  1153. Methods:
  1154. - void SetOwnerConstraint(Constraint2D* constraint)
  1155. - void SetOtherConstraint(Constraint2D* constraint)
  1156. - void SetRatio(float ratio)
  1157. - Constraint2D* GetOwnerConstraint() const
  1158. - Constraint2D* GetOtherConstraint() const
  1159. - float GetRatio() const
  1160. Properties:
  1161. - Constraint2D* ownerConstraint
  1162. - Constraint2D* otherConstraint
  1163. - float ratio
  1164. <a name="Class_ConstraintMotor2D"></a>
  1165. ### ConstraintMotor2D : Constraint2D
  1166. Methods:
  1167. - void SetLinearOffset(const Vector2& linearOffset)
  1168. - void SetAngularOffset(float angularOffset)
  1169. - void SetMaxForce(float maxForce)
  1170. - void SetMaxTorque(float maxTorque)
  1171. - void SetCorrectionFactor(float correctionFactor)
  1172. - const Vector2& GetLinearOffset() const
  1173. - float GetAngularOffset() const
  1174. - float GetMaxForce() const
  1175. - float GetMaxTorque() const
  1176. - float GetCorrectionFactor() const
  1177. Properties:
  1178. - Vector2& linearOffset
  1179. - float angularOffset
  1180. - float maxForce
  1181. - float maxTorque
  1182. - float correctionFactor
  1183. <a name="Class_ConstraintMouse2D"></a>
  1184. ### ConstraintMouse2D : Constraint2D
  1185. Methods:
  1186. - void SetTarget(const Vector2& target)
  1187. - void SetMaxForce(float maxForce)
  1188. - void SetFrequencyHz(float frequencyHz)
  1189. - void SetDampingRatio(float dampingRatio)
  1190. - const Vector2& GetTarget() const
  1191. - float GetMaxForce() const
  1192. - float GetFrequencyHz() const
  1193. - float GetDampingRatio() const
  1194. Properties:
  1195. - Vector2& target
  1196. - float maxForce
  1197. - float frequencyHz
  1198. - float dampingRatio
  1199. <a name="Class_ConstraintPrismatic2D"></a>
  1200. ### ConstraintPrismatic2D : Constraint2D
  1201. Methods:
  1202. - void SetAnchor(const Vector2& anchor)
  1203. - void SetAxis(const Vector2& axis)
  1204. - void SetEnableLimit(bool enableLimit)
  1205. - void SetLowerTranslation(float lowerTranslation)
  1206. - void SetUpperTranslation(float upperTranslation)
  1207. - void SetEnableMotor(bool enableMotor)
  1208. - void SetMaxMotorForce(float maxMotorForce)
  1209. - void SetMotorSpeed(float motorSpeed)
  1210. - const Vector2& GetAnchor() const
  1211. - const Vector2& GetAxis() const
  1212. - bool GetEnableLimit() const
  1213. - float GetLowerTranslation() const
  1214. - float GetUpperTranslation() const
  1215. - bool GetEnableMotor() const
  1216. - float GetMaxMotorForce() const
  1217. - float GetMotorSpeed() const
  1218. Properties:
  1219. - Vector2& anchor
  1220. - Vector2& axis
  1221. - bool enableLimit
  1222. - float lowerTranslation
  1223. - float upperTranslation
  1224. - bool enableMotor
  1225. - float maxMotorForce
  1226. - float motorSpeed
  1227. <a name="Class_ConstraintPulley2D"></a>
  1228. ### ConstraintPulley2D : Constraint2D
  1229. Methods:
  1230. - void SetOwnerBodyGroundAnchor(const Vector2& groundAnchor)
  1231. - void SetOtherBodyGroundAnchor(const Vector2& groundAnchor)
  1232. - void SetOwnerBodyAnchor(const Vector2& anchor)
  1233. - void SetOtherBodyAnchor(const Vector2& anchor)
  1234. - void SetRatio(float ratio)
  1235. - const Vector2& GetOwnerBodyGroundAnchor() const
  1236. - const Vector2& GetOtherBodyGroundAnchor() const
  1237. - const Vector2& GetOwnerBodyAnchor() const
  1238. - const Vector2& GetOtherBodyAnchor() const
  1239. - float GetRatio() const
  1240. Properties:
  1241. - Vector2& ownerBodyGroundAnchor
  1242. - Vector2& otherBodyGroundAnchor
  1243. - Vector2& ownerBodyAnchor
  1244. - Vector2& otherBodyAnchor
  1245. - float ratio
  1246. <a name="Class_ConstraintRevolute2D"></a>
  1247. ### ConstraintRevolute2D : Constraint2D
  1248. Methods:
  1249. - void SetAnchor(const Vector2& anchor)
  1250. - void SetEnableLimit(bool enableLimit)
  1251. - void SetLowerAngle(float lowerAngle)
  1252. - void SetUpperAngle(float upperAngle)
  1253. - void SetEnableMotor(bool enableMotor)
  1254. - void SetMotorSpeed(float motorSpeed)
  1255. - void SetMaxMotorTorque(float maxMotorTorque)
  1256. - const Vector2& GetAnchor() const
  1257. - bool GetEnableLimit() const
  1258. - float GetLowerAngle() const
  1259. - float GetUpperAngle() const
  1260. - bool GetEnableMotor() const
  1261. - float GetMotorSpeed() const
  1262. - float GetMaxMotorTorque() const
  1263. Properties:
  1264. - Vector2& anchor
  1265. - bool enableLimit
  1266. - float lowerAngle
  1267. - float upperAngle
  1268. - bool enableMotor
  1269. - float motorSpeed
  1270. - float maxMotorTorque
  1271. <a name="Class_ConstraintRope2D"></a>
  1272. ### ConstraintRope2D : Constraint2D
  1273. Methods:
  1274. - void SetOwnerBodyAnchor(const Vector2& anchor)
  1275. - void SetOtherBodyAnchor(const Vector2& anchor)
  1276. - void SetMaxLength(float maxLength)
  1277. - const Vector2& GetOwnerBodyAnchor() const
  1278. - const Vector2& GetOtherBodyAnchor() const
  1279. - float GetMaxLength() const
  1280. Properties:
  1281. - Vector2& ownerBodyAnchor
  1282. - Vector2& otherBodyAnchor
  1283. - float maxLength
  1284. <a name="Class_ConstraintWeld2D"></a>
  1285. ### ConstraintWeld2D : Constraint2D
  1286. Methods:
  1287. - void SetAnchor(const Vector2& anchor)
  1288. - void SetFrequencyHz(float frequencyHz)
  1289. - void SetDampingRatio(float dampingRatio)
  1290. - const Vector2& GetAnchor() const
  1291. - float GetFrequencyHz() const
  1292. - float GetDampingRatio() const
  1293. Properties:
  1294. - Vector2& anchor
  1295. - float frequencyHz
  1296. - float dampingRatio
  1297. <a name="Class_ConstraintWheel2D"></a>
  1298. ### ConstraintWheel2D : Constraint2D
  1299. Methods:
  1300. - void SetAnchor(const Vector2& anchor)
  1301. - void SetAxis(const Vector2& axis)
  1302. - void SetEnableMotor(bool enableMotor)
  1303. - void SetMaxMotorTorque(float maxMotorTorque)
  1304. - void SetMotorSpeed(float motorSpeed)
  1305. - void SetFrequencyHz(float frequencyHz)
  1306. - void SetDampingRatio(float dampingRatio)
  1307. - const Vector2& GetAnchor() const
  1308. - const Vector2& GetAxis() const
  1309. - bool GetEnableMotor() const
  1310. - float GetMaxMotorTorque() const
  1311. - float GetMotorSpeed() const
  1312. - float GetFrequencyHz() const
  1313. - float GetDampingRatio() const
  1314. Properties:
  1315. - Vector2& anchor
  1316. - Vector2& axis
  1317. - bool enableMotor
  1318. - float maxMotorTorque
  1319. - float motorSpeed
  1320. - float frequencyHz
  1321. - float dampingRatio
  1322. <a name="Class_Context"></a>
  1323. ### Context
  1324. Methods:
  1325. - Object* GetEventSender() const
  1326. - EventHandler* GetEventHandler() const
  1327. - const String GetTypeName(StringHash objectType) const
  1328. <a name="Class_Controls"></a>
  1329. ### Controls
  1330. Methods:
  1331. - Controls() (GC)
  1332. - Controls* new()
  1333. - void delete()
  1334. - void Reset()
  1335. - void Set(unsigned buttons, bool down = true)
  1336. - bool IsDown(unsigned button) const
  1337. - bool IsPressed(unsigned button, const Controls& previousControls) const
  1338. Properties:
  1339. - unsigned buttons
  1340. - float yaw
  1341. - float pitch
  1342. - VariantMap extraData
  1343. <a name="Class_Cursor"></a>
  1344. ### Cursor : BorderImage
  1345. Methods:
  1346. - Cursor() (GC)
  1347. - Cursor* new()
  1348. - void delete()
  1349. - void DefineShape(CursorShape shape, Image* image, const IntRect& imageRect, const IntVector2& hotSpot)
  1350. - void SetShape(CursorShape shape)
  1351. - void SetUseSystemShapes(bool enable)
  1352. - CursorShape GetShape() const
  1353. - bool GetUseSystemShapes() const
  1354. Properties:
  1355. - CursorShape shape
  1356. - bool useSystemShapes
  1357. <a name="Class_CustomGeometry"></a>
  1358. ### CustomGeometry : Drawable
  1359. Methods:
  1360. - void Clear()
  1361. - void SetNumGeometries(unsigned num)
  1362. - void SetDynamic(bool enable)
  1363. - void BeginGeometry(unsigned index, PrimitiveType type)
  1364. - void DefineVertex(const Vector3& position)
  1365. - void DefineNormal(const Vector3& normal)
  1366. - void DefineTangent(const Vector4& tangent)
  1367. - void DefineColor(const Color& color)
  1368. - void DefineTexCoord(const Vector2& texCoord)
  1369. - void DefineGeometry(unsigned index, PrimitiveType type, unsigned numVertices, bool hasNormals, bool hasColors, bool hasTexCoords, bool hasTangents)
  1370. - void Commit()
  1371. - void SetMaterial(Material* material)
  1372. - bool SetMaterial(unsigned index, Material* material)
  1373. - unsigned GetNumGeometries() const
  1374. - unsigned GetNumVertices(unsigned index) const
  1375. - bool IsDynamic() const
  1376. - Material* GetMaterial(unsigned index = 0)
  1377. - CustomGeometryVertex* GetVertex(unsigned geometryIndex, unsigned vertexNum)
  1378. Properties:
  1379. - Material* material
  1380. - unsigned numGeometries
  1381. - bool dynamic
  1382. <a name="Class_CustomGeometryVertex"></a>
  1383. ### CustomGeometryVertex
  1384. Properties:
  1385. - Vector3 position
  1386. - Vector3 normal
  1387. - unsigned color
  1388. - Vector2 texCoord
  1389. - Vector4 tangent
  1390. <a name="Class_DebugHud"></a>
  1391. ### DebugHud : Object
  1392. Methods:
  1393. - void Update()
  1394. - void SetDefaultStyle(XMLFile* style)
  1395. - void SetMode(unsigned mode)
  1396. - void SetProfilerMaxDepth(unsigned depth)
  1397. - void SetProfilerInterval(float interval)
  1398. - void SetUseRendererStats(bool enable)
  1399. - void Toggle(unsigned mode)
  1400. - void ToggleAll()
  1401. - XMLFile* GetDefaultStyle() const
  1402. - Text* GetStatsText() const
  1403. - Text* GetModeText() const
  1404. - Text* GetProfilerText() const
  1405. - unsigned GetMode() const
  1406. - unsigned GetProfilerMaxDepth() const
  1407. - float GetProfilerInterval() const
  1408. - bool GetUseRendererStats() const
  1409. - void SetAppStats(const String label, const Variant stats)
  1410. - void SetAppStats(const String label, const String stats)
  1411. - bool ResetAppStats(const String label)
  1412. - void ClearAppStats()
  1413. Properties:
  1414. - XMLFile* defaultStyle
  1415. - Text* statsText (readonly)
  1416. - Text* modeText (readonly)
  1417. - Text* profilerText (readonly)
  1418. - unsigned mode
  1419. - unsigned profilerMaxDepth
  1420. - float profilerInterval
  1421. - bool useRendererStats
  1422. <a name="Class_DebugRenderer"></a>
  1423. ### DebugRenderer : Component
  1424. Methods:
  1425. - void SetView(Camera* camera)
  1426. - void AddLine(const Vector3& start, const Vector3& end, const Color& color, bool depthTest = true)
  1427. - void AddLine(const Vector3& start, const Vector3& end, unsigned color, bool depthTest = true)
  1428. - void AddTriangle(const Vector3& v1, const Vector3& v2, const Vector3& v3, const Color& color, bool depthTest = true)
  1429. - void AddTriangle(const Vector3& v1, const Vector3& v2, const Vector3& v3, unsigned color, bool depthTest = true)
  1430. - void AddNode(Node* node, float scale = 1.0f, bool depthTest = true)
  1431. - void AddBoundingBox(const BoundingBox& box, const Color& color, bool depthTest = true)
  1432. - void AddBoundingBox(const BoundingBox& box, const Matrix3x4& transform, const Color& color, bool depthTest = true)
  1433. - void AddFrustum(const Frustum& frustum, const Color& color, bool depthTest = true)
  1434. - void AddPolyhedron(const Polyhedron& poly, const Color& color, bool depthTest = true)
  1435. - void AddSphere(const Sphere& sphere, const Color& color, bool depthTest = true)
  1436. - void AddSkeleton(const Skeleton& skeleton, const Color& color, bool depthTest = true)
  1437. - 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)
  1438. - void Render()
  1439. - const Matrix3x4& GetView() const
  1440. - const Matrix4& GetProjection() const
  1441. - const Frustum& GetFrustum() const
  1442. - bool IsInside(const BoundingBox& box) const
  1443. Properties:
  1444. - Matrix3x4& view (readonly)
  1445. - Matrix4& projection (readonly)
  1446. - Frustum& frustum (readonly)
  1447. <a name="Class_DecalSet"></a>
  1448. ### DecalSet : Drawable
  1449. Methods:
  1450. - void SetMaterial(Material* material)
  1451. - void SetMaxVertices(unsigned num)
  1452. - void SetMaxIndices(unsigned num)
  1453. - 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)
  1454. - void RemoveDecals(unsigned num)
  1455. - void RemoveAllDecals()
  1456. - Material* GetMaterial() const
  1457. - unsigned GetNumDecals() const
  1458. - unsigned GetNumVertices() const
  1459. - unsigned GetNumIndices() const
  1460. - unsigned GetMaxVertices() const
  1461. - unsigned GetMaxIndices() const
  1462. Properties:
  1463. - Material* material
  1464. - unsigned numDecals (readonly)
  1465. - unsigned numVertices (readonly)
  1466. - unsigned numIndices (readonly)
  1467. - unsigned maxVertices
  1468. - unsigned maxIndices
  1469. <a name="Class_Deserializer"></a>
  1470. ### Deserializer
  1471. Methods:
  1472. - VectorBuffer Read(unsigned size)
  1473. - unsigned Seek(unsigned position)
  1474. - const String GetName() const
  1475. - unsigned GetChecksum()
  1476. - unsigned GetPosition() const
  1477. - unsigned GetSize() const
  1478. - bool IsEof() const
  1479. - int ReadInt()
  1480. - short ReadShort()
  1481. - char ReadByte()
  1482. - unsigned ReadUInt()
  1483. - short ReadUShort()
  1484. - char ReadUByte()
  1485. - bool ReadBool()
  1486. - float ReadFloat()
  1487. - IntRect ReadIntRect()
  1488. - IntVector2 ReadIntVector2()
  1489. - Rect ReadRect()
  1490. - Vector2 ReadVector2()
  1491. - Vector3 ReadVector3()
  1492. - Vector3 ReadPackedVector3(float maxAbsCoord)
  1493. - Vector4 ReadVector4()
  1494. - Quaternion ReadQuaternion()
  1495. - Quaternion ReadPackedQuaternion()
  1496. - Matrix3 ReadMatrix3()
  1497. - Matrix3x4 ReadMatrix3x4()
  1498. - Matrix4 ReadMatrix4()
  1499. - Color ReadColor()
  1500. - BoundingBox ReadBoundingBox()
  1501. - String ReadString()
  1502. - String ReadFileID()
  1503. - StringHash ReadStringHash()
  1504. - VectorBuffer ReadBuffer()
  1505. - ResourceRef ReadResourceRef()
  1506. - ResourceRefList ReadResourceRefList()
  1507. - Variant ReadVariant()
  1508. - Variant ReadVariant(VariantType type)
  1509. - VariantVector ReadVariantVector()
  1510. - VariantMap ReadVariantMap()
  1511. - unsigned ReadVLE()
  1512. - unsigned ReadNetID()
  1513. - String ReadLine()
  1514. Properties:
  1515. - String name (readonly)
  1516. - unsigned checksum (readonly)
  1517. - unsigned position (readonly)
  1518. - unsigned size (readonly)
  1519. - bool eof (readonly)
  1520. <a name="Class_Drawable"></a>
  1521. ### Drawable : Component
  1522. Methods:
  1523. - void SetDrawDistance(float distance)
  1524. - void SetShadowDistance(float distance)
  1525. - void SetLodBias(float bias)
  1526. - void SetViewMask(unsigned mask)
  1527. - void SetLightMask(unsigned mask)
  1528. - void SetShadowMask(unsigned mask)
  1529. - void SetZoneMask(unsigned mask)
  1530. - void SetMaxLights(unsigned num)
  1531. - void SetCastShadows(bool enable)
  1532. - void SetOccluder(bool enable)
  1533. - void SetOccludee(bool enable)
  1534. - void MarkForUpdate()
  1535. - const BoundingBox& GetBoundingBox() const
  1536. - const BoundingBox& GetWorldBoundingBox()
  1537. - char GetDrawableFlags() const
  1538. - float GetDrawDistance() const
  1539. - float GetShadowDistance() const
  1540. - float GetLodBias() const
  1541. - unsigned GetViewMask() const
  1542. - unsigned GetLightMask() const
  1543. - unsigned GetShadowMask() const
  1544. - unsigned GetZoneMask() const
  1545. - unsigned GetMaxLights() const
  1546. - bool GetCastShadows() const
  1547. - bool IsOccluder() const
  1548. - bool IsOccludee() const
  1549. - bool IsInView() const
  1550. - bool IsInView(Camera* tolua_var_2) const
  1551. - Zone* GetZone() const
  1552. Properties:
  1553. - BoundingBox& worldBoundingBox (readonly)
  1554. - char drawableFlags (readonly)
  1555. - float drawDistance
  1556. - float shadowDistance
  1557. - float lodBias
  1558. - unsigned viewMask
  1559. - unsigned lightMask
  1560. - unsigned shadowMask
  1561. - unsigned zoneMask
  1562. - unsigned maxLights
  1563. - bool castShadows
  1564. - bool occluder
  1565. - bool occludee
  1566. - bool inView (readonly)
  1567. - Zone* zone (readonly)
  1568. <a name="Class_Drawable2D"></a>
  1569. ### Drawable2D : Drawable
  1570. Methods:
  1571. - void SetLayer(int layer)
  1572. - void SetOrderInLayer(int orderInLayer)
  1573. - void SetSprite(Sprite2D* sprite)
  1574. - void SetBlendMode(BlendMode mode)
  1575. - void SetMaterial(Material* material)
  1576. - int GetLayer() const
  1577. - int GetOrderInLayer() const
  1578. - Sprite2D* GetSprite() const
  1579. - Texture2D* GetTexture() const
  1580. - BlendMode GetBlendMode() const
  1581. - Material* GetMaterial() const
  1582. Properties:
  1583. - int layer
  1584. - int orderInLayer
  1585. - Sprite2D* sprite
  1586. - Texture2D* texture (readonly)
  1587. - BlendMode blendMode
  1588. - Material* material
  1589. <a name="Class_DropDownList"></a>
  1590. ### DropDownList : Menu
  1591. Methods:
  1592. - DropDownList() (GC)
  1593. - DropDownList* new()
  1594. - void delete()
  1595. - void AddItem(UIElement* item)
  1596. - void InsertItem(unsigned index, UIElement* item)
  1597. - void RemoveItem(UIElement* item)
  1598. - void RemoveItem(unsigned index)
  1599. - void RemoveAllItems()
  1600. - void SetSelection(unsigned index)
  1601. - void SetPlaceholderText(const String text)
  1602. - void SetResizePopup(bool enable)
  1603. - unsigned GetNumItems() const
  1604. - UIElement* GetItem(unsigned index) const
  1605. - const PODVector<UIElement*>& GetItems() const
  1606. - unsigned GetSelection() const
  1607. - UIElement* GetSelectedItem() const
  1608. - ListView* GetListView() const
  1609. - UIElement* GetPlaceholder() const
  1610. - const String GetPlaceholderText() const
  1611. - bool GetResizePopup() const
  1612. Properties:
  1613. - unsigned numItems (readonly)
  1614. - unsigned selection
  1615. - UIElement* selectedItem (readonly)
  1616. - ListView* listView (readonly)
  1617. - UIElement* placeholder (readonly)
  1618. - String placeholderText
  1619. - bool resizePopup
  1620. <a name="Class_Engine"></a>
  1621. ### Engine : Object
  1622. Methods:
  1623. - void RunFrame()
  1624. - Console* CreateConsole()
  1625. - DebugHud* CreateDebugHud()
  1626. - void SetMinFps(int fps)
  1627. - void SetMaxFps(int fps)
  1628. - void SetMaxInactiveFps(int fps)
  1629. - void SetTimeStepSmoothing(int frames)
  1630. - void SetPauseMinimized(bool enable)
  1631. - void SetAutoExit(bool enable)
  1632. - void Exit()
  1633. - void DumpProfiler()
  1634. - void DumpResources(bool dumpFileName = false)
  1635. - void DumpMemory()
  1636. - int GetMinFps() const
  1637. - int GetMaxFps() const
  1638. - int GetMaxInactiveFps() const
  1639. - int GetTimeStepSmoothing() const
  1640. - bool GetPauseMinimized() const
  1641. - bool GetAutoExit() const
  1642. - bool IsInitialized() const
  1643. - bool IsExiting() const
  1644. - bool IsHeadless() const
  1645. Properties:
  1646. - int minFps
  1647. - int maxFps
  1648. - int maxInactiveFps
  1649. - int timeStepSmoothing
  1650. - bool pauseMinimized
  1651. - bool autoExit
  1652. - bool initialized (readonly)
  1653. - bool exiting (readonly)
  1654. - bool headless (readonly)
  1655. <a name="Class_File"></a>
  1656. ### File : Object
  1657. Methods:
  1658. - File() (GC)
  1659. - File* new()
  1660. - File(const String fileName, FileMode mode = FILE_READ) (GC)
  1661. - File* new(const String fileName, FileMode mode = FILE_READ)
  1662. - File(PackageFile* package, const String fileName) (GC)
  1663. - File* new(PackageFile* package, const String fileName)
  1664. - void delete()
  1665. - bool Open(const String fileName, FileMode mode = FILE_READ)
  1666. - bool Open(PackageFile* package, const String fileName)
  1667. - void Close()
  1668. - void Flush()
  1669. - void SetName(const String name)
  1670. - FileMode GetMode() const
  1671. - bool IsOpen() const
  1672. - void* GetHandle() const
  1673. - bool IsPackaged() const
  1674. - VectorBuffer Read(unsigned size)
  1675. - unsigned Seek(unsigned position)
  1676. - const String GetName() const
  1677. - unsigned GetChecksum()
  1678. - unsigned GetPosition() const
  1679. - unsigned GetSize() const
  1680. - bool IsEof() const
  1681. - int ReadInt()
  1682. - short ReadShort()
  1683. - char ReadByte()
  1684. - unsigned ReadUInt()
  1685. - short ReadUShort()
  1686. - char ReadUByte()
  1687. - bool ReadBool()
  1688. - float ReadFloat()
  1689. - IntRect ReadIntRect()
  1690. - IntVector2 ReadIntVector2()
  1691. - Rect ReadRect()
  1692. - Vector2 ReadVector2()
  1693. - Vector3 ReadVector3()
  1694. - Vector3 ReadPackedVector3(float maxAbsCoord)
  1695. - Vector4 ReadVector4()
  1696. - Quaternion ReadQuaternion()
  1697. - Quaternion ReadPackedQuaternion()
  1698. - Matrix3 ReadMatrix3()
  1699. - Matrix3x4 ReadMatrix3x4()
  1700. - Matrix4 ReadMatrix4()
  1701. - Color ReadColor()
  1702. - BoundingBox ReadBoundingBox()
  1703. - String ReadString()
  1704. - String ReadFileID()
  1705. - StringHash ReadStringHash()
  1706. - VectorBuffer ReadBuffer()
  1707. - ResourceRef ReadResourceRef()
  1708. - ResourceRefList ReadResourceRefList()
  1709. - Variant ReadVariant()
  1710. - Variant ReadVariant(VariantType type)
  1711. - VariantVector ReadVariantVector()
  1712. - VariantMap ReadVariantMap()
  1713. - unsigned ReadVLE()
  1714. - unsigned ReadNetID()
  1715. - String ReadLine()
  1716. - unsigned Write(const VectorBuffer& buffer)
  1717. - bool WriteInt(int value)
  1718. - bool WriteShort(short value)
  1719. - bool WriteByte(char value)
  1720. - bool WriteUInt(unsigned value)
  1721. - bool WriteUShort(short value)
  1722. - bool WriteUByte(char value)
  1723. - bool WriteBool(bool value)
  1724. - bool WriteFloat(float value)
  1725. - bool WriteIntRect(const IntRect& value)
  1726. - bool WriteIntVector2(const IntVector2& value)
  1727. - bool WriteRect(const Rect& value)
  1728. - bool WriteVector2(const Vector2& value)
  1729. - bool WriteVector3(const Vector3& value)
  1730. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  1731. - bool WriteVector4(const Vector4& value)
  1732. - bool WriteQuaternion(const Quaternion& value)
  1733. - bool WritePackedQuaternion(const Quaternion& value)
  1734. - bool WriteMatrix3(const Matrix3& value)
  1735. - bool WriteMatrix3x4(const Matrix3x4& value)
  1736. - bool WriteMatrix4(const Matrix4& value)
  1737. - bool WriteColor(const Color& value)
  1738. - bool WriteBoundingBox(const BoundingBox& value)
  1739. - bool WriteString(const String value)
  1740. - bool WriteFileID(const String value)
  1741. - bool WriteStringHash(const StringHash& value)
  1742. - bool WriteBuffer(const VectorBuffer& buffer)
  1743. - bool WriteResourceRef(const ResourceRef& value)
  1744. - bool WriteResourceRefList(const ResourceRefList& value)
  1745. - bool WriteVariant(const Variant& value)
  1746. - bool WriteVariantData(const Variant& value)
  1747. - bool WriteVariantVector(const VariantVector& value)
  1748. - bool WriteVariantMap(const VariantMap& value)
  1749. - bool WriteVLE(unsigned value)
  1750. - bool WriteNetID(unsigned value)
  1751. - bool WriteLine(const String value)
  1752. Properties:
  1753. - FileMode mode (readonly)
  1754. - bool open (readonly)
  1755. - bool packaged (readonly)
  1756. - String name (readonly)
  1757. - unsigned checksum (readonly)
  1758. - unsigned position (readonly)
  1759. - unsigned size (readonly)
  1760. - bool eof (readonly)
  1761. <a name="Class_FileSelector"></a>
  1762. ### FileSelector : Object
  1763. Methods:
  1764. - FileSelector() (GC)
  1765. - FileSelector* new()
  1766. - void delete()
  1767. - void SetDefaultStyle(XMLFile* style)
  1768. - void SetTitle(const String text)
  1769. - void SetButtonTexts(const String okText, const String cancelText)
  1770. - void SetPath(const String path)
  1771. - void SetFileName(const String fileName)
  1772. - void SetFilters(const Vector<String>& filters, unsigned defaultIndex)
  1773. - void SetDirectoryMode(bool enable)
  1774. - void UpdateElements()
  1775. - XMLFile* GetDefaultStyle() const
  1776. - Window* GetWindow() const
  1777. - Text* GetTitleText() const
  1778. - ListView* GetFileList() const
  1779. - LineEdit* GetPathEdit() const
  1780. - LineEdit* GetFileNameEdit() const
  1781. - DropDownList* GetFilterList() const
  1782. - Button* GetOKButton() const
  1783. - Button* GetCancelButton() const
  1784. - Button* GetCloseButton() const
  1785. - const String GetTitle() const
  1786. - const String GetPath() const
  1787. - const String GetFileName() const
  1788. - const String GetFilter() const
  1789. - unsigned GetFilterIndex() const
  1790. - bool GetDirectoryMode() const
  1791. Properties:
  1792. - XMLFile* defaultStyle
  1793. - Window* window (readonly)
  1794. - Text* titleText (readonly)
  1795. - ListView* fileList (readonly)
  1796. - LineEdit* pathEdit (readonly)
  1797. - LineEdit* fileNameEdit (readonly)
  1798. - DropDownList* filterList (readonly)
  1799. - Button* OKButton (readonly)
  1800. - Button* cancelButton (readonly)
  1801. - Button* closeButton (readonly)
  1802. - String title
  1803. - String path
  1804. - String fileName
  1805. - String filter (readonly)
  1806. - unsigned filterIndex (readonly)
  1807. - bool directoryMode
  1808. <a name="Class_FileSelectorEntry"></a>
  1809. ### FileSelectorEntry
  1810. Properties:
  1811. - String name
  1812. - bool directory
  1813. <a name="Class_FileSystem"></a>
  1814. ### FileSystem : Object
  1815. Methods:
  1816. - bool SetCurrentDir(const String pathName)
  1817. - bool CreateDir(const String pathName)
  1818. - void SetExecuteConsoleCommands(bool enable)
  1819. - int SystemCommand(const String commandLine, bool redirectStdOutToLog = false)
  1820. - int SystemRun(const String fileName, const Vector<String>& arguments)
  1821. - unsigned SystemCommandAsync(const String commandLine)
  1822. - unsigned SystemRunAsync(const String fileName, const Vector<String>& arguments)
  1823. - bool SystemOpen(const String fileName, const String mode = String::EMPTY)
  1824. - bool Copy(const String srcFileName, const String destFileName)
  1825. - bool Rename(const String srcFileName, const String destFileName)
  1826. - bool Delete(const String fileName)
  1827. - void RegisterPath(const String pathName)
  1828. - String GetCurrentDir() const
  1829. - bool GetExecuteConsoleCommands() const
  1830. - bool HasRegisteredPaths() const
  1831. - bool CheckAccess(const String pathName) const
  1832. - unsigned GetLastModifiedTime(const String fileName) const
  1833. - bool FileExists(const String fileName) const
  1834. - bool DirExists(const String pathName) const
  1835. - const Vector<String>& ScanDir(const String pathName, const String filter, unsigned flags, bool recursive) const
  1836. - String GetProgramDir() const
  1837. - String GetUserDocumentsDir() const
  1838. - String GetAppPreferencesDir(const String org, const String app) const
  1839. <a name="Class_FocusParameters"></a>
  1840. ### FocusParameters
  1841. Methods:
  1842. - FocusParameters() (GC)
  1843. - FocusParameters* new()
  1844. - FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView) (GC)
  1845. - FocusParameters* new(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
  1846. - void delete()
  1847. <a name="Class_Font"></a>
  1848. ### Font : Resource
  1849. <a name="Class_Frustum"></a>
  1850. ### Frustum
  1851. Methods:
  1852. - Frustum() (GC)
  1853. - Frustum* new()
  1854. - Frustum(const Frustum& frustum) (GC)
  1855. - Frustum* new(const Frustum& frustum)
  1856. - void delete()
  1857. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ)
  1858. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform)
  1859. - void Define(const Vector3& near, const Vector3& far)
  1860. - void Define(const Vector3& near, const Vector3& far, const Matrix3x4& transform)
  1861. - void Define(const BoundingBox& box)
  1862. - void Define(const BoundingBox& box, const Matrix3x4& transform)
  1863. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ)
  1864. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform)
  1865. - void Transform(const Matrix3& transform)
  1866. - void Transform(const Matrix3x4& transform)
  1867. - Intersection IsInside(const Vector3& point) const
  1868. - Intersection IsInside(const Sphere& sphere) const
  1869. - Intersection IsInsideFast(const Sphere& sphere) const
  1870. - Intersection IsInside(const BoundingBox& box) const
  1871. - Intersection IsInsideFast(const BoundingBox& box) const
  1872. - float Distance(const Vector3& point) const
  1873. - Frustum Transformed(const Matrix3& transform) const
  1874. - Frustum Transformed(const Matrix3x4& transform) const
  1875. - Rect Projected(const Matrix4& transform) const
  1876. - void UpdatePlanes()
  1877. <a name="Class_Graphics"></a>
  1878. ### Graphics : Object
  1879. Methods:
  1880. - void SetWindowTitle(const String windowTitle)
  1881. - void SetWindowIcon(Image* windowIcon)
  1882. - void SetWindowPosition(const IntVector2& position)
  1883. - void SetWindowPosition(int x, int y)
  1884. - bool SetMode(int width, int height, bool fullscreen, bool borderless, bool resizable, bool vsync, bool tripleBuffer, int multiSample)
  1885. - bool SetMode(int width, int height)
  1886. - void SetSRGB(bool enable)
  1887. - void SetFlushGPU(bool enable)
  1888. - void SetOrientations(const String orientations)
  1889. - bool ToggleFullscreen()
  1890. - void Maximize()
  1891. - void Minimize()
  1892. - void Close()
  1893. - bool TakeScreenShot(Image& destImage)
  1894. - void BeginDumpShaders(const String fileName)
  1895. - void EndDumpShaders()
  1896. - void PrecacheShaders(Deserializer& source)
  1897. - void PrecacheShaders(const String fileName)
  1898. - bool IsInitialized() const
  1899. - void* GetExternalWindow() const
  1900. - const String GetWindowTitle() const
  1901. - IntVector2 GetWindowPosition() const
  1902. - int GetWidth() const
  1903. - int GetHeight() const
  1904. - int GetMultiSample() const
  1905. - bool GetFullscreen() const
  1906. - bool GetResizable() const
  1907. - bool GetBorderless() const
  1908. - bool GetVSync() const
  1909. - bool GetTripleBuffer() const
  1910. - bool GetSRGB() const
  1911. - bool GetFlushGPU() const
  1912. - const String GetOrientations() const
  1913. - bool IsDeviceLost() const
  1914. - unsigned GetNumPrimitives() const
  1915. - unsigned GetNumBatches() const
  1916. - unsigned GetDummyColorFormat() const
  1917. - unsigned GetShadowMapFormat() const
  1918. - unsigned GetHiresShadowMapFormat() const
  1919. - bool GetSM3Support() const
  1920. - bool GetInstancingSupport() const
  1921. - bool GetLightPrepassSupport() const
  1922. - bool GetDeferredSupport() const
  1923. - bool GetHardwareShadowSupport() const
  1924. - bool GetStreamOffsetSupport() const
  1925. - bool GetSRGBSupport() const
  1926. - bool GetSRGBWriteSupport() const
  1927. - IntVector2 GetDesktopResolution() const
  1928. - unsigned GetRGBFormat()
  1929. Properties:
  1930. - bool initialized (readonly)
  1931. - String windowTitle
  1932. - IntVector2 windowPosition
  1933. - int width (readonly)
  1934. - int height (readonly)
  1935. - int multiSample (readonly)
  1936. - bool fullscreen (readonly)
  1937. - bool resizable (readonly)
  1938. - bool borderless (readonly)
  1939. - bool vSync (readonly)
  1940. - bool tripleBuffer (readonly)
  1941. - bool sRGB
  1942. - bool flushGPU
  1943. - String orientations
  1944. - bool deviceLost (readonly)
  1945. - unsigned numPrimitives (readonly)
  1946. - unsigned numBatches (readonly)
  1947. - unsigned dummyColorFormat (readonly)
  1948. - unsigned shadowMapFormat (readonly)
  1949. - unsigned hiresShadowMapFormat (readonly)
  1950. - bool sM3Support (readonly)
  1951. - bool instancingSupport (readonly)
  1952. - bool lightPrepassSupport (readonly)
  1953. - bool deferredSupport (readonly)
  1954. - bool hardwareShadowSupport (readonly)
  1955. - bool streamOffsetSupport (readonly)
  1956. - bool sRGBSupport (readonly)
  1957. - bool sRGBWriteSupport (readonly)
  1958. - IntVector2 desktopResolution (readonly)
  1959. <a name="Class_HttpRequest"></a>
  1960. ### HttpRequest : Deserializer
  1961. Methods:
  1962. - const String GetURL() const
  1963. - const String GetVerb() const
  1964. - String GetError() const
  1965. - HttpRequestState GetState() const
  1966. - unsigned GetAvailableSize() const
  1967. - bool IsOpen() const
  1968. Properties:
  1969. - String URL (readonly)
  1970. - String verb (readonly)
  1971. - String error (readonly)
  1972. - HttpRequestState state (readonly)
  1973. - unsigned availableSize (readonly)
  1974. - bool open (readonly)
  1975. <a name="Class_Image"></a>
  1976. ### Image : Resource
  1977. Methods:
  1978. - Image() (GC)
  1979. - Image* new()
  1980. - void delete()
  1981. - bool SetSize(int width, int height, unsigned components)
  1982. - bool SetSize(int width, int height, int depth, unsigned components)
  1983. - void SetPixel(int x, int y, const Color& color)
  1984. - void SetPixel(int x, int y, int z, const Color& color)
  1985. - void SetPixelInt(int x, int y, unsigned uintColor)
  1986. - void SetPixelInt(int x, int y, int z, unsigned uintColor)
  1987. - bool LoadColorLUT(Deserializer& source)
  1988. - bool LoadColorLUT(const String fileName)
  1989. - bool FlipHorizontal()
  1990. - bool FlipVertical()
  1991. - bool Resize(int width, int height)
  1992. - void Clear(const Color& color)
  1993. - void ClearInt(unsigned uintColor)
  1994. - bool SaveBMP(const String fileName) const
  1995. - bool SavePNG(const String fileName) const
  1996. - bool SaveTGA(const String fileName) const
  1997. - bool SaveJPG(const String fileName, int quality) const
  1998. - Color GetPixel(int x, int y) const
  1999. - Color GetPixel(int x, int y, int z) const
  2000. - unsigned GetPixelInt(int x, int y) const
  2001. - unsigned GetPixelInt(int x, int y, int z) const
  2002. - Color GetPixelBilinear(float x, float y) const
  2003. - Color GetPixelTrilinear(float x, float y, float z) const
  2004. - int GetWidth() const
  2005. - int GetHeight() const
  2006. - int GetDepth() const
  2007. - unsigned GetComponents() const
  2008. - bool IsCompressed() const
  2009. - CompressedFormat GetCompressedFormat() const
  2010. - unsigned GetNumCompressedLevels() const
  2011. - CompressedLevel GetCompressedLevel(unsigned index) const
  2012. - Image* GetSubimage(const IntRect& rect) const
  2013. Properties:
  2014. - int width (readonly)
  2015. - int height (readonly)
  2016. - int depth (readonly)
  2017. - unsigned components (readonly)
  2018. - bool compressed (readonly)
  2019. - CompressedFormat compressedFormat (readonly)
  2020. - unsigned numCompressedLevels (readonly)
  2021. <a name="Class_Input"></a>
  2022. ### Input : Object
  2023. Methods:
  2024. - void SetToggleFullscreen(bool enable)
  2025. - void SetMouseVisible(bool enable)
  2026. - void SetMouseGrabbed(bool grab)
  2027. - int AddScreenJoystick(XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
  2028. - bool RemoveScreenJoystick(int id)
  2029. - void SetScreenJoystickVisible(int id, bool enable)
  2030. - void SetScreenKeyboardVisible(bool enable)
  2031. - void SetTouchEmulation(bool enable)
  2032. - bool RecordGesture()
  2033. - bool SaveGestures(File* dest)
  2034. - bool SaveGesture(File* dest, unsigned gestureID)
  2035. - unsigned LoadGestures(File* source)
  2036. - bool SaveGestures(const String fileName)
  2037. - bool SaveGesture(const String fileName, unsigned gestureID)
  2038. - unsigned LoadGestures(const String fileName)
  2039. - bool RemoveGesture(unsigned gestureID)
  2040. - void RemoveAllGestures()
  2041. - int GetKeyFromName(const String name) const
  2042. - int GetKeyFromScancode(int scancode) const
  2043. - String GetKeyName(int key) const
  2044. - int GetScancodeFromKey(int key) const
  2045. - int GetScancodeFromName(const String name) const
  2046. - String GetScancodeName(int scancode) const
  2047. - bool GetKeyDown(int key) const
  2048. - bool GetKeyPress(int key) const
  2049. - bool GetScancodeDown(int scancode) const
  2050. - bool GetScancodePress(int scancode) const
  2051. - bool GetMouseButtonDown(int button) const
  2052. - bool GetMouseButtonPress(int button) const
  2053. - bool GetQualifierDown(int qualifier) const
  2054. - bool GetQualifierPress(int qualifier) const
  2055. - int GetQualifiers() const
  2056. - IntVector2 GetMousePosition() const
  2057. - const IntVector2& GetMouseMove() const
  2058. - int GetMouseMoveX() const
  2059. - int GetMouseMoveY() const
  2060. - int GetMouseMoveWheel() const
  2061. - unsigned GetNumTouches() const
  2062. - TouchState* GetTouch(unsigned index) const
  2063. - unsigned GetNumJoysticks() const
  2064. - JoystickState* GetJoystick(int id)
  2065. - JoystickState* GetJoystickByIndex(unsigned index)
  2066. - bool GetToggleFullscreen() const
  2067. - bool GetScreenKeyboardSupport() const
  2068. - bool IsScreenJoystickVisible(int id) const
  2069. - bool IsScreenKeyboardVisible() const
  2070. - bool GetTouchEmulation() const
  2071. - bool IsMouseVisible() const
  2072. - bool IsMouseGrabbed() const
  2073. - bool HasFocus()
  2074. - bool IsMinimized() const
  2075. Properties:
  2076. - int qualifiers (readonly)
  2077. - IntVector2 mousePosition (readonly)
  2078. - IntVector2& mouseMove (readonly)
  2079. - int mouseMoveX (readonly)
  2080. - int mouseMoveY (readonly)
  2081. - int mouseMoveWheel (readonly)
  2082. - unsigned numTouches (readonly)
  2083. - unsigned numJoysticks (readonly)
  2084. - bool toggleFullscreen (readonly)
  2085. - bool screenKeyboardSupport (readonly)
  2086. - bool screenKeyboardVisible
  2087. - bool touchEmulation
  2088. - bool mouseVisible
  2089. - bool mouseGrabbed
  2090. - bool focus (readonly)
  2091. - bool minimized (readonly)
  2092. <a name="Class_IntRect"></a>
  2093. ### IntRect
  2094. Methods:
  2095. - IntRect() (GC)
  2096. - IntRect* new()
  2097. - IntRect(int left, int top, int right, int bottom) (GC)
  2098. - IntRect* new(int left, int top, int right, int bottom)
  2099. - void delete()
  2100. - bool operator==(const IntRect& rhs) const
  2101. - IntVector2 Size() const
  2102. - int Width() const
  2103. - int Height() const
  2104. - Intersection IsInside(const IntVector2& point) const
  2105. Properties:
  2106. - int left
  2107. - int top
  2108. - int right
  2109. - int bottom
  2110. - const IntRect ZERO
  2111. - IntVector2 size (readonly)
  2112. - int width (readonly)
  2113. - int height (readonly)
  2114. <a name="Class_IntVector2"></a>
  2115. ### IntVector2
  2116. Methods:
  2117. - IntVector2() (GC)
  2118. - IntVector2* new()
  2119. - IntVector2(int x, int y) (GC)
  2120. - IntVector2* new(int x, int y)
  2121. - IntVector2(const IntVector2& rhs) (GC)
  2122. - IntVector2* new(const IntVector2& rhs)
  2123. - void delete()
  2124. - bool operator==(const IntVector2& rhs) const
  2125. - IntVector2 operator+(const IntVector2& rhs) const
  2126. - IntVector2 operator-() const
  2127. - IntVector2 operator-(const IntVector2& rhs) const
  2128. - IntVector2 operator*(int rhs) const
  2129. - IntVector2 operator/(int rhs) const
  2130. - IntVector2 operator/(int rhs) const
  2131. - String ToString() const
  2132. Properties:
  2133. - int x
  2134. - int y
  2135. - const IntVector2 ZERO
  2136. <a name="Class_JSONFile"></a>
  2137. ### JSONFile : Resource
  2138. Methods:
  2139. - JSONFile() (GC)
  2140. - JSONFile* new()
  2141. - void delete()
  2142. - JSONValue CreateRoot(JSONValueType valueType = JSON_OBJECT)
  2143. - JSONValue GetRoot(JSONValueType valueType = JSON_ANY)
  2144. <a name="Class_JSONValue"></a>
  2145. ### JSONValue
  2146. Methods:
  2147. - bool IsNull() const
  2148. - bool NotNull() const
  2149. - bool operatorbool() const
  2150. - JSONValue CreateChild(const String name, JSONValueType valueType = JSON_OBJECT)
  2151. - JSONValue GetChild(const String name, JSONValueType valueType = JSON_ANY) const
  2152. - void SetInt(const String name, int value)
  2153. - void SetBool(const String name, bool value)
  2154. - void SetFloat(const String name, float value)
  2155. - void SetVector2(const String name, const Vector2& value)
  2156. - void SetVector3(const String name, const Vector3& value)
  2157. - void SetVector4(const String name, const Vector4& value)
  2158. - void SetVectorVariant(const String name, const Variant& value)
  2159. - void SetQuaternion(const String name, const Quaternion& value)
  2160. - void SetColor(const String name, const Color& value)
  2161. - void SetString(const String name, const String value)
  2162. - void SetResourceRef(const String name, const ResourceRef& value)
  2163. - void SetResourceRefList(const String name, const ResourceRefList& value)
  2164. - void SetIntRect(const String name, const IntRect& value)
  2165. - void SetIntVector2(const String name, const IntVector2& value)
  2166. - void SetMatrix3(const String name, const Matrix3& value)
  2167. - void SetMatrix3x4(const String name, const Matrix3x4& value)
  2168. - void SetMatrix4(const String name, const Matrix4& value)
  2169. - void SetVariant(const String name, const Variant& value)
  2170. - void SetVariantValue(const String name, const Variant& value)
  2171. - bool IsObject() const
  2172. - Vector<String> GetChildNames() const
  2173. - Vector<String> GetValueNames() const
  2174. - int GetInt(const String name) const
  2175. - bool GetBool(const String name) const
  2176. - float GetFloat(const String name) const
  2177. - Vector2 GetVector2(const String name) const
  2178. - Vector3 GetVector3(const String name) const
  2179. - Vector4 GetVector4(const String name) const
  2180. - Variant GetVectorVariant(const String name) const
  2181. - Quaternion GetQuaternion(const String name) const
  2182. - Color GetColor(const String name) const
  2183. - String GetString(const String name) const
  2184. - const char* GetCString(const String name) const
  2185. - ResourceRef GetResourceRef(const String name) const
  2186. - ResourceRefList GetResourceRefList(const String name) const
  2187. - IntRect GetIntRect(const String name) const
  2188. - IntVector2 GetIntVector2(const String name) const
  2189. - Matrix3 GetMatrix3(const String name) const
  2190. - Matrix3x4 GetMatrix3x4(const String name) const
  2191. - Matrix4 GetMatrix4(const String name) const
  2192. - Variant GetVariant(const String name) const
  2193. - Variant GetVariantValue(const String name, VariantType type) const
  2194. - JSONValue CreateChild(JSONValueType valueType = JSON_OBJECT)
  2195. - JSONValue GetChild(unsigned index, JSONValueType valueType = JSON_ANY) const
  2196. - void AddInt(int value)
  2197. - void AddBool(bool value)
  2198. - void AddFloat(float value)
  2199. - void AddVector2(const Vector2& value)
  2200. - void AddVector3(const Vector3& value)
  2201. - void AddVector4(const Vector4& value)
  2202. - void AddVectorVariant(const Variant& value)
  2203. - void AddQuaternion(const Quaternion& value)
  2204. - void AddColor(const Color& value)
  2205. - void AddString(const String value)
  2206. - void AddResourceRef(const ResourceRef& value)
  2207. - void AddResourceRefList(const ResourceRefList& value)
  2208. - void AddIntRect(const IntRect& value)
  2209. - void AddIntVector2(const IntVector2& value)
  2210. - void AddMatrix3(const Matrix3& value)
  2211. - void AddMatrix3x4(const Matrix3x4& value)
  2212. - void AddMatrix4(const Matrix4& value)
  2213. - void AddVariant(const Variant& value)
  2214. - void AddVariantValue(const Variant& value)
  2215. - bool IsArray() const
  2216. - unsigned GetSize() const
  2217. - int GetInt(unsigned index) const
  2218. - bool GetBool(unsigned index) const
  2219. - float GetFloat(unsigned index) const
  2220. - Vector2 GetVector2(unsigned index) const
  2221. - Vector3 GetVector3(unsigned index) const
  2222. - Vector4 GetVector4(unsigned index) const
  2223. - Variant GetVectorVariant(unsigned index) const
  2224. - Quaternion GetQuaternion(unsigned index) const
  2225. - Color GetColor(unsigned index) const
  2226. - String GetString(unsigned index) const
  2227. - const char* GetCString(unsigned index) const
  2228. - ResourceRef GetResourceRef(unsigned index) const
  2229. - ResourceRefList GetResourceRefList(unsigned index) const
  2230. - IntRect GetIntRect(unsigned index) const
  2231. - IntVector2 GetIntVector2(unsigned index) const
  2232. - Matrix3 GetMatrix3(unsigned index) const
  2233. - Matrix3x4 GetMatrix3x4(unsigned index) const
  2234. - Matrix4 GetMatrix4(unsigned index) const
  2235. - Variant GetVariant(unsigned index) const
  2236. - Variant GetVariantValue(unsigned index, VariantType type) const
  2237. Properties:
  2238. - const JSONValue EMPTY
  2239. - bool null (readonly)
  2240. - bool object (readonly)
  2241. - bool array (readonly)
  2242. <a name="Class_JoystickState"></a>
  2243. ### JoystickState
  2244. Methods:
  2245. - bool IsController() const
  2246. - unsigned GetNumButtons() const
  2247. - unsigned GetNumAxes() const
  2248. - unsigned GetNumHats() const
  2249. - bool GetButtonDown(unsigned index) const
  2250. - bool GetButtonPress(unsigned index) const
  2251. - float GetAxisPosition(unsigned index) const
  2252. - int GetHatPosition(unsigned index) const
  2253. Properties:
  2254. - const String name
  2255. - const int joystickID
  2256. - bool controller (readonly)
  2257. - unsigned numButtons (readonly)
  2258. - unsigned numAxes (readonly)
  2259. - unsigned numHats (readonly)
  2260. <a name="Class_Light"></a>
  2261. ### Light : Drawable
  2262. Methods:
  2263. - void SetLightType(LightType type)
  2264. - void SetPerVertex(bool enable)
  2265. - void SetColor(const Color& color)
  2266. - void SetSpecularIntensity(float intensity)
  2267. - void SetBrightness(float brightness)
  2268. - void SetRange(float range)
  2269. - void SetFov(float fov)
  2270. - void SetAspectRatio(float aspectRatio)
  2271. - void SetFadeDistance(float distance)
  2272. - void SetShadowFadeDistance(float distance)
  2273. - void SetShadowBias(const BiasParameters& parameters)
  2274. - void SetShadowCascade(const CascadeParameters& parameters)
  2275. - void SetShadowFocus(const FocusParameters& parameters)
  2276. - void SetShadowIntensity(float intensity)
  2277. - void SetShadowResolution(float resolution)
  2278. - void SetShadowNearFarRatio(float nearFarRatio)
  2279. - void SetRampTexture(Texture* texture)
  2280. - void SetShapeTexture(Texture* texture)
  2281. - LightType GetLightType() const
  2282. - bool GetPerVertex() const
  2283. - const Color& GetColor() const
  2284. - float GetSpecularIntensity() const
  2285. - float GetBrightness() const
  2286. - Color GetEffectiveColor() const
  2287. - float GetEffectiveSpecularIntensity() const
  2288. - float GetRange() const
  2289. - float GetFov() const
  2290. - float GetAspectRatio() const
  2291. - float GetFadeDistance() const
  2292. - float GetShadowFadeDistance() const
  2293. - const BiasParameters& GetShadowBias() const
  2294. - const CascadeParameters& GetShadowCascade() const
  2295. - const FocusParameters& GetShadowFocus() const
  2296. - float GetShadowIntensity() const
  2297. - float GetShadowResolution() const
  2298. - float GetShadowNearFarRatio() const
  2299. - Texture* GetRampTexture() const
  2300. - Texture* GetShapeTexture() const
  2301. - Frustum GetFrustum() const
  2302. - int GetNumShadowSplits() const
  2303. - bool IsNegative() const
  2304. Properties:
  2305. - LightType lightType
  2306. - bool perVertex
  2307. - Color& color
  2308. - float specularIntensity
  2309. - float brightness
  2310. - float range
  2311. - float fov
  2312. - float aspectRatio
  2313. - float fadeDistance
  2314. - float shadowFadeDistance
  2315. - BiasParameters& shadowBias
  2316. - CascadeParameters& shadowCascade
  2317. - FocusParameters& shadowFocus
  2318. - float shadowIntensity
  2319. - float shadowResolution
  2320. - float shadowNearFarRatio
  2321. - Texture* rampTexture
  2322. - Texture* shapeTexture
  2323. - Frustum frustum (readonly)
  2324. - int numShadowSplits (readonly)
  2325. - bool negative (readonly)
  2326. - Color effectiveColor (readonly)
  2327. - float effectiveSpecularIntensity (readonly)
  2328. <a name="Class_LineEdit"></a>
  2329. ### LineEdit : BorderImage
  2330. Methods:
  2331. - LineEdit() (GC)
  2332. - LineEdit* new()
  2333. - void delete()
  2334. - void SetText(const String text)
  2335. - void SetCursorPosition(unsigned position)
  2336. - void SetCursorBlinkRate(float rate)
  2337. - void SetMaxLength(unsigned length)
  2338. - void SetEchoCharacter(unsigned c)
  2339. - void SetCursorMovable(bool enable)
  2340. - void SetTextSelectable(bool enable)
  2341. - void SetTextCopyable(bool enable)
  2342. - const String GetText() const
  2343. - unsigned GetCursorPosition() const
  2344. - float GetCursorBlinkRate() const
  2345. - unsigned GetMaxLength() const
  2346. - unsigned GetEchoCharacter() const
  2347. - bool IsCursorMovable() const
  2348. - bool IsTextSelectable() const
  2349. - bool IsTextCopyable() const
  2350. - Text* GetTextElement() const
  2351. - BorderImage* GetCursor() const
  2352. Properties:
  2353. - String text
  2354. - unsigned cursorPosition
  2355. - float cursorBlinkRate
  2356. - unsigned maxLength
  2357. - unsigned echoCharacter
  2358. - bool cursorMovable
  2359. - bool textSelectable
  2360. - bool textCopyable
  2361. - Text* textElement (readonly)
  2362. - BorderImage* cursor (readonly)
  2363. <a name="Class_ListView"></a>
  2364. ### ListView : ScrollView
  2365. Methods:
  2366. - ListView() (GC)
  2367. - ListView* new()
  2368. - void delete()
  2369. - void AddItem(UIElement* item)
  2370. - void InsertItem(unsigned index, UIElement* item, UIElement* parentItem = 0)
  2371. - void RemoveItem(UIElement* item, unsigned index = 0)
  2372. - void RemoveItem(unsigned index)
  2373. - void RemoveAllItems()
  2374. - void SetSelection(unsigned index)
  2375. - void SetSelections(const PODVector<unsigned>& indices)
  2376. - void AddSelection(unsigned index)
  2377. - void RemoveSelection(unsigned index)
  2378. - void ToggleSelection(unsigned index)
  2379. - void ChangeSelection(int delta, bool additive = false)
  2380. - void ClearSelection()
  2381. - void SetHighlightMode(HighlightMode mode)
  2382. - void SetMultiselect(bool enable)
  2383. - void SetHierarchyMode(bool enable)
  2384. - void SetBaseIndent(int baseIndent)
  2385. - void SetClearSelectionOnDefocus(bool enable)
  2386. - void SetSelectOnClickEnd(bool enable)
  2387. - void Expand(unsigned index, bool enable, bool recursive = false)
  2388. - void ToggleExpand(unsigned index, bool recursive = false)
  2389. - unsigned GetNumItems() const
  2390. - UIElement* GetItem(unsigned index) const
  2391. - const PODVector<UIElement*>& GetItems() const
  2392. - unsigned FindItem(UIElement* item) const
  2393. - unsigned GetSelection() const
  2394. - const PODVector<unsigned>& GetSelections() const
  2395. - void CopySelectedItemsToClipboard() const
  2396. - UIElement* GetSelectedItem() const
  2397. - const PODVector<UIElement*>& GetSelectedItems() const
  2398. - bool IsSelected(unsigned index) const
  2399. - bool IsExpanded(unsigned index) const
  2400. - HighlightMode GetHighlightMode() const
  2401. - bool GetMultiselect() const
  2402. - bool GetClearSelectionOnDefocus() const
  2403. - bool GetSelectOnClickEnd() const
  2404. - bool GetHierarchyMode() const
  2405. - int GetBaseIndent() const
  2406. Properties:
  2407. - unsigned numItems (readonly)
  2408. - unsigned selection
  2409. - UIElement* selectedItem (readonly)
  2410. - HighlightMode highlightMode
  2411. - bool multiselect
  2412. - bool clearSelectionOnDefocus
  2413. - bool selectOnClickEnd
  2414. - bool hierarchyMode
  2415. - int baseIndent
  2416. <a name="Class_Log"></a>
  2417. ### Log : Object
  2418. Methods:
  2419. - void Open(const String fileName)
  2420. - void Close()
  2421. - void SetLevel(int level)
  2422. - void SetTimeStamp(bool enable)
  2423. - void SetQuiet(bool quiet)
  2424. - int GetLevel() const
  2425. - bool GetTimeStamp() const
  2426. - String GetLastMessage() const
  2427. - bool IsQuiet() const
  2428. - void Write(int level, const String message)
  2429. - void WriteRaw(const String message, bool error = false)
  2430. Properties:
  2431. - int level
  2432. - bool timeStamp
  2433. - bool quiet
  2434. <a name="Class_LuaScriptInstance"></a>
  2435. ### LuaScriptInstance : Component
  2436. Methods:
  2437. - bool CreateObject(const String scriptObjectType)
  2438. - bool CreateObject(LuaFile* scriptFile, const String scriptObjectType)
  2439. - void SetScriptFile(LuaFile* scriptFile)
  2440. - void SetScriptObjectType(const String scriptObjectType)
  2441. - void SubscribeToEvent(const String eventName, const String functionName)
  2442. - void UnsubscribeFromEvent(const String eventName)
  2443. - void UnsubscribeFromAllEvents()
  2444. - void SubscribeToEvent(void* sender, const String eventName, const String functionName)
  2445. - void UnsubscribeFromEvent(void* sender, const String eventName)
  2446. - void UnsubscribeFromEvents(void* sender)
  2447. - LuaFile* GetScriptFile() const
  2448. - const String GetScriptObjectType() const
  2449. Properties:
  2450. - const LuaFile* scriptFile
  2451. - const String scriptObjectType
  2452. <a name="Class_Material"></a>
  2453. ### Material : Resource
  2454. Methods:
  2455. - Material() (GC)
  2456. - Material* new()
  2457. - void delete()
  2458. - void SetNumTechniques(unsigned num)
  2459. - void SetTechnique(unsigned index, Technique* tech, unsigned qualityLevel = 0, float lodDistance = 0.0f)
  2460. - void SetShaderParameter(const String name, const Variant& value)
  2461. - void SetShaderParameterAnimation(const String name, ValueAnimation* animation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
  2462. - void SetShaderParameterAnimationWrapMode(const String name, WrapMode wrapMode)
  2463. - void SetShaderParameterAnimationSpeed(const String name, float speed)
  2464. - void SetTexture(TextureUnit unit, Texture* texture)
  2465. - void SetUVTransform(const Vector2& offset, float rotation, const Vector2& repeat)
  2466. - void SetUVTransform(const Vector2& offset, float rotation, float repeat)
  2467. - void SetCullMode(CullMode mode)
  2468. - void SetShadowCullMode(CullMode mode)
  2469. - void SetDepthBias(const BiasParameters& parameters)
  2470. - void RemoveShaderParameter(const String name)
  2471. - void ReleaseShaders()
  2472. - Material* Clone(const String cloneName = String::EMPTY) const
  2473. - void SortTechniques()
  2474. - void MarkForAuxView(unsigned frameNumber)
  2475. - unsigned GetNumTechniques() const
  2476. - Technique* GetTechnique(unsigned index) const
  2477. - Pass* GetPass(unsigned index, StringHash passType) const
  2478. - Pass* GetPass(unsigned index, const String passType) const
  2479. - Texture* GetTexture(TextureUnit unit) const
  2480. - ValueAnimation* GetShaderParameterAnimation(const String name) const
  2481. - WrapMode GetShaderParameterAnimationWrapMode(const String name) const
  2482. - float GetShaderParameterAnimationSpeed(const String name) const
  2483. - CullMode GetCullMode() const
  2484. - CullMode GetShadowCullMode() const
  2485. - const BiasParameters& GetDepthBias() const
  2486. - unsigned GetAuxViewFrameNumber() const
  2487. - bool GetOcclusion() const
  2488. - bool GetSpecular() const
  2489. Properties:
  2490. - CullMode cullMode (readonly)
  2491. - CullMode shadowCullMode (readonly)
  2492. - unsigned auxViewFrameNumber (readonly)
  2493. - bool occlusion (readonly)
  2494. - bool specular (readonly)
  2495. <a name="Class_Matrix3"></a>
  2496. ### Matrix3
  2497. Methods:
  2498. - Matrix3() (GC)
  2499. - Matrix3* new()
  2500. - Matrix3(const Matrix3& matrix) (GC)
  2501. - Matrix3* new(const Matrix3& matrix)
  2502. - Matrix3(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22) (GC)
  2503. - Matrix3* new(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22)
  2504. - void delete()
  2505. - bool operator==(const Matrix3& rhs) const
  2506. - Vector3 operator*(const Vector3& rhs) const
  2507. - Matrix3 operator+(const Matrix3& rhs) const
  2508. - Matrix3 operator-(const Matrix3& rhs) const
  2509. - Matrix3 operator*(float rhs) const
  2510. - Matrix3 operator*(const Matrix3& rhs) const
  2511. - void SetScale(const Vector3& scale)
  2512. - void SetScale(float scale)
  2513. - Vector3 Scale() const
  2514. - Matrix3 Transpose() const
  2515. - Matrix3 Scaled(const Vector3& scale) const
  2516. - bool Equals(const Matrix3& rhs) const
  2517. - Matrix3 Inverse() const
  2518. - String ToString() const
  2519. Properties:
  2520. - float m00
  2521. - float m01
  2522. - float m02
  2523. - float m10
  2524. - float m11
  2525. - float m12
  2526. - float m20
  2527. - float m21
  2528. - float m22
  2529. - const Matrix3 ZERO
  2530. - const Matrix3 IDENTITY
  2531. <a name="Class_Matrix3x4"></a>
  2532. ### Matrix3x4
  2533. Methods:
  2534. - Matrix3x4() (GC)
  2535. - Matrix3x4* new()
  2536. - Matrix3x4(const Matrix3x4& matrix) (GC)
  2537. - Matrix3x4* new(const Matrix3x4& matrix)
  2538. - Matrix3x4(const Matrix3& matrix) (GC)
  2539. - Matrix3x4* new(const Matrix3& matrix)
  2540. - Matrix3x4(const Matrix4& matrix) (GC)
  2541. - Matrix3x4* new(const Matrix4& matrix)
  2542. - 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)
  2543. - 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)
  2544. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, float scale) (GC)
  2545. - Matrix3x4* new(const Vector3& translation, const Quaternion& rotation, float scale)
  2546. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, const Vector3& scale) (GC)
  2547. - Matrix3x4* new(const Vector3& translation, const Quaternion& rotation, const Vector3& scale)
  2548. - void delete()
  2549. - bool operator==(const Matrix3x4& rhs) const
  2550. - Vector3 operator*(const Vector3& rhs) const
  2551. - Vector3 operator*(const Vector4& rhs) const
  2552. - Matrix3x4 operator+(const Matrix3x4& rhs) const
  2553. - Matrix3x4 operator-(const Matrix3x4& rhs) const
  2554. - Matrix3x4 operator*(float rhs) const
  2555. - Matrix3x4 operator*(const Matrix3x4& rhs) const
  2556. - Matrix4 operator*(const Matrix4& rhs) const
  2557. - void SetTranslation(const Vector3& translation)
  2558. - void SetRotation(const Matrix3& rotation)
  2559. - void SetScale(const Vector3& scale)
  2560. - void SetScale(float scale)
  2561. - Matrix3 ToMatrix3() const
  2562. - Matrix4 ToMatrix4() const
  2563. - Matrix3 RotationMatrix() const
  2564. - Vector3 Translation() const
  2565. - Quaternion Rotation() const
  2566. - Vector3 Scale() const
  2567. - bool Equals(const Matrix3x4& rhs) const
  2568. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2569. - Matrix3x4 Inverse() const
  2570. - String ToString() const
  2571. Properties:
  2572. - float m00
  2573. - float m01
  2574. - float m02
  2575. - float m03
  2576. - float m10
  2577. - float m11
  2578. - float m12
  2579. - float m13
  2580. - float m20
  2581. - float m21
  2582. - float m22
  2583. - float m23
  2584. - const Matrix3x4 ZERO
  2585. - const Matrix3x4 IDENTITY
  2586. <a name="Class_Matrix4"></a>
  2587. ### Matrix4
  2588. Methods:
  2589. - Matrix4() (GC)
  2590. - Matrix4* new()
  2591. - Matrix4(const Matrix4& matrix) (GC)
  2592. - Matrix4* new(const Matrix4& matrix)
  2593. - Matrix4(const Matrix3& matrix) (GC)
  2594. - Matrix4* new(const Matrix3& matrix)
  2595. - 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)
  2596. - 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)
  2597. - void delete()
  2598. - bool operator==(const Matrix4& rhs) const
  2599. - Vector3 operator*(const Vector3& rhs) const
  2600. - Vector4 operator*(const Vector4& rhs) const
  2601. - Matrix4 operator+(const Matrix4& rhs) const
  2602. - Matrix4 operator-(const Matrix4& rhs) const
  2603. - Matrix4 operator*(float rhs) const
  2604. - Matrix4 operator*(const Matrix4& rhs) const
  2605. - Matrix4 operator*(const Matrix3x4& rhs) const
  2606. - void SetTranslation(const Vector3& translation)
  2607. - void SetRotation(const Matrix3& rotation)
  2608. - void SetScale(const Vector3& scale)
  2609. - void SetScale(float scale)
  2610. - Matrix3 ToMatrix3() const
  2611. - Matrix3 RotationMatrix() const
  2612. - Vector3 Translation() const
  2613. - Quaternion Rotation() const
  2614. - Vector3 Scale() const
  2615. - Matrix4 Transpose() const
  2616. - bool Equals(const Matrix4& rhs) const
  2617. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2618. - Matrix4 Inverse() const
  2619. - String ToString() const
  2620. Properties:
  2621. - float m00
  2622. - float m01
  2623. - float m02
  2624. - float m03
  2625. - float m10
  2626. - float m11
  2627. - float m12
  2628. - float m13
  2629. - float m20
  2630. - float m21
  2631. - float m22
  2632. - float m23
  2633. - float m30
  2634. - float m31
  2635. - float m32
  2636. - float m33
  2637. - const Matrix4 ZERO
  2638. - const Matrix4 IDENTITY
  2639. <a name="Class_Menu"></a>
  2640. ### Menu : Button
  2641. Methods:
  2642. - Menu() (GC)
  2643. - Menu* new()
  2644. - void delete()
  2645. - void SetPopup(UIElement* element)
  2646. - void SetPopupOffset(const IntVector2& offset)
  2647. - void SetPopupOffset(int x, int y)
  2648. - void ShowPopup(bool enable)
  2649. - void SetAccelerator(int key, int qualifiers)
  2650. - UIElement* GetPopup() const
  2651. - const IntVector2& GetPopupOffset() const
  2652. - bool GetShowPopup() const
  2653. - int GetAcceleratorKey() const
  2654. - int GetAcceleratorQualifiers() const
  2655. Properties:
  2656. - UIElement* popup
  2657. - IntVector2& popupOffset
  2658. - bool showPopup
  2659. - int acceleratorKey (readonly)
  2660. - int acceleratorQualifiers (readonly)
  2661. <a name="Class_MessageBox"></a>
  2662. ### MessageBox : Object
  2663. Methods:
  2664. - MessageBox(const String messageString = String::EMPTY, const String titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0) (GC)
  2665. - MessageBox* new(const String messageString = String::EMPTY, const String titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
  2666. - void delete()
  2667. - void SetTitle(const String text)
  2668. - void SetMessage(const String text)
  2669. - const String GetTitle() const
  2670. - const String GetMessage() const
  2671. - UIElement* GetWindow() const
  2672. Properties:
  2673. - String title
  2674. - String message
  2675. - UIElement* window (readonly)
  2676. <a name="Class_Model"></a>
  2677. ### Model : Resource
  2678. Methods:
  2679. - Model* Clone(const String cloneName = String::EMPTY) const
  2680. - const BoundingBox& GetBoundingBox() const
  2681. - Skeleton& GetSkeleton()
  2682. - unsigned GetNumGeometries() const
  2683. - unsigned GetNumGeometryLodLevels(unsigned index) const
  2684. - Geometry* GetGeometry(unsigned index, unsigned lodLevel) const
  2685. - unsigned GetNumMorphs() const
  2686. - const ModelMorph* GetMorph(const String name) const
  2687. - const ModelMorph* GetMorph(StringHash nameHash) const
  2688. - const ModelMorph* GetMorph(unsigned index) const
  2689. - unsigned GetMorphRangeStart(unsigned bufferIndex) const
  2690. - unsigned GetMorphRangeCount(unsigned bufferIndex) const
  2691. Properties:
  2692. - BoundingBox& boundingBox (readonly)
  2693. - Skeleton skeleton (readonly)
  2694. - unsigned numGeometries (readonly)
  2695. - unsigned numMorphs (readonly)
  2696. <a name="Class_Navigable"></a>
  2697. ### Navigable : Component
  2698. Methods:
  2699. - void SetRecursive(bool enable)
  2700. - bool IsRecursive() const
  2701. Properties:
  2702. - bool recursive
  2703. <a name="Class_NavigationGeometryInfo"></a>
  2704. ### NavigationGeometryInfo
  2705. Properties:
  2706. - Component* component
  2707. - unsigned lodLevel
  2708. - Matrix3x4 transform
  2709. - BoundingBox boundingBox
  2710. <a name="Class_NavigationMesh"></a>
  2711. ### NavigationMesh : Component
  2712. Methods:
  2713. - void SetTileSize(int size)
  2714. - void SetCellSize(float size)
  2715. - void SetCellHeight(float height)
  2716. - void SetAgentHeight(float height)
  2717. - void SetAgentRadius(float radius)
  2718. - void SetAgentMaxClimb(float maxClimb)
  2719. - void SetAgentMaxSlope(float maxSlope)
  2720. - void SetRegionMinSize(float size)
  2721. - void SetRegionMergeSize(float size)
  2722. - void SetEdgeMaxLength(float length)
  2723. - void SetEdgeMaxError(float error)
  2724. - void SetDetailSampleDistance(float distance)
  2725. - void SetDetailSampleMaxError(float error)
  2726. - void SetPadding(const Vector3& padding)
  2727. - bool Build()
  2728. - bool Build(const BoundingBox& boundingBox)
  2729. - Vector3 FindNearestPoint(const Vector3& point)
  2730. - Vector3 FindNearestPoint(const Vector3& point, const Vector3& extents)
  2731. - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end)
  2732. - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end, const Vector3& extents, int maxVisited = 3)
  2733. - const PODVector<Vector3>& FindPath(const Vector3& start, const Vector3& end)
  2734. - const PODVector<Vector3>& FindPath(const Vector3& start, const Vector3& end, const Vector3& extents)
  2735. - Vector3 GetRandomPoint()
  2736. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius)
  2737. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius, const Vector3& extents)
  2738. - float GetDistanceToWall(const Vector3& point, float radius)
  2739. - float GetDistanceToWall(const Vector3& point, float radius, const Vector3& extents)
  2740. - Vector3 Raycast(const Vector3& start, const Vector3& end)
  2741. - Vector3 Raycast(const Vector3& start, const Vector3& end, const Vector3& extents)
  2742. - void DrawDebugGeometry(bool depthTest)
  2743. - int GetTileSize() const
  2744. - float GetCellSize() const
  2745. - float GetCellHeight() const
  2746. - float GetAgentHeight() const
  2747. - float GetAgentRadius() const
  2748. - float GetAgentMaxClimb() const
  2749. - float GetAgentMaxSlope() const
  2750. - float GetRegionMinSize() const
  2751. - float GetRegionMergeSize() const
  2752. - float GetEdgeMaxLength() const
  2753. - float GetEdgeMaxError() const
  2754. - float GetDetailSampleDistance() const
  2755. - float GetDetailSampleMaxError() const
  2756. - const Vector3& GetPadding() const
  2757. - bool IsInitialized() const
  2758. - const BoundingBox& GetBoundingBox() const
  2759. - BoundingBox GetWorldBoundingBox() const
  2760. - IntVector2 GetNumTiles() const
  2761. Properties:
  2762. - int tileSize
  2763. - float cellSize
  2764. - float cellHeight
  2765. - float agentHeight
  2766. - float agentRadius
  2767. - float agentMaxClimb
  2768. - float agentMaxSlope
  2769. - float regionMinSize
  2770. - float regionMergeSize
  2771. - float edgeMaxLength
  2772. - float edgeMaxError
  2773. - float detailSampleDistance
  2774. - float detailSampleMaxError
  2775. - Vector3& padding
  2776. - bool initialized (readonly)
  2777. - BoundingBox& boundingBox (readonly)
  2778. - BoundingBox worldBoundingBox (readonly)
  2779. - IntVector2 numTiles (readonly)
  2780. <a name="Class_Network"></a>
  2781. ### Network
  2782. Methods:
  2783. - bool Connect(const String address, short port, Scene* scene)
  2784. - bool Connect(const String address, short port, Scene* scene, const VariantMap& identity)
  2785. - void Disconnect(int waitMSec = 0)
  2786. - bool StartServer(short port)
  2787. - void StopServer()
  2788. - void BroadcastMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  2789. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder)
  2790. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData)
  2791. - void BroadcastRemoteEvent(const String eventType, bool inOrder)
  2792. - void BroadcastRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData)
  2793. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder)
  2794. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder, const VariantMap& eventData)
  2795. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder)
  2796. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder, const VariantMap& eventData)
  2797. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder)
  2798. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData)
  2799. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder)
  2800. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData)
  2801. - void SetUpdateFps(int fps)
  2802. - void RegisterRemoteEvent(StringHash eventType)
  2803. - void RegisterRemoteEvent(const String eventType)
  2804. - void UnregisterRemoteEvent(StringHash eventType)
  2805. - void UnregisterRemoteEvent(const String eventType)
  2806. - void UnregisterAllRemoteEvents()
  2807. - void SetPackageCacheDir(const String path)
  2808. - HttpRequest* MakeHttpRequest(const String url, const String verb = String::EMPTY)
  2809. - HttpRequest* MakeHttpRequest(const String url, const String verb, const Vector<String>& headers, const String postData = String::EMPTY)
  2810. - int GetUpdateFps() const
  2811. - Connection* GetServerConnection() const
  2812. - bool IsServerRunning() const
  2813. - bool CheckRemoteEvent(StringHash eventType) const
  2814. - const String GetPackageCacheDir() const
  2815. Properties:
  2816. - int updateFps
  2817. - Connection* serverConnection (readonly)
  2818. - bool serverRunning (readonly)
  2819. - String packageCacheDir
  2820. <a name="Class_NetworkPriority"></a>
  2821. ### NetworkPriority : Component
  2822. Methods:
  2823. - void SetBasePriority(float priority)
  2824. - void SetDistanceFactor(float factor)
  2825. - void SetMinPriority(float priority)
  2826. - void SetAlwaysUpdateOwner(bool enable)
  2827. - float GetBasePriority() const
  2828. - float GetDistanceFactor() const
  2829. - float GetMinPriority() const
  2830. - bool GetAlwaysUpdateOwner() const
  2831. - bool CheckUpdate(float distance, float accumulator)
  2832. Properties:
  2833. - float basePriority
  2834. - float distanceFactor
  2835. - float minPriority
  2836. - bool alwaysUpdateOwner
  2837. <a name="Class_Node"></a>
  2838. ### Node : Animatable
  2839. Methods:
  2840. - Node() (GC)
  2841. - Node* new()
  2842. - void delete()
  2843. - bool SaveXML(File* dest) const
  2844. - void SetName(const String name)
  2845. - void SetPosition(const Vector3& position)
  2846. - void SetPosition2D(const Vector2& position)
  2847. - void SetPosition2D(float x, float y)
  2848. - void SetRotation(const Quaternion& rotation)
  2849. - void SetRotation2D(float rotation)
  2850. - void SetDirection(const Vector3& direction)
  2851. - void SetScale(float scale)
  2852. - void SetScale(const Vector3& scale)
  2853. - void SetScale2D(const Vector2& scale)
  2854. - void SetScale2D(float x, float y)
  2855. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  2856. - void SetTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  2857. - void SetTransform(const Vector3& position, const Quaternion& rotation, float scale)
  2858. - void SetTransform2D(const Vector2& position, float rotation)
  2859. - void SetTransform2D(const Vector2& position, float rotation, const Vector2& scale)
  2860. - void SetTransform2D(const Vector2& position, float rotation, float scale)
  2861. - void SetWorldPosition(const Vector3& position)
  2862. - void SetWorldPosition2D(const Vector2& position)
  2863. - void SetWorldPosition2D(float x, float y)
  2864. - void SetWorldRotation(const Quaternion& rotation)
  2865. - void SetWorldRotation2D(float rotation)
  2866. - void SetWorldDirection(const Vector3& direction)
  2867. - void SetWorldScale(float scale)
  2868. - void SetWorldScale(const Vector3& scale)
  2869. - void SetWorldScale2D(const Vector2& scale)
  2870. - void SetWorldScale2D(float x, float y)
  2871. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation)
  2872. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  2873. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, float scale)
  2874. - void SetWorldTransform2D(const Vector2& position, float rotation)
  2875. - void SetWorldTransform2D(const Vector2& position, float rotation, const Vector2& scale)
  2876. - void SetWorldTransform2D(const Vector2& position, float rotation, float scale)
  2877. - void Translate(const Vector3& delta, TransformSpace space = TS_LOCAL)
  2878. - void Translate2D(const Vector2& delta, TransformSpace space = TS_LOCAL)
  2879. - void Rotate(const Quaternion& delta, TransformSpace space = TS_LOCAL)
  2880. - void Rotate2D(float delta, TransformSpace space = TS_LOCAL)
  2881. - void RotateAround(const Vector3& point, const Quaternion& delta, TransformSpace space = TS_LOCAL)
  2882. - void RotateAround2D(const Vector2& point, float delta, TransformSpace space = TS_LOCAL)
  2883. - void Pitch(float angle, TransformSpace space = TS_LOCAL)
  2884. - void Yaw(float angle, TransformSpace space = TS_LOCAL)
  2885. - void Roll(float angle, TransformSpace space = TS_LOCAL)
  2886. - bool LookAt(const Vector3& target)
  2887. - bool LookAt(const Vector3& target, const Vector3& upAxis, TransformSpace space = TS_WORLD)
  2888. - void Scale(float scale)
  2889. - void Scale(const Vector3& scale)
  2890. - void Scale2D(const Vector2& scale)
  2891. - void SetEnabled(bool enable)
  2892. - void SetDeepEnabled(bool enable)
  2893. - void ResetDeepEnabled()
  2894. - void SetEnabledRecursive(bool enable)
  2895. - void SetOwner(Connection* owner)
  2896. - void MarkDirty()
  2897. - Node* CreateChild(const String name = String::EMPTY, CreateMode mode = REPLICATED, unsigned id = 0)
  2898. - void AddChild(Node* node, unsigned index = M_MAX_UNSIGNED)
  2899. - void RemoveChild(Node* node)
  2900. - void RemoveAllChildren()
  2901. - void RemoveChildren(bool removeReplicated, bool removeLocal, bool recursive)
  2902. - void RemoveComponent(Component* component)
  2903. - void RemoveComponent(StringHash type)
  2904. - void RemoveComponent(const String type)
  2905. - void RemoveAllComponents()
  2906. - void RemoveComponents(bool removeReplicated, bool removeLocal)
  2907. - Node* Clone(CreateMode mode = REPLICATED)
  2908. - void Remove()
  2909. - void SetParent(Node* parent)
  2910. - void SetVar(StringHash key, const Variant& value)
  2911. - void AddListener(Component* component)
  2912. - void RemoveListener(Component* component)
  2913. - Component* CreateComponent(const String type, CreateMode mode = REPLICATED, unsigned id = 0)
  2914. - Component* CloneComponent(Component* component, unsigned id = 0)
  2915. - Component* CloneComponent(Component* component, CreateMode mode, unsigned id = 0)
  2916. - int CreateScriptObject(const String scriptObjectType)
  2917. - int CreateScriptObject(const String fileName, const String scriptObjectType)
  2918. - int GetScriptObject() const
  2919. - int GetScriptObject(const String scriptObjectType) const
  2920. - unsigned GetID() const
  2921. - const String GetName() const
  2922. - StringHash GetNameHash() const
  2923. - Node* GetParent() const
  2924. - Scene* GetScene() const
  2925. - bool IsEnabled() const
  2926. - bool IsEnabledSelf() const
  2927. - Connection* GetOwner() const
  2928. - const Vector3& GetPosition() const
  2929. - Vector2 GetPosition2D() const
  2930. - const Quaternion& GetRotation() const
  2931. - float GetRotation2D() const
  2932. - Vector3 GetDirection() const
  2933. - Vector3 GetUp() const
  2934. - Vector3 GetRight() const
  2935. - const Vector3& GetScale() const
  2936. - Vector2 GetScale2D() const
  2937. - Matrix3x4 GetTransform() const
  2938. - Vector3 GetWorldPosition() const
  2939. - Vector2 GetWorldPosition2D() const
  2940. - Quaternion GetWorldRotation() const
  2941. - float GetWorldRotation2D() const
  2942. - Vector3 GetWorldDirection() const
  2943. - Vector3 GetWorldUp() const
  2944. - Vector3 GetWorldRight() const
  2945. - Vector3 GetWorldScale() const
  2946. - Vector2 GetWorldScale2D() const
  2947. - const Matrix3x4& GetWorldTransform() const
  2948. - Vector3 LocalToWorld(const Vector3& position) const
  2949. - Vector3 LocalToWorld(const Vector4& vector) const
  2950. - Vector2 LocalToWorld2D(const Vector2& vector) const
  2951. - Vector3 WorldToLocal(const Vector3& position) const
  2952. - Vector3 WorldToLocal(const Vector4& vector) const
  2953. - Vector2 WorldToLocal2D(const Vector2& vector) const
  2954. - bool IsDirty() const
  2955. - unsigned GetNumChildren(bool recursive = false) const
  2956. - Node* GetChild(const String name, bool recursive = false) const
  2957. - Node* GetChild(StringHash nameHash, bool recursive = false) const
  2958. - Node* GetChild(unsigned index) const
  2959. - unsigned GetNumComponents() const
  2960. - unsigned GetNumNetworkComponents() const
  2961. - bool HasComponent(StringHash type) const
  2962. - bool HasComponent(const String type) const
  2963. - const Variant& GetVar(StringHash key) const
  2964. - const VariantMap& GetVars() const
  2965. - Component* GetComponent(const String type) const
  2966. - void SetID(unsigned id)
  2967. - void SetScene(Scene* scene)
  2968. - void ResetScene()
  2969. - bool Load(Deserializer& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  2970. - bool LoadXML(const XMLElement& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  2971. - Node* CreateChild(unsigned id, CreateMode mode)
  2972. - void AddComponent(Component* component, unsigned id, CreateMode mode)
  2973. Properties:
  2974. - unsigned ID
  2975. - String name
  2976. - StringHash nameHash (readonly)
  2977. - Node* parent
  2978. - Scene* scene
  2979. - bool enabled
  2980. - bool enabledSelf (readonly)
  2981. - Connection* owner
  2982. - Vector3& position
  2983. - Vector2 position2D
  2984. - Quaternion& rotation
  2985. - float rotation2D
  2986. - Vector3 direction
  2987. - Vector3 up (readonly)
  2988. - Vector3 right (readonly)
  2989. - Vector3& scale
  2990. - Vector2 scale2D
  2991. - Matrix3x4 transform (readonly)
  2992. - Vector3 worldPosition
  2993. - Vector2 worldPosition2D
  2994. - Quaternion worldRotation
  2995. - float worldRotation2D
  2996. - Vector3 worldDirection
  2997. - Vector3 worldUp (readonly)
  2998. - Vector3 worldRight (readonly)
  2999. - Vector3 worldScale
  3000. - Vector2 worldScale2D
  3001. - Matrix3x4& worldTransform (readonly)
  3002. - bool dirty (readonly)
  3003. - unsigned numComponents (readonly)
  3004. - unsigned numNetworkComponents (readonly)
  3005. <a name="Class_Object"></a>
  3006. ### Object : RefCounted
  3007. Methods:
  3008. - StringHash GetType() const
  3009. - StringHash GetBaseType() const
  3010. - const String GetTypeName() const
  3011. - const String GetCategory() const
  3012. - void SendEvent(const String eventName, VariantMap* eventData = 0)
  3013. Properties:
  3014. - StringHash type (readonly)
  3015. - StringHash baseType (readonly)
  3016. - const String typeName (readonly)
  3017. - const String category (readonly)
  3018. <a name="Class_ObjectAnimation"></a>
  3019. ### ObjectAnimation : Resource
  3020. Methods:
  3021. - ObjectAnimation() (GC)
  3022. - ObjectAnimation* new()
  3023. - void delete()
  3024. - void AddAttributeAnimation(const String name, ValueAnimation* attributeAnimation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
  3025. - void RemoveAttributeAnimation(const String name)
  3026. - void RemoveAttributeAnimation(ValueAnimation* attributeAnimation)
  3027. - ValueAnimation* GetAttributeAnimation(const String name) const
  3028. - WrapMode GetAttributeAnimationWrapMode(const String name) const
  3029. - float GetAttributeAnimationSpeed(const String name) const
  3030. <a name="Class_Octree"></a>
  3031. ### Octree : Component
  3032. Methods:
  3033. - void SetSize(const BoundingBox& box, unsigned numLevels)
  3034. - void Update(const FrameInfo& frame)
  3035. - void AddManualDrawable(Drawable* drawable)
  3036. - void RemoveManualDrawable(Drawable* drawable)
  3037. - const PODVector<OctreeQueryResult>& GetDrawables(const Vector3& point, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  3038. - const PODVector<OctreeQueryResult>& GetDrawables(const BoundingBox& box, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  3039. - const PODVector<OctreeQueryResult>& GetDrawables(const Frustum& frustum, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  3040. - const PODVector<OctreeQueryResult>& GetDrawables(const Sphere& sphere, char drawableFlags = DRAWABLE_ANY, unsigned viewMask = DEFAULT_VIEWMASK) const
  3041. - const PODVector<RayQueryResult>& Raycast(const Ray& ray, RayQueryLevel level, float maxDistance, char drawableFlags, unsigned viewMask = DEFAULT_VIEWMASK) const
  3042. - RayQueryResult RaycastSingle(const Ray& ray, RayQueryLevel level, float maxDistance, char drawableFlags, unsigned viewMask = DEFAULT_VIEWMASK) const
  3043. - unsigned GetNumLevels() const
  3044. - void QueueUpdate(Drawable* drawable)
  3045. - void DrawDebugGeometry(bool depthTest)
  3046. Properties:
  3047. - unsigned numLevels (readonly)
  3048. <a name="Class_OctreeQueryResult"></a>
  3049. ### OctreeQueryResult
  3050. Methods:
  3051. - OctreeQueryResult() (GC)
  3052. - OctreeQueryResult* new()
  3053. - void delete()
  3054. Properties:
  3055. - Drawable* drawable
  3056. - Node* node
  3057. <a name="Class_OffMeshConnection"></a>
  3058. ### OffMeshConnection : Component
  3059. Methods:
  3060. - void SetEndPoint(Node* node)
  3061. - void SetRadius(float radius)
  3062. - void SetBidirectional(bool enabled)
  3063. - Node* GetEndPoint() const
  3064. - float GetRadius() const
  3065. - bool IsBidirectional() const
  3066. Properties:
  3067. - Node* endPoint
  3068. - float radius
  3069. - bool bidirectional
  3070. <a name="Class_PackageEntry"></a>
  3071. ### PackageEntry
  3072. Properties:
  3073. - unsigned offset
  3074. - unsigned size
  3075. - unsigned checksum
  3076. <a name="Class_PackageFile"></a>
  3077. ### PackageFile : Object
  3078. Methods:
  3079. - PackageFile() (GC)
  3080. - PackageFile* new()
  3081. - PackageFile(const String fileName, unsigned startOffset = 0) (GC)
  3082. - PackageFile* new(const String fileName, unsigned startOffset = 0)
  3083. - void delete()
  3084. - bool Open(const String fileName, unsigned startOffset = 0)
  3085. - bool Exists(const String fileName) const
  3086. - const PackageEntry* GetEntry(const String fileName) const
  3087. - const HashMap<String,PackageEntry>& GetEntries() const
  3088. - const String GetName() const
  3089. - StringHash GetNameHash() const
  3090. - unsigned GetNumFiles() const
  3091. - unsigned GetTotalSize() const
  3092. - unsigned GetChecksum() const
  3093. - bool IsCompressed() const
  3094. Properties:
  3095. - String name (readonly)
  3096. - StringHash nameHash (readonly)
  3097. - unsigned numFiles (readonly)
  3098. - unsigned totalSize (readonly)
  3099. - unsigned checksum (readonly)
  3100. - bool compressed (readonly)
  3101. <a name="Class_ParticleEffect"></a>
  3102. ### ParticleEffect : Resource
  3103. Methods:
  3104. - void SetMaterial(Material* material)
  3105. - void SetNumParticles(unsigned num)
  3106. - void SetUpdateInvisible(bool enable)
  3107. - void SetRelative(bool enable)
  3108. - void SetScaled(bool enable)
  3109. - void SetSorted(bool enable)
  3110. - void SetAnimationLodBias(float lodBias)
  3111. - void SetEmitterType(EmitterType type)
  3112. - void SetEmitterSize(const Vector3& size)
  3113. - void SetMinDirection(const Vector3& direction)
  3114. - void SetMaxDirection(const Vector3& direction)
  3115. - void SetConstantForce(const Vector3& force)
  3116. - void SetDampingForce(float force)
  3117. - void SetActiveTime(float time)
  3118. - void SetInactiveTime(float time)
  3119. - void SetMinEmissionRate(float rate)
  3120. - void SetMaxEmissionRate(float rate)
  3121. - void SetMinParticleSize(const Vector2& size)
  3122. - void SetMaxParticleSize(const Vector2& size)
  3123. - void SetMinTimeToLive(float time)
  3124. - void SetMaxTimeToLive(float time)
  3125. - void SetMinVelocity(float velocity)
  3126. - void SetMaxVelocity(float velocity)
  3127. - void SetMinRotation(float rotation)
  3128. - void SetMaxRotation(float rotation)
  3129. - void SetMinRotationSpeed(float speed)
  3130. - void SetMaxRotationSpeed(float speed)
  3131. - void SetSizeAdd(float sizeAdd)
  3132. - void SetSizeMul(float sizeMul)
  3133. - void SetColorFrame(unsigned index, const ColorFrame& colorFrame)
  3134. - void SetTextureFrame(unsigned index, const TextureFrame& textureFrame)
  3135. - Material* GetMaterial() const
  3136. - unsigned GetNumParticles() const
  3137. - bool GetUpdateInvisible() const
  3138. - bool IsRelative() const
  3139. - bool IsScaled() const
  3140. - bool IsSorted() const
  3141. - float GetAnimationLodBias() const
  3142. - EmitterType GetEmitterType() const
  3143. - const Vector3& GetEmitterSize() const
  3144. - const Vector3& GetMinDirection() const
  3145. - const Vector3& GetMaxDirection() const
  3146. - const Vector3& GetConstantForce() const
  3147. - float GetDampingForce() const
  3148. - float GetActiveTime() const
  3149. - float GetInactiveTime() const
  3150. - float GetMinEmissionRate() const
  3151. - float GetMaxEmissionRate() const
  3152. - const Vector2& GetMinParticleSize() const
  3153. - const Vector2& GetMaxParticleSize() const
  3154. - float GetMinTimeToLive() const
  3155. - float GetMaxTimeToLive() const
  3156. - float GetMinVelocity() const
  3157. - float GetMaxVelocity() const
  3158. - float GetMinRotation() const
  3159. - float GetMaxRotation() const
  3160. - float GetMinRotationSpeed() const
  3161. - float GetMaxRotationSpeed() const
  3162. - float GetSizeAdd() const
  3163. - float GetSizeMul() const
  3164. - unsigned GetNumColorFrames() const
  3165. - const ColorFrame* GetColorFrame(unsigned index) const
  3166. - unsigned GetNumTextureFrames() const
  3167. - const TextureFrame* GetTextureFrame(unsigned index) const
  3168. Properties:
  3169. - Material* material
  3170. - unsigned numParticles
  3171. - bool updateInvisible
  3172. - bool relative
  3173. - bool scaled
  3174. - bool sorted
  3175. - float animationLodBias
  3176. - EmitterType emitterType
  3177. - const Vector3& emitterSize
  3178. - const Vector3& minDirection
  3179. - const Vector3& maxDirection
  3180. - const Vector3& constantForce
  3181. - float dampingForce
  3182. - float activeTime
  3183. - float inactiveTime
  3184. - float minEmissionRate
  3185. - float maxEmissionRate
  3186. - const Vector2& minParticleSize
  3187. - const Vector2& maxParticleSize
  3188. - float minTimeToLive
  3189. - float maxTimeToLive
  3190. - float minVelocity
  3191. - float maxVelocity
  3192. - float minRotation
  3193. - float maxRotation
  3194. - float minRotationSpeed
  3195. - float maxRotationSpeed
  3196. - float sizeAdd
  3197. - float sizeMul
  3198. - unsigned numColorFrames
  3199. - unsigned numTextureFrames
  3200. <a name="Class_ParticleEffect2D"></a>
  3201. ### ParticleEffect2D : Resource
  3202. <a name="Class_ParticleEmitter"></a>
  3203. ### ParticleEmitter : BillboardSet
  3204. Methods:
  3205. - void SetEffect(ParticleEffect* effect)
  3206. - void SetNumParticles(unsigned num)
  3207. - void SetEmitting(bool enable)
  3208. - void ResetEmissionTimer()
  3209. - void RemoveAllParticles()
  3210. - void Reset()
  3211. - void ApplyEffect()
  3212. - ParticleEffect* GetEffect() const
  3213. - unsigned GetNumParticles() const
  3214. - bool IsEmitting() const
  3215. Properties:
  3216. - ParticleEffect* effect
  3217. - unsigned numParticles
  3218. - bool emitting
  3219. <a name="Class_ParticleEmitter2D"></a>
  3220. ### ParticleEmitter2D : Drawable2D
  3221. Methods:
  3222. - void SetEffect(ParticleEffect2D* effect)
  3223. - ParticleEffect2D* GetEffect() const
  3224. Properties:
  3225. - ParticleEffect2D* effect
  3226. <a name="Class_Pass"></a>
  3227. ### Pass : RefCounted
  3228. Methods:
  3229. - bool IsSM3() const
  3230. Properties:
  3231. - bool SM3 (readonly)
  3232. <a name="Class_PhysicsRaycastResult"></a>
  3233. ### PhysicsRaycastResult
  3234. Methods:
  3235. - PhysicsRaycastResult() (GC)
  3236. - PhysicsRaycastResult* new()
  3237. - void delete()
  3238. Properties:
  3239. - Vector3 position
  3240. - Vector3 normal
  3241. - float distance
  3242. - RigidBody* body
  3243. <a name="Class_PhysicsRaycastResult2D"></a>
  3244. ### PhysicsRaycastResult2D
  3245. Methods:
  3246. - PhysicsRaycastResult2D() (GC)
  3247. - PhysicsRaycastResult2D* new()
  3248. - void delete()
  3249. Properties:
  3250. - Vector2 position
  3251. - Vector2 normal
  3252. - float distance
  3253. - RigidBody2D* body
  3254. <a name="Class_PhysicsWorld"></a>
  3255. ### PhysicsWorld : Component
  3256. Methods:
  3257. - void Update(float timeStep)
  3258. - void UpdateCollisions()
  3259. - void SetFps(int fps)
  3260. - void SetGravity(Vector3 gravity)
  3261. - void SetNumIterations(int num)
  3262. - void SetInterpolation(bool enable)
  3263. - void SetInternalEdge(bool enable)
  3264. - void SetSplitImpulse(bool enable)
  3265. - void SetMaxNetworkAngularVelocity(float velocity)
  3266. - const PODVector<PhysicsRaycastResult>& Raycast(const Ray& ray, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  3267. - PhysicsRaycastResult RaycastSingle(const Ray& ray, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  3268. - PhysicsRaycastResult SphereCast(const Ray& ray, float radius, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  3269. - PhysicsRaycastResult ConvexCast(CollisionShape* shape, const Vector3& startPos, const Quaternion& startRot, const Vector3& endPos, const Quaternion& endRot, unsigned collisionMask = M_MAX_UNSIGNED)
  3270. - const PODVector<RigidBody*>& GetRigidBodies(const Sphere& sphere, unsigned collisionMask = M_MAX_UNSIGNED)
  3271. - const PODVector<RigidBody*>& GetRigidBodies(const BoundingBox& box, unsigned collisionMask = M_MAX_UNSIGNED)
  3272. - const PODVector<RigidBody*>& GetRigidBodies(const RigidBody* body)
  3273. - void DrawDebugGeometry(bool depthTest)
  3274. - void RemoveCachedGeometry(Model* model)
  3275. - Vector3 GetGravity() const
  3276. - int GetNumIterations() const
  3277. - bool GetInterpolation() const
  3278. - bool GetInternalEdge() const
  3279. - bool GetSplitImpulse() const
  3280. - int GetFps() const
  3281. - float GetMaxNetworkAngularVelocity() const
  3282. Properties:
  3283. - Vector3 gravity
  3284. - int numIterations
  3285. - bool interpolation
  3286. - bool internalEdge
  3287. - bool splitImpulse
  3288. - int fps
  3289. - float maxNetworkAngularVelocity
  3290. - bool applyingTransforms
  3291. <a name="Class_PhysicsWorld2D"></a>
  3292. ### PhysicsWorld2D : Component
  3293. Methods:
  3294. - void DrawDebugGeometry()
  3295. - void SetDrawShape(bool drawShape)
  3296. - void SetDrawJoint(bool drawJoint)
  3297. - void SetDrawAabb(bool drawAabb)
  3298. - void SetDrawPair(bool drawPair)
  3299. - void SetDrawCenterOfMass(bool drawCenterOfMass)
  3300. - void SetAllowSleeping(bool enable)
  3301. - void SetWarmStarting(bool enable)
  3302. - void SetContinuousPhysics(bool enable)
  3303. - void SetSubStepping(bool enable)
  3304. - void SetGravity(const Vector2& gravity)
  3305. - void SetAutoClearForces(bool enable)
  3306. - void SetVelocityIterations(int velocityIterations)
  3307. - void SetPositionIterations(int positionIterations)
  3308. - const PODVector<PhysicsRaycastResult2D>& Raycast(const Vector2& startPoint, const Vector2& endPoint, unsigned collisionMask = M_MAX_UNSIGNED)
  3309. - PhysicsRaycastResult2D RaycastSingle(const Vector2& startPoint, const Vector2& endPoint, unsigned collisionMask = M_MAX_UNSIGNED)
  3310. - RigidBody2D* GetRigidBody(const Vector2& point, unsigned collisionMask = M_MAX_UNSIGNED)
  3311. - RigidBody2D* GetRigidBody(int screenX, int screenY, unsigned collisionMask = M_MAX_UNSIGNED)
  3312. - const PODVector<RigidBody2D*>& GetRigidBodies(const Rect& aabb, unsigned collisionMask = M_MAX_UNSIGNED)
  3313. - bool GetDrawShape() const
  3314. - bool GetDrawJoint() const
  3315. - bool GetDrawAabb() const
  3316. - bool GetDrawPair() const
  3317. - bool GetDrawCenterOfMass() const
  3318. - bool GetAllowSleeping() const
  3319. - bool GetWarmStarting() const
  3320. - bool GetContinuousPhysics() const
  3321. - bool GetSubStepping() const
  3322. - bool GetAutoClearForces() const
  3323. - const Vector2& GetGravity() const
  3324. - int GetVelocityIterations() const
  3325. - int GetPositionIterations() const
  3326. Properties:
  3327. - bool drawShape
  3328. - bool drawJoint
  3329. - bool drawAabb
  3330. - bool drawPair
  3331. - bool drawCenterOfMass
  3332. - bool allowSleeping
  3333. - bool warmStarting
  3334. - bool continuousPhysics
  3335. - bool subStepping
  3336. - bool autoClearForces
  3337. - Vector2& gravity
  3338. - int velocityIterations
  3339. - int positionIterations
  3340. <a name="Class_Plane"></a>
  3341. ### Plane
  3342. Methods:
  3343. - Plane() (GC)
  3344. - Plane* new()
  3345. - Plane(const Plane& plane) (GC)
  3346. - Plane* new(const Plane& plane)
  3347. - Plane(const Vector3& v0, const Vector3& v1, const Vector3& v2) (GC)
  3348. - Plane* new(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  3349. - Plane(const Vector3& normal, const Vector3& point) (GC)
  3350. - Plane* new(const Vector3& normal, const Vector3& point)
  3351. - Plane(const Vector4& plane) (GC)
  3352. - Plane* new(const Vector4& plane)
  3353. - void delete()
  3354. - void Define(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  3355. - void Define(const Vector3& normal, const Vector3& point)
  3356. - void Define(const Vector4& plane)
  3357. - void Transform(const Matrix3& transform)
  3358. - void Transform(const Matrix3x4& transform)
  3359. - void Transform(const Matrix4& transform)
  3360. - Vector3 Project(const Vector3& point) const
  3361. - float Distance(const Vector3& point) const
  3362. - Vector3 Reflect(const Vector3& direction) const
  3363. - Matrix3x4 ReflectionMatrix() const
  3364. - Plane Transformed(const Matrix3& transform) const
  3365. - Plane Transformed(const Matrix3x4& transform) const
  3366. - Plane Transformed(const Matrix4& transform) const
  3367. - Vector4 ToVector4() const
  3368. Properties:
  3369. - Vector3 normal
  3370. - Vector3 absNormal
  3371. - float d
  3372. - const Plane UP
  3373. <a name="Class_Polyhedron"></a>
  3374. ### Polyhedron
  3375. Methods:
  3376. - Polyhedron() (GC)
  3377. - Polyhedron* new()
  3378. - Polyhedron(const Polyhedron& polyhedron) (GC)
  3379. - Polyhedron* new(const Polyhedron& polyhedron)
  3380. - Polyhedron(const BoundingBox& box) (GC)
  3381. - Polyhedron* new(const BoundingBox& box)
  3382. - Polyhedron(const Frustum& frustum) (GC)
  3383. - Polyhedron* new(const Frustum& frustum)
  3384. - void delete()
  3385. - void Define(const BoundingBox& box)
  3386. - void Define(const Frustum& frustum)
  3387. - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  3388. - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2, const Vector3& v3)
  3389. - void Clip(const Plane& plane)
  3390. - void Clip(const BoundingBox& box)
  3391. - void Clip(const Frustum& box)
  3392. - void Clear()
  3393. - void Transform(const Matrix3& transform)
  3394. - void Transform(const Matrix3x4& transform)
  3395. - Polyhedron Transformed(const Matrix3& transform) const
  3396. - Polyhedron Transformed(const Matrix3x4& transform) const
  3397. - bool Empty() const
  3398. Properties:
  3399. - bool empty (readonly)
  3400. <a name="Class_PropertySet2D"></a>
  3401. ### PropertySet2D
  3402. Methods:
  3403. - bool HasProperty(const String name) const
  3404. - const String GetProperty(const String name) const
  3405. <a name="Class_Quaternion"></a>
  3406. ### Quaternion
  3407. Methods:
  3408. - Quaternion() (GC)
  3409. - Quaternion* new()
  3410. - Quaternion(const Quaternion& quat) (GC)
  3411. - Quaternion* new(const Quaternion& quat)
  3412. - Quaternion(float w, float x, float y, float z) (GC)
  3413. - Quaternion* new(float w, float x, float y, float z)
  3414. - Quaternion(float angle, const Vector3& axis) (GC)
  3415. - Quaternion* new(float angle, const Vector3& axis)
  3416. - Quaternion(float angle) (GC)
  3417. - Quaternion* new(float angle)
  3418. - Quaternion(float x, float y, float z) (GC)
  3419. - Quaternion* new(float x, float y, float z)
  3420. - Quaternion(const Vector3& start, const Vector3& end) (GC)
  3421. - Quaternion* new(const Vector3& start, const Vector3& end)
  3422. - Quaternion(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis) (GC)
  3423. - Quaternion* new(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  3424. - Quaternion(const Matrix3& matrix) (GC)
  3425. - Quaternion* new(const Matrix3& matrix)
  3426. - void delete()
  3427. - bool operator==(const Quaternion& rhs) const
  3428. - Quaternion operator*(float rhs) const
  3429. - Quaternion operator-() const
  3430. - bool operator==(const Quaternion& rhs) const
  3431. - Quaternion operator*(float rhs) const
  3432. - Quaternion operator-() const
  3433. - Quaternion operator+(const Quaternion& rhs) const
  3434. - Quaternion operator-(const Quaternion& rhs) const
  3435. - Quaternion operator*(const Quaternion& rhs) const
  3436. - Vector3 operator*(const Vector3& rhs) const
  3437. - void FromAngleAxis(float angle, const Vector3& axis)
  3438. - void FromEulerAngles(float x, float y, float z)
  3439. - void FromRotationTo(const Vector3& start, const Vector3& end)
  3440. - void FromAxes(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  3441. - void FromRotationMatrix(const Matrix3& matrix)
  3442. - bool FromLookRotation(const Vector3& direction, const Vector3& up)
  3443. - void Normalize()
  3444. - Quaternion Normalized() const
  3445. - Quaternion Inverse() const
  3446. - float LengthSquared() const
  3447. - float DotProduct(const Quaternion& rhs) const
  3448. - bool Equals(const Quaternion& rhs) const
  3449. - bool IsNaN() const
  3450. - Quaternion Conjugate() const
  3451. - Vector3 EulerAngles() const
  3452. - float YawAngle() const
  3453. - float PitchAngle() const
  3454. - float RollAngle() const
  3455. - Matrix3 RotationMatrix() const
  3456. - Quaternion Slerp(Quaternion rhs, float t) const
  3457. - Quaternion Nlerp(Quaternion rhs, float t, bool shortestPath) const
  3458. - String ToString() const
  3459. Properties:
  3460. - float w
  3461. - float x
  3462. - float y
  3463. - float z
  3464. - const Quaternion IDENTITY
  3465. <a name="Class_Ray"></a>
  3466. ### Ray
  3467. Methods:
  3468. - Ray() (GC)
  3469. - Ray* new()
  3470. - Ray(const Vector3& origin, const Vector3& direction) (GC)
  3471. - Ray* new(const Vector3& origin, const Vector3& direction)
  3472. - Ray(const Ray& ray) (GC)
  3473. - Ray* new(const Ray& ray)
  3474. - void delete()
  3475. - bool operator==(const Ray& rhs) const
  3476. - void Define(const Vector3& origin, const Vector3& direction)
  3477. - Vector3 Project(const Vector3& point) const
  3478. - float Distance(const Vector3& point) const
  3479. - Vector3 ClosestPoint(const Ray& ray) const
  3480. - float HitDistance(const Plane& plane) const
  3481. - float HitDistance(const BoundingBox& box) const
  3482. - float HitDistance(const Frustum& frustum, bool solidInside = true) const
  3483. - float HitDistance(const Sphere& sphere) const
  3484. - float HitDistance(const Vector3& v0, const Vector3& v1, const Vector3& v2) const
  3485. - Ray Transformed(const Matrix3x4& transform) const
  3486. Properties:
  3487. - Vector3 origin
  3488. - Vector3 direction
  3489. <a name="Class_RayQueryResult"></a>
  3490. ### RayQueryResult
  3491. Methods:
  3492. - RayQueryResult() (GC)
  3493. - RayQueryResult* new()
  3494. - void delete()
  3495. Properties:
  3496. - Vector3 position
  3497. - Vector3 normal
  3498. - float distance
  3499. - Drawable* drawable
  3500. - Node* node
  3501. - unsigned subObject
  3502. <a name="Class_Rect"></a>
  3503. ### Rect
  3504. Methods:
  3505. - Rect() (GC)
  3506. - Rect* new()
  3507. - Rect(const Rect& rect) (GC)
  3508. - Rect* new(const Rect& rect)
  3509. - Rect(const Vector2& min, const Vector2& max) (GC)
  3510. - Rect* new(const Vector2& min, const Vector2& max)
  3511. - Rect(float left, float top, float right, float bottom) (GC)
  3512. - Rect* new(float left, float top, float right, float bottom)
  3513. - Rect(const Vector4& vector) (GC)
  3514. - Rect* new(const Vector4& vector)
  3515. - void delete()
  3516. - bool operator==(const Rect& rhs) const
  3517. - void Define(const Rect& rect)
  3518. - void Define(const Vector2& min, const Vector2& max)
  3519. - void Define(const Vector2& point)
  3520. - void Merge(const Vector2& point)
  3521. - void Merge(const Rect& rect)
  3522. - void Clear()
  3523. - void Clip(const Rect& rect)
  3524. - Vector2 Center() const
  3525. - Vector2 Size() const
  3526. - Vector2 HalfSize() const
  3527. - bool Equals(const Rect& rhs) const
  3528. - Intersection IsInside(const Vector2& point) const
  3529. - Vector4 ToVector4() const
  3530. - String ToString() const
  3531. Properties:
  3532. - Vector2 min
  3533. - Vector2 max
  3534. - const Rect FULL
  3535. - const Rect POSITIVE
  3536. - const Rect ZERO
  3537. - Vector2 center (readonly)
  3538. - Vector2 size (readonly)
  3539. - Vector2 halfSize (readonly)
  3540. <a name="Class_RemoteEvent"></a>
  3541. ### RemoteEvent
  3542. Properties:
  3543. - unsigned senderID
  3544. - StringHash eventType
  3545. - VariantMap eventData
  3546. - bool inOrder
  3547. <a name="Class_RenderPath"></a>
  3548. ### RenderPath
  3549. Methods:
  3550. - RenderPath* Clone()
  3551. - bool Load(XMLFile* file)
  3552. - bool Append(XMLFile* file)
  3553. - void SetEnabled(const String tag, bool active)
  3554. - void ToggleEnabled(const String tag)
  3555. - void SetRenderTarget(unsigned index, const RenderTargetInfo& info)
  3556. - void AddRenderTarget(const RenderTargetInfo& info)
  3557. - void RemoveRenderTarget(const String name)
  3558. - void RemoveRenderTarget(unsigned index)
  3559. - void RemoveRenderTargets(const String tag)
  3560. - void SetCommand(unsigned index, const RenderPathCommand& command)
  3561. - void AddCommand(const RenderPathCommand& command)
  3562. - void InsertCommand(unsigned index, const RenderPathCommand& command)
  3563. - void RemoveCommand(unsigned index)
  3564. - void RemoveCommands(const String tag)
  3565. - void SetShaderParameter(const String name, const Variant& value)
  3566. - unsigned GetNumRenderTargets() const
  3567. - unsigned GetNumCommands() const
  3568. - const Variant& GetShaderParameter(const String name) const
  3569. <a name="Class_RenderSurface"></a>
  3570. ### RenderSurface
  3571. Methods:
  3572. - RenderSurface(Texture* parentTexture) (GC)
  3573. - RenderSurface* new(Texture* parentTexture)
  3574. - void delete()
  3575. - void SetNumViewports(unsigned num)
  3576. - void SetViewport(unsigned index, Viewport* viewport)
  3577. - void SetUpdateMode(RenderSurfaceUpdateMode mode)
  3578. - void SetLinkedRenderTarget(RenderSurface* renderTarget)
  3579. - void SetLinkedDepthStencil(RenderSurface* depthStencil)
  3580. - void QueueUpdate()
  3581. - void Release()
  3582. - Texture* GetParentTexture() const
  3583. - int GetWidth() const
  3584. - int GetHeight() const
  3585. - TextureUsage GetUsage() const
  3586. - unsigned GetNumViewports() const
  3587. - Viewport* GetViewport(unsigned index) const
  3588. - RenderSurfaceUpdateMode GetUpdateMode() const
  3589. - RenderSurface* GetLinkedRenderTarget() const
  3590. - RenderSurface* GetLinkedDepthStencil() const
  3591. Properties:
  3592. - Texture* parentTexture (readonly)
  3593. - int width (readonly)
  3594. - int height (readonly)
  3595. - TextureUsage usage (readonly)
  3596. - unsigned numViewports
  3597. - RenderSurfaceUpdateMode updateMode
  3598. - RenderSurface* linkedRenderTarget
  3599. - RenderSurface* linkedDepthStencil
  3600. <a name="Class_Renderer"></a>
  3601. ### Renderer
  3602. Methods:
  3603. - void SetNumViewports(unsigned num)
  3604. - void SetViewport(unsigned index, Viewport* viewport)
  3605. - void SetDefaultRenderPath(RenderPath* renderPath)
  3606. - void SetDefaultRenderPath(XMLFile* file)
  3607. - void SetHDRRendering(bool enable)
  3608. - void SetSpecularLighting(bool enable)
  3609. - void SetTextureAnisotropy(int level)
  3610. - void SetTextureFilterMode(TextureFilterMode mode)
  3611. - void SetTextureQuality(int quality)
  3612. - void SetMaterialQuality(int quality)
  3613. - void SetDrawShadows(bool enable)
  3614. - void SetShadowMapSize(int size)
  3615. - void SetShadowQuality(int quality)
  3616. - void SetReuseShadowMaps(bool enable)
  3617. - void SetMaxShadowMaps(int shadowMaps)
  3618. - void SetDynamicInstancing(bool enable)
  3619. - void SetMinInstances(int instances)
  3620. - void SetMaxInstanceTriangles(int triangles)
  3621. - void SetMaxSortedInstances(int instances)
  3622. - void SetMaxOccluderTriangles(int triangles)
  3623. - void SetOcclusionBufferSize(int size)
  3624. - void SetOccluderSizeThreshold(float screenSize)
  3625. - void SetMobileShadowBiasMul(float mul)
  3626. - void SetMobileShadowBiasAdd(float add)
  3627. - void ReloadShaders()
  3628. - unsigned GetNumViewports() const
  3629. - Viewport* GetViewport(unsigned index) const
  3630. - RenderPath* GetDefaultRenderPath() const
  3631. - bool GetHDRRendering() const
  3632. - bool GetSpecularLighting() const
  3633. - bool GetDrawShadows() const
  3634. - int GetTextureAnisotropy() const
  3635. - TextureFilterMode GetTextureFilterMode() const
  3636. - int GetTextureQuality() const
  3637. - int GetMaterialQuality() const
  3638. - int GetShadowMapSize() const
  3639. - int GetShadowQuality() const
  3640. - bool GetReuseShadowMaps() const
  3641. - int GetMaxShadowMaps() const
  3642. - bool GetDynamicInstancing() const
  3643. - int GetMinInstances() const
  3644. - int GetMaxInstanceTriangles() const
  3645. - int GetMaxSortedInstances() const
  3646. - int GetMaxOccluderTriangles() const
  3647. - int GetOcclusionBufferSize() const
  3648. - float GetOccluderSizeThreshold() const
  3649. - float GetMobileShadowBiasMul() const
  3650. - float GetMobileShadowBiasAdd() const
  3651. - unsigned GetNumViews() const
  3652. - unsigned GetNumPrimitives() const
  3653. - unsigned GetNumBatches() const
  3654. - unsigned GetNumGeometries(bool allViews = false) const
  3655. - unsigned GetNumLights(bool allViews = false) const
  3656. - unsigned GetNumShadowMaps(bool allViews = false) const
  3657. - unsigned GetNumOccluders(bool allViews = false) const
  3658. - Zone* GetDefaultZone() const
  3659. - Material* GetDefaultMaterial() const
  3660. - Texture2D* GetDefaultLightRamp() const
  3661. - Texture2D* GetDefaultLightSpot() const
  3662. - void DrawDebugGeometry(bool depthTest)
  3663. Properties:
  3664. - unsigned numViewports
  3665. - RenderPath* defaultRenderPath
  3666. - bool HDRRendering
  3667. - bool specularLighting
  3668. - bool drawShadows
  3669. - int textureAnisotropy
  3670. - TextureFilterMode textureFilterMode
  3671. - int textureQuality
  3672. - int materialQuality
  3673. - int shadowMapSize
  3674. - int shadowQuality
  3675. - bool reuseShadowMaps
  3676. - int maxShadowMaps
  3677. - bool dynamicInstancing
  3678. - int minInstances
  3679. - int maxInstanceTriangles
  3680. - int maxSortedInstances
  3681. - int maxOccluderTriangles
  3682. - int occlusionBufferSize
  3683. - float occluderSizeThreshold
  3684. - float mobileShadowBiasMul
  3685. - float mobileShadowBiasAdd
  3686. - unsigned numViews (readonly)
  3687. - unsigned numPrimitives (readonly)
  3688. - unsigned numBatches (readonly)
  3689. - Zone* defaultZone (readonly)
  3690. - Material* defaultMaterial (readonly)
  3691. - Texture2D* defaultLightRamp (readonly)
  3692. - Texture2D* defaultLightSpot (readonly)
  3693. <a name="Class_Resource"></a>
  3694. ### Resource
  3695. Methods:
  3696. - bool Load(Deserializer& source)
  3697. - bool Save(Serializer& dest) const
  3698. - bool Load(const String fileName)
  3699. - bool Save(const String fileName) const
  3700. - const String GetName() const
  3701. - StringHash GetNameHash() const
  3702. - unsigned GetMemoryUse() const
  3703. Properties:
  3704. - String name (readonly)
  3705. - StringHash nameHash (readonly)
  3706. - unsigned memoryUse (readonly)
  3707. <a name="Class_ResourceCache"></a>
  3708. ### ResourceCache
  3709. Methods:
  3710. - void ReleaseAllResources(bool force = false)
  3711. - bool ReloadResource(Resource* resource)
  3712. - void ReloadResourceWithDependencies(const String fileName)
  3713. - void SetMemoryBudget(StringHash type, unsigned budget)
  3714. - void SetMemoryBudget(const String type, unsigned budget)
  3715. - void SetAutoReloadResources(bool enable)
  3716. - void SetReturnFailedResources(bool enable)
  3717. - void SetSearchPackagesFirst(bool value)
  3718. - void SetFinishBackgroundResourcesMs(int ms)
  3719. - File* GetFile(const String name)
  3720. - Resource* GetResource(const String type, const String name, bool sendEventOnFailure = true)
  3721. - bool BackgroundLoadResource(const String type, const String name, bool sendEventOnFailure = true)
  3722. - unsigned GetNumBackgroundLoadResources() const
  3723. - bool Exists(const String name) const
  3724. - unsigned GetMemoryBudget(StringHash type) const
  3725. - unsigned GetMemoryUse(StringHash type) const
  3726. - unsigned GetTotalMemoryUse() const
  3727. - String GetResourceFileName(const String name) const
  3728. - bool GetAutoReloadResources() const
  3729. - bool GetReturnFailedResources() const
  3730. - bool GetSearchPackagesFirst() const
  3731. - int GetFinishBackgroundResourcesMs() const
  3732. - String GetPreferredResourceDir(const String path) const
  3733. - String SanitateResourceName(const String name) const
  3734. - String SanitateResourceDirName(const String name) const
  3735. Properties:
  3736. - unsigned totalMemoryUse (readonly)
  3737. - bool autoReloadResources
  3738. - bool returnFailedResources
  3739. - bool searchPackagesFirst
  3740. - unsigned numBackgroundLoadResources (readonly)
  3741. - int finishBackgroundResourcesMs
  3742. <a name="Class_ResourceRef"></a>
  3743. ### ResourceRef
  3744. Methods:
  3745. - ResourceRef() (GC)
  3746. - ResourceRef* new()
  3747. - ResourceRef(StringHash type) (GC)
  3748. - ResourceRef* new(StringHash type)
  3749. - ResourceRef(StringHash type, String name) (GC)
  3750. - ResourceRef* new(StringHash type, String name)
  3751. - ResourceRef(const ResourceRef& rhs) (GC)
  3752. - ResourceRef* new(const ResourceRef& rhs)
  3753. - void delete()
  3754. - bool operator==(const ResourceRef& rhs) const
  3755. Properties:
  3756. - StringHash type
  3757. - String name
  3758. <a name="Class_ResourceRefList"></a>
  3759. ### ResourceRefList
  3760. Methods:
  3761. - ResourceRefList() (GC)
  3762. - ResourceRefList* new()
  3763. - ResourceRefList(StringHash type) (GC)
  3764. - ResourceRefList* new(StringHash type)
  3765. - void delete()
  3766. - bool operator==(const ResourceRefList& rhs) const
  3767. Properties:
  3768. - StringHash type
  3769. <a name="Class_RigidBody"></a>
  3770. ### RigidBody : Component
  3771. Methods:
  3772. - void SetMass(float mass)
  3773. - void SetPosition(Vector3 position)
  3774. - void SetRotation(Quaternion rotation)
  3775. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  3776. - void SetLinearVelocity(Vector3 velocity)
  3777. - void SetLinearFactor(Vector3 factor)
  3778. - void SetLinearRestThreshold(float threshold)
  3779. - void SetLinearDamping(float damping)
  3780. - void SetAngularVelocity(Vector3 angularVelocity)
  3781. - void SetAngularFactor(Vector3 factor)
  3782. - void SetAngularRestThreshold(float threshold)
  3783. - void SetAngularDamping(float factor)
  3784. - void SetFriction(float friction)
  3785. - void SetAnisotropicFriction(Vector3 friction)
  3786. - void SetRollingFriction(float friction)
  3787. - void SetRestitution(float restitution)
  3788. - void SetContactProcessingThreshold(float threshold)
  3789. - void SetCcdRadius(float radius)
  3790. - void SetCcdMotionThreshold(float threshold)
  3791. - void SetUseGravity(bool enable)
  3792. - void SetGravityOverride(const Vector3& gravity)
  3793. - void SetKinematic(bool enable)
  3794. - void SetTrigger(bool enable)
  3795. - void SetCollisionLayer(unsigned layer)
  3796. - void SetCollisionMask(unsigned mask)
  3797. - void SetCollisionLayerAndMask(unsigned layer, unsigned mask)
  3798. - void SetCollisionEventMode(CollisionEventMode mode)
  3799. - void ApplyForce(const Vector3& force)
  3800. - void ApplyForce(const Vector3& force, const Vector3& position)
  3801. - void ApplyTorque(const Vector3& torque)
  3802. - void ApplyImpulse(const Vector3& impulse)
  3803. - void ApplyImpulse(const Vector3& impulse, const Vector3& position)
  3804. - void ApplyTorqueImpulse(const Vector3& torque)
  3805. - void ResetForces()
  3806. - void Activate()
  3807. - void ReAddBodyToWorld()
  3808. - PhysicsWorld* GetPhysicsWorld() const
  3809. - float GetMass() const
  3810. - Vector3 GetPosition() const
  3811. - Quaternion GetRotation() const
  3812. - Vector3 GetLinearVelocity() const
  3813. - Vector3 GetLinearFactor() const
  3814. - Vector3 GetVelocityAtPoint(const Vector3& position) const
  3815. - float GetLinearRestThreshold() const
  3816. - float GetLinearDamping() const
  3817. - Vector3 GetAngularVelocity() const
  3818. - Vector3 GetAngularFactor() const
  3819. - float GetAngularRestThreshold() const
  3820. - float GetAngularDamping() const
  3821. - float GetFriction() const
  3822. - Vector3 GetAnisotropicFriction() const
  3823. - float GetRollingFriction() const
  3824. - float GetRestitution() const
  3825. - float GetContactProcessingThreshold() const
  3826. - float GetCcdRadius() const
  3827. - float GetCcdMotionThreshold() const
  3828. - bool GetUseGravity() const
  3829. - const Vector3& GetGravityOverride() const
  3830. - const Vector3& GetCenterOfMass() const
  3831. - bool IsKinematic() const
  3832. - bool IsTrigger() const
  3833. - bool IsActive() const
  3834. - unsigned GetCollisionLayer() const
  3835. - unsigned GetCollisionMask() const
  3836. - CollisionEventMode GetCollisionEventMode() const
  3837. Properties:
  3838. - PhysicsWorld* physicsWorld (readonly)
  3839. - float mass
  3840. - Vector3 position
  3841. - Quaternion rotation
  3842. - Vector3 linearVelocity
  3843. - Vector3 linearFactor
  3844. - float linearRestThreshold
  3845. - float linearDamping
  3846. - Vector3 angularVelocity
  3847. - Vector3 angularFactor
  3848. - float angularRestThreshold
  3849. - float angularDamping
  3850. - float friction
  3851. - Vector3 anisotropicFriction
  3852. - float rollingFriction
  3853. - float restitution
  3854. - float contactProcessingThreshold
  3855. - float ccdRadius
  3856. - float ccdMotionThreshold
  3857. - bool useGravity
  3858. - Vector3& gravityOverride
  3859. - Vector3& centerOfMass (readonly)
  3860. - bool kinematic
  3861. - bool trigger
  3862. - bool active (readonly)
  3863. - unsigned collisionLayer
  3864. - unsigned collisionMask
  3865. - CollisionEventMode collisionEventMode
  3866. <a name="Class_RigidBody2D"></a>
  3867. ### RigidBody2D : Component
  3868. Methods:
  3869. - void SetBodyType(BodyType2D bodyType)
  3870. - void SetMass(float mass)
  3871. - void SetInertia(float inertia)
  3872. - void SetMassCenter(Vector2 center)
  3873. - void SetUseFixtureMass(bool useFixtureMass)
  3874. - void SetLinearDamping(float linearDamping)
  3875. - void SetAngularDamping(float angularDamping)
  3876. - void SetAllowSleep(bool allowSleep)
  3877. - void SetFixedRotation(bool fixedRotation)
  3878. - void SetBullet(bool bullet)
  3879. - void SetGravityScale(float gravityScale)
  3880. - void SetAwake(bool awake)
  3881. - void SetLinearVelocity(Vector2 linearVelocity)
  3882. - void SetAngularVelocity(float angularVelocity)
  3883. - void ApplyForce(const Vector2& force, const Vector2& point, bool wake)
  3884. - void ApplyForceToCenter(const Vector2& force, bool wake)
  3885. - void ApplyTorque(float torque, bool wake)
  3886. - void ApplyLinearImpulse(const Vector2& impulse, const Vector2& point, bool wake)
  3887. - void ApplyAngularImpulse(float impulse, bool wake)
  3888. - BodyType2D GetBodyType() const
  3889. - float GetMass() const
  3890. - float GetInertia() const
  3891. - Vector2 GetMassCenter() const
  3892. - bool GetUseFixtureMass() const
  3893. - float GetLinearDamping() const
  3894. - float GetAngularDamping() const
  3895. - bool IsAllowSleep() const
  3896. - bool IsFixedRotation() const
  3897. - bool IsBullet() const
  3898. - float GetGravityScale() const
  3899. - bool IsAwake() const
  3900. - Vector2 GetLinearVelocity() const
  3901. - float GetAngularVelocity() const
  3902. Properties:
  3903. - BodyType2D bodyType
  3904. - float mass
  3905. - float inertia
  3906. - Vector2 massCenter
  3907. - bool useFixtureMass
  3908. - float linearDamping
  3909. - float angularDamping
  3910. - bool allowSleep
  3911. - bool fixedRotation
  3912. - bool bullet
  3913. - float gravityScale
  3914. - bool awake
  3915. - Vector2 linearVelocity
  3916. - float angularVelocity
  3917. <a name="Class_Scene"></a>
  3918. ### Scene : Node
  3919. Methods:
  3920. - Scene() (GC)
  3921. - Scene* new()
  3922. - void delete()
  3923. - bool Load(File* source)
  3924. - bool Save(File* dest) const
  3925. - bool Load(const String fileName)
  3926. - bool Save(const String fileName) const
  3927. - bool LoadXML(File* source)
  3928. - bool SaveXML(File* dest) const
  3929. - bool LoadXML(const String fileName)
  3930. - bool SaveXML(const String fileName) const
  3931. - Node* Instantiate(File* source, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3932. - Node* Instantiate(const String fileName, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3933. - Node* InstantiateXML(File* source, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3934. - Node* InstantiateXML(const String fileName, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3935. - bool LoadAsync(File* file, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  3936. - bool LoadAsyncXML(File* file, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  3937. - bool LoadAsync(const String fileName, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  3938. - bool LoadAsyncXML(const String fileName, LoadMode mode = LOAD_SCENE_AND_RESOURCES)
  3939. - void StopAsyncLoading()
  3940. - void Clear(bool clearReplicated = true, bool clearLocal = true)
  3941. - void SetUpdateEnabled(bool enable)
  3942. - void SetTimeScale(float scale)
  3943. - void SetElapsedTime(float time)
  3944. - void SetSmoothingConstant(float constant)
  3945. - void SetSnapThreshold(float threshold)
  3946. - void SetAsyncLoadingMs(int ms)
  3947. - Node* GetNode(unsigned id) const
  3948. - bool IsUpdateEnabled() const
  3949. - bool IsAsyncLoading() const
  3950. - float GetAsyncProgress() const
  3951. - LoadMode GetAsyncLoadMode() const
  3952. - const String GetFileName() const
  3953. - unsigned GetChecksum() const
  3954. - float GetTimeScale() const
  3955. - float GetElapsedTime() const
  3956. - float GetSmoothingConstant() const
  3957. - float GetSnapThreshold() const
  3958. - int GetAsyncLoadingMs() const
  3959. - const String GetVarName(StringHash hash) const
  3960. - void Update(float timeStep)
  3961. - void BeginThreadedUpdate()
  3962. - void EndThreadedUpdate()
  3963. - void DelayedMarkedDirty(Component* component)
  3964. - bool IsThreadedUpdate() const
  3965. - unsigned GetFreeNodeID(CreateMode mode)
  3966. - unsigned GetFreeComponentID(CreateMode mode)
  3967. - void NodeAdded(Node* node)
  3968. - void NodeRemoved(Node* node)
  3969. - void ComponentAdded(Component* component)
  3970. - void ComponentRemoved(Component* component)
  3971. - void SetVarNamesAttr(String value)
  3972. - String GetVarNamesAttr() const
  3973. - void PrepareNetworkUpdate()
  3974. - void CleanupConnection(Connection* connection)
  3975. - void MarkNetworkUpdate(Node* node)
  3976. - void MarkNetworkUpdate(Component* component)
  3977. - void MarkReplicationDirty(Node* node)
  3978. Properties:
  3979. - bool updateEnabled
  3980. - bool asyncLoading (readonly)
  3981. - float asyncProgress (readonly)
  3982. - LoadMode asyncLoadMode (readonly)
  3983. - const String fileName
  3984. - unsigned checksum (readonly)
  3985. - float timeScale
  3986. - float elapsedTime
  3987. - float smoothingConstant
  3988. - float snapThreshold
  3989. - int asyncLoadingMs
  3990. - bool threadedUpdate (readonly)
  3991. - String varNamesAttr
  3992. <a name="Class_ScrollBar"></a>
  3993. ### ScrollBar : UIElement
  3994. Methods:
  3995. - ScrollBar() (GC)
  3996. - ScrollBar* new()
  3997. - void delete()
  3998. - void SetOrientation(Orientation orientation)
  3999. - void SetRange(float range)
  4000. - void SetValue(float value)
  4001. - void ChangeValue(float delta)
  4002. - void SetScrollStep(float step)
  4003. - void SetStepFactor(float factor)
  4004. - void StepBack()
  4005. - void StepForward()
  4006. - Orientation GetOrientation() const
  4007. - float GetRange() const
  4008. - float GetValue() const
  4009. - float GetScrollStep() const
  4010. - float GetStepFactor() const
  4011. - float GetEffectiveScrollStep() const
  4012. - Button* GetBackButton() const
  4013. - Button* GetForwardButton() const
  4014. - Slider* GetSlider() const
  4015. Properties:
  4016. - Orientation orientation
  4017. - float range
  4018. - float value
  4019. - float scrollStep
  4020. - float stepFactor
  4021. - float effectiveScrollStep (readonly)
  4022. - Button* backButton (readonly)
  4023. - Button* forwardButton (readonly)
  4024. - Slider* slider (readonly)
  4025. <a name="Class_ScrollView"></a>
  4026. ### ScrollView : UIElement
  4027. Methods:
  4028. - ScrollView() (GC)
  4029. - ScrollView* new()
  4030. - void delete()
  4031. - void SetContentElement(UIElement* element)
  4032. - void SetViewPosition(const IntVector2& position)
  4033. - void SetViewPosition(int x, int y)
  4034. - void SetScrollBarsVisible(bool horizontal, bool vertical)
  4035. - void SetScrollBarsAutoVisible(bool enable)
  4036. - void SetScrollStep(float step)
  4037. - void SetPageStep(float step)
  4038. - void SetScrollDeceleration(float deceleration)
  4039. - void SetScrollSnapEpsilon(float snap)
  4040. - const IntVector2& GetViewPosition() const
  4041. - UIElement* GetContentElement() const
  4042. - ScrollBar* GetHorizontalScrollBar() const
  4043. - ScrollBar* GetVerticalScrollBar() const
  4044. - BorderImage* GetScrollPanel() const
  4045. - bool GetScrollBarsAutoVisible() const
  4046. - float GetScrollStep() const
  4047. - float GetPageStep() const
  4048. - float GetScrollDeceleration() const
  4049. - float GetScrollSnapEpsilon() const
  4050. Properties:
  4051. - IntVector2& viewPosition
  4052. - UIElement* contentElement
  4053. - ScrollBar* horizontalScrollBar (readonly)
  4054. - ScrollBar* verticalScrollBar (readonly)
  4055. - BorderImage* scrollPanel (readonly)
  4056. - bool scrollBarsAutoVisible
  4057. - float scrollStep
  4058. - float pageStep
  4059. - float scrollDeceleration
  4060. - float scrollSnapEpsilon
  4061. <a name="Class_Serializable"></a>
  4062. ### Serializable : Object
  4063. Methods:
  4064. - void SetTemporary(bool enable)
  4065. - bool IsTemporary() const
  4066. Properties:
  4067. - bool temporary
  4068. <a name="Class_Serializer"></a>
  4069. ### Serializer
  4070. Methods:
  4071. - unsigned Write(const VectorBuffer& buffer)
  4072. - bool WriteInt(int value)
  4073. - bool WriteShort(short value)
  4074. - bool WriteByte(char value)
  4075. - bool WriteUInt(unsigned value)
  4076. - bool WriteUShort(short value)
  4077. - bool WriteUByte(char value)
  4078. - bool WriteBool(bool value)
  4079. - bool WriteFloat(float value)
  4080. - bool WriteIntRect(const IntRect& value)
  4081. - bool WriteIntVector2(const IntVector2& value)
  4082. - bool WriteRect(const Rect& value)
  4083. - bool WriteVector2(const Vector2& value)
  4084. - bool WriteVector3(const Vector3& value)
  4085. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  4086. - bool WriteVector4(const Vector4& value)
  4087. - bool WriteQuaternion(const Quaternion& value)
  4088. - bool WritePackedQuaternion(const Quaternion& value)
  4089. - bool WriteMatrix3(const Matrix3& value)
  4090. - bool WriteMatrix3x4(const Matrix3x4& value)
  4091. - bool WriteMatrix4(const Matrix4& value)
  4092. - bool WriteColor(const Color& value)
  4093. - bool WriteBoundingBox(const BoundingBox& value)
  4094. - bool WriteString(const String value)
  4095. - bool WriteFileID(const String value)
  4096. - bool WriteStringHash(const StringHash& value)
  4097. - bool WriteBuffer(const VectorBuffer& buffer)
  4098. - bool WriteResourceRef(const ResourceRef& value)
  4099. - bool WriteResourceRefList(const ResourceRefList& value)
  4100. - bool WriteVariant(const Variant& value)
  4101. - bool WriteVariantData(const Variant& value)
  4102. - bool WriteVariantVector(const VariantVector& value)
  4103. - bool WriteVariantMap(const VariantMap& value)
  4104. - bool WriteVLE(unsigned value)
  4105. - bool WriteNetID(unsigned value)
  4106. - bool WriteLine(const String value)
  4107. <a name="Class_Skeleton"></a>
  4108. ### Skeleton
  4109. Methods:
  4110. - unsigned GetNumBones() const
  4111. - Bone* GetRootBone()
  4112. - Bone* GetBone(const String name)
  4113. - Bone* GetBone(unsigned index)
  4114. Properties:
  4115. - unsigned numBones (readonly)
  4116. - Bone* rootBone (readonly)
  4117. <a name="Class_Skybox"></a>
  4118. ### Skybox : StaticModel
  4119. <a name="Class_Slider"></a>
  4120. ### Slider : BorderImage
  4121. Methods:
  4122. - Slider() (GC)
  4123. - Slider* new()
  4124. - void delete()
  4125. - void SetOrientation(Orientation orientation)
  4126. - void SetRange(float range)
  4127. - void SetValue(float value)
  4128. - void ChangeValue(float delta)
  4129. - void SetRepeatRate(float rate)
  4130. - Orientation GetOrientation() const
  4131. - float GetRange() const
  4132. - float GetValue() const
  4133. - BorderImage* GetKnob() const
  4134. - float GetRepeatRate() const
  4135. Properties:
  4136. - Orientation orientation
  4137. - float range
  4138. - float value
  4139. - BorderImage* knob (readonly)
  4140. - float repeatRate
  4141. <a name="Class_Sound"></a>
  4142. ### Sound : Resource
  4143. Methods:
  4144. - Sound() (GC)
  4145. - Sound* new()
  4146. - void delete()
  4147. - bool LoadRaw(Deserializer& source)
  4148. - bool LoadWav(Deserializer& source)
  4149. - bool LoadOggVorbis(Deserializer& source)
  4150. - bool LoadRaw(const String fileName)
  4151. - bool LoadWav(const String fileName)
  4152. - bool LoadOggVorbis(const String fileName)
  4153. - void SetSize(unsigned dataSize)
  4154. - void SetData(const void* data, unsigned dataSize)
  4155. - void SetFormat(unsigned frequency, bool sixteenBit, bool stereo)
  4156. - void SetLooped(bool enable)
  4157. - void SetLoop(unsigned repeatOffset, unsigned endOffset)
  4158. - void FixInterpolation()
  4159. - float GetLength() const
  4160. - unsigned GetDataSize() const
  4161. - unsigned GetSampleSize() const
  4162. - float GetFrequency() const
  4163. - unsigned GetIntFrequency() const
  4164. - bool IsLooped() const
  4165. - bool IsSixteenBit() const
  4166. - bool IsStereo() const
  4167. - bool IsCompressed() const
  4168. Properties:
  4169. - float length (readonly)
  4170. - unsigned dataSize (readonly)
  4171. - unsigned sampleSize (readonly)
  4172. - float frequency (readonly)
  4173. - int intFrequency (readonly)
  4174. - bool looped
  4175. - bool sixteenBit (readonly)
  4176. - bool stereo (readonly)
  4177. - bool compressed (readonly)
  4178. <a name="Class_SoundListener"></a>
  4179. ### SoundListener : Component
  4180. <a name="Class_SoundSource"></a>
  4181. ### SoundSource : Component
  4182. Methods:
  4183. - void Play(Sound* sound)
  4184. - void Play(Sound* sound, float frequency)
  4185. - void Play(Sound* sound, float frequency, float gain)
  4186. - void Play(Sound* sound, float frequency, float gain, float panning)
  4187. - void Stop()
  4188. - void SetSoundType(SoundType type)
  4189. - void SetFrequency(float frequency)
  4190. - void SetGain(float gain)
  4191. - void SetAttenuation(float attenuation)
  4192. - void SetPanning(float panning)
  4193. - void SetAutoRemove(bool enable)
  4194. - Sound* GetSound() const
  4195. - SoundType GetSoundType() const
  4196. - float GetTimePosition() const
  4197. - float GetFrequency() const
  4198. - float GetGain() const
  4199. - float GetAttenuation() const
  4200. - float GetPanning() const
  4201. - bool GetAutoRemove() const
  4202. - bool IsPlaying() const
  4203. Properties:
  4204. - Sound* sound (readonly)
  4205. - SoundType soundType
  4206. - float timePosition (readonly)
  4207. - float frequency
  4208. - float gain
  4209. - float attenuation
  4210. - float panning
  4211. - bool autoRemove
  4212. - bool playing (readonly)
  4213. <a name="Class_SoundSource3D"></a>
  4214. ### SoundSource3D : SoundSource
  4215. Methods:
  4216. - void SetDistanceAttenuation(float nearDistance, float farDistance, float rolloffFactor)
  4217. - void SetAngleAttenuation(float innerAngle, float outerAngle)
  4218. - void SetNearDistance(float distance)
  4219. - void SetFarDistance(float distance)
  4220. - void SetInnerAngle(float angle)
  4221. - void SetOuterAngle(float angle)
  4222. - void SetRolloffFactor(float factor)
  4223. - void CalculateAttenuation()
  4224. - float GetNearDistance() const
  4225. - float GetFarDistance() const
  4226. - float GetInnerAngle() const
  4227. - float GetOuterAngle() const
  4228. - float RollAngleoffFactor() const
  4229. Properties:
  4230. - float nearDistance
  4231. - float farDistance
  4232. - float innerAngle
  4233. - float outerAngle
  4234. - float rolloffFactor
  4235. <a name="Class_Sphere"></a>
  4236. ### Sphere
  4237. Methods:
  4238. - Sphere() (GC)
  4239. - Sphere* new()
  4240. - Sphere(const Sphere& sphere) (GC)
  4241. - Sphere* new(const Sphere& sphere)
  4242. - Sphere(const Vector3& center, float radius) (GC)
  4243. - Sphere* new(const Vector3& center, float radius)
  4244. - Sphere(const BoundingBox& box) (GC)
  4245. - Sphere* new(const BoundingBox& box)
  4246. - Sphere(const Frustum& frustum) (GC)
  4247. - Sphere* new(const Frustum& frustum)
  4248. - Sphere(const Polyhedron& poly) (GC)
  4249. - Sphere* new(const Polyhedron& poly)
  4250. - void delete()
  4251. - bool operator==(const Sphere& rhs) const
  4252. - void Define(const Sphere& sphere)
  4253. - void Define(const Vector3& center, float radius)
  4254. - void Define(const BoundingBox& box)
  4255. - void Define(const Frustum& frustum)
  4256. - void Define(const Polyhedron& poly)
  4257. - void Merge(const Vector3& point)
  4258. - void Merge(const BoundingBox& box)
  4259. - void Merge(const Frustum& frustum)
  4260. - void Merge(const Polyhedron& poly)
  4261. - void Merge(const Sphere& sphere)
  4262. - void Clear()
  4263. - Intersection IsInside(const Vector3& point) const
  4264. - Intersection IsInside(const Sphere& sphere) const
  4265. - Intersection IsInsideFast(const Sphere& sphere) const
  4266. - Intersection IsInside(const BoundingBox& box) const
  4267. - Intersection IsInsideFast(const BoundingBox& box) const
  4268. - float Distance(const Vector3& point) const
  4269. Properties:
  4270. - Vector3 center
  4271. - float radius
  4272. - bool defined
  4273. <a name="Class_Spline"></a>
  4274. ### Spline
  4275. Methods:
  4276. - Spline() (GC)
  4277. - Spline* new()
  4278. - Spline(InterpolationMode mode) (GC)
  4279. - Spline* new(InterpolationMode mode)
  4280. - Spline(const Spline& rhs) (GC)
  4281. - Spline* new(const Spline& rhs)
  4282. - void delete()
  4283. - bool operator==(const Spline& rhs) const
  4284. - Variant GetPoint(float f) const
  4285. - Variant GetKnot(unsigned index) const
  4286. - void SetKnot(const Variant& knot, unsigned tolua_var_1)
  4287. - void AddKnot(const Variant& knot)
  4288. - void AddKnot(const Variant& knot, unsigned index)
  4289. - void RemoveKnot()
  4290. - void RemoveKnot(unsigned index)
  4291. - void Clear()
  4292. Properties:
  4293. - InterpolationMode interpolationMode
  4294. <a name="Class_SplinePath"></a>
  4295. ### SplinePath : Component
  4296. Methods:
  4297. - void AddControlPoint(Node* point, unsigned index = M_MAX_UNSIGNED)
  4298. - void RemoveControlPoint(Node* point)
  4299. - void ClearControlPoints()
  4300. - Vector3 GetPoint(float factor) const
  4301. - InterpolationMode GetInterpolationMode() const
  4302. - Vector3 GetPosition() const
  4303. - void SetInterpolationMode(InterpolationMode mode)
  4304. - void SetPosition(float factor)
  4305. - void Move(float timeStep)
  4306. - void Reset()
  4307. - bool IsFinished() const
  4308. Properties:
  4309. - float speed
  4310. - Node* controlledNode
  4311. <a name="Class_Sprite"></a>
  4312. ### Sprite : UIElement
  4313. Methods:
  4314. - Sprite() (GC)
  4315. - Sprite* new()
  4316. - void delete()
  4317. - void SetPosition(const Vector2& position)
  4318. - void SetPosition(float x, float y)
  4319. - void SetHotSpot(const IntVector2& hotSpot)
  4320. - void SetHotSpot(int x, int y)
  4321. - void SetScale(const Vector2& scale)
  4322. - void SetScale(float x, float y)
  4323. - void SetScale(float scale)
  4324. - void SetRotation(float angle)
  4325. - void SetTexture(Texture* texture)
  4326. - void SetImageRect(const IntRect& rect)
  4327. - void SetFullImageRect()
  4328. - void SetBlendMode(BlendMode mode)
  4329. - const Vector2& GetPosition() const
  4330. - const IntVector2& GetHotSpot() const
  4331. - const Vector2& GetScale() const
  4332. - float GetRotation() const
  4333. - Texture* GetTexture() const
  4334. - const IntRect& GetImageRect() const
  4335. - BlendMode GetBlendMode() const
  4336. - const Matrix3x4& GetTransform() const
  4337. Properties:
  4338. - Vector2& position
  4339. - IntVector2& hotSpot
  4340. - Vector2& scale
  4341. - float rotation
  4342. - Texture* texture
  4343. - IntRect& imageRect
  4344. - BlendMode blendMode
  4345. - Matrix3x4& transform (readonly)
  4346. <a name="Class_Sprite2D"></a>
  4347. ### Sprite2D : Resource
  4348. Methods:
  4349. - void SetTexture(Texture2D* texture)
  4350. - void SetRectangle(const IntRect& rectangle)
  4351. - void SetHotSpot(const Vector2& hotSpot)
  4352. - void SetOffset(const IntVector2& offset)
  4353. - void SetSpriteSheet(SpriteSheet2D* spriteSheet)
  4354. - Texture2D* GetTexture() const
  4355. - const IntRect& GetRectangle() const
  4356. - const Vector2& GetHotSpot() const
  4357. - const IntVector2& GetOffset() const
  4358. - SpriteSheet2D* GetSpriteSheet() const
  4359. Properties:
  4360. - Texture2D* texture
  4361. - IntRect rectangle
  4362. - Vector2 hotSpot
  4363. - IntVector2 offset
  4364. - SpriteSheet2D* spriteSheet
  4365. <a name="Class_SpriteSheet2D"></a>
  4366. ### SpriteSheet2D : Resource
  4367. Methods:
  4368. - Texture2D* GetTexture() const
  4369. - Sprite2D* GetSprite(const String name) const
  4370. - void DefineSprite(const String name, const IntRect& rectangle)
  4371. - void DefineSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot)
  4372. - void DefineSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot, const IntVector2& originSize)
  4373. <a name="Class_StaticModel"></a>
  4374. ### StaticModel : Drawable
  4375. Methods:
  4376. - void SetModel(Model* model)
  4377. - void SetMaterial(Material* material)
  4378. - bool SetMaterial(unsigned index, Material* material)
  4379. - void SetOcclusionLodLevel(unsigned level)
  4380. - void ApplyMaterialList(const String fileName = String::EMPTY)
  4381. - Model* GetModel() const
  4382. - unsigned GetNumGeometries() const
  4383. - Material* GetMaterial(unsigned index = 0) const
  4384. - unsigned GetOcclusionLodLevel() const
  4385. - bool IsInside(const Vector3& point) const
  4386. - bool IsInsideLocal(const Vector3& point) const
  4387. Properties:
  4388. - Model* model
  4389. - Material* material
  4390. - BoundingBox& boundingBox (readonly)
  4391. - unsigned numGeometries (readonly)
  4392. - unsigned occlusionLodLevel
  4393. <a name="Class_StaticModelGroup"></a>
  4394. ### StaticModelGroup : StaticModel
  4395. Methods:
  4396. - void AddInstanceNode(Node* node)
  4397. - void RemoveInstanceNode(Node* node)
  4398. - void RemoveAllInstanceNodes()
  4399. - unsigned GetNumInstanceNodes() const
  4400. - Node* GetInstanceNode(unsigned index) const
  4401. Properties:
  4402. - unsigned numInstanceNodes (readonly)
  4403. <a name="Class_StaticSprite2D"></a>
  4404. ### StaticSprite2D : Drawable2D
  4405. Methods:
  4406. - void SetFlip(bool flipX, bool flipY)
  4407. - void SetFlipX(bool flipX)
  4408. - void SetFlipY(bool flipY)
  4409. - void SetColor(const Color& color)
  4410. - bool GetFlipX() const
  4411. - bool GetFlipY() const
  4412. - const Color& GetColor() const
  4413. Properties:
  4414. - bool flipX
  4415. - bool flipY
  4416. - Color& color
  4417. <a name="Class_StringHash"></a>
  4418. ### StringHash
  4419. Methods:
  4420. - StringHash() (GC)
  4421. - StringHash* new()
  4422. - StringHash(const StringHash& rhs) (GC)
  4423. - StringHash* new(const StringHash& rhs)
  4424. - StringHash(unsigned value) (GC)
  4425. - StringHash* new(unsigned value)
  4426. - StringHash(const String str) (GC)
  4427. - StringHash* new(const String str)
  4428. - void delete()
  4429. - StringHash operator+(const StringHash& rhs) const
  4430. - bool operator==(const StringHash& rhs) const
  4431. - bool operator<(const StringHash& rhs) const
  4432. - bool operatorbool() const
  4433. - unsigned Value() const
  4434. - String ToString() const
  4435. - unsigned ToHash() const
  4436. - unsigned Calculate(const char* str)
  4437. Properties:
  4438. - const StringHash ZERO
  4439. - unsigned value (readonly)
  4440. <a name="Class_Technique"></a>
  4441. ### Technique : Resource
  4442. Methods:
  4443. - bool HasPass(const String type) const
  4444. - Pass* GetPass(const String type) const
  4445. - bool IsSM3() const
  4446. Properties:
  4447. - bool SM3 (readonly)
  4448. <a name="Class_Terrain"></a>
  4449. ### Terrain : Component
  4450. Methods:
  4451. - void SetPatchSize(int size)
  4452. - void SetSpacing(const Vector3& spacing)
  4453. - void SetSmoothing(bool enable)
  4454. - bool SetHeightMap(Image* image)
  4455. - void SetMaterial(Material* material)
  4456. - void SetDrawDistance(float distance)
  4457. - void SetShadowDistance(float distance)
  4458. - void SetLodBias(float bias)
  4459. - void SetViewMask(unsigned mask)
  4460. - void SetLightMask(unsigned mask)
  4461. - void SetShadowMask(unsigned mask)
  4462. - void SetZoneMask(unsigned mask)
  4463. - void SetMaxLights(unsigned num)
  4464. - void SetCastShadows(bool enable)
  4465. - void SetOccluder(bool enable)
  4466. - void SetOccludee(bool enable)
  4467. - void ApplyHeightMap()
  4468. - int GetPatchSize() const
  4469. - const Vector3& GetSpacing() const
  4470. - const IntVector2& GetNumVertices() const
  4471. - const IntVector2& GetNumPatches() const
  4472. - bool GetSmoothing() const
  4473. - Image* GetHeightMap() const
  4474. - Material* GetMaterial() const
  4475. - TerrainPatch* GetPatch(unsigned index) const
  4476. - TerrainPatch* GetPatch(int x, int z) const
  4477. - float GetHeight(const Vector3& worldPosition) const
  4478. - Vector3 GetNormal(const Vector3& worldPosition) const
  4479. - IntVector2 WorldToHeightMap(const Vector3& worldPosition) const
  4480. - SharedArrayPtr<float> GetHeightData() const
  4481. - float GetDrawDistance() const
  4482. - float GetShadowDistance() const
  4483. - float GetLodBias() const
  4484. - unsigned GetViewMask() const
  4485. - unsigned GetLightMask() const
  4486. - unsigned GetShadowMask() const
  4487. - unsigned GetZoneMask() const
  4488. - unsigned GetMaxLights() const
  4489. - bool IsVisible() const
  4490. - bool GetCastShadows() const
  4491. - bool IsOccluder() const
  4492. - bool IsOccludee() const
  4493. Properties:
  4494. - int patchSize
  4495. - Vector3& spacing
  4496. - IntVector2& numVertices (readonly)
  4497. - IntVector2& numPatches (readonly)
  4498. - bool smoothing
  4499. - Image* heightMap
  4500. - Material* material
  4501. - float drawDistance
  4502. - float shadowDistance
  4503. - float lodBias
  4504. - unsigned viewMask
  4505. - unsigned lightMask
  4506. - unsigned shadowMask
  4507. - unsigned zoneMask
  4508. - unsigned maxLights
  4509. - bool visible (readonly)
  4510. - bool castShadows
  4511. - bool occluder
  4512. - bool occludee
  4513. <a name="Class_TerrainPatch"></a>
  4514. ### TerrainPatch : Drawable
  4515. Methods:
  4516. - void SetOwner(Terrain* terrain)
  4517. - void SetNeighbors(TerrainPatch* north, TerrainPatch* south, TerrainPatch* west, TerrainPatch* east)
  4518. - void SetMaterial(Material* material)
  4519. - void SetBoundingBox(const BoundingBox& box)
  4520. - void SetCoordinates(const IntVector2& coordinates)
  4521. - void SetOcclusionOffset(float offset)
  4522. - void ResetLod()
  4523. - Geometry* GetGeometry() const
  4524. - Geometry* GetMaxLodGeometry() const
  4525. - Geometry* GetMinLodGeometry() const
  4526. - VertexBuffer* GetVertexBuffer() const
  4527. - Terrain* GetOwner() const
  4528. - TerrainPatch* GetNorthPatch() const
  4529. - TerrainPatch* GetSouthPatch() const
  4530. - TerrainPatch* GetWestPatch() const
  4531. - TerrainPatch* GetEastPatch() const
  4532. - const IntVector2& GetCoordinates() const
  4533. - unsigned GetLodLevel() const
  4534. - float GetOcclusionOffset() const
  4535. Properties:
  4536. - Geometry* geometry (readonly)
  4537. - Geometry* maxLodGeometry (readonly)
  4538. - Geometry* minLodGeometry (readonly)
  4539. - VertexBuffer* vertexBuffer (readonly)
  4540. - Terrain* owner
  4541. - TerrainPatch* northPatch (readonly)
  4542. - TerrainPatch* southPatch (readonly)
  4543. - TerrainPatch* westPatch (readonly)
  4544. - TerrainPatch* eastPatch (readonly)
  4545. - BoundingBox& boundingBox
  4546. - IntVector2& coordinates
  4547. - unsigned lodLevel (readonly)
  4548. - float occlusionOffset
  4549. <a name="Class_Text"></a>
  4550. ### Text : UIElement
  4551. Methods:
  4552. - Text() (GC)
  4553. - Text* new()
  4554. - void delete()
  4555. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  4556. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  4557. - void SetText(const String text)
  4558. - void SetTextAlignment(HorizontalAlignment align)
  4559. - void SetRowSpacing(float spacing)
  4560. - void SetWordwrap(bool enable)
  4561. - void SetSelection(unsigned start, unsigned length = M_MAX_UNSIGNED)
  4562. - void ClearSelection()
  4563. - void SetSelectionColor(const Color& color)
  4564. - void SetHoverColor(const Color& color)
  4565. - void SetTextEffect(TextEffect textEffect)
  4566. - void SetEffectColor(const Color& effectColor)
  4567. - Font* GetFont() const
  4568. - int GetFontSize() const
  4569. - const String GetText() const
  4570. - HorizontalAlignment GetTextAlignment() const
  4571. - float GetRowSpacing() const
  4572. - bool GetWordwrap() const
  4573. - unsigned GetSelectionStart() const
  4574. - unsigned GetSelectionLength() const
  4575. - const Color& GetSelectionColor() const
  4576. - const Color& GetHoverColor() const
  4577. - TextEffect GetTextEffect() const
  4578. - const Color& GetEffectColor() const
  4579. - int GetRowHeight() const
  4580. - unsigned GetNumRows() const
  4581. - unsigned GetNumChars() const
  4582. - int GetRowWidth(unsigned index) const
  4583. - IntVector2 GetCharPosition(unsigned index)
  4584. - IntVector2 GetCharSize(unsigned index)
  4585. - void SetEffectDepthBias(float bias)
  4586. - float GetEffectDepthBias() const
  4587. Properties:
  4588. - Font* font
  4589. - int fontSize (readonly)
  4590. - String text
  4591. - HorizontalAlignment textAlignment
  4592. - float rowSpacing
  4593. - bool wordwrap
  4594. - unsigned selectionStart (readonly)
  4595. - unsigned selectionLength (readonly)
  4596. - Color& selectionColor
  4597. - Color& hoverColor
  4598. - TextEffect textEffect
  4599. - Color& effectColor
  4600. - int rowHeight (readonly)
  4601. - unsigned numRows (readonly)
  4602. - unsigned numChars (readonly)
  4603. <a name="Class_Text3D"></a>
  4604. ### Text3D : Drawable
  4605. Methods:
  4606. - Text3D() (GC)
  4607. - Text3D* new()
  4608. - void delete()
  4609. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  4610. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  4611. - void SetMaterial(Material* material)
  4612. - void SetText(const String text)
  4613. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4614. - void SetHorizontalAlignment(HorizontalAlignment align)
  4615. - void SetVerticalAlignment(VerticalAlignment align)
  4616. - void SetTextAlignment(HorizontalAlignment align)
  4617. - void SetRowSpacing(float spacing)
  4618. - void SetWordwrap(bool enable)
  4619. - void SetTextEffect(TextEffect textEffect)
  4620. - void SetEffectColor(const Color& effectColor)
  4621. - void SetEffectDepthBias(float bias)
  4622. - void SetWidth(int width)
  4623. - void SetColor(const Color& color)
  4624. - void SetColor(Corner corner, const Color& color)
  4625. - void SetOpacity(float opacity)
  4626. - void SetFaceCameraMode(FaceCameraMode mode)
  4627. - Font* GetFont() const
  4628. - Material* GetMaterial() const
  4629. - int GetFontSize() const
  4630. - const String GetText() const
  4631. - HorizontalAlignment GetTextAlignment() const
  4632. - HorizontalAlignment GetHorizontalAlignment() const
  4633. - VerticalAlignment GetVerticalAlignment() const
  4634. - float GetRowSpacing() const
  4635. - bool GetWordwrap() const
  4636. - TextEffect GetTextEffect() const
  4637. - const Color& GetEffectColor() const
  4638. - float GetEffectDepthBias() const
  4639. - int GetWidth() const
  4640. - int GetRowHeight() const
  4641. - unsigned GetNumRows() const
  4642. - unsigned GetNumChars() const
  4643. - int GetRowWidth(unsigned index) const
  4644. - IntVector2 GetCharPosition(unsigned index)
  4645. - IntVector2 GetCharSize(unsigned index)
  4646. - const Color& GetColor(Corner corner) const
  4647. - float GetOpacity() const
  4648. - FaceCameraMode GetFaceCameraMode() const
  4649. Properties:
  4650. - Font* font
  4651. - Material* material
  4652. - int fontSize (readonly)
  4653. - String text
  4654. - HorizontalAlignment textAlignment
  4655. - HorizontalAlignment horizontalAlignment
  4656. - VerticalAlignment verticalAlignment
  4657. - float rowSpacing
  4658. - bool wordwrap
  4659. - TextEffect textEffect
  4660. - Color& effectColor
  4661. - float effectDepthBias
  4662. - int width
  4663. - Color& color
  4664. - int rowHeight (readonly)
  4665. - unsigned numRows (readonly)
  4666. - unsigned numChars (readonly)
  4667. - float opacity
  4668. - FaceCameraMode faceCameraMode
  4669. <a name="Class_Texture"></a>
  4670. ### Texture : Resource
  4671. Methods:
  4672. - void SetNumLevels(unsigned levels)
  4673. - void SetFilterMode(TextureFilterMode filter)
  4674. - void SetAddressMode(TextureCoordinate coord, TextureAddressMode address)
  4675. - void SetBorderColor(const Color& color)
  4676. - void SetSRGB(bool enable)
  4677. - void SetBackupTexture(Texture* texture)
  4678. - void SetMipsToSkip(int quality, int mips)
  4679. - unsigned GetFormat() const
  4680. - bool IsCompressed() const
  4681. - unsigned GetLevels() const
  4682. - int GetWidth() const
  4683. - int GetHeight() const
  4684. - TextureFilterMode GetFilterMode() const
  4685. - TextureAddressMode GetAddressMode(TextureCoordinate coord) const
  4686. - const Color& GetBorderColor() const
  4687. - bool GetSRGB() const
  4688. - Texture* GetBackupTexture() const
  4689. - int GetMipsToSkip(int quality) const
  4690. - int GetLevelWidth(unsigned level) const
  4691. - int GetLevelHeight(unsigned level) const
  4692. - TextureUsage GetUsage() const
  4693. - unsigned GetDataSize(int width, int height) const
  4694. - unsigned GetRowDataSize(int width) const
  4695. Properties:
  4696. - unsigned format (readonly)
  4697. - bool compressed (readonly)
  4698. - unsigned levels (readonly)
  4699. - int width (readonly)
  4700. - int height (readonly)
  4701. - TextureFilterMode filterMode
  4702. - Color& borderColor
  4703. - bool sRGB
  4704. - Texture* backupTexture
  4705. - TextureUsage usage (readonly)
  4706. <a name="Class_Texture2D"></a>
  4707. ### Texture2D : Texture
  4708. Methods:
  4709. - Texture2D() (GC)
  4710. - Texture2D* new()
  4711. - void delete()
  4712. - bool SetSize(int width, int height, unsigned format, TextureUsage usage = TEXTURE_STATIC)
  4713. - bool SetData(Image* image, bool useAlpha = false)
  4714. - RenderSurface* GetRenderSurface() const
  4715. Properties:
  4716. - RenderSurface* renderSurface (readonly)
  4717. <a name="Class_TextureCube"></a>
  4718. ### TextureCube : Texture
  4719. Methods:
  4720. - RenderSurface* GetRenderSurface(CubeMapFace face) const
  4721. <a name="Class_TextureFrame"></a>
  4722. ### TextureFrame
  4723. Methods:
  4724. - TextureFrame() (GC)
  4725. - TextureFrame* new()
  4726. - void delete()
  4727. Properties:
  4728. - Rect uv
  4729. - float time
  4730. <a name="Class_Tile2D"></a>
  4731. ### Tile2D
  4732. Methods:
  4733. - int GetGid() const
  4734. - Sprite2D* GetSprite() const
  4735. - bool HasProperty(const String name) const
  4736. - const String GetProperty(const String name) const
  4737. Properties:
  4738. - int gid (readonly)
  4739. - Sprite2D* sprite (readonly)
  4740. <a name="Class_TileMap2D"></a>
  4741. ### TileMap2D : Component
  4742. Methods:
  4743. - void SetTmxFile(TmxFile2D* tmxFile)
  4744. - TmxFile2D* GetTmxFile() const
  4745. - const TileMapInfo2D& GetInfo() const
  4746. - unsigned GetNumLayers() const
  4747. - TileMapLayer2D* GetLayer(unsigned index) const
  4748. - Vector2 TileIndexToPosition(int x, int y) const
  4749. - bool PositionToTileIndex(const Vector2& position, int x = 0, int y = 0) const
  4750. Properties:
  4751. - TmxFile2D* tmxFile
  4752. - TileMapInfo2D& info (readonly)
  4753. - unsigned numLayers (readonly)
  4754. <a name="Class_TileMapInfo2D"></a>
  4755. ### TileMapInfo2D
  4756. Methods:
  4757. - float GetMapWidth() const
  4758. - float GetMapHeight() const
  4759. Properties:
  4760. - Orientation2D orientation
  4761. - int width
  4762. - int height
  4763. - float tileWidth
  4764. - float tileHeight
  4765. - float mapWidth (readonly)
  4766. - float mapHeight (readonly)
  4767. <a name="Class_TileMapLayer2D"></a>
  4768. ### TileMapLayer2D : Component
  4769. Methods:
  4770. - void SetDrawOrder(int drawOrder)
  4771. - void SetVisible(bool visible)
  4772. - int GetDrawOrder() const
  4773. - bool IsVisible() const
  4774. - bool HasProperty(const String name) const
  4775. - const String GetProperty(const String name) const
  4776. - TileMapLayerType2D GetLayerType() const
  4777. - int GetWidth() const
  4778. - int GetHeight() const
  4779. - Node* GetTileNode(int x, int y) const
  4780. - Tile2D* GetTile(int x, int y) const
  4781. - unsigned GetNumObjects() const
  4782. - TileMapObject2D* GetObject(unsigned index) const
  4783. - Node* GetObjectNode(unsigned index) const
  4784. - Node* GetImageNode() const
  4785. Properties:
  4786. - int drawOrder (readonly)
  4787. - bool visible (readonly)
  4788. - TileMapLayerType2D layerType (readonly)
  4789. - int width (readonly)
  4790. - int height (readonly)
  4791. - unsigned numObjects (readonly)
  4792. - Node* imageNode (readonly)
  4793. <a name="Class_TileMapObject2D"></a>
  4794. ### TileMapObject2D
  4795. Methods:
  4796. - TileMapObjectType2D GetObjectType() const
  4797. - const String GetName() const
  4798. - const String GetType() const
  4799. - const Vector2& GetPosition() const
  4800. - const Vector2& GetSize() const
  4801. - unsigned GetNumPoints() const
  4802. - const Vector2& GetPoint(unsigned index) const
  4803. - int GetTileGid() const
  4804. - Sprite2D* GetTileSprite() const
  4805. - bool HasProperty(const String name) const
  4806. - const String GetProperty(const String name) const
  4807. Properties:
  4808. - TileMapObjectType2D objectType (readonly)
  4809. - String name (readonly)
  4810. - String type (readonly)
  4811. - Vector2 position (readonly)
  4812. - Vector2 size (readonly)
  4813. - unsigned numPoints (readonly)
  4814. - int tileGid (readonly)
  4815. - Sprite2D* tileSprite (readonly)
  4816. <a name="Class_Time"></a>
  4817. ### Time : Object
  4818. Methods:
  4819. - unsigned GetFrameNumber() const
  4820. - float GetTimeStep() const
  4821. - unsigned GetTimerPeriod() const
  4822. - float GetElapsedTime()
  4823. - unsigned GetSystemTime()
  4824. - String GetTimeStamp()
  4825. - void Sleep(unsigned mSec)
  4826. Properties:
  4827. - unsigned frameNumber (readonly)
  4828. - float timeStep (readonly)
  4829. - unsigned timerPeriod (readonly)
  4830. - float elapsedTime (readonly)
  4831. <a name="Class_TmxFile2D"></a>
  4832. ### TmxFile2D : Resource
  4833. <a name="Class_ToolTip"></a>
  4834. ### ToolTip : UIElement
  4835. Methods:
  4836. - ToolTip() (GC)
  4837. - ToolTip* new()
  4838. - void delete()
  4839. - void SetDelay(float delay)
  4840. - float GetDelay() const
  4841. Properties:
  4842. - float delay
  4843. <a name="Class_TouchState"></a>
  4844. ### TouchState
  4845. Methods:
  4846. - UIElement* GetTouchedElement()
  4847. Properties:
  4848. - int touchID
  4849. - IntVector2 position
  4850. - IntVector2 lastPosition
  4851. - IntVector2 delta
  4852. - float pressure
  4853. - UIElement* touchedElement (readonly)
  4854. <a name="Class_UI"></a>
  4855. ### UI : Object
  4856. Methods:
  4857. - void SetCursor(Cursor* cursor)
  4858. - void SetFocusElement(UIElement* element, bool byKey = false)
  4859. - bool SetModalElement(UIElement* modalElement, bool enable)
  4860. - void Clear()
  4861. - void Update(float timeStep)
  4862. - void RenderUpdate()
  4863. - void Render()
  4864. - void DebugDraw(UIElement* element)
  4865. - UIElement* LoadLayout(File* source, XMLFile* styleFile = 0)
  4866. - UIElement* LoadLayout(const String fileName, XMLFile* styleFile = 0)
  4867. - UIElement* LoadLayout(XMLFile* file, XMLFile* styleFile = 0)
  4868. - bool SaveLayout(Serializer& dest, UIElement* element)
  4869. - void SetClipboardText(const String text)
  4870. - void SetDoubleClickInterval(float interval)
  4871. - void SetDragBeginInterval(float interval)
  4872. - void SetDragBeginDistance(int pixels)
  4873. - void SetDefaultToolTipDelay(float delay)
  4874. - void SetMaxFontTextureSize(int size)
  4875. - void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel)
  4876. - void SetUseSystemClipboard(bool enable)
  4877. - void SetUseScreenKeyboard(bool enable)
  4878. - void SetUseMutableGlyphs(bool enable)
  4879. - void SetForceAutoHint(bool enable)
  4880. - UIElement* GetRoot() const
  4881. - UIElement* GetRootModalElement() const
  4882. - Cursor* GetCursor() const
  4883. - IntVector2 GetCursorPosition() const
  4884. - UIElement* GetElementAt(const IntVector2& position, bool enabledOnly = true)
  4885. - UIElement* GetElementAt(int x, int y, bool enabledOnly = true)
  4886. - UIElement* GetFocusElement() const
  4887. - UIElement* GetFrontElement() const
  4888. - UIElement* GetDragElement() const
  4889. - const String GetClipboardText() const
  4890. - float GetDoubleClickInterval() const
  4891. - float GetDragBeginInterval() const
  4892. - int GetDragBeginDistance() const
  4893. - float GetDefaultToolTipDelay() const
  4894. - int GetMaxFontTextureSize() const
  4895. - bool IsNonFocusedMouseWheel() const
  4896. - bool GetUseSystemClipboard() const
  4897. - bool GetUseScreenKeyboard() const
  4898. - bool GetUseMutableGlyphs() const
  4899. - bool GetForceAutoHint() const
  4900. - bool HasModalElement() const
  4901. Properties:
  4902. - UIElement* root (readonly)
  4903. - UIElement* rootModalElement (readonly)
  4904. - Cursor* cursor
  4905. - IntVector2 cursorPosition (readonly)
  4906. - UIElement* focusElement (readonly)
  4907. - UIElement* frontElement (readonly)
  4908. - UIElement* dragElement (readonly)
  4909. - String clipboardText
  4910. - float doubleClickInterval
  4911. - float dragBeginInterval
  4912. - int dragBeginDistance
  4913. - float defaultToolTipDelay
  4914. - int maxFontTextureSize
  4915. - bool nonFocusedMouseWheel
  4916. - bool useSystemClipboard
  4917. - bool useScreenKeyboard
  4918. - bool useMutableGlyphs
  4919. - bool forceAutoHint
  4920. - bool modalElement (readonly)
  4921. <a name="Class_UIElement"></a>
  4922. ### UIElement : Animatable
  4923. Methods:
  4924. - UIElement() (GC)
  4925. - UIElement* new()
  4926. - void delete()
  4927. - const IntVector2& GetScreenPosition() const
  4928. - bool LoadXML(Deserializer& source)
  4929. - bool SaveXML(Serializer& dest) const
  4930. - bool LoadXML(const String fileName)
  4931. - bool SaveXML(const String fileName) const
  4932. - bool FilterAttributes(XMLElement& dest) const
  4933. - void SetName(const String name)
  4934. - void SetPosition(const IntVector2& position)
  4935. - void SetPosition(int x, int y)
  4936. - void SetSize(const IntVector2& size)
  4937. - void SetSize(int width, int height)
  4938. - void SetWidth(int width)
  4939. - void SetHeight(int height)
  4940. - void SetMinSize(const IntVector2& minSize)
  4941. - void SetMinSize(int width, int height)
  4942. - void SetMinWidth(int width)
  4943. - void SetMinHeight(int height)
  4944. - void SetMaxSize(const IntVector2& maxSize)
  4945. - void SetMaxSize(int width, int height)
  4946. - void SetMaxWidth(int width)
  4947. - void SetMaxHeight(int height)
  4948. - void SetFixedSize(const IntVector2& size)
  4949. - void SetFixedSize(int width, int height)
  4950. - void SetFixedWidth(int width)
  4951. - void SetFixedHeight(int height)
  4952. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4953. - void SetHorizontalAlignment(HorizontalAlignment align)
  4954. - void SetVerticalAlignment(VerticalAlignment align)
  4955. - void SetClipBorder(const IntRect& rect)
  4956. - void SetColor(const Color& color)
  4957. - void SetColor(Corner corner, const Color& color)
  4958. - void SetPriority(int priority)
  4959. - void SetOpacity(float opacity)
  4960. - void SetBringToFront(bool enable)
  4961. - void SetBringToBack(bool enable)
  4962. - void SetClipChildren(bool enable)
  4963. - void SetSortChildren(bool enable)
  4964. - void SetUseDerivedOpacity(bool enable)
  4965. - void SetEnabled(bool enable)
  4966. - void SetDeepEnabled(bool enable)
  4967. - void ResetDeepEnabled()
  4968. - void SetEnabledRecursive(bool enable)
  4969. - void SetEditable(bool enable)
  4970. - void SetFocus(bool enable)
  4971. - void SetSelected(bool enable)
  4972. - void SetVisible(bool enable)
  4973. - void SetFocusMode(FocusMode mode)
  4974. - void SetDragDropMode(unsigned mode)
  4975. - bool SetStyle(const String styleName, XMLFile* file = 0)
  4976. - bool SetStyle(const XMLElement& element)
  4977. - bool SetStyleAuto(XMLFile* file = 0)
  4978. - void SetDefaultStyle(XMLFile* style)
  4979. - void SetLayout(LayoutMode mode, int spacing = 0)
  4980. - void SetLayout(LayoutMode mode, int spacing, const IntRect& border)
  4981. - void SetLayoutMode(LayoutMode mode)
  4982. - void SetLayoutSpacing(int spacing)
  4983. - void SetLayoutBorder(const IntRect& border)
  4984. - void SetIndent(int indent)
  4985. - void SetIndentSpacing(int indentSpacing)
  4986. - void UpdateLayout()
  4987. - void DisableLayoutUpdate()
  4988. - void EnableLayoutUpdate()
  4989. - void BringToFront()
  4990. - UIElement* CreateChild(const String type, const String name = String::EMPTY, unsigned index = M_MAX_UNSIGNED)
  4991. - void AddChild(UIElement* element)
  4992. - void InsertChild(unsigned index, UIElement* element)
  4993. - void RemoveChild(UIElement* element, unsigned index = 0)
  4994. - void RemoveChildAtIndex(unsigned index)
  4995. - void RemoveAllChildren()
  4996. - void Remove()
  4997. - unsigned FindChild(UIElement* element) const
  4998. - void SetParent(UIElement* parent, unsigned index = M_MAX_UNSIGNED)
  4999. - void SetVar(StringHash key, const Variant& value)
  5000. - void SetInternal(bool enable)
  5001. - void SetTraversalMode(TraversalMode traversalMode)
  5002. - void SetElementEventSender(bool flag)
  5003. - const String GetName() const
  5004. - const IntVector2& GetPosition() const
  5005. - const IntVector2& GetSize() const
  5006. - int GetWidth() const
  5007. - int GetHeight() const
  5008. - const IntVector2& GetMinSize() const
  5009. - int GetMinWidth() const
  5010. - int GetMinHeight() const
  5011. - const IntVector2& GetMaxSize() const
  5012. - int GetMaxWidth() const
  5013. - int GetMaxHeight() const
  5014. - bool IsFixedSize() const
  5015. - bool IsFixedWidth() const
  5016. - bool IsFixedHeight() const
  5017. - const IntVector2& GetChildOffset() const
  5018. - HorizontalAlignment GetHorizontalAlignment() const
  5019. - VerticalAlignment GetVerticalAlignment() const
  5020. - const IntRect& GetClipBorder() const
  5021. - const Color& GetColor(Corner corner) const
  5022. - int GetPriority() const
  5023. - float GetOpacity() const
  5024. - float GetDerivedOpacity() const
  5025. - bool GetBringToFront() const
  5026. - bool GetBringToBack() const
  5027. - bool GetClipChildren() const
  5028. - bool GetSortChildren() const
  5029. - bool GetUseDerivedOpacity() const
  5030. - bool HasFocus() const
  5031. - bool IsEnabled() const
  5032. - bool IsEnabledSelf() const
  5033. - bool IsEditable() const
  5034. - bool IsSelected() const
  5035. - bool IsVisible() const
  5036. - bool IsHovering() const
  5037. - bool IsInternal() const
  5038. - bool HasColorGradient() const
  5039. - FocusMode GetFocusMode() const
  5040. - unsigned GetDragDropMode() const
  5041. - const String GetAppliedStyle() const
  5042. - XMLFile* GetDefaultStyle(bool recursiveUp = true) const
  5043. - LayoutMode GetLayoutMode() const
  5044. - int GetLayoutSpacing() const
  5045. - const IntRect& GetLayoutBorder() const
  5046. - unsigned GetNumChildren(bool recursive = false) const
  5047. - UIElement* GetChild(const String name, bool recursive = false) const
  5048. - UIElement* GetChild(unsigned index) const
  5049. - UIElement* GetParent() const
  5050. - UIElement* GetRoot() const
  5051. - const Color& GetDerivedColor() const
  5052. - const Variant& GetVar(StringHash key) const
  5053. - const VariantMap& GetVars() const
  5054. - IntVector2 ScreenToElement(const IntVector2& screenPosition)
  5055. - IntVector2 ElementToScreen(const IntVector2& position)
  5056. - bool IsInside(IntVector2 position, bool isScreen)
  5057. - bool IsInsideCombined(IntVector2 position, bool isScreen)
  5058. - IntRect GetCombinedScreenRect()
  5059. - void SortChildren()
  5060. - int GetLayoutMinSize() const
  5061. - int GetIndent() const
  5062. - int GetIndentSpacing() const
  5063. - int GetIndentWidth() const
  5064. - void SetChildOffset(const IntVector2& offset)
  5065. - void SetHovering(bool enable)
  5066. - const Color& GetColor() const
  5067. - TraversalMode GetTraversalMode() const
  5068. - bool IsElementEventSender() const
  5069. - UIElement* GetElementEventSender() const
  5070. Properties:
  5071. - IntVector2& screenPosition (readonly)
  5072. - String name
  5073. - IntVector2& position
  5074. - IntVector2 size
  5075. - int width
  5076. - int height
  5077. - IntVector2 minSize
  5078. - int minWidth
  5079. - int minHeight
  5080. - IntVector2 maxSize
  5081. - int maxWidth
  5082. - int maxHeight
  5083. - bool fixedSize (readonly)
  5084. - bool fixedWidth (readonly)
  5085. - bool fixedHeight (readonly)
  5086. - IntVector2& childOffset
  5087. - HorizontalAlignment horizontalAlignment
  5088. - VerticalAlignment verticalAlignment
  5089. - IntRect clipBorder
  5090. - Color& color
  5091. - int priority
  5092. - float opacity
  5093. - float derivedOpacity (readonly)
  5094. - bool bringToFront
  5095. - bool bringToBack
  5096. - bool clipChildren
  5097. - bool sortChildren
  5098. - bool useDerivedOpacity
  5099. - bool focus
  5100. - bool enabled
  5101. - bool enabledSelf (readonly)
  5102. - bool editable
  5103. - bool selected
  5104. - bool visible
  5105. - bool hovering
  5106. - bool internal
  5107. - bool colorGradient (readonly)
  5108. - FocusMode focusMode
  5109. - unsigned dragDropMode
  5110. - String style
  5111. - XMLFile* defaultStyle
  5112. - LayoutMode layoutMode
  5113. - int layoutSpacing
  5114. - IntRect& layoutBorder
  5115. - unsigned numChildren (readonly)
  5116. - UIElement* parent
  5117. - UIElement* root (readonly)
  5118. - Color& derivedColor (readonly)
  5119. - IntRect combinedScreenRect (readonly)
  5120. - int layoutMinSize (readonly)
  5121. - int indent
  5122. - int indentSpacing
  5123. - int indentWidth (readonly)
  5124. - TraversalMode traversalMode
  5125. - bool elementEventSender
  5126. <a name="Class_ValueAnimation"></a>
  5127. ### ValueAnimation : Resource
  5128. Methods:
  5129. - ValueAnimation() (GC)
  5130. - ValueAnimation* new()
  5131. - void delete()
  5132. - void SetInterpolationMethod(InterpMethod method)
  5133. - void SetSplineTension(float tension)
  5134. - void SetValueType(VariantType valueType)
  5135. - bool SetKeyFrame(float time, const Variant& value)
  5136. - void SetEventFrame(float time, const StringHash& eventType)
  5137. - void SetEventFrame(float time, const StringHash& eventType, const VariantMap& eventData)
  5138. - InterpMethod GetInterpolationMethod() const
  5139. - float GetSplineTension() const
  5140. - VariantType GetValueType() const
  5141. Properties:
  5142. - InterpMethod interpolationMethod
  5143. - float splineTension
  5144. - VariantType valueType
  5145. <a name="Class_Variant"></a>
  5146. ### Variant
  5147. Methods:
  5148. - Variant() (GC)
  5149. - Variant* new()
  5150. - Variant(int value) (GC)
  5151. - Variant* new(int value)
  5152. - Variant(unsigned value) (GC)
  5153. - Variant* new(unsigned value)
  5154. - Variant(const StringHash& value) (GC)
  5155. - Variant* new(const StringHash& value)
  5156. - Variant(bool value) (GC)
  5157. - Variant* new(bool value)
  5158. - Variant(float value) (GC)
  5159. - Variant* new(float value)
  5160. - Variant(const Vector2& value) (GC)
  5161. - Variant* new(const Vector2& value)
  5162. - Variant(const Vector3& value) (GC)
  5163. - Variant* new(const Vector3& value)
  5164. - Variant(const Vector4& value) (GC)
  5165. - Variant* new(const Vector4& value)
  5166. - Variant(const Quaternion& value) (GC)
  5167. - Variant* new(const Quaternion& value)
  5168. - Variant(const Color& value) (GC)
  5169. - Variant* new(const Color& value)
  5170. - Variant(const String value) (GC)
  5171. - Variant* new(const String value)
  5172. - Variant(const char* value) (GC)
  5173. - Variant* new(const char* value)
  5174. - Variant(const ResourceRef& value) (GC)
  5175. - Variant* new(const ResourceRef& value)
  5176. - Variant(const ResourceRefList& value) (GC)
  5177. - Variant* new(const ResourceRefList& value)
  5178. - Variant(const IntRect& value) (GC)
  5179. - Variant* new(const IntRect& value)
  5180. - Variant(const IntVector2& value) (GC)
  5181. - Variant* new(const IntVector2& value)
  5182. - Variant(const Matrix3& value) (GC)
  5183. - Variant* new(const Matrix3& value)
  5184. - Variant(const Matrix3x4& value) (GC)
  5185. - Variant* new(const Matrix3x4& value)
  5186. - Variant(const Matrix4& value) (GC)
  5187. - Variant* new(const Matrix4& value)
  5188. - Variant(const String type, const String value) (GC)
  5189. - Variant* new(const String type, const String value)
  5190. - Variant(VariantType type, const String value) (GC)
  5191. - Variant* new(VariantType type, const String value)
  5192. - Variant(VariantType type, const char* value) (GC)
  5193. - Variant* new(VariantType type, const char* value)
  5194. - Variant(const Variant& value) (GC)
  5195. - Variant* new(const Variant& value)
  5196. - void delete()
  5197. - void Clear()
  5198. - bool operator==(const Variant& rhs) const
  5199. - bool operator==(int rhs) const
  5200. - bool operator==(unsigned rhs) const
  5201. - bool operator==(bool rhs) const
  5202. - bool operator==(float rhs) const
  5203. - bool operator==(const Vector2& rhs)
  5204. - bool operator==(const Vector3& rhs) const
  5205. - bool operator==(const Vector4& rhs) const
  5206. - bool operator==(const Quaternion& rhs) const
  5207. - bool operator==(const Color& rhs) const
  5208. - bool operator==(const String rhs) const
  5209. - bool operator==(const ResourceRef& rhs) const
  5210. - bool operator==(const ResourceRefList& rhs) const
  5211. - bool operator==(const IntRect& rhs) const
  5212. - bool operator==(const IntVector2& rhs) const
  5213. - bool operator==(const StringHash& rhs) const
  5214. - bool operator==(const Matrix3& rhs) const
  5215. - bool operator==(const Matrix3x4& rhs) const
  5216. - bool operator==(const Matrix4& rhs) const
  5217. - void SetInt(int value)
  5218. - void SetUint(unsigned value)
  5219. - void SetStringHash(const StringHash& value)
  5220. - void SetBool(bool value)
  5221. - void SetFloat(float value)
  5222. - void SetVector2(const Vector2& value)
  5223. - void SetVector3(const Vector3& value)
  5224. - void SetVector4(const Vector4& value)
  5225. - void SetQuaternion(const Quaternion& value)
  5226. - void SetColor(const Color& value)
  5227. - void SetString(const String value)
  5228. - void SetBuffer(const VectorBuffer& value)
  5229. - void SetResourceRef(const ResourceRef& value)
  5230. - void SetResourceRefList(const ResourceRefList& value)
  5231. - void SetIntRect(const IntRect& value)
  5232. - void SetIntVector2(const IntVector2& value)
  5233. - void SetMatrix3(const Matrix3& value)
  5234. - void SetMatrix3x4(const Matrix3x4& value)
  5235. - void SetMatrix4(const Matrix4& value)
  5236. - int GetInt() const
  5237. - int GetUInt() const
  5238. - StringHash GetStringHash()
  5239. - bool GetBool() const
  5240. - float GetFloat() const
  5241. - const Vector2& GetVector2() const
  5242. - const Vector3& GetVector3() const
  5243. - const Vector4& GetVector4() const
  5244. - const Quaternion& GetQuaternion() const
  5245. - const Color& GetColor() const
  5246. - const String GetString() const
  5247. - VectorBuffer GetBuffer() const
  5248. - const ResourceRef& GetResourceRef() const
  5249. - const ResourceRefList& GetResourceRefList() const
  5250. - const IntRect& GetIntRect() const
  5251. - const IntVector2& GetIntVector2() const
  5252. - const Matrix3& GetMatrix3() const
  5253. - const Matrix3x4& GetMatrix3x4() const
  5254. - const Matrix4& GetMatrix4() const
  5255. - VariantType GetType() const
  5256. - String GetTypeName() const
  5257. - String ToString() const
  5258. - bool IsZero() const
  5259. - bool IsEmpty() const
  5260. Properties:
  5261. - VariantType type (readonly)
  5262. - String typeName (readonly)
  5263. - bool zero (readonly)
  5264. - bool empty (readonly)
  5265. <a name="Class_VariantMap"></a>
  5266. ### VariantMap
  5267. Methods:
  5268. - VariantMap() (GC)
  5269. - VariantMap* new()
  5270. - void delete()
  5271. - void SetInt(const String key, int value)
  5272. - void SetUInt(const String key, unsigned value)
  5273. - void SetStringHash(const String key, const StringHash& value)
  5274. - void SetBool(const String key, bool value)
  5275. - void SetFloat(const String key, float value)
  5276. - void SetVector2(const String key, const Vector2 value)
  5277. - void SetVector3(const String key, const Vector3 value)
  5278. - void SetVector4(const String key, const Vector4 value)
  5279. - void SetQuaternion(const String key, const Quaternion value)
  5280. - void SetColor(const String key, const Color value)
  5281. - void SetString(const String key, const String value)
  5282. - void SetBuffer(const String key, const VectorBuffer& value)
  5283. - void SetResourceRef(const String key, const ResourceRef value)
  5284. - void SetResourceRefList(const String key, const ResourceRefList value)
  5285. - void SetIntRect(const String key, const IntRect value)
  5286. - void SetIntVector2(const String key, const IntVector2 value)
  5287. - void SetPtr(const String key, void* value)
  5288. - void SetMatrix3(const String key, const Matrix3 value)
  5289. - void SetMatrix3x4(const String key, const Matrix3x4 value)
  5290. - void SetMatrix4(const String key, const Matrix4 value)
  5291. - int GetInt(const String key)
  5292. - int GetUInt(const String key)
  5293. - StringHash GetStringHash(const String key)
  5294. - bool GetBool(const String key)
  5295. - float GetFloat(const String key)
  5296. - const Vector2& GetVector2(const String key)
  5297. - const Vector3& GetVector3(const String key)
  5298. - const Vector4& GetVector4(const String key)
  5299. - const Quaternion& GetQuaternion(const String key)
  5300. - const Color& GetColor(const String key)
  5301. - const String GetString(const String key)
  5302. - VectorBuffer GetBuffer(const String key)
  5303. - const ResourceRef& GetResourceRef(const String key)
  5304. - const ResourceRefList& GetResourceRefList(const String key)
  5305. - const IntRect& GetIntRect(const String key)
  5306. - const IntVector2& GetIntVector2(const String key)
  5307. - const void* GetPtr(const String type, const String key)
  5308. - const Matrix3& GetMatrix3(const String key)
  5309. - const Matrix3x4& GetMatrix3x4(const String key)
  5310. - const Matrix4& GetMatrix4(const String key)
  5311. <a name="Class_Vector2"></a>
  5312. ### Vector2
  5313. Methods:
  5314. - Vector2() (GC)
  5315. - Vector2* new()
  5316. - Vector2(const Vector2& vector) (GC)
  5317. - Vector2* new(const Vector2& vector)
  5318. - Vector2(float x, float y) (GC)
  5319. - Vector2* new(float x, float y)
  5320. - void delete()
  5321. - bool operator==(const Vector2& rhs) const
  5322. - Vector2 operator+(const Vector2& rhs) const
  5323. - Vector2 operator-() const
  5324. - Vector2 operator-(const Vector2& rhs) const
  5325. - Vector2 operator*(float rhs) const
  5326. - Vector2 operator*(const Vector2& rhs) const
  5327. - Vector2 operator/(float rhs) const
  5328. - Vector2 operator/(const Vector2& rhs) const
  5329. - Vector2 operator/(const Vector2& rhs) const
  5330. - void Normalize()
  5331. - float Length() const
  5332. - float LengthSquared() const
  5333. - float DotProduct(const Vector2& rhs) const
  5334. - float AbsDotProduct(const Vector2& rhs) const
  5335. - Vector2 Abs() const
  5336. - Vector2 Lerp(const Vector2& rhs, float t) const
  5337. - bool Equals(const Vector2& rhs) const
  5338. - bool IsNaN() const
  5339. - Vector2 Normalized() const
  5340. - String ToString() const
  5341. Properties:
  5342. - float x
  5343. - float y
  5344. - const Vector2 ZERO
  5345. - const Vector2 LEFT
  5346. - const Vector2 RIGHT
  5347. - const Vector2 UP
  5348. - const Vector2 DOWN
  5349. - const Vector2 ONE
  5350. <a name="Class_Vector3"></a>
  5351. ### Vector3
  5352. Methods:
  5353. - Vector3() (GC)
  5354. - Vector3* new()
  5355. - Vector3(const Vector3& vector) (GC)
  5356. - Vector3* new(const Vector3& vector)
  5357. - Vector3(const Vector2& vector, float z) (GC)
  5358. - Vector3* new(const Vector2& vector, float z)
  5359. - Vector3(const Vector2& vector) (GC)
  5360. - Vector3* new(const Vector2& vector)
  5361. - Vector3(float x, float y, float z) (GC)
  5362. - Vector3* new(float x, float y, float z)
  5363. - Vector3(float x, float y) (GC)
  5364. - Vector3* new(float x, float y)
  5365. - void delete()
  5366. - bool operator==(const Vector3& rhs) const
  5367. - Vector3 operator+(const Vector3& rhs) const
  5368. - Vector3 operator-() const
  5369. - Vector3 operator-(const Vector3& rhs) const
  5370. - Vector3 operator*(float rhs) const
  5371. - Vector3 operator*(const Vector3& rhs) const
  5372. - Vector3 operator/(float rhs) const
  5373. - Vector3 operator/(const Vector3& rhs) const
  5374. - void Normalize()
  5375. - float Length() const
  5376. - float LengthSquared() const
  5377. - float DotProduct(const Vector3& rhs) const
  5378. - float AbsDotProduct(const Vector3& rhs) const
  5379. - Vector3 CrossProduct(const Vector3& rhs) const
  5380. - Vector3 Abs() const
  5381. - Vector3 Lerp(const Vector3& rhs, float t) const
  5382. - bool Equals(const Vector3& rhs) const
  5383. - bool IsNaN() const
  5384. - float Angle(const Vector3& rhs) const
  5385. - Vector3 Normalized() const
  5386. - String ToString() const
  5387. Properties:
  5388. - float x
  5389. - float y
  5390. - float z
  5391. - const Vector3 ZERO
  5392. - const Vector3 LEFT
  5393. - const Vector3 RIGHT
  5394. - const Vector3 UP
  5395. - const Vector3 DOWN
  5396. - const Vector3 FORWARD
  5397. - const Vector3 BACK
  5398. - const Vector3 ONE
  5399. <a name="Class_Vector4"></a>
  5400. ### Vector4
  5401. Methods:
  5402. - Vector4() (GC)
  5403. - Vector4* new()
  5404. - Vector4(const Vector4& vector) (GC)
  5405. - Vector4* new(const Vector4& vector)
  5406. - Vector4(const Vector3& vector, float w) (GC)
  5407. - Vector4* new(const Vector3& vector, float w)
  5408. - Vector4(float x, float y, float z, float w) (GC)
  5409. - Vector4* new(float x, float y, float z, float w)
  5410. - void delete()
  5411. - bool operator==(const Vector4& rhs) const
  5412. - Vector4 operator+(const Vector4& rhs) const
  5413. - Vector4 operator-() const
  5414. - Vector4 operator-(const Vector4& rhs) const
  5415. - Vector4 operator*(float rhs) const
  5416. - Vector4 operator*(const Vector4& rhs) const
  5417. - Vector4 operator/(float rhs) const
  5418. - Vector4 operator/(const Vector4& rhs) const
  5419. - Vector4 operator/(const Vector4& rhs) const
  5420. - float DotProduct(const Vector4& rhs) const
  5421. - float AbsDotProduct(const Vector4& rhs) const
  5422. - Vector4 Abs() const
  5423. - Vector4 Lerp(const Vector4& rhs, float t) const
  5424. - bool Equals(const Vector4& rhs) const
  5425. - bool IsNaN() const
  5426. - String ToString() const
  5427. Properties:
  5428. - float x
  5429. - float y
  5430. - float z
  5431. - float w
  5432. - const Vector4 ZERO
  5433. - const Vector4 ONE
  5434. <a name="Class_VectorBuffer"></a>
  5435. ### VectorBuffer
  5436. Methods:
  5437. - VectorBuffer() (GC)
  5438. - VectorBuffer* new()
  5439. - VectorBuffer(Deserializer& source, unsigned size) (GC)
  5440. - VectorBuffer* new(Deserializer& source, unsigned size)
  5441. - void delete()
  5442. - void SetData(Deserializer& source, unsigned size)
  5443. - void Clear()
  5444. - void Resize(unsigned size)
  5445. - const void* GetData() const
  5446. - void* GetModifiableData()
  5447. - VectorBuffer Read(unsigned size)
  5448. - unsigned Seek(unsigned position)
  5449. - const String GetName() const
  5450. - unsigned GetChecksum()
  5451. - unsigned GetPosition() const
  5452. - unsigned GetSize() const
  5453. - bool IsEof() const
  5454. - int ReadInt()
  5455. - short ReadShort()
  5456. - char ReadByte()
  5457. - unsigned ReadUInt()
  5458. - short ReadUShort()
  5459. - char ReadUByte()
  5460. - bool ReadBool()
  5461. - float ReadFloat()
  5462. - IntRect ReadIntRect()
  5463. - IntVector2 ReadIntVector2()
  5464. - Rect ReadRect()
  5465. - Vector2 ReadVector2()
  5466. - Vector3 ReadVector3()
  5467. - Vector3 ReadPackedVector3(float maxAbsCoord)
  5468. - Vector4 ReadVector4()
  5469. - Quaternion ReadQuaternion()
  5470. - Quaternion ReadPackedQuaternion()
  5471. - Matrix3 ReadMatrix3()
  5472. - Matrix3x4 ReadMatrix3x4()
  5473. - Matrix4 ReadMatrix4()
  5474. - Color ReadColor()
  5475. - BoundingBox ReadBoundingBox()
  5476. - String ReadString()
  5477. - String ReadFileID()
  5478. - StringHash ReadStringHash()
  5479. - VectorBuffer ReadBuffer()
  5480. - ResourceRef ReadResourceRef()
  5481. - ResourceRefList ReadResourceRefList()
  5482. - Variant ReadVariant()
  5483. - Variant ReadVariant(VariantType type)
  5484. - VariantVector ReadVariantVector()
  5485. - VariantMap ReadVariantMap()
  5486. - unsigned ReadVLE()
  5487. - unsigned ReadNetID()
  5488. - String ReadLine()
  5489. - unsigned Write(const VectorBuffer& buffer)
  5490. - bool WriteInt(int value)
  5491. - bool WriteShort(short value)
  5492. - bool WriteByte(char value)
  5493. - bool WriteUInt(unsigned value)
  5494. - bool WriteUShort(short value)
  5495. - bool WriteUByte(char value)
  5496. - bool WriteBool(bool value)
  5497. - bool WriteFloat(float value)
  5498. - bool WriteIntRect(const IntRect& value)
  5499. - bool WriteIntVector2(const IntVector2& value)
  5500. - bool WriteRect(const Rect& value)
  5501. - bool WriteVector2(const Vector2& value)
  5502. - bool WriteVector3(const Vector3& value)
  5503. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  5504. - bool WriteVector4(const Vector4& value)
  5505. - bool WriteQuaternion(const Quaternion& value)
  5506. - bool WritePackedQuaternion(const Quaternion& value)
  5507. - bool WriteMatrix3(const Matrix3& value)
  5508. - bool WriteMatrix3x4(const Matrix3x4& value)
  5509. - bool WriteMatrix4(const Matrix4& value)
  5510. - bool WriteColor(const Color& value)
  5511. - bool WriteBoundingBox(const BoundingBox& value)
  5512. - bool WriteString(const String value)
  5513. - bool WriteFileID(const String value)
  5514. - bool WriteStringHash(const StringHash& value)
  5515. - bool WriteBuffer(const VectorBuffer& buffer)
  5516. - bool WriteResourceRef(const ResourceRef& value)
  5517. - bool WriteResourceRefList(const ResourceRefList& value)
  5518. - bool WriteVariant(const Variant& value)
  5519. - bool WriteVariantData(const Variant& value)
  5520. - bool WriteVariantVector(const VariantVector& value)
  5521. - bool WriteVariantMap(const VariantMap& value)
  5522. - bool WriteVLE(unsigned value)
  5523. - bool WriteNetID(unsigned value)
  5524. - bool WriteLine(const String value)
  5525. Properties:
  5526. - String name (readonly)
  5527. - unsigned checksum (readonly)
  5528. - unsigned position (readonly)
  5529. - unsigned size (readonly)
  5530. - bool eof (readonly)
  5531. <a name="Class_View3D"></a>
  5532. ### View3D : Window
  5533. Methods:
  5534. - View3D() (GC)
  5535. - View3D* new()
  5536. - void delete()
  5537. - void SetView(Scene* scene, Camera* camera)
  5538. - void SetFormat(unsigned format)
  5539. - void SetAutoUpdate(bool enable)
  5540. - void QueueUpdate()
  5541. - unsigned GetFormat() const
  5542. - bool GetAutoUpdate() const
  5543. - Scene* GetScene() const
  5544. - Node* GetCameraNode() const
  5545. - Texture2D* GetRenderTexture() const
  5546. - Texture2D* GetDepthTexture() const
  5547. - Viewport* GetViewport() const
  5548. Properties:
  5549. - unsigned format
  5550. - bool autoUpdate
  5551. <a name="Class_Viewport"></a>
  5552. ### Viewport
  5553. Methods:
  5554. - Viewport() (GC)
  5555. - Viewport* new()
  5556. - Viewport(Scene* scene, Camera* camera, RenderPath* renderPath = 0) (GC)
  5557. - Viewport* new(Scene* scene, Camera* camera, RenderPath* renderPath = 0)
  5558. - Viewport(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0) (GC)
  5559. - Viewport* new(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0)
  5560. - void delete()
  5561. - void SetScene(Scene* scene)
  5562. - void SetCamera(Camera* camera)
  5563. - void SetRect(const IntRect& rect)
  5564. - void SetRenderPath(RenderPath* path)
  5565. - void SetRenderPath(XMLFile* file)
  5566. - void SetDrawDebug(bool enable)
  5567. - Scene* GetScene() const
  5568. - Camera* GetCamera() const
  5569. - const IntRect& GetRect() const
  5570. - RenderPath* GetRenderPath() const
  5571. - bool GetDrawDebug() const
  5572. - Ray GetScreenRay(int x, int y) const
  5573. - IntVector2 WorldToScreenPoint(const Vector3& worldPos) const
  5574. - Vector3 ScreenToWorldPoint(int x, int y, float depth) const
  5575. Properties:
  5576. - Scene* scene
  5577. - Camera* camera
  5578. - IntRect& rect
  5579. - RenderPath* renderPath
  5580. - bool drawDebug
  5581. <a name="Class_Window"></a>
  5582. ### Window : BorderImage
  5583. Methods:
  5584. - Window() (GC)
  5585. - Window* new()
  5586. - void delete()
  5587. - void SetMovable(bool enable)
  5588. - void SetResizable(bool enable)
  5589. - void SetFixedWidthResizing(bool enable)
  5590. - void SetFixedHeightResizing(bool enable)
  5591. - void SetResizeBorder(const IntRect& rect)
  5592. - void SetModal(bool modal)
  5593. - void SetModalShadeColor(const Color& color)
  5594. - void SetModalFrameColor(const Color& color)
  5595. - void SetModalFrameSize(const IntVector2& size)
  5596. - void SetModalAutoDismiss(bool enable)
  5597. - bool IsMovable() const
  5598. - bool IsResizable() const
  5599. - bool GetFixedWidthResizing() const
  5600. - bool GetFixedHeightResizing() const
  5601. - const IntRect& GetResizeBorder() const
  5602. - bool IsModal() const
  5603. - const Color& GetModalShadeColor() const
  5604. - const Color& GetModalFrameColor() const
  5605. - const IntVector2& GetModalFrameSize() const
  5606. - bool GetModalAutoDismiss() const
  5607. Properties:
  5608. - bool movable
  5609. - bool resizable
  5610. - bool fixedWidthResizing
  5611. - bool fixedHeightResizing
  5612. - IntRect& resizeBorder
  5613. - bool modal
  5614. - Color& modalShadeColor
  5615. - Color& modalFrameColor
  5616. - IntVector2& modalFrameSize
  5617. - bool modalAutoDismiss
  5618. <a name="Class_XMLElement"></a>
  5619. ### XMLElement
  5620. Methods:
  5621. - XMLElement CreateChild(const String name)
  5622. - bool RemoveChild(const XMLElement& element)
  5623. - bool RemoveChild(const String name)
  5624. - bool RemoveChildren(const String name = String::EMPTY)
  5625. - bool RemoveAttribute(const String name = String::EMPTY)
  5626. - bool SetValue(const String value)
  5627. - bool SetAttribute(const String name, const String value)
  5628. - bool SetAttribute(const String value)
  5629. - bool SetBool(const String name, bool value)
  5630. - bool SetBoundingBox(const BoundingBox& value)
  5631. - bool SetColor(const String name, const Color& value)
  5632. - bool SetFloat(const String name, float value)
  5633. - bool SetUInt(const String name, unsigned value)
  5634. - bool SetInt(const String name, int value)
  5635. - bool SetIntRect(const String name, const IntRect& value)
  5636. - bool SetIntVector2(const String name, const IntVector2& value)
  5637. - bool SetRect(const String name, const Rect& value)
  5638. - bool SetQuaternion(const String name, const Quaternion& value)
  5639. - bool SetString(const String name, const String value)
  5640. - bool SetVariant(const Variant& value)
  5641. - bool SetVariantValue(const Variant& value)
  5642. - bool SetResourceRef(const ResourceRef& value)
  5643. - bool SetResourceRefList(const ResourceRefList& value)
  5644. - bool SetVector2(const String name, const Vector2& value)
  5645. - bool SetVector3(const String name, const Vector3& value)
  5646. - bool SetVector4(const String name, const Vector4& value)
  5647. - bool SetVectorVariant(const String name, const Variant& value)
  5648. - bool SetMatrix3(const String name, const Matrix3& value)
  5649. - bool SetMatrix3x4(const String name, const Matrix3x4& value)
  5650. - bool SetMatrix4(const String name, const Matrix4& value)
  5651. - bool IsNull() const
  5652. - bool NotNull() const
  5653. - bool operatorbool() const
  5654. - String GetName() const
  5655. - bool HasChild(const String name) const
  5656. - XMLElement GetChild(const String name = String::EMPTY) const
  5657. - XMLElement GetNext(const String name = String::EMPTY) const
  5658. - XMLElement GetParent() const
  5659. - unsigned GetNumAttributes() const
  5660. - bool HasAttribute(const String name) const
  5661. - String GetValue() const
  5662. - String GetAttribute(const String name = String::EMPTY) const
  5663. - String GetAttributeLower(const String name) const
  5664. - String GetAttributeUpper(const String name) const
  5665. - Vector<String> GetAttributeNames() const
  5666. - bool GetBool(const String name) const
  5667. - BoundingBox GetBoundingBox() const
  5668. - Color GetColor(const String name) const
  5669. - float GetFloat(const String name) const
  5670. - unsigned GetUInt(const String name) const
  5671. - int GetInt(const String name) const
  5672. - IntRect GetIntRect(const String name) const
  5673. - IntVector2 GetIntVector2(const String name) const
  5674. - Rect GetRect(const String name) const
  5675. - Quaternion GetQuaternion(const String name) const
  5676. - Variant GetVariant() const
  5677. - Variant GetVariantValue(VariantType type) const
  5678. - ResourceRef GetResourceRef() const
  5679. - ResourceRefList GetResourceRefList() const
  5680. - VariantMap GetVariantMap() const
  5681. - Vector2 GetVector2(const String name) const
  5682. - Vector3 GetVector3(const String name) const
  5683. - Vector4 GetVector4(const String name) const
  5684. - Vector4 GetVector(const String name) const
  5685. - Matrix3 GetMatrix3(const String name) const
  5686. - Matrix3x4 GetMatrix3x4(const String name) const
  5687. - Matrix4 GetMatrix4(const String name) const
  5688. - XMLFile* GetFile() const
  5689. Properties:
  5690. - const XMLElement EMPTY
  5691. - bool null (readonly)
  5692. - String name (readonly)
  5693. - XMLElement parent (readonly)
  5694. - String value (readonly)
  5695. - unsigned numAttributes (readonly)
  5696. - XMLFile* file (readonly)
  5697. <a name="Class_XMLFile"></a>
  5698. ### XMLFile : Resource
  5699. Methods:
  5700. - XMLFile() (GC)
  5701. - XMLFile* new()
  5702. - void delete()
  5703. - bool FromString(const String source)
  5704. - XMLElement CreateRoot(const String name = String::EMPTY)
  5705. - XMLElement GetRoot(const String name = String::EMPTY)
  5706. - void Patch(XMLFile* patchFile)
  5707. - void Patch(XMLElement patchElement)
  5708. <a name="Class_Zone"></a>
  5709. ### Zone : Drawable
  5710. Methods:
  5711. - void SetBoundingBox(const BoundingBox& box)
  5712. - void SetAmbientColor(const Color& color)
  5713. - void SetFogColor(const Color& color)
  5714. - void SetFogStart(float start)
  5715. - void SetFogEnd(float end)
  5716. - void SetFogHeight(float height)
  5717. - void SetFogHeightScale(float scale)
  5718. - void SetPriority(int priority)
  5719. - void SetHeightFog(bool enable)
  5720. - void SetOverride(bool enable)
  5721. - void SetAmbientGradient(bool enable)
  5722. - void SetZoneTexture(Texture* texture)
  5723. - const Matrix3x4& GetInverseWorldTransform() const
  5724. - const Color& GetAmbientColor() const
  5725. - const Color& GetAmbientStartColor()
  5726. - const Color& GetAmbientEndColor()
  5727. - const Color& GetFogColor() const
  5728. - float GetFogStart() const
  5729. - float GetFogEnd() const
  5730. - float GetFogHeight() const
  5731. - float GetFogHeightScale() const
  5732. - int GetPriority() const
  5733. - bool GetHeightFog() const
  5734. - bool GetOverride() const
  5735. - bool GetAmbientGradient() const
  5736. - Texture* GetZoneTexture() const
  5737. - bool IsInside(const Vector3& point) const
  5738. Properties:
  5739. - BoundingBox& boundingBox
  5740. - Matrix3x4& inverseWorldTransform (readonly)
  5741. - Color& ambientColor
  5742. - Color& ambientStartColor (readonly)
  5743. - Color& ambientEndColor (readonly)
  5744. - Color& fogColor
  5745. - float fogStart
  5746. - float fogEnd
  5747. - float fogHeight
  5748. - float fogHeightScale
  5749. - int priority
  5750. - bool heightFog
  5751. - bool override
  5752. - bool ambientGradient
  5753. - Texture* zoneTexture
  5754. \section LuaScriptAPI_Enums Enumerations
  5755. ### BlendMode
  5756. - int BLEND_REPLACE
  5757. - int BLEND_ADD
  5758. - int BLEND_MULTIPLY
  5759. - int BLEND_ALPHA
  5760. - int BLEND_ADDALPHA
  5761. - int BLEND_PREMULALPHA
  5762. - int BLEND_INVDESTALPHA
  5763. - int BLEND_SUBTRACT
  5764. - int BLEND_SUBTRACTALPHA
  5765. - int MAX_BLENDMODES
  5766. ### BodyType2D
  5767. - int BT_STATIC
  5768. - int BT_DYNAMIC
  5769. - int BT_KINEMATIC
  5770. ### CollisionEventMode
  5771. - int COLLISION_NEVER
  5772. - int COLLISION_ACTIVE
  5773. - int COLLISION_ALWAYS
  5774. ### CompareMode
  5775. - int CMP_ALWAYS
  5776. - int CMP_EQUAL
  5777. - int CMP_NOTEQUAL
  5778. - int CMP_LESS
  5779. - int CMP_LESSEQUAL
  5780. - int CMP_GREATER
  5781. - int CMP_GREATEREQUAL
  5782. - int MAX_COMPAREMODES
  5783. ### CompressedFormat
  5784. - int CF_NONE
  5785. - int CF_DXT1
  5786. - int CF_DXT3
  5787. - int CF_DXT5
  5788. - int CF_ETC1
  5789. - int CF_PVRTC_RGB_2BPP
  5790. - int CF_PVRTC_RGBA_2BPP
  5791. - int CF_PVRTC_RGB_4BPP
  5792. - int CF_PVRTC_RGBA_4BPP
  5793. ### ConstraintType
  5794. - int CONSTRAINT_POINT
  5795. - int CONSTRAINT_HINGE
  5796. - int CONSTRAINT_SLIDER
  5797. - int CONSTRAINT_CONETWIST
  5798. ### Corner
  5799. - int C_TOPLEFT
  5800. - int C_TOPRIGHT
  5801. - int C_BOTTOMLEFT
  5802. - int C_BOTTOMRIGHT
  5803. - int MAX_UIELEMENT_CORNERS
  5804. ### CreateMode
  5805. - int REPLICATED
  5806. - int LOCAL
  5807. ### CubeMapFace
  5808. - int FACE_POSITIVE_X
  5809. - int FACE_NEGATIVE_X
  5810. - int FACE_POSITIVE_Y
  5811. - int FACE_NEGATIVE_Y
  5812. - int FACE_POSITIVE_Z
  5813. - int FACE_NEGATIVE_Z
  5814. - int MAX_CUBEMAP_FACES
  5815. ### CullMode
  5816. - int CULL_NONE
  5817. - int CULL_CCW
  5818. - int CULL_CW
  5819. - int MAX_CULLMODES
  5820. ### CursorShape
  5821. - int CS_NORMAL
  5822. - int CS_RESIZEVERTICAL
  5823. - int CS_RESIZEDIAGONAL_TOPRIGHT
  5824. - int CS_RESIZEHORIZONTAL
  5825. - int CS_RESIZEDIAGONAL_TOPLEFT
  5826. - int CS_ACCEPTDROP
  5827. - int CS_REJECTDROP
  5828. - int CS_BUSY
  5829. - int CS_MAX_SHAPES
  5830. ### EmitterType
  5831. - int EMITTER_SPHERE
  5832. - int EMITTER_BOX
  5833. ### EmitterType2D
  5834. - int EMITTER_TYPE_GRAVITY
  5835. - int EMITTER_TYPE_RADIAL
  5836. ### FaceCameraMode
  5837. - int FC_NONE
  5838. - int FC_ROTATE_XYZ
  5839. - int FC_ROTATE_Y
  5840. - int FC_LOOKAT_XYZ
  5841. - int FC_LOOKAT_Y
  5842. ### FileMode
  5843. - int FILE_READ
  5844. - int FILE_WRITE
  5845. - int FILE_READWRITE
  5846. ### FillMode
  5847. - int FILL_SOLID
  5848. - int FILL_WIREFRAME
  5849. - int FILL_POINT
  5850. ### FocusMode
  5851. - int FM_NOTFOCUSABLE
  5852. - int FM_RESETFOCUS
  5853. - int FM_FOCUSABLE
  5854. - int FM_FOCUSABLE_DEFOCUSABLE
  5855. ### FrustumPlane
  5856. - int PLANE_NEAR
  5857. - int PLANE_LEFT
  5858. - int PLANE_RIGHT
  5859. - int PLANE_UP
  5860. - int PLANE_DOWN
  5861. - int PLANE_FAR
  5862. ### GeometryType
  5863. - int GEOM_STATIC
  5864. - int GEOM_SKINNED
  5865. - int GEOM_INSTANCED
  5866. - int GEOM_BILLBOARD
  5867. - int GEOM_STATIC_NOINSTANCING
  5868. - int MAX_GEOMETRYTYPES
  5869. ### HighlightMode
  5870. - int HM_NEVER
  5871. - int HM_FOCUS
  5872. - int HM_ALWAYS
  5873. ### HorizontalAlignment
  5874. - int HA_LEFT
  5875. - int HA_CENTER
  5876. - int HA_RIGHT
  5877. ### HttpRequestState
  5878. - int HTTP_INITIALIZING
  5879. - int HTTP_ERROR
  5880. - int HTTP_OPEN
  5881. - int HTTP_CLOSED
  5882. ### InterpMethod
  5883. - int IM_LINEAR
  5884. - int IM_SPLINE
  5885. ### InterpolationMode
  5886. - int BEZIER_CURVE
  5887. ### Intersection
  5888. - int OUTSIDE
  5889. - int INTERSECTS
  5890. - int INSIDE
  5891. ### JSONValueType
  5892. - int JSON_ANY
  5893. - int JSON_OBJECT
  5894. - int JSON_ARRAY
  5895. ### LayoutMode
  5896. - int LM_FREE
  5897. - int LM_HORIZONTAL
  5898. - int LM_VERTICAL
  5899. ### LightType
  5900. - int LIGHT_DIRECTIONAL
  5901. - int LIGHT_SPOT
  5902. - int LIGHT_POINT
  5903. ### LoadMode
  5904. - int LOAD_RESOURCES_ONLY
  5905. - int LOAD_SCENE
  5906. - int LOAD_SCENE_AND_RESOURCES
  5907. ### LockState
  5908. - int LOCK_NONE
  5909. - int LOCK_HARDWARE
  5910. - int LOCK_SHADOW
  5911. - int LOCK_SCRATCH
  5912. ### LoopMode2D
  5913. - int LM_DEFAULT
  5914. - int LM_FORCE_LOOPED
  5915. - int LM_FORCE_CLAMPED
  5916. ### Orientation
  5917. - int O_HORIZONTAL
  5918. - int O_VERTICAL
  5919. ### Orientation2D
  5920. - int O_ORTHOGONAL
  5921. - int O_ISOMETRIC
  5922. - int O_STAGGERED
  5923. ### PassLightingMode
  5924. - int LIGHTING_UNLIT
  5925. - int LIGHTING_PERVERTEX
  5926. - int LIGHTING_PERPIXEL
  5927. ### PrimitiveType
  5928. - int TRIANGLE_LIST
  5929. - int LINE_LIST
  5930. - int POINT_LIST
  5931. - int TRIANGLE_STRIP
  5932. - int LINE_STRIP
  5933. - int TRIANGLE_FAN
  5934. ### RayQueryLevel
  5935. - int RAY_AABB
  5936. - int RAY_OBB
  5937. - int RAY_TRIANGLE
  5938. ### RenderSurfaceUpdateMode
  5939. - int SURFACE_MANUALUPDATE
  5940. - int SURFACE_UPDATEVISIBLE
  5941. - int SURFACE_UPDATEALWAYS
  5942. ### ShaderParameterGroup
  5943. - int SP_FRAME
  5944. - int SP_CAMERA
  5945. - int SP_VIEWPORT
  5946. - int SP_ZONE
  5947. - int SP_LIGHT
  5948. - int SP_VERTEXLIGHTS
  5949. - int SP_MATERIAL
  5950. - int SP_OBJECTTRANSFORM
  5951. - int MAX_SHADER_PARAMETER_GROUPS
  5952. ### ShaderType
  5953. - int VS
  5954. - int PS
  5955. ### ShapeType
  5956. - int SHAPE_BOX
  5957. - int SHAPE_SPHERE
  5958. - int SHAPE_STATICPLANE
  5959. - int SHAPE_CYLINDER
  5960. - int SHAPE_CAPSULE
  5961. - int SHAPE_CONE
  5962. - int SHAPE_TRIANGLEMESH
  5963. - int SHAPE_CONVEXHULL
  5964. - int SHAPE_TERRAIN
  5965. ### SoundType
  5966. - int SOUND_EFFECT
  5967. - int SOUND_AMBIENT
  5968. - int SOUND_VOICE
  5969. - int SOUND_MUSIC
  5970. - int SOUND_MASTER
  5971. - int MAX_SOUND_TYPES
  5972. ### StencilOp
  5973. - int OP_KEEP
  5974. - int OP_ZERO
  5975. - int OP_REF
  5976. - int OP_INCR
  5977. - int OP_DECR
  5978. ### TextEffect
  5979. - int TE_NONE
  5980. - int TE_SHADOW
  5981. - int TE_STROKE
  5982. ### TextureAddressMode
  5983. - int ADDRESS_WRAP
  5984. - int ADDRESS_MIRROR
  5985. - int ADDRESS_CLAMP
  5986. - int ADDRESS_BORDER
  5987. - int MAX_ADDRESSMODES
  5988. ### TextureCoordinate
  5989. - int COORD_U
  5990. - int COORD_V
  5991. - int COORD_W
  5992. - int MAX_COORDS
  5993. ### TextureFilterMode
  5994. - int FILTER_NEAREST
  5995. - int FILTER_BILINEAR
  5996. - int FILTER_TRILINEAR
  5997. - int FILTER_ANISOTROPIC
  5998. - int FILTER_DEFAULT
  5999. - int MAX_FILTERMODES
  6000. ### TextureUnit
  6001. - int TU_DIFFUSE
  6002. - int TU_ALBEDOBUFFER
  6003. - int TU_NORMAL
  6004. - int TU_NORMALBUFFER
  6005. - int TU_SPECULAR
  6006. - int TU_EMISSIVE
  6007. - int TU_ENVIRONMENT
  6008. - int MAX_MATERIAL_TEXTURE_UNITS
  6009. - int TU_LIGHTRAMP
  6010. - int TU_LIGHTSHAPE
  6011. - int TU_SHADOWMAP
  6012. - int TU_FACESELECT
  6013. - int TU_INDIRECTION
  6014. - int TU_DEPTHBUFFER
  6015. - int TU_LIGHTBUFFER
  6016. - int TU_VOLUMEMAP
  6017. - int TU_ZONE
  6018. - int MAX_TEXTURE_UNITS
  6019. ### TextureUsage
  6020. - int TEXTURE_STATIC
  6021. - int TEXTURE_DYNAMIC
  6022. - int TEXTURE_RENDERTARGET
  6023. - int TEXTURE_DEPTHSTENCIL
  6024. ### TileMapLayerType2D
  6025. - int LT_TILE_LAYER
  6026. - int LT_OBJECT_GROUP
  6027. - int LT_IMAGE_LAYER
  6028. - int LT_INVALID
  6029. ### TileMapObjectType2D
  6030. - int OT_RECTANGLE
  6031. - int OT_ELLIPSE
  6032. - int OT_POLYGON
  6033. - int OT_POLYLINE
  6034. - int OT_TILE
  6035. - int OT_INVALID
  6036. ### TransformSpace
  6037. - int TS_LOCAL
  6038. - int TS_PARENT
  6039. - int TS_WORLD
  6040. ### TraversalMode
  6041. - int TM_BREADTH_FIRST
  6042. - int TM_DEPTH_FIRST
  6043. ### VariantType
  6044. - int VAR_NONE
  6045. - int VAR_INT
  6046. - int VAR_BOOL
  6047. - int VAR_FLOAT
  6048. - int VAR_VECTOR2
  6049. - int VAR_VECTOR3
  6050. - int VAR_VECTOR4
  6051. - int VAR_QUATERNION
  6052. - int VAR_COLOR
  6053. - int VAR_STRING
  6054. - int VAR_BUFFER
  6055. - int VAR_VOIDPTR
  6056. - int VAR_RESOURCEREF
  6057. - int VAR_RESOURCEREFLIST
  6058. - int VAR_VARIANTVECTOR
  6059. - int VAR_VARIANTMAP
  6060. - int VAR_INTRECT
  6061. - int VAR_INTVECTOR2
  6062. - int VAR_PTR
  6063. - int VAR_MATRIX3
  6064. - int VAR_MATRIX3X4
  6065. - int VAR_MATRIX4
  6066. - int MAX_VAR_TYPES
  6067. ### VertexElement
  6068. - int ELEMENT_POSITION
  6069. - int ELEMENT_NORMAL
  6070. - int ELEMENT_COLOR
  6071. - int ELEMENT_TEXCOORD1
  6072. - int ELEMENT_TEXCOORD2
  6073. - int ELEMENT_CUBETEXCOORD1
  6074. - int ELEMENT_CUBETEXCOORD2
  6075. - int ELEMENT_TANGENT
  6076. - int ELEMENT_BLENDWEIGHTS
  6077. - int ELEMENT_BLENDINDICES
  6078. - int ELEMENT_INSTANCEMATRIX1
  6079. - int ELEMENT_INSTANCEMATRIX2
  6080. - int ELEMENT_INSTANCEMATRIX3
  6081. - int MAX_VERTEX_ELEMENTS
  6082. ### VerticalAlignment
  6083. - int VA_TOP
  6084. - int VA_CENTER
  6085. - int VA_BOTTOM
  6086. ### WindowDragMode
  6087. - int DRAG_NONE
  6088. - int DRAG_MOVE
  6089. - int DRAG_RESIZE_TOPLEFT
  6090. - int DRAG_RESIZE_TOP
  6091. - int DRAG_RESIZE_TOPRIGHT
  6092. - int DRAG_RESIZE_RIGHT
  6093. - int DRAG_RESIZE_BOTTOMRIGHT
  6094. - int DRAG_RESIZE_BOTTOM
  6095. - int DRAG_RESIZE_BOTTOMLEFT
  6096. - int DRAG_RESIZE_LEFT
  6097. ### WrapMode
  6098. - int WM_LOOP
  6099. - int WM_ONCE
  6100. - int WM_CLAMP
  6101. \section LuaScriptAPI_GlobalFunctions Global functions
  6102. - float Abs(float value)
  6103. - int AbsInt(int value)
  6104. - float Acos(float x)
  6105. - String AddTrailingSlash(const String pathName)
  6106. - float Asin(float x)
  6107. - float Atan(float x)
  6108. - float Atan2(float y, float x)
  6109. - float Clamp(float value, float min, float max)
  6110. - int ClampInt(int value, int min, int max)
  6111. - VectorBuffer CompressVectorBuffer(VectorBuffer& src)
  6112. - float Cos(float angle)
  6113. - VectorBuffer DecompressVectorBuffer(VectorBuffer& src)
  6114. - bool Equals(float lhs, float rhs)
  6115. - void ErrorDialog(const String title, const String message)
  6116. - void ErrorExit(const String message = String::EMPTY, int exitCode = EXIT_FAILURE)
  6117. - const Vector<String>& GetArguments()
  6118. - Audio* GetAudio()
  6119. - ResourceCache* GetCache()
  6120. - Console* GetConsole()
  6121. - String GetConsoleInput()
  6122. - Context* GetContext()
  6123. - DebugHud* GetDebugHud()
  6124. - Engine* GetEngine()
  6125. - EventHandler* GetEventHandler() const
  6126. - Object* GetEventSender()
  6127. - bool GetExecuteConsoleCommands()
  6128. - String GetExtension(const String fullPath, bool lowercaseExtension = true)
  6129. - String GetFileName(const String fullPath)
  6130. - String GetFileNameAndExtension(const String fullPath, bool lowercaseExtension = false)
  6131. - FileSystem* GetFileSystem()
  6132. - Graphics* GetGraphics()
  6133. - Input* GetInput()
  6134. - String GetInternalPath(const String pathName)
  6135. - Log* GetLog()
  6136. - String GetNativePath(const String pathName)
  6137. - Network* GetNetwork()
  6138. - unsigned GetNumLogicalCPUs()
  6139. - unsigned GetNumPhysicalCPUs()
  6140. - String GetParentPath(const String pathName)
  6141. - String GetPath(const String fullPath)
  6142. - String GetPlatform()
  6143. - unsigned GetRandomSeed()
  6144. - Renderer* GetRenderer()
  6145. - Time* GetTime()
  6146. - UI* GetUI()
  6147. - bool IsAbsolutePath(const String pathName)
  6148. - bool IsAlpha(unsigned ch)
  6149. - bool IsDigit(unsigned ch)
  6150. - bool IsNaN(float value)
  6151. - bool IsPowerOfTwo(unsigned value)
  6152. - float Lerp(float lhs, float rhs, float t)
  6153. - float Max(float lhs, float rhs)
  6154. - int MaxInt(int lhs, int rhs)
  6155. - float Min(float lhs, float rhs)
  6156. - int MinInt(int lhs, int rhs)
  6157. - unsigned NextPowerOfTwo(unsigned value)
  6158. - void OpenConsoleWindow()
  6159. - void PrintLine(const String str, bool error = false)
  6160. - int Rand()
  6161. - float RandStandardNormal()
  6162. - float Random(float range)
  6163. - float Random(float min, float max)
  6164. - float Random()
  6165. - int RandomInt(int min, int max)
  6166. - int RandomInt(int range)
  6167. - float RandomNormal(float meanValue, float variance)
  6168. - String RemoveTrailingSlash(const String pathName)
  6169. - String ReplaceExtension(const String fullPath, const String newExtension)
  6170. - unsigned SDBMHash(unsigned hash, char c)
  6171. - void SendEvent(const String eventName, VariantMap& eventData)
  6172. - void SetExecuteConsoleCommands(bool enable)
  6173. - void SetRandomSeed(unsigned seed)
  6174. - float Sign(float value)
  6175. - float Sin(float angle)
  6176. - float SmoothStep(float lhs, float rhs, float t)
  6177. - void SubscribeToEvent(void* sender, const String eventName, const String functionName)
  6178. - void SubscribeToEvent(const String eventName, const String functionName)
  6179. - float Tan(float angle)
  6180. - bool ToBool(const String source)
  6181. - Color ToColor(const String source)
  6182. - float ToFloat(const String source)
  6183. - int ToInt(const String source)
  6184. - IntRect ToIntRect(const String source)
  6185. - IntVector2 ToIntVector2(const String source)
  6186. - unsigned ToLower(unsigned ch)
  6187. - Matrix3 ToMatrix3(const String source)
  6188. - Matrix3x4 ToMatrix3x4(const String source)
  6189. - Matrix4 ToMatrix4(const String source)
  6190. - Quaternion ToQuaternion(const String source)
  6191. - Rect ToRect(const String source)
  6192. - String ToString(void* value)
  6193. - String ToStringHex(unsigned value)
  6194. - unsigned ToUInt(const String source)
  6195. - unsigned ToUpper(unsigned ch)
  6196. - Vector2 ToVector2(const String source)
  6197. - Vector3 ToVector3(const String source)
  6198. - Vector4 ToVector4(const String source, bool allowMissingCoords = false)
  6199. - void UnsubscribeFromAllEvents()
  6200. - void UnsubscribeFromEvent(void* sender, const String eventName, const String functionName = String::EMPTY)
  6201. - void UnsubscribeFromEvent(const String eventName, const String functionName = String::EMPTY)
  6202. - void UnsubscribeFromEvents(void* sender)
  6203. \section LuaScriptAPI_GlobalProperties Global properties
  6204. - Audio* audio (readonly)
  6205. - ResourceCache* cache (readonly)
  6206. - Console* console (readonly)
  6207. - DebugHud* debugHud (readonly)
  6208. - Engine* engine (readonly)
  6209. - FileSystem* fileSystem (readonly)
  6210. - Graphics* graphics (readonly)
  6211. - Input* input (readonly)
  6212. - Log* log (readonly)
  6213. - Network* network (readonly)
  6214. - Renderer* renderer (readonly)
  6215. - Time* time (readonly)
  6216. - UI* ui (readonly)
  6217. \section LuaScriptAPI_GlobalConstants Global constants
  6218. - float ANIMATION_LOD_BASESCALE
  6219. - char CHANNEL_POSITION
  6220. - char CHANNEL_ROTATION
  6221. - char CHANNEL_SCALE
  6222. - unsigned CLEAR_COLOR
  6223. - unsigned CLEAR_DEPTH
  6224. - unsigned CLEAR_STENCIL
  6225. - int CONTROLLER_AXIS_LEFTX
  6226. - int CONTROLLER_AXIS_LEFTY
  6227. - int CONTROLLER_AXIS_RIGHTX
  6228. - int CONTROLLER_AXIS_RIGHTY
  6229. - int CONTROLLER_AXIS_TRIGGERLEFT
  6230. - int CONTROLLER_AXIS_TRIGGERRIGHT
  6231. - int CONTROLLER_BUTTON_A
  6232. - int CONTROLLER_BUTTON_B
  6233. - int CONTROLLER_BUTTON_BACK
  6234. - int CONTROLLER_BUTTON_DPAD_DOWN
  6235. - int CONTROLLER_BUTTON_DPAD_LEFT
  6236. - int CONTROLLER_BUTTON_DPAD_RIGHT
  6237. - int CONTROLLER_BUTTON_DPAD_UP
  6238. - int CONTROLLER_BUTTON_GUIDE
  6239. - int CONTROLLER_BUTTON_LEFTSHOULDER
  6240. - int CONTROLLER_BUTTON_LEFTSTICK
  6241. - int CONTROLLER_BUTTON_RIGHTSHOULDER
  6242. - int CONTROLLER_BUTTON_RIGHTSTICK
  6243. - int CONTROLLER_BUTTON_START
  6244. - int CONTROLLER_BUTTON_X
  6245. - int CONTROLLER_BUTTON_Y
  6246. - unsigned DD_DISABLED
  6247. - unsigned DD_SOURCE
  6248. - unsigned DD_SOURCE_AND_TARGET
  6249. - unsigned DD_TARGET
  6250. - unsigned DEBUGHUD_SHOW_ALL
  6251. - unsigned DEBUGHUD_SHOW_MODE
  6252. - unsigned DEBUGHUD_SHOW_NONE
  6253. - unsigned DEBUGHUD_SHOW_PROFILER
  6254. - unsigned DEBUGHUD_SHOW_STATS
  6255. - unsigned DEFAULT_LIGHTMASK
  6256. - unsigned DEFAULT_SHADOWMASK
  6257. - unsigned DEFAULT_VIEWMASK
  6258. - unsigned DEFAULT_ZONEMASK
  6259. - unsigned DRAWABLE_ANY
  6260. - unsigned DRAWABLE_GEOMETRY
  6261. - unsigned DRAWABLE_LIGHT
  6262. - unsigned DRAWABLE_PROXYGEOMETRY
  6263. - unsigned DRAWABLE_ZONE
  6264. - unsigned FIRST_LOCAL_ID
  6265. - unsigned FIRST_REPLICATED_ID
  6266. - int HAT_CENTER
  6267. - int HAT_DOWN
  6268. - int HAT_LEFT
  6269. - int HAT_RIGHT
  6270. - int HAT_UP
  6271. - int KEY_0
  6272. - int KEY_1
  6273. - int KEY_2
  6274. - int KEY_3
  6275. - int KEY_4
  6276. - int KEY_5
  6277. - int KEY_6
  6278. - int KEY_7
  6279. - int KEY_8
  6280. - int KEY_9
  6281. - int KEY_A
  6282. - int KEY_ALT
  6283. - int KEY_APPLICATION
  6284. - int KEY_B
  6285. - int KEY_BACKSPACE
  6286. - int KEY_C
  6287. - int KEY_CAPSLOCK
  6288. - int KEY_CTRL
  6289. - int KEY_D
  6290. - int KEY_DELETE
  6291. - int KEY_DOWN
  6292. - int KEY_E
  6293. - int KEY_END
  6294. - int KEY_ESC
  6295. - int KEY_F
  6296. - int KEY_F1
  6297. - int KEY_F10
  6298. - int KEY_F11
  6299. - int KEY_F12
  6300. - int KEY_F13
  6301. - int KEY_F14
  6302. - int KEY_F15
  6303. - int KEY_F16
  6304. - int KEY_F17
  6305. - int KEY_F18
  6306. - int KEY_F19
  6307. - int KEY_F2
  6308. - int KEY_F20
  6309. - int KEY_F21
  6310. - int KEY_F22
  6311. - int KEY_F23
  6312. - int KEY_F24
  6313. - int KEY_F3
  6314. - int KEY_F4
  6315. - int KEY_F5
  6316. - int KEY_F6
  6317. - int KEY_F7
  6318. - int KEY_F8
  6319. - int KEY_F9
  6320. - int KEY_G
  6321. - int KEY_GUI
  6322. - int KEY_H
  6323. - int KEY_HOME
  6324. - int KEY_I
  6325. - int KEY_INSERT
  6326. - int KEY_J
  6327. - int KEY_K
  6328. - int KEY_KP_0
  6329. - int KEY_KP_1
  6330. - int KEY_KP_2
  6331. - int KEY_KP_3
  6332. - int KEY_KP_4
  6333. - int KEY_KP_5
  6334. - int KEY_KP_6
  6335. - int KEY_KP_7
  6336. - int KEY_KP_8
  6337. - int KEY_KP_9
  6338. - int KEY_KP_DIVIDE
  6339. - int KEY_KP_ENTER
  6340. - int KEY_KP_MINUS
  6341. - int KEY_KP_MULTIPLY
  6342. - int KEY_KP_PERIOD
  6343. - int KEY_KP_PLUS
  6344. - int KEY_L
  6345. - int KEY_LALT
  6346. - int KEY_LCTRL
  6347. - int KEY_LEFT
  6348. - int KEY_LGUI
  6349. - int KEY_LSHIFT
  6350. - int KEY_M
  6351. - int KEY_N
  6352. - int KEY_NUMLOCKCLEAR
  6353. - int KEY_O
  6354. - int KEY_P
  6355. - int KEY_PAGEDOWN
  6356. - int KEY_PAGEUP
  6357. - int KEY_PAUSE
  6358. - int KEY_PRINTSCREEN
  6359. - int KEY_Q
  6360. - int KEY_R
  6361. - int KEY_RALT
  6362. - int KEY_RCTRL
  6363. - int KEY_RETURN
  6364. - int KEY_RETURN2
  6365. - int KEY_RGUI
  6366. - int KEY_RIGHT
  6367. - int KEY_RSHIFT
  6368. - int KEY_S
  6369. - int KEY_SCROLLLOCK
  6370. - int KEY_SELECT
  6371. - int KEY_SHIFT
  6372. - int KEY_SPACE
  6373. - int KEY_T
  6374. - int KEY_TAB
  6375. - int KEY_U
  6376. - int KEY_UP
  6377. - int KEY_V
  6378. - int KEY_W
  6379. - int KEY_X
  6380. - int KEY_Y
  6381. - int KEY_Z
  6382. - unsigned LAST_LOCAL_ID
  6383. - unsigned LAST_REPLICATED_ID
  6384. - int LOG_DEBUG
  6385. - int LOG_ERROR
  6386. - int LOG_INFO
  6387. - int LOG_NONE
  6388. - int LOG_WARNING
  6389. - int MAX_VERTEX_LIGHTS
  6390. - int MOUSEB_LEFT
  6391. - int MOUSEB_MIDDLE
  6392. - int MOUSEB_RIGHT
  6393. - float M_DEGTORAD
  6394. - float M_DEGTORAD_2
  6395. - float M_EPSILON
  6396. - float M_HALF_PI
  6397. - float M_INFINITY
  6398. - float M_LARGE_EPSILON
  6399. - float M_LARGE_VALUE
  6400. - float M_MAX_FOV
  6401. - int M_MAX_INT
  6402. - unsigned M_MAX_UNSIGNED
  6403. - int M_MIN_INT
  6404. - float M_MIN_NEARCLIP
  6405. - unsigned M_MIN_UNSIGNED
  6406. - float M_PI
  6407. - float M_RADTODEG
  6408. - unsigned NUM_FRUSTUM_PLANES
  6409. - unsigned NUM_FRUSTUM_VERTICES
  6410. - float PIXEL_SIZE
  6411. - int QUALITY_HIGH
  6412. - int QUALITY_LOW
  6413. - int QUALITY_MAX
  6414. - int QUALITY_MEDIUM
  6415. - int QUAL_ALT
  6416. - int QUAL_ANY
  6417. - int QUAL_CTRL
  6418. - int QUAL_SHIFT
  6419. - int SCANCODE_0
  6420. - int SCANCODE_1
  6421. - int SCANCODE_2
  6422. - int SCANCODE_3
  6423. - int SCANCODE_4
  6424. - int SCANCODE_5
  6425. - int SCANCODE_6
  6426. - int SCANCODE_7
  6427. - int SCANCODE_8
  6428. - int SCANCODE_9
  6429. - int SCANCODE_A
  6430. - int SCANCODE_AC_BACK
  6431. - int SCANCODE_AC_BOOKMARKS
  6432. - int SCANCODE_AC_FORWARD
  6433. - int SCANCODE_AC_HOME
  6434. - int SCANCODE_AC_REFRESH
  6435. - int SCANCODE_AC_SEARCH
  6436. - int SCANCODE_AC_STOP
  6437. - int SCANCODE_AGAIN
  6438. - int SCANCODE_ALT
  6439. - int SCANCODE_ALTERASE
  6440. - int SCANCODE_APOSTROPHE
  6441. - int SCANCODE_APP1
  6442. - int SCANCODE_APP2
  6443. - int SCANCODE_APPLICATION
  6444. - int SCANCODE_AUDIOMUTE
  6445. - int SCANCODE_AUDIONEXT
  6446. - int SCANCODE_AUDIOPLAY
  6447. - int SCANCODE_AUDIOPREV
  6448. - int SCANCODE_AUDIOSTOP
  6449. - int SCANCODE_B
  6450. - int SCANCODE_BACKSLASH
  6451. - int SCANCODE_BACKSPACE
  6452. - int SCANCODE_BRIGHTNESSDOWN
  6453. - int SCANCODE_BRIGHTNESSUP
  6454. - int SCANCODE_C
  6455. - int SCANCODE_CALCULATOR
  6456. - int SCANCODE_CANCEL
  6457. - int SCANCODE_CAPSLOCK
  6458. - int SCANCODE_CLEAR
  6459. - int SCANCODE_CLEARAGAIN
  6460. - int SCANCODE_COMMA
  6461. - int SCANCODE_COMPUTER
  6462. - int SCANCODE_COPY
  6463. - int SCANCODE_CRSEL
  6464. - int SCANCODE_CTRL
  6465. - int SCANCODE_CURRENCYSUBUNIT
  6466. - int SCANCODE_CURRENCYUNIT
  6467. - int SCANCODE_CUT
  6468. - int SCANCODE_D
  6469. - int SCANCODE_DECIMALSEPARATOR
  6470. - int SCANCODE_DELETE
  6471. - int SCANCODE_DISPLAYSWITCH
  6472. - int SCANCODE_DOWN
  6473. - int SCANCODE_E
  6474. - int SCANCODE_EJECT
  6475. - int SCANCODE_END
  6476. - int SCANCODE_EQUALS
  6477. - int SCANCODE_ESCAPE
  6478. - int SCANCODE_EXECUTE
  6479. - int SCANCODE_EXSEL
  6480. - int SCANCODE_F
  6481. - int SCANCODE_F1
  6482. - int SCANCODE_F10
  6483. - int SCANCODE_F11
  6484. - int SCANCODE_F12
  6485. - int SCANCODE_F13
  6486. - int SCANCODE_F14
  6487. - int SCANCODE_F15
  6488. - int SCANCODE_F16
  6489. - int SCANCODE_F17
  6490. - int SCANCODE_F18
  6491. - int SCANCODE_F19
  6492. - int SCANCODE_F2
  6493. - int SCANCODE_F20
  6494. - int SCANCODE_F21
  6495. - int SCANCODE_F22
  6496. - int SCANCODE_F23
  6497. - int SCANCODE_F24
  6498. - int SCANCODE_F3
  6499. - int SCANCODE_F4
  6500. - int SCANCODE_F5
  6501. - int SCANCODE_F6
  6502. - int SCANCODE_F7
  6503. - int SCANCODE_F8
  6504. - int SCANCODE_F9
  6505. - int SCANCODE_FIND
  6506. - int SCANCODE_G
  6507. - int SCANCODE_GRAVE
  6508. - int SCANCODE_GUI
  6509. - int SCANCODE_H
  6510. - int SCANCODE_HELP
  6511. - int SCANCODE_HOME
  6512. - int SCANCODE_I
  6513. - int SCANCODE_INSERT
  6514. - int SCANCODE_INTERNATIONAL1
  6515. - int SCANCODE_INTERNATIONAL2
  6516. - int SCANCODE_INTERNATIONAL3
  6517. - int SCANCODE_INTERNATIONAL4
  6518. - int SCANCODE_INTERNATIONAL5
  6519. - int SCANCODE_INTERNATIONAL6
  6520. - int SCANCODE_INTERNATIONAL7
  6521. - int SCANCODE_INTERNATIONAL8
  6522. - int SCANCODE_INTERNATIONAL9
  6523. - int SCANCODE_J
  6524. - int SCANCODE_K
  6525. - int SCANCODE_KBDILLUMDOWN
  6526. - int SCANCODE_KBDILLUMTOGGLE
  6527. - int SCANCODE_KBDILLUMUP
  6528. - int SCANCODE_KP_0
  6529. - int SCANCODE_KP_00
  6530. - int SCANCODE_KP_000
  6531. - int SCANCODE_KP_1
  6532. - int SCANCODE_KP_2
  6533. - int SCANCODE_KP_3
  6534. - int SCANCODE_KP_4
  6535. - int SCANCODE_KP_5
  6536. - int SCANCODE_KP_6
  6537. - int SCANCODE_KP_7
  6538. - int SCANCODE_KP_8
  6539. - int SCANCODE_KP_9
  6540. - int SCANCODE_KP_A
  6541. - int SCANCODE_KP_AMPERSAND
  6542. - int SCANCODE_KP_AT
  6543. - int SCANCODE_KP_B
  6544. - int SCANCODE_KP_BACKSPACE
  6545. - int SCANCODE_KP_BINARY
  6546. - int SCANCODE_KP_C
  6547. - int SCANCODE_KP_CLEAR
  6548. - int SCANCODE_KP_CLEARENTRY
  6549. - int SCANCODE_KP_COLON
  6550. - int SCANCODE_KP_COMMA
  6551. - int SCANCODE_KP_D
  6552. - int SCANCODE_KP_DBLAMPERSAND
  6553. - int SCANCODE_KP_DBLVERTICALBAR
  6554. - int SCANCODE_KP_DECIMAL
  6555. - int SCANCODE_KP_DIVIDE
  6556. - int SCANCODE_KP_E
  6557. - int SCANCODE_KP_ENTER
  6558. - int SCANCODE_KP_EQUALS
  6559. - int SCANCODE_KP_EQUALSAS400
  6560. - int SCANCODE_KP_EXCLAM
  6561. - int SCANCODE_KP_F
  6562. - int SCANCODE_KP_GREATER
  6563. - int SCANCODE_KP_HASH
  6564. - int SCANCODE_KP_HEXADECIMAL
  6565. - int SCANCODE_KP_LEFTBRACE
  6566. - int SCANCODE_KP_LEFTPAREN
  6567. - int SCANCODE_KP_LESS
  6568. - int SCANCODE_KP_MEMADD
  6569. - int SCANCODE_KP_MEMCLEAR
  6570. - int SCANCODE_KP_MEMDIVIDE
  6571. - int SCANCODE_KP_MEMMULTIPLY
  6572. - int SCANCODE_KP_MEMRECALL
  6573. - int SCANCODE_KP_MEMSTORE
  6574. - int SCANCODE_KP_MEMSUBTRACT
  6575. - int SCANCODE_KP_MINUS
  6576. - int SCANCODE_KP_MULTIPLY
  6577. - int SCANCODE_KP_OCTAL
  6578. - int SCANCODE_KP_PERCENT
  6579. - int SCANCODE_KP_PERIOD
  6580. - int SCANCODE_KP_PLUS
  6581. - int SCANCODE_KP_PLUSMINUS
  6582. - int SCANCODE_KP_POWER
  6583. - int SCANCODE_KP_RIGHTBRACE
  6584. - int SCANCODE_KP_RIGHTPAREN
  6585. - int SCANCODE_KP_SPACE
  6586. - int SCANCODE_KP_TAB
  6587. - int SCANCODE_KP_VERTICALBAR
  6588. - int SCANCODE_KP_XOR
  6589. - int SCANCODE_L
  6590. - int SCANCODE_LALT
  6591. - int SCANCODE_LANG1
  6592. - int SCANCODE_LANG2
  6593. - int SCANCODE_LANG3
  6594. - int SCANCODE_LANG4
  6595. - int SCANCODE_LANG5
  6596. - int SCANCODE_LANG6
  6597. - int SCANCODE_LANG7
  6598. - int SCANCODE_LANG8
  6599. - int SCANCODE_LANG9
  6600. - int SCANCODE_LCTRL
  6601. - int SCANCODE_LEFT
  6602. - int SCANCODE_LEFTBRACKET
  6603. - int SCANCODE_LGUI
  6604. - int SCANCODE_LSHIFT
  6605. - int SCANCODE_M
  6606. - int SCANCODE_MAIL
  6607. - int SCANCODE_MEDIASELECT
  6608. - int SCANCODE_MENU
  6609. - int SCANCODE_MINUS
  6610. - int SCANCODE_MODE
  6611. - int SCANCODE_MUTE
  6612. - int SCANCODE_N
  6613. - int SCANCODE_NONUSBACKSLASH
  6614. - int SCANCODE_NONUSHASH
  6615. - int SCANCODE_NUMLOCKCLEAR
  6616. - int SCANCODE_O
  6617. - int SCANCODE_OPER
  6618. - int SCANCODE_OUT
  6619. - int SCANCODE_P
  6620. - int SCANCODE_PAGEDOWN
  6621. - int SCANCODE_PAGEUP
  6622. - int SCANCODE_PASTE
  6623. - int SCANCODE_PAUSE
  6624. - int SCANCODE_PERIOD
  6625. - int SCANCODE_POWER
  6626. - int SCANCODE_PRINTSCREEN
  6627. - int SCANCODE_PRIOR
  6628. - int SCANCODE_Q
  6629. - int SCANCODE_R
  6630. - int SCANCODE_RALT
  6631. - int SCANCODE_RCTRL
  6632. - int SCANCODE_RETURN
  6633. - int SCANCODE_RETURN2
  6634. - int SCANCODE_RGUI
  6635. - int SCANCODE_RIGHT
  6636. - int SCANCODE_RIGHTBRACKET
  6637. - int SCANCODE_RSHIFT
  6638. - int SCANCODE_S
  6639. - int SCANCODE_SCROLLLOCK
  6640. - int SCANCODE_SELECT
  6641. - int SCANCODE_SEMICOLON
  6642. - int SCANCODE_SEPARATOR
  6643. - int SCANCODE_SHIFT
  6644. - int SCANCODE_SLASH
  6645. - int SCANCODE_SLEEP
  6646. - int SCANCODE_SPACE
  6647. - int SCANCODE_STOP
  6648. - int SCANCODE_SYSREQ
  6649. - int SCANCODE_T
  6650. - int SCANCODE_TAB
  6651. - int SCANCODE_THOUSANDSSEPARATOR
  6652. - int SCANCODE_U
  6653. - int SCANCODE_UNDO
  6654. - int SCANCODE_UNKNOWN
  6655. - int SCANCODE_UP
  6656. - int SCANCODE_V
  6657. - int SCANCODE_VOLUMEDOWN
  6658. - int SCANCODE_VOLUMEUP
  6659. - int SCANCODE_W
  6660. - int SCANCODE_WWW
  6661. - int SCANCODE_X
  6662. - int SCANCODE_Y
  6663. - int SCANCODE_Z
  6664. - unsigned SCAN_DIRS
  6665. - unsigned SCAN_FILES
  6666. - unsigned SCAN_HIDDEN
  6667. - int SHADOWQUALITY_HIGH_16BIT
  6668. - int SHADOWQUALITY_HIGH_24BIT
  6669. - int SHADOWQUALITY_LOW_16BIT
  6670. - int SHADOWQUALITY_LOW_24BIT
  6671. - unsigned VO_DISABLE_OCCLUSION
  6672. - unsigned VO_DISABLE_SHADOWS
  6673. - unsigned VO_LOW_MATERIAL_QUALITY
  6674. - unsigned VO_NONE
  6675. */
  6676. }