LuaScriptAPI.dox 197 KB

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