LuaScriptAPI.dox 167 KB

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