LuaScriptAPI.dox 189 KB

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