LuaScriptAPI.dox 222 KB

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