LuaScriptAPI.dox 155 KB

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