LuaScriptAPI.dox 164 KB

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