LuaScriptAPI.dox 155 KB

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