LuaScriptAPI.dox 195 KB

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