LuaScriptAPI.dox 187 KB

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