LuaScriptAPI.dox 195 KB

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