LuaScriptAPI.dox 196 KB

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