LuaScriptAPI.dox 148 KB

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