LuaScriptAPI.dox 196 KB

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