LuaScriptAPI.dox 197 KB

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