LuaScriptAPI.dox 218 KB

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