LuaScriptAPI.dox 150 KB

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