LuaScriptAPI.dox 199 KB

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