LuaScriptAPI.dox 202 KB

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