LuaScriptAPI.dox 182 KB

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