LuaScriptAPI.dox 179 KB

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