LuaScriptAPI.dox 164 KB

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