LuaScriptAPI.dox 163 KB

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