LuaScriptAPI.dox 238 KB

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