LuaScriptAPI.dox 185 KB

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