LuaScriptAPI.dox 151 KB

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