LuaScriptAPI.dox 199 KB

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