LuaScriptAPI.dox 180 KB

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