LuaScriptAPI.dox 195 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054
  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 SetFaceCameraMode(FaceCameraMode mode)
  242. - void SetAnimationLodBias(float bias)
  243. - void Commit()
  244. - Material* GetMaterial() const
  245. - unsigned GetNumBillboards() const
  246. - Billboard* GetBillboard(unsigned index)
  247. - bool IsRelative() const
  248. - bool IsScaled() const
  249. - bool IsSorted() const
  250. - FaceCameraMode GetFaceCameraMode() const
  251. - float GetAnimationLodBias() const
  252. Properties:
  253. - Material* material
  254. - unsigned numBillboards
  255. - bool relative
  256. - bool scaled
  257. - bool sorted
  258. - FaceCameraMode faceCameraMode
  259. - float animationLodBias
  260. ### Bone
  261. Methods:
  262. - Bone() (GC)
  263. - Bone* new()
  264. - void delete()
  265. Properties:
  266. - String name
  267. - StringHash nameHash
  268. - unsigned parentIndex
  269. - Vector3 initialPosition
  270. - Quaternion initialRotation
  271. - Vector3 initialScale
  272. - Matrix3x4 offsetMatrix
  273. - bool animated
  274. - char collisionMask
  275. - float radius
  276. - BoundingBox boundingBox
  277. - Node* node
  278. ### BorderImage : UIElement
  279. Methods:
  280. - BorderImage() (GC)
  281. - BorderImage* new()
  282. - void delete()
  283. - void SetTexture(Texture* texture)
  284. - void SetImageRect(const IntRect& rect)
  285. - void SetFullImageRect()
  286. - void SetBorder(const IntRect& rect)
  287. - void SetImageBorder(const IntRect& rect)
  288. - void SetHoverOffset(const IntVector2& offset)
  289. - void SetHoverOffset(int x, int y)
  290. - void SetBlendMode(BlendMode mode)
  291. - void SetTiled(bool enable)
  292. - Texture* GetTexture() const
  293. - const IntRect& GetImageRect() const
  294. - const IntRect& GetBorder() const
  295. - const IntRect& GetImageBorder() const
  296. - const IntVector2& GetHoverOffset() const
  297. - BlendMode GetBlendMode() const
  298. - bool IsTiled() const
  299. Properties:
  300. - Texture* texture
  301. - IntRect& imageRect
  302. - IntRect& border
  303. - IntRect& imageBorder
  304. - IntVector2& hoverOffset
  305. - BlendMode blendMode
  306. - bool tiled
  307. ### BoundingBox
  308. Methods:
  309. - BoundingBox() (GC)
  310. - BoundingBox* new()
  311. - BoundingBox(const BoundingBox& box) (GC)
  312. - BoundingBox* new(const BoundingBox& box)
  313. - BoundingBox(const Rect& rect) (GC)
  314. - BoundingBox* new(const Rect& rect)
  315. - BoundingBox(const Vector3& min, const Vector3& max) (GC)
  316. - BoundingBox* new(const Vector3& min, const Vector3& max)
  317. - BoundingBox(float min, float max) (GC)
  318. - BoundingBox* new(float min, float max)
  319. - BoundingBox(const Frustum& frustum) (GC)
  320. - BoundingBox* new(const Frustum& frustum)
  321. - BoundingBox(const Polyhedron& poly) (GC)
  322. - BoundingBox* new(const Polyhedron& poly)
  323. - BoundingBox(const Sphere& sphere) (GC)
  324. - BoundingBox* new(const Sphere& sphere)
  325. - void delete()
  326. - bool operator==(const BoundingBox& rhs) const
  327. - void Define(const BoundingBox& box)
  328. - void Define(const Rect& rect)
  329. - void Define(const Vector3& min, const Vector3& max)
  330. - void Define(float min, float max)
  331. - void Define(const Vector3& point)
  332. - void Define(const Frustum& frustum)
  333. - void Define(const Polyhedron& poly)
  334. - void Define(const Sphere& sphere)
  335. - void Merge(const Vector3& point)
  336. - void Merge(const BoundingBox& box)
  337. - void Merge(const Frustum& frustum)
  338. - void Merge(const Polyhedron& poly)
  339. - void Merge(const Sphere& sphere)
  340. - void Clip(const BoundingBox& box)
  341. - void Transform(const Matrix3& transform)
  342. - void Transform(const Matrix3x4& transform)
  343. - void Clear()
  344. - Vector3 Center() const
  345. - Vector3 Size() const
  346. - Vector3 HalfSize() const
  347. - BoundingBox Transformed(const Matrix3& transform) const
  348. - BoundingBox Transformed(const Matrix3x4& transform) const
  349. - Rect Projected(const Matrix4& projection) const
  350. - Intersection IsInside(const Vector3& point) const
  351. - Intersection IsInside(const BoundingBox& box) const
  352. - Intersection IsInsideFast(const BoundingBox& box) const
  353. - Intersection IsInside(const Sphere& sphere) const
  354. - Intersection IsInsideFast(const Sphere& sphere) const
  355. - String ToString() const
  356. Properties:
  357. - Vector3 min
  358. - Vector3 max
  359. - bool defined
  360. - Vector3 center (readonly)
  361. - Vector3 size (readonly)
  362. - Vector3 halfSize (readonly)
  363. ### Button : BorderImage
  364. Methods:
  365. - Button() (GC)
  366. - Button* new()
  367. - void delete()
  368. - void SetPressedOffset(const IntVector2& offset)
  369. - void SetPressedOffset(int x, int y)
  370. - void SetPressedChildOffset(const IntVector2& offset)
  371. - void SetPressedChildOffset(int x, int y)
  372. - void SetRepeat(float delay, float rate)
  373. - void SetRepeatDelay(float delay)
  374. - void SetRepeatRate(float rate)
  375. - const IntVector2& GetPressedOffset() const
  376. - const IntVector2& GetPressedChildOffset() const
  377. - float GetRepeatDelay() const
  378. - float GetRepeatRate() const
  379. - bool IsPressed() const
  380. Properties:
  381. - IntVector2& pressedOffset
  382. - IntVector2& pressedChildOffset
  383. - float repeatDelay
  384. - float repeatRate
  385. - bool pressed (readonly)
  386. ### Camera : Component
  387. Methods:
  388. - void SetNearClip(float nearClip)
  389. - void SetFarClip(float farClip)
  390. - void SetFov(float fov)
  391. - void SetOrthoSize(float orthoSize)
  392. - void SetOrthoSize(const Vector2& orthoSize)
  393. - void SetAspectRatio(float aspectRatio)
  394. - void SetFillMode(FillMode mode)
  395. - void SetZoom(float zoom)
  396. - void SetLodBias(float bias)
  397. - void SetViewMask(unsigned mask)
  398. - void SetViewOverrideFlags(unsigned flags)
  399. - void SetOrthographic(bool enable)
  400. - void SetAutoAspectRatio(bool enable)
  401. - void SetProjectionOffset(const Vector2& offset)
  402. - void SetUseReflection(bool enable)
  403. - void SetReflectionPlane(const Plane& reflectionPlane)
  404. - void SetUseClipping(bool enable)
  405. - void SetClipPlane(const Plane& clipPlane)
  406. - float GetFarClip() const
  407. - float GetNearClip() const
  408. - float GetFov() const
  409. - float GetOrthoSize() const
  410. - float GetAspectRatio() const
  411. - float GetZoom() const
  412. - float GetLodBias() const
  413. - unsigned GetViewMask() const
  414. - unsigned GetViewOverrideFlags() const
  415. - FillMode GetFillMode() const
  416. - bool IsOrthographic() const
  417. - bool GetAutoAspectRatio() const
  418. - const Frustum& GetFrustum() const
  419. - const Matrix4& GetProjection() const
  420. - const Matrix3x4& GetView() const
  421. - void GetFrustumSize(Vector3& near, Vector3& far) const
  422. - float GetHalfViewSize() const
  423. - Frustum GetSplitFrustum(float nearClip, float farClip) const
  424. - Frustum GetViewSpaceFrustum() const
  425. - Frustum GetViewSpaceSplitFrustum(float nearClip, float farClip) const
  426. - Ray GetScreenRay(float x, float y) const
  427. - Vector2 WorldToScreenPoint(const Vector3& worldPos) const
  428. - Vector3 ScreenToWorldPoint(const Vector3& screenPos) const
  429. - const Vector2& GetProjectionOffset() const
  430. - bool GetUseReflection() const
  431. - const Plane& GetReflectionPlane() const
  432. - bool GetUseClipping() const
  433. - const Plane& GetClipPlane() const
  434. - float GetDistance(const Vector3& worldPos) const
  435. - float GetDistanceSquared(const Vector3& worldPos) const
  436. - float GetLodDistance(float distance, float scale, float bias) const
  437. - bool IsProjectionValid() const
  438. - Matrix3x4 GetEffectiveWorldTransform() const
  439. Properties:
  440. - float farClip
  441. - float nearClip
  442. - float fov
  443. - float orthoSize
  444. - float aspectRatio
  445. - float zoom
  446. - float lodBias
  447. - unsigned viewMask
  448. - unsigned viewOverrideFlags
  449. - FillMode fillMode
  450. - bool orthographic
  451. - bool autoAspectRatio
  452. - Frustum& frustum (readonly)
  453. - Matrix4& projection (readonly)
  454. - Matrix3x4& view (readonly)
  455. - float halfViewSize (readonly)
  456. - Frustum viewSpaceFrustum (readonly)
  457. - Vector2& projectionOffset
  458. - bool useReflection
  459. - Plane& reflectionPlane
  460. - bool useClipping
  461. - Plane& clipPlane
  462. - bool projectionValid (readonly)
  463. - Matrix3x4 effectiveWorldTransform (readonly)
  464. ### CascadeParameters
  465. Methods:
  466. - CascadeParameters() (GC)
  467. - CascadeParameters* new()
  468. - CascadeParameters(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f) (GC)
  469. - CascadeParameters* new(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f)
  470. - void delete()
  471. ### CheckBox : BorderImage
  472. Methods:
  473. - CheckBox() (GC)
  474. - CheckBox* new()
  475. - void delete()
  476. - void SetChecked(bool enable)
  477. - void SetCheckedOffset(const IntVector2& rect)
  478. - void SetCheckedOffset(int x, int y)
  479. - bool IsChecked() const
  480. - const IntVector2& GetCheckedOffset() const
  481. Properties:
  482. - bool checked
  483. - IntVector2& checkedOffset
  484. ### CollisionBox2D : CollisionShape2D
  485. Methods:
  486. - void SetSize(const Vector2& size)
  487. - void SetSize(float width, float height)
  488. - void SetCenter(const Vector2& center)
  489. - void SetCenter(float x, float y)
  490. - void SetAngle(float angle)
  491. - const Vector2& GetSize() const
  492. - const Vector2& GetCenter() const
  493. - float GetAngle() const
  494. Properties:
  495. - Vector2& size
  496. - Vector2& center
  497. - float angle
  498. ### CollisionChain2D : CollisionShape2D
  499. Methods:
  500. - void SetLoop(bool loop)
  501. - void SetVertexCount(unsigned count)
  502. - void SetVertex(unsigned index, const Vector2& vertex)
  503. - void SetVertices(const PODVector<Vector2>& vertices)
  504. - bool GetLoop() const
  505. - unsigned GetVertexCount() const
  506. - const Vector2& GetVertex(unsigned index) const
  507. Properties:
  508. - bool loop
  509. - unsigned vertexCount
  510. ### CollisionCircle2D : CollisionShape2D
  511. Methods:
  512. - void SetRadius(float radius)
  513. - void SetCenter(const Vector2& center)
  514. - void SetCenter(float x, float y)
  515. - float GetRadius() const
  516. - const Vector2& GetCenter() const
  517. Properties:
  518. - float radius
  519. - Vector2& center
  520. ### CollisionEdge2D : CollisionShape2D
  521. Methods:
  522. - void SetVertex1(const Vector2& vertex)
  523. - void SetVertex2(const Vector2& vertex)
  524. - void SetVertices(const Vector2& vertex1, const Vector2& vertex2)
  525. - const Vector2& GetVertex1() const
  526. - const Vector2& GetVertex2() const
  527. Properties:
  528. - Vector2& vertex1
  529. - Vector2& vertex2
  530. ### CollisionPolygon2D : CollisionShape2D
  531. Methods:
  532. - void SetVertexCount(unsigned count)
  533. - void SetVertex(unsigned index, const Vector2& vertex)
  534. - void SetVertices(const PODVector<Vector2>& vertices)
  535. - unsigned GetVertexCount() const
  536. - const Vector2& GetVertex(unsigned index) const
  537. Properties:
  538. - unsigned vertexCount
  539. ### CollisionShape : Component
  540. Methods:
  541. - void SetBox(const Vector3& size)
  542. - void SetBox(const Vector3& size, const Vector3& position)
  543. - void SetBox(const Vector3& size, const Vector3& position, const Quaternion& rotation)
  544. - void SetSphere(float diameter)
  545. - void SetSphere(float diameter, const Vector3& position)
  546. - void SetSphere(float diameter, const Vector3& position, const Quaternion& rotation)
  547. - void SetStaticPlane()
  548. - void SetStaticPlane(const Vector3& position)
  549. - void SetStaticPlane(const Vector3& position, const Quaternion& rotation)
  550. - void SetCylinder(float diameter, float height)
  551. - void SetCylinder(float diameter, float height, const Vector3& position)
  552. - void SetCylinder(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  553. - void SetCapsule(float diameter, float height)
  554. - void SetCapsule(float diameter, float height, const Vector3& position)
  555. - void SetCapsule(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  556. - void SetCone(float diameter, float height)
  557. - void SetCone(float diameter, float height, const Vector3& position)
  558. - void SetCone(float diameter, float height, const Vector3& position, const Quaternion& rotation)
  559. - void SetTriangleMesh(Model* model, unsigned lodLevel = 0)
  560. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale)
  561. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position)
  562. - void SetTriangleMesh(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  563. - void SetConvexHull(Model* model, unsigned lodLevel = 0)
  564. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale)
  565. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position)
  566. - void SetConvexHull(Model* model, unsigned lodLevel, const Vector3& scale, const Vector3& position, const Quaternion& rotation)
  567. - void SetTerrain()
  568. - void SetShapeType(ShapeType type)
  569. - void SetSize(const Vector3& size)
  570. - void SetPosition(const Vector3& position)
  571. - void SetRotation(const Quaternion& rotation)
  572. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  573. - void SetMargin(float margin)
  574. - void SetModel(Model* model)
  575. - void SetLodLevel(unsigned lodLevel)
  576. - PhysicsWorld* GetPhysicsWorld() const
  577. - ShapeType GetShapeType() const
  578. - const Vector3& GetSize() const
  579. - const Vector3& GetPosition() const
  580. - const Quaternion& GetRotation() const
  581. - float GetMargin() const
  582. - Model* GetModel() const
  583. - unsigned GetLodLevel() const
  584. - BoundingBox GetWorldBoundingBox() const
  585. Properties:
  586. - PhysicsWorld* physicsWorld (readonly)
  587. - ShapeType shapeType
  588. - Vector3& size
  589. - Vector3& position
  590. - Quaternion& rotation
  591. - float margin
  592. - Model* model
  593. - unsigned lodLevel
  594. - BoundingBox worldBoundingBox (readonly)
  595. - ResourceRef modelAttr
  596. ### CollisionShape2D : Component
  597. Methods:
  598. - void SetTrigger(bool trigger)
  599. - void SetCategoryBits(int categoryBits)
  600. - void SetMaskBits(int maskBits)
  601. - void SetGroupIndex(int groupIndex)
  602. - void SetDensity(float density)
  603. - void SetFriction(float friction)
  604. - void SetRestitution(float restitution)
  605. - bool IsTrigger() const
  606. - int GetCategoryBits() const
  607. - int GetMaskBits() const
  608. - int GetGroupIndex() const
  609. - float GetDensity() const
  610. - float GetFriction() const
  611. - float GetRestitution() const
  612. - float GetMass() const
  613. - float GetInertia() const
  614. - Vector2 GetMassCenter() const
  615. Properties:
  616. - bool trigger
  617. - int categoryBits
  618. - int maskBits
  619. - int groupIndex
  620. - float density
  621. - float friction
  622. - float restitution
  623. - float mass (readonly)
  624. - float inertia (readonly)
  625. - Vector2 massCenter (readonly)
  626. ### Color
  627. Methods:
  628. - Color() (GC)
  629. - Color* new()
  630. - Color(const Color& color) (GC)
  631. - Color* new(const Color& color)
  632. - Color(const Color& color, float a) (GC)
  633. - Color* new(const Color& color, float a)
  634. - Color(float r, float g, float b) (GC)
  635. - Color* new(float r, float g, float b)
  636. - Color(float r, float g, float b, float a) (GC)
  637. - Color* new(float r, float g, float b, float a)
  638. - void delete()
  639. - bool operator==(const Color& rhs) const
  640. - Color operator*(float rhs) const
  641. - Color operator+(const Color& rhs)
  642. - unsigned ToUInt() const
  643. - Vector3 ToHSL() const
  644. - Vector3 ToHSV() const
  645. - void FromHSL(float h, float s, float l, float a)
  646. - void FromHSV(float h, float s, float v, float a)
  647. - Vector3 ToVector3() const
  648. - Vector4 ToVector4() const
  649. - float SumRGB() const
  650. - float Average() const
  651. - float Luma() const
  652. - float Chroma() const
  653. - float Hue() const
  654. - float SaturationHSL() const
  655. - float SaturationHSV() const
  656. - float Value() const
  657. - float Lightness() const
  658. - float MaxRGB() const
  659. - float MinRGB() const
  660. - float Range() const
  661. - void Clip(bool clipAlpha = false)
  662. - void Invert(bool invertAlpha = false)
  663. - Color Lerp(const Color& rhs, float t) const
  664. - Color Abs() const
  665. - bool Equals(const Color& rhs) const
  666. - String ToString() const
  667. Properties:
  668. - float r
  669. - float g
  670. - float b
  671. - float a
  672. - const Color WHITE
  673. - const Color GRAY
  674. - const Color BLACK
  675. - const Color RED
  676. - const Color GREEN
  677. - const Color BLUE
  678. - const Color CYAN
  679. - const Color MAGENTA
  680. - const Color YELLOW
  681. - const Color TRANSPARENT
  682. ### ColorFrame
  683. Methods:
  684. - ColorFrame() (GC)
  685. - ColorFrame* new()
  686. - ColorFrame(const Color& color) (GC)
  687. - ColorFrame* new(const Color& color)
  688. - ColorFrame(const Color& color, float time) (GC)
  689. - ColorFrame* new(const Color& color, float time)
  690. - void delete()
  691. - Color Interpolate(const ColorFrame& next, float time)
  692. Properties:
  693. - Color color
  694. - float time
  695. ### Component : Animatable
  696. Methods:
  697. - void SetEnabled(bool enable)
  698. - void Remove()
  699. - unsigned GetID() const
  700. - Node* GetNode() const
  701. - Scene* GetScene() const
  702. - bool IsEnabled() const
  703. - bool IsEnabledEffective() const
  704. - Component* GetComponent(ShortStringHash type) const
  705. - Component* GetComponent(const String type) const
  706. ### Connection : Object
  707. Methods:
  708. - void SendMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  709. - void SendRemoteEvent(StringHash eventType, bool inOrder)
  710. - void SendRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData)
  711. - void SendRemoteEvent(const String eventType, bool inOrder)
  712. - void SendRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData)
  713. - void SendRemoteEvent(Node* node, StringHash eventType, bool inOrder)
  714. - void SendRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData)
  715. - void SendRemoteEvent(Node* node, const String eventType, bool inOrder)
  716. - void SendRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData)
  717. - void SetScene(Scene* newScene)
  718. - void SetIdentity(const VariantMap& identity)
  719. - void SetControls(const Controls& newControls)
  720. - void SetPosition(const Vector3& position)
  721. - void SetConnectPending(bool connectPending)
  722. - void SetLogStatistics(bool enable)
  723. - void Disconnect(int waitMSec = 0)
  724. - void SendServerUpdate()
  725. - void SendClientUpdate()
  726. - void SendRemoteEvents()
  727. - void SendPackages()
  728. - void ProcessPendingLatestData()
  729. - bool ProcessMessage(int msgID, MemoryBuffer& msg)
  730. - const VariantMap& GetIdentity() const
  731. - Scene* GetScene() const
  732. - const Controls& GetControls() const
  733. - const Vector3& GetPosition() const
  734. - bool IsClient() const
  735. - bool IsConnected() const
  736. - bool IsConnectPending() const
  737. - bool IsSceneLoaded() const
  738. - bool GetLogStatistics() const
  739. - String GetAddress() const
  740. - short GetPort() const
  741. - String ToString() const
  742. - unsigned GetNumDownloads() const
  743. - const String GetDownloadName() const
  744. - float GetDownloadProgress() const
  745. Properties:
  746. - VariantMap& identity
  747. - Scene* scene
  748. - Controls& controls
  749. - Vector3& position
  750. - bool client (readonly)
  751. - bool connected (readonly)
  752. - bool connectPending
  753. - bool sceneLoaded (readonly)
  754. - bool logStatistics
  755. - String address (readonly)
  756. - short port (readonly)
  757. - unsigned numDownloads (readonly)
  758. - String downloadName (readonly)
  759. - float downloadProgress (readonly)
  760. ### Console : Object
  761. Methods:
  762. - void SetDefaultStyle(XMLFile* style)
  763. - void SetVisible(bool enable)
  764. - void Toggle()
  765. - void SetAutoVisibleOnError(bool enable)
  766. - void SetCommandInterpreter(const String interpreter)
  767. - void SetNumBufferedRows(unsigned rows)
  768. - void SetNumRows(unsigned rows)
  769. - void SetNumHistoryRows(unsigned rows)
  770. - void SetFocusOnShow(bool enable)
  771. - void UpdateElements()
  772. - XMLFile* GetDefaultStyle() const
  773. - BorderImage* GetBackground() const
  774. - LineEdit* GetLineEdit() const
  775. - Button* GetCloseButton() const
  776. - bool IsVisible() const
  777. - bool IsAutoVisibleOnError() const
  778. - const String GetCommandInterpreter() const
  779. - unsigned GetNumBufferedRows() const
  780. - unsigned GetNumRows() const
  781. - void CopySelectedRows() const
  782. - unsigned GetNumHistoryRows() const
  783. - unsigned GetHistoryPosition() const
  784. - const String GetHistoryRow(unsigned index) const
  785. - bool GetFocusOnShow() const
  786. Properties:
  787. - XMLFile* defaultStyle
  788. - BorderImage* background (readonly)
  789. - LineEdit* lineEdit (readonly)
  790. - Button* closeButton (readonly)
  791. - bool visible
  792. - bool autoVisibleOnError
  793. - String commandInterpreter
  794. - unsigned numBufferedRows
  795. - unsigned numRows
  796. - unsigned numHistoryRows
  797. - unsigned historyPosition (readonly)
  798. - bool focusOnShow
  799. ### Constraint : Component
  800. Methods:
  801. - void SetConstraintType(ConstraintType type)
  802. - void SetOtherBody(RigidBody* body)
  803. - void SetPosition(const Vector3& position)
  804. - void SetRotation(const Quaternion& rotation)
  805. - void SetAxis(const Vector3& axis)
  806. - void SetOtherPosition(const Vector3& position)
  807. - void SetOtherRotation(const Quaternion& rotation)
  808. - void SetOtherAxis(const Vector3& axis)
  809. - void SetWorldPosition(const Vector3& position)
  810. - void SetHighLimit(const Vector2& limit)
  811. - void SetLowLimit(const Vector2& limit)
  812. - void SetERP(float erp)
  813. - void SetCFM(float cfm)
  814. - void SetDisableCollision(bool disable)
  815. - PhysicsWorld* GetPhysicsWorld() const
  816. - ConstraintType GetConstraintType() const
  817. - RigidBody* GetOwnBody() const
  818. - RigidBody* GetOtherBody() const
  819. - const Vector3& GetPosition() const
  820. - const Quaternion& GetRotation() const
  821. - const Vector3& GetOtherPosition() const
  822. - const Quaternion& GetOtherRotation() const
  823. - Vector3 GetWorldPosition() const
  824. - const Vector2& GetHighLimit() const
  825. - const Vector2& GetLowLimit() const
  826. - float GetERP() const
  827. - float GetCFM() const
  828. - bool GetDisableCollision() const
  829. Properties:
  830. - PhysicsWorld* physicsWorld (readonly)
  831. - ConstraintType constraintType
  832. - RigidBody* ownBody (readonly)
  833. - RigidBody* otherBody
  834. - Vector3& position
  835. - Quaternion& rotation
  836. - Vector3& axis
  837. - Vector3& otherPosition
  838. - Quaternion& otherRotation
  839. - Vector3& otherAxis
  840. - Vector3 worldPosition
  841. - Vector2& highLimit
  842. - Vector2& lowLimit
  843. - float ERP
  844. - float CFM
  845. - bool disableCollision
  846. ### Constraint2D : Component
  847. Methods:
  848. - void SetOtherBody(RigidBody2D* body)
  849. - void SetCollideConnected(bool collideConnected)
  850. - RigidBody2D* GetOwnerBody() const
  851. - RigidBody2D* GetOtherBody() const
  852. - bool GetCollideConnected() const
  853. Properties:
  854. - RigidBody2D* ownerBody (readonly)
  855. - RigidBody2D* otherBody
  856. - bool collideConnected
  857. ### ConstraintDistance2D : Constraint2D
  858. Methods:
  859. - void SetOwnerBodyAnchor(const Vector2& anchor)
  860. - void SetOtherBodyAnchor(const Vector2& anchor)
  861. - void SetFrequencyHz(float frequencyHz)
  862. - void SetDampingRatio(float dampingRatio)
  863. - const Vector2& GetOwnerBodyAnchor() const
  864. - const Vector2& GetOtherBodyAnchor() const
  865. - float GetFrequencyHz() const
  866. - float GetDampingRatio() const
  867. Properties:
  868. - Vector2& ownerBodyAnchor
  869. - Vector2& otherBodyAnchor
  870. - float frequencyHz
  871. - float dampingRatio
  872. ### ConstraintFriction2D : Constraint2D
  873. Methods:
  874. - void SetAnchor(const Vector2& anchor)
  875. - void SetMaxForce(float maxForce)
  876. - void SetMaxTorque(float maxTorque)
  877. - const Vector2& GetAnchor() const
  878. - float GetMaxForce() const
  879. - float GetMaxTorque() const
  880. Properties:
  881. - Vector2& anchor
  882. - float maxForce
  883. - float maxTorque
  884. ### ConstraintGear2D : Constraint2D
  885. Methods:
  886. - void SetOwnerConstraint(Constraint2D* constraint)
  887. - void SetOtherConstraint(Constraint2D* constraint)
  888. - void SetRatio(float ratio)
  889. - Constraint2D* GetOwnerConstraint() const
  890. - Constraint2D* GetOtherConstraint() const
  891. - float GetRatio() const
  892. Properties:
  893. - Constraint2D* ownerConstraint
  894. - Constraint2D* otherConstraint
  895. - float ratio
  896. ### ConstraintMotor2D : Constraint2D
  897. Methods:
  898. - void SetLinearOffset(const Vector2& linearOffset)
  899. - void SetAngularOffset(float angularOffset)
  900. - void SetMaxForce(float maxForce)
  901. - void SetMaxTorque(float maxTorque)
  902. - void SetCorrectionFactor(float correctionFactor)
  903. - const Vector2& GetLinearOffset() const
  904. - float GetAngularOffset() const
  905. - float GetMaxForce() const
  906. - float GetMaxTorque() const
  907. - float GetCorrectionFactor() const
  908. Properties:
  909. - Vector2& linearOffset
  910. - float angularOffset
  911. - float maxForce
  912. - float maxTorque
  913. - float correctionFactor
  914. ### ConstraintMouse2D : Constraint2D
  915. Methods:
  916. - void SetTarget(const Vector2& target)
  917. - void SetMaxForce(float maxForce)
  918. - void SetFrequencyHz(float frequencyHz)
  919. - void SetDampingRatio(float dampingRatio)
  920. - const Vector2& GetTarget() const
  921. - float GetMaxForce() const
  922. - float GetFrequencyHz() const
  923. - float GetDampingRatio() const
  924. Properties:
  925. - Vector2& target
  926. - float maxForce
  927. - float frequencyHz
  928. - float dampingRatio
  929. ### ConstraintPrismatic2D : Constraint2D
  930. Methods:
  931. - void SetAnchor(const Vector2& anchor)
  932. - void SetAxis(const Vector2& axis)
  933. - void SetEnableLimit(bool enableLimit)
  934. - void SetLowerTranslation(float lowerTranslation)
  935. - void SetUpperTranslation(float upperTranslation)
  936. - void SetEnableMotor(bool enableMotor)
  937. - void SetMaxMotorForce(float maxMotorForce)
  938. - void SetMotorSpeed(float motorSpeed)
  939. - const Vector2& GetAnchor() const
  940. - const Vector2& GetAxis() const
  941. - bool GetEnableLimit() const
  942. - float GetLowerTranslation() const
  943. - float GetUpperTranslation() const
  944. - bool GetEnableMotor() const
  945. - float GetMaxMotorForce() const
  946. - float GetMotorSpeed() const
  947. Properties:
  948. - Vector2& anchor
  949. - Vector2& axis
  950. - bool enableLimit
  951. - float lowerTranslation
  952. - float upperTranslation
  953. - bool enableMotor
  954. - float maxMotorForce
  955. - float motorSpeed
  956. ### ConstraintPulley2D : Constraint2D
  957. Methods:
  958. - void SetOwnerBodyGroundAnchor(const Vector2& groundAnchor)
  959. - void SetOtherBodyGroundAnchor(const Vector2& groundAnchor)
  960. - void SetOwnerBodyAnchor(const Vector2& anchor)
  961. - void SetOtherBodyAnchor(const Vector2& anchor)
  962. - void SetRatio(float ratio)
  963. - const Vector2& GetOwnerBodyGroundAnchor() const
  964. - const Vector2& GetOtherBodyGroundAnchor() const
  965. - const Vector2& GetOwnerBodyAnchor() const
  966. - const Vector2& GetOtherBodyAnchor() const
  967. - float GetRatio() const
  968. Properties:
  969. - Vector2& ownerBodyGroundAnchor
  970. - Vector2& otherBodyGroundAnchor
  971. - Vector2& ownerBodyAnchor
  972. - Vector2& otherBodyAnchor
  973. - float ratio
  974. ### ConstraintRevolute2D : Constraint2D
  975. Methods:
  976. - void SetAnchor(const Vector2& anchor)
  977. - void SetEnableLimit(bool enableLimit)
  978. - void SetLowerAngle(float lowerAngle)
  979. - void SetUpperAngle(float upperAngle)
  980. - void SetEnableMotor(bool enableMotor)
  981. - void SetMotorSpeed(float motorSpeed)
  982. - void SetMaxMotorTorque(float maxMotorTorque)
  983. - const Vector2& GetAnchor() const
  984. - bool GetEnableLimit() const
  985. - float GetLowerAngle() const
  986. - float GetUpperAngle() const
  987. - bool GetEnableMotor() const
  988. - float GetMotorSpeed() const
  989. - float GetMaxMotorTorque() const
  990. Properties:
  991. - Vector2& anchor
  992. - bool enableLimit
  993. - float lowerAngle
  994. - float upperAngle
  995. - bool enableMotor
  996. - float motorSpeed
  997. - float maxMotorTorque
  998. ### ConstraintRope2D : Constraint2D
  999. Methods:
  1000. - void SetOwnerBodyAnchor(const Vector2& anchor)
  1001. - void SetOtherBodyAnchor(const Vector2& anchor)
  1002. - void SetMaxLength(float maxLength)
  1003. - const Vector2& GetOwnerBodyAnchor() const
  1004. - const Vector2& GetOtherBodyAnchor() const
  1005. - float GetMaxLength() const
  1006. Properties:
  1007. - Vector2& ownerBodyAnchor
  1008. - Vector2& otherBodyAnchor
  1009. - float maxLength
  1010. ### ConstraintWeld2D : Constraint2D
  1011. Methods:
  1012. - void SetAnchor(const Vector2& anchor)
  1013. - void SetFrequencyHz(float frequencyHz)
  1014. - void SetDampingRatio(float dampingRatio)
  1015. - const Vector2& GetAnchor() const
  1016. - float GetFrequencyHz() const
  1017. - float GetDampingRatio() const
  1018. Properties:
  1019. - Vector2& anchor
  1020. - float frequencyHz
  1021. - float dampingRatio
  1022. ### ConstraintWheel2D : Constraint2D
  1023. Methods:
  1024. - void SetAnchor(const Vector2& anchor)
  1025. - void SetAxis(const Vector2& axis)
  1026. - void SetEnableMotor(bool enableMotor)
  1027. - void SetMaxMotorTorque(float maxMotorTorque)
  1028. - void SetMotorSpeed(float motorSpeed)
  1029. - void SetFrequencyHz(float frequencyHz)
  1030. - void SetDampingRatio(float dampingRatio)
  1031. - const Vector2& GetAnchor() const
  1032. - const Vector2& GetAxis() const
  1033. - bool GetEnableMotor() const
  1034. - float GetMaxMotorTorque() const
  1035. - float GetMotorSpeed() const
  1036. - float GetFrequencyHz() const
  1037. - float GetDampingRatio() const
  1038. Properties:
  1039. - Vector2& anchor
  1040. - Vector2& axis
  1041. - bool enableMotor
  1042. - float maxMotorTorque
  1043. - float motorSpeed
  1044. - float frequencyHz
  1045. - float dampingRatio
  1046. ### Context
  1047. Methods:
  1048. - Object* GetEventSender() const
  1049. - EventHandler* GetEventHandler() const
  1050. - const String GetTypeName(ShortStringHash objectType) const
  1051. ### Controls
  1052. Methods:
  1053. - Controls() (GC)
  1054. - Controls* new()
  1055. - void delete()
  1056. - void Reset()
  1057. - void Set(unsigned buttons, bool down = true)
  1058. - bool IsDown(unsigned button) const
  1059. - bool IsPressed(unsigned button, const Controls& previousControls) const
  1060. Properties:
  1061. - unsigned buttons
  1062. - float yaw
  1063. - float pitch
  1064. - VariantMap extraData
  1065. ### Cursor : BorderImage
  1066. Methods:
  1067. - Cursor() (GC)
  1068. - Cursor* new()
  1069. - void delete()
  1070. - void DefineShape(CursorShape shape, Image* image, const IntRect& imageRect, const IntVector2& hotSpot)
  1071. - void SetShape(CursorShape shape)
  1072. - void SetUseSystemShapes(bool enable)
  1073. - CursorShape GetShape() const
  1074. - bool GetUseSystemShapes() const
  1075. Properties:
  1076. - CursorShape shape
  1077. - bool useSystemShapes
  1078. ### DebugHud : Object
  1079. Methods:
  1080. - void SetDefaultStyle(XMLFile* style)
  1081. - void SetMode(unsigned mode)
  1082. - void SetProfilerMaxDepth(unsigned depth)
  1083. - void SetProfilerInterval(float interval)
  1084. - void SetUseRendererStats(bool enable)
  1085. - void Toggle(unsigned mode)
  1086. - void ToggleAll()
  1087. - XMLFile* GetDefaultStyle() const
  1088. - Text* GetStatsText() const
  1089. - Text* GetModeText() const
  1090. - Text* GetProfilerText() const
  1091. - unsigned GetMode() const
  1092. - unsigned GetProfilerMaxDepth() const
  1093. - float GetProfilerInterval() const
  1094. - bool GetUseRendererStats() const
  1095. - void SetAppStats(const String label, const Variant stats)
  1096. - void SetAppStats(const String label, const String stats)
  1097. - bool ResetAppStats(const String label)
  1098. - void ClearAppStats()
  1099. Properties:
  1100. - XMLFile* defaultStyle
  1101. - Text* statsText (readonly)
  1102. - Text* modeText (readonly)
  1103. - Text* profilerText (readonly)
  1104. - unsigned mode
  1105. - unsigned profilerMaxDepth
  1106. - float profilerInterval
  1107. - bool useRendererStats
  1108. ### DebugRenderer : Component
  1109. Methods:
  1110. - void SetView(Camera* camera)
  1111. - void AddLine(const Vector3& start, const Vector3& end, const Color& color, bool depthTest = true)
  1112. - void AddLine(const Vector3& start, const Vector3& end, unsigned color, bool depthTest = true)
  1113. - void AddTriangle(const Vector3& v1, const Vector3& v2, const Vector3& v3, const Color& color, bool depthTest = true)
  1114. - void AddTriangle(const Vector3& v1, const Vector3& v2, const Vector3& v3, unsigned color, bool depthTest = true)
  1115. - void AddNode(Node* node, float scale = 1.0f, bool depthTest = true)
  1116. - void AddBoundingBox(const BoundingBox& box, const Color& color, bool depthTest = true)
  1117. - void AddBoundingBox(const BoundingBox& box, const Matrix3x4& transform, const Color& color, bool depthTest = true)
  1118. - void AddFrustum(const Frustum& frustum, const Color& color, bool depthTest = true)
  1119. - void AddPolyhedron(const Polyhedron& poly, const Color& color, bool depthTest = true)
  1120. - void AddSphere(const Sphere& sphere, const Color& color, bool depthTest = true)
  1121. - void AddSkeleton(const Skeleton& skeleton, const Color& color, bool depthTest = true)
  1122. - 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)
  1123. - void Render()
  1124. - const Matrix3x4& GetView() const
  1125. - const Matrix4& GetProjection() const
  1126. - const Frustum& GetFrustum() const
  1127. - bool IsInside(const BoundingBox& box) const
  1128. Properties:
  1129. - Matrix3x4& view (readonly)
  1130. - Matrix4& projection (readonly)
  1131. - Frustum& frustum (readonly)
  1132. ### DecalSet : Drawable
  1133. Methods:
  1134. - void SetMaterial(Material* material)
  1135. - void SetMaxVertices(unsigned num)
  1136. - void SetMaxIndices(unsigned num)
  1137. - 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)
  1138. - void RemoveDecals(unsigned num)
  1139. - void RemoveAllDecals()
  1140. - Material* GetMaterial() const
  1141. - unsigned GetNumDecals() const
  1142. - unsigned GetNumVertices() const
  1143. - unsigned GetNumIndices() const
  1144. - unsigned GetMaxVertices() const
  1145. - unsigned GetMaxIndices() const
  1146. Properties:
  1147. - Material* material
  1148. - unsigned numDecals (readonly)
  1149. - unsigned numVertices (readonly)
  1150. - unsigned numIndices (readonly)
  1151. - unsigned maxVertices
  1152. - unsigned maxIndices
  1153. ### Deserializer
  1154. Methods:
  1155. - VectorBuffer Read(unsigned size)
  1156. - unsigned Seek(unsigned position)
  1157. - const String GetName() const
  1158. - unsigned GetChecksum()
  1159. - unsigned GetPosition() const
  1160. - unsigned GetSize() const
  1161. - bool IsEof() const
  1162. - int ReadInt()
  1163. - short ReadShort()
  1164. - char ReadByte()
  1165. - unsigned ReadUInt()
  1166. - short ReadUShort()
  1167. - char ReadUByte()
  1168. - bool ReadBool()
  1169. - float ReadFloat()
  1170. - IntRect ReadIntRect()
  1171. - IntVector2 ReadIntVector2()
  1172. - Rect ReadRect()
  1173. - Vector2 ReadVector2()
  1174. - Vector3 ReadVector3()
  1175. - Vector3 ReadPackedVector3(float maxAbsCoord)
  1176. - Vector4 ReadVector4()
  1177. - Quaternion ReadQuaternion()
  1178. - Quaternion ReadPackedQuaternion()
  1179. - Matrix3 ReadMatrix3()
  1180. - Matrix3x4 ReadMatrix3x4()
  1181. - Matrix4 ReadMatrix4()
  1182. - Color ReadColor()
  1183. - BoundingBox ReadBoundingBox()
  1184. - String ReadString()
  1185. - String ReadFileID()
  1186. - StringHash ReadStringHash()
  1187. - ShortStringHash ReadShortStringHash()
  1188. - VectorBuffer ReadBuffer()
  1189. - ResourceRef ReadResourceRef()
  1190. - ResourceRefList ReadResourceRefList()
  1191. - Variant ReadVariant()
  1192. - Variant ReadVariant(VariantType type)
  1193. - VariantVector ReadVariantVector()
  1194. - VariantMap ReadVariantMap()
  1195. - unsigned ReadVLE()
  1196. - unsigned ReadNetID()
  1197. - String ReadLine()
  1198. Properties:
  1199. - String name (readonly)
  1200. - unsigned checksum (readonly)
  1201. - unsigned position (readonly)
  1202. - unsigned size (readonly)
  1203. - bool eof (readonly)
  1204. ### Drawable : Component
  1205. Methods:
  1206. - void SetDrawDistance(float distance)
  1207. - void SetShadowDistance(float distance)
  1208. - void SetLodBias(float bias)
  1209. - void SetViewMask(unsigned mask)
  1210. - void SetLightMask(unsigned mask)
  1211. - void SetShadowMask(unsigned mask)
  1212. - void SetZoneMask(unsigned mask)
  1213. - void SetMaxLights(unsigned num)
  1214. - void SetCastShadows(bool enable)
  1215. - void SetOccluder(bool enable)
  1216. - void SetOccludee(bool enable)
  1217. - void MarkForUpdate()
  1218. - const BoundingBox& GetBoundingBox() const
  1219. - const BoundingBox& GetWorldBoundingBox()
  1220. - char GetDrawableFlags() const
  1221. - float GetDrawDistance() const
  1222. - float GetShadowDistance() const
  1223. - float GetLodBias() const
  1224. - unsigned GetViewMask() const
  1225. - unsigned GetLightMask() const
  1226. - unsigned GetShadowMask() const
  1227. - unsigned GetZoneMask() const
  1228. - unsigned GetMaxLights() const
  1229. - bool GetCastShadows() const
  1230. - bool IsOccluder() const
  1231. - bool IsOccludee() const
  1232. - bool IsInView() const
  1233. - bool IsInView(Camera* tolua_var_2) const
  1234. - Zone* GetZone() const
  1235. Properties:
  1236. - BoundingBox& worldBoundingBox (readonly)
  1237. - char drawableFlags (readonly)
  1238. - float drawDistance
  1239. - float shadowDistance
  1240. - float lodBias
  1241. - unsigned viewMask
  1242. - unsigned lightMask
  1243. - unsigned shadowMask
  1244. - unsigned zoneMask
  1245. - unsigned maxLights
  1246. - bool castShadows
  1247. - bool occluder
  1248. - bool occludee
  1249. - bool inView (readonly)
  1250. - Zone* zone (readonly)
  1251. ### Drawable2D : Drawable
  1252. Methods:
  1253. - void SetLayer(int layer)
  1254. - void SetOrderInLayer(int orderInLayer)
  1255. - void SetSprite(Sprite2D* sprite)
  1256. - void SetBlendMode(BlendMode mode)
  1257. - void SetMaterial(Material* material)
  1258. - int GetLayer() const
  1259. - int GetOrderInLayer() const
  1260. - Sprite2D* GetSprite() const
  1261. - Texture2D* GetTexture() const
  1262. - BlendMode GetBlendMode() const
  1263. - Material* GetMaterial() const
  1264. Properties:
  1265. - int layer
  1266. - int orderInLayer
  1267. - Sprite2D* sprite
  1268. - Texture2D* texture (readonly)
  1269. - BlendMode blendMode
  1270. - Material* material
  1271. ### DropDownList : Menu
  1272. Methods:
  1273. - DropDownList() (GC)
  1274. - DropDownList* new()
  1275. - void delete()
  1276. - void AddItem(UIElement* item)
  1277. - void InsertItem(unsigned index, UIElement* item)
  1278. - void RemoveItem(UIElement* item)
  1279. - void RemoveItem(unsigned index)
  1280. - void RemoveAllItems()
  1281. - void SetSelection(unsigned index)
  1282. - void SetPlaceholderText(const String text)
  1283. - void SetResizePopup(bool enable)
  1284. - unsigned GetNumItems() const
  1285. - UIElement* GetItem(unsigned index) const
  1286. - const PODVector<UIElement*>& GetItems() const
  1287. - unsigned GetSelection() const
  1288. - UIElement* GetSelectedItem() const
  1289. - ListView* GetListView() const
  1290. - UIElement* GetPlaceholder() const
  1291. - const String GetPlaceholderText() const
  1292. - bool GetResizePopup() const
  1293. Properties:
  1294. - unsigned numItems (readonly)
  1295. - unsigned selection
  1296. - UIElement* selectedItem (readonly)
  1297. - ListView* listView (readonly)
  1298. - UIElement* placeholder (readonly)
  1299. - String placeholderText
  1300. - bool resizePopup
  1301. ### Engine : Object
  1302. Methods:
  1303. - void RunFrame()
  1304. - Console* CreateConsole()
  1305. - DebugHud* CreateDebugHud()
  1306. - void SetMinFps(int fps)
  1307. - void SetMaxFps(int fps)
  1308. - void SetMaxInactiveFps(int fps)
  1309. - void SetTimeStepSmoothing(int frames)
  1310. - void SetPauseMinimized(bool enable)
  1311. - void SetAutoExit(bool enable)
  1312. - void Exit()
  1313. - void DumpProfiler()
  1314. - void DumpResources()
  1315. - void DumpMemory()
  1316. - int GetMinFps() const
  1317. - int GetMaxFps() const
  1318. - int GetMaxInactiveFps() const
  1319. - int GetTimeStepSmoothing() const
  1320. - bool GetPauseMinimized() const
  1321. - bool GetAutoExit() const
  1322. - bool IsInitialized() const
  1323. - bool IsExiting() const
  1324. - bool IsHeadless() const
  1325. Properties:
  1326. - int minFps
  1327. - int maxFps
  1328. - int maxInactiveFps
  1329. - int timeStepSmoothing
  1330. - bool pauseMinimized
  1331. - bool autoExit
  1332. - bool initialized (readonly)
  1333. - bool exiting (readonly)
  1334. - bool headless (readonly)
  1335. ### File : Object
  1336. Methods:
  1337. - File() (GC)
  1338. - File* new()
  1339. - File(const String fileName, FileMode mode = FILE_READ) (GC)
  1340. - File* new(const String fileName, FileMode mode = FILE_READ)
  1341. - File(PackageFile* package, const String fileName) (GC)
  1342. - File* new(PackageFile* package, const String fileName)
  1343. - void delete()
  1344. - bool Open(const String fileName, FileMode mode = FILE_READ)
  1345. - bool Open(PackageFile* package, const String fileName)
  1346. - void Close()
  1347. - void Flush()
  1348. - void SetName(const String name)
  1349. - FileMode GetMode() const
  1350. - bool IsOpen() const
  1351. - void* GetHandle() const
  1352. - bool IsPackaged() const
  1353. - VectorBuffer Read(unsigned size)
  1354. - unsigned Seek(unsigned position)
  1355. - const String GetName() const
  1356. - unsigned GetChecksum()
  1357. - unsigned GetPosition() const
  1358. - unsigned GetSize() const
  1359. - bool IsEof() const
  1360. - int ReadInt()
  1361. - short ReadShort()
  1362. - char ReadByte()
  1363. - unsigned ReadUInt()
  1364. - short ReadUShort()
  1365. - char ReadUByte()
  1366. - bool ReadBool()
  1367. - float ReadFloat()
  1368. - IntRect ReadIntRect()
  1369. - IntVector2 ReadIntVector2()
  1370. - Rect ReadRect()
  1371. - Vector2 ReadVector2()
  1372. - Vector3 ReadVector3()
  1373. - Vector3 ReadPackedVector3(float maxAbsCoord)
  1374. - Vector4 ReadVector4()
  1375. - Quaternion ReadQuaternion()
  1376. - Quaternion ReadPackedQuaternion()
  1377. - Matrix3 ReadMatrix3()
  1378. - Matrix3x4 ReadMatrix3x4()
  1379. - Matrix4 ReadMatrix4()
  1380. - Color ReadColor()
  1381. - BoundingBox ReadBoundingBox()
  1382. - String ReadString()
  1383. - String ReadFileID()
  1384. - StringHash ReadStringHash()
  1385. - ShortStringHash ReadShortStringHash()
  1386. - VectorBuffer ReadBuffer()
  1387. - ResourceRef ReadResourceRef()
  1388. - ResourceRefList ReadResourceRefList()
  1389. - Variant ReadVariant()
  1390. - Variant ReadVariant(VariantType type)
  1391. - VariantVector ReadVariantVector()
  1392. - VariantMap ReadVariantMap()
  1393. - unsigned ReadVLE()
  1394. - unsigned ReadNetID()
  1395. - String ReadLine()
  1396. - unsigned Write(const VectorBuffer& buffer)
  1397. - bool WriteInt(int value)
  1398. - bool WriteShort(short value)
  1399. - bool WriteByte(char value)
  1400. - bool WriteUInt(unsigned value)
  1401. - bool WriteUShort(short value)
  1402. - bool WriteUByte(char value)
  1403. - bool WriteBool(bool value)
  1404. - bool WriteFloat(float value)
  1405. - bool WriteIntRect(const IntRect& value)
  1406. - bool WriteIntVector2(const IntVector2& value)
  1407. - bool WriteRect(const Rect& value)
  1408. - bool WriteVector2(const Vector2& value)
  1409. - bool WriteVector3(const Vector3& value)
  1410. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  1411. - bool WriteVector4(const Vector4& value)
  1412. - bool WriteQuaternion(const Quaternion& value)
  1413. - bool WritePackedQuaternion(const Quaternion& value)
  1414. - bool WriteMatrix3(const Matrix3& value)
  1415. - bool WriteMatrix3x4(const Matrix3x4& value)
  1416. - bool WriteMatrix4(const Matrix4& value)
  1417. - bool WriteColor(const Color& value)
  1418. - bool WriteBoundingBox(const BoundingBox& value)
  1419. - bool WriteString(const String value)
  1420. - bool WriteFileID(const String value)
  1421. - bool WriteStringHash(const StringHash& value)
  1422. - bool WriteShortStringHash(const ShortStringHash& value)
  1423. - bool WriteBuffer(const VectorBuffer& buffer)
  1424. - bool WriteResourceRef(const ResourceRef& value)
  1425. - bool WriteResourceRefList(const ResourceRefList& value)
  1426. - bool WriteVariant(const Variant& value)
  1427. - bool WriteVariantData(const Variant& value)
  1428. - bool WriteVariantVector(const VariantVector& value)
  1429. - bool WriteVariantMap(const VariantMap& value)
  1430. - bool WriteVLE(unsigned value)
  1431. - bool WriteNetID(unsigned value)
  1432. - bool WriteLine(const String value)
  1433. Properties:
  1434. - FileMode mode (readonly)
  1435. - bool open (readonly)
  1436. - bool packaged (readonly)
  1437. - String name (readonly)
  1438. - unsigned checksum (readonly)
  1439. - unsigned position (readonly)
  1440. - unsigned size (readonly)
  1441. - bool eof (readonly)
  1442. ### FileSelector : Object
  1443. Methods:
  1444. - FileSelector() (GC)
  1445. - FileSelector* new()
  1446. - void delete()
  1447. - void SetDefaultStyle(XMLFile* style)
  1448. - void SetTitle(const String text)
  1449. - void SetButtonTexts(const String okText, const String cancelText)
  1450. - void SetPath(const String path)
  1451. - void SetFileName(const String fileName)
  1452. - void SetFilters(const Vector<String>& filters, unsigned defaultIndex)
  1453. - void SetDirectoryMode(bool enable)
  1454. - void UpdateElements()
  1455. - XMLFile* GetDefaultStyle() const
  1456. - Window* GetWindow() const
  1457. - Text* GetTitleText() const
  1458. - ListView* GetFileList() const
  1459. - LineEdit* GetPathEdit() const
  1460. - LineEdit* GetFileNameEdit() const
  1461. - DropDownList* GetFilterList() const
  1462. - Button* GetOKButton() const
  1463. - Button* GetCancelButton() const
  1464. - Button* GetCloseButton() const
  1465. - const String GetTitle() const
  1466. - const String GetPath() const
  1467. - const String GetFileName() const
  1468. - const String GetFilter() const
  1469. - unsigned GetFilterIndex() const
  1470. - bool GetDirectoryMode() const
  1471. Properties:
  1472. - XMLFile* defaultStyle
  1473. - Window* window (readonly)
  1474. - Text* titleText (readonly)
  1475. - ListView* fileList (readonly)
  1476. - LineEdit* pathEdit (readonly)
  1477. - LineEdit* fileNameEdit (readonly)
  1478. - DropDownList* filterList (readonly)
  1479. - Button* OKButton (readonly)
  1480. - Button* cancelButton (readonly)
  1481. - Button* closeButton (readonly)
  1482. - String title
  1483. - String path
  1484. - String fileName
  1485. - String filter (readonly)
  1486. - unsigned filterIndex (readonly)
  1487. - bool directoryMode
  1488. ### FileSelectorEntry
  1489. Properties:
  1490. - String name
  1491. - bool directory
  1492. ### FileSystem : Object
  1493. Methods:
  1494. - bool SetCurrentDir(const String pathName)
  1495. - bool CreateDir(const String pathName)
  1496. - void SetExecuteConsoleCommands(bool enable)
  1497. - int SystemCommand(const String commandLine, bool redirectStdOutToLog = false)
  1498. - int SystemRun(const String fileName, const Vector<String>& arguments)
  1499. - unsigned SystemCommandAsync(const String commandLine)
  1500. - unsigned SystemRunAsync(const String fileName, const Vector<String>& arguments)
  1501. - bool SystemOpen(const String fileName, const String mode = String::EMPTY)
  1502. - bool Copy(const String srcFileName, const String destFileName)
  1503. - bool Rename(const String srcFileName, const String destFileName)
  1504. - bool Delete(const String fileName)
  1505. - void RegisterPath(const String pathName)
  1506. - String GetCurrentDir() const
  1507. - bool GetExecuteConsoleCommands() const
  1508. - bool HasRegisteredPaths() const
  1509. - bool CheckAccess(const String pathName) const
  1510. - unsigned GetLastModifiedTime(const String fileName) const
  1511. - bool FileExists(const String fileName) const
  1512. - bool DirExists(const String pathName) const
  1513. - const Vector<String>& ScanDir(const String pathName, const String filter, unsigned flags, bool recursive) const
  1514. - String GetProgramDir() const
  1515. - String GetUserDocumentsDir() const
  1516. ### FileWatcher : Object
  1517. Methods:
  1518. - bool StartWatching(const String pathName, bool watchSubDirs)
  1519. - void StopWatching()
  1520. - void AddChange(const String fileName)
  1521. - const String GetPath() const
  1522. ### FocusParameters
  1523. Methods:
  1524. - FocusParameters() (GC)
  1525. - FocusParameters* new()
  1526. - FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView) (GC)
  1527. - FocusParameters* new(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
  1528. - void delete()
  1529. ### Font : Resource
  1530. ### Frustum
  1531. Methods:
  1532. - Frustum() (GC)
  1533. - Frustum* new()
  1534. - Frustum(const Frustum& frustum) (GC)
  1535. - Frustum* new(const Frustum& frustum)
  1536. - void delete()
  1537. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ)
  1538. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform)
  1539. - void Define(const Vector3& near, const Vector3& far)
  1540. - void Define(const Vector3& near, const Vector3& far, const Matrix3x4& transform)
  1541. - void Define(const BoundingBox& box)
  1542. - void Define(const BoundingBox& box, const Matrix3x4& transform)
  1543. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ)
  1544. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform)
  1545. - void Transform(const Matrix3& transform)
  1546. - void Transform(const Matrix3x4& transform)
  1547. - Intersection IsInside(const Vector3& point) const
  1548. - Intersection IsInside(const Sphere& sphere) const
  1549. - Intersection IsInsideFast(const Sphere& sphere) const
  1550. - Intersection IsInside(const BoundingBox& box) const
  1551. - Intersection IsInsideFast(const BoundingBox& box) const
  1552. - float Distance(const Vector3& point) const
  1553. - Frustum Transformed(const Matrix3& transform) const
  1554. - Frustum Transformed(const Matrix3x4& transform) const
  1555. - Rect Projected(const Matrix4& transform) const
  1556. - void UpdatePlanes()
  1557. ### Graphics : Object
  1558. Methods:
  1559. - void SetWindowTitle(const String windowTitle)
  1560. - void SetWindowIcon(Image* windowIcon)
  1561. - void SetWindowPosition(const IntVector2& position)
  1562. - void SetWindowPosition(int x, int y)
  1563. - bool SetMode(int width, int height, bool fullscreen, bool borderless, bool resizable, bool vsync, bool tripleBuffer, int multiSample)
  1564. - bool SetMode(int width, int height)
  1565. - void SetSRGB(bool enable)
  1566. - void SetFlushGPU(bool enable)
  1567. - void SetOrientations(const String orientations)
  1568. - bool ToggleFullscreen()
  1569. - void Maximize()
  1570. - void Minimize()
  1571. - void Close()
  1572. - bool TakeScreenShot(Image& destImage)
  1573. - void BeginDumpShaders(const String fileName)
  1574. - void EndDumpShaders()
  1575. - void PrecacheShaders(Deserializer& source)
  1576. - void PrecacheShaders(const String fileName)
  1577. - bool IsInitialized() const
  1578. - void* GetExternalWindow() const
  1579. - const String GetWindowTitle() const
  1580. - IntVector2 GetWindowPosition() const
  1581. - int GetWidth() const
  1582. - int GetHeight() const
  1583. - int GetMultiSample() const
  1584. - bool GetFullscreen() const
  1585. - bool GetResizable() const
  1586. - bool GetBorderless() const
  1587. - bool GetVSync() const
  1588. - bool GetTripleBuffer() const
  1589. - bool GetSRGB() const
  1590. - bool GetFlushGPU() const
  1591. - const String GetOrientations() const
  1592. - bool IsDeviceLost() const
  1593. - unsigned GetNumPrimitives() const
  1594. - unsigned GetNumBatches() const
  1595. - unsigned GetDummyColorFormat() const
  1596. - unsigned GetShadowMapFormat() const
  1597. - unsigned GetHiresShadowMapFormat() const
  1598. - bool GetSM3Support() const
  1599. - bool GetInstancingSupport() const
  1600. - bool GetLightPrepassSupport() const
  1601. - bool GetDeferredSupport() const
  1602. - bool GetHardwareShadowSupport() const
  1603. - bool GetStreamOffsetSupport() const
  1604. - bool GetSRGBSupport() const
  1605. - bool GetSRGBWriteSupport() const
  1606. - IntVector2 GetDesktopResolution() const
  1607. - unsigned GetRGBFormat()
  1608. Properties:
  1609. - bool initialized (readonly)
  1610. - String windowTitle
  1611. - IntVector2 windowPosition
  1612. - int width (readonly)
  1613. - int height (readonly)
  1614. - int multiSample (readonly)
  1615. - bool fullscreen (readonly)
  1616. - bool resizable (readonly)
  1617. - bool borderless (readonly)
  1618. - bool vSync (readonly)
  1619. - bool tripleBuffer (readonly)
  1620. - bool sRGB
  1621. - bool flushGPU
  1622. - String orientations
  1623. - bool deviceLost (readonly)
  1624. - unsigned numPrimitives (readonly)
  1625. - unsigned numBatches (readonly)
  1626. - unsigned dummyColorFormat (readonly)
  1627. - unsigned shadowMapFormat (readonly)
  1628. - unsigned hiresShadowMapFormat (readonly)
  1629. - bool sM3Support (readonly)
  1630. - bool instancingSupport (readonly)
  1631. - bool lightPrepassSupport (readonly)
  1632. - bool deferredSupport (readonly)
  1633. - bool hardwareShadowSupport (readonly)
  1634. - bool streamOffsetSupport (readonly)
  1635. - bool sRGBSupport (readonly)
  1636. - bool sRGBWriteSupport (readonly)
  1637. - IntVector2 desktopResolution (readonly)
  1638. ### HttpRequest : Deserializer
  1639. Methods:
  1640. - const String GetURL() const
  1641. - const String GetVerb() const
  1642. - String GetError() const
  1643. - HttpRequestState GetState() const
  1644. - unsigned GetAvailableSize() const
  1645. - bool IsOpen() const
  1646. Properties:
  1647. - String URL (readonly)
  1648. - String verb (readonly)
  1649. - String error (readonly)
  1650. - HttpRequestState state (readonly)
  1651. - unsigned availableSize (readonly)
  1652. - bool open (readonly)
  1653. ### Image : Resource
  1654. Methods:
  1655. - Image() (GC)
  1656. - Image* new()
  1657. - void delete()
  1658. - bool SetSize(int width, int height, unsigned components)
  1659. - bool SetSize(int width, int height, int depth, unsigned components)
  1660. - void SetPixel(int x, int y, const Color& color)
  1661. - void SetPixel(int x, int y, int z, const Color& color)
  1662. - bool LoadColorLUT(Deserializer& source)
  1663. - bool LoadColorLUT(const String fileName)
  1664. - void FlipVertical()
  1665. - bool Resize(int width, int height)
  1666. - void Clear(const Color& color)
  1667. - bool SaveBMP(const String fileName) const
  1668. - bool SavePNG(const String fileName) const
  1669. - bool SaveTGA(const String fileName) const
  1670. - bool SaveJPG(const String fileName, int quality) const
  1671. - Color GetPixel(int x, int y) const
  1672. - Color GetPixel(int x, int y, int z) const
  1673. - Color GetPixelBilinear(float x, float y) const
  1674. - Color GetPixelTrilinear(float x, float y, float z) const
  1675. - int GetWidth() const
  1676. - int GetHeight() const
  1677. - int GetDepth() const
  1678. - unsigned GetComponents() const
  1679. - bool IsCompressed() const
  1680. - CompressedFormat GetCompressedFormat() const
  1681. - unsigned GetNumCompressedLevels() const
  1682. - CompressedLevel GetCompressedLevel(unsigned index) const
  1683. - Image* GetSubimage(const IntRect& rect) const
  1684. Properties:
  1685. - int width (readonly)
  1686. - int height (readonly)
  1687. - int depth (readonly)
  1688. - unsigned components (readonly)
  1689. - bool compressed (readonly)
  1690. - CompressedFormat compressedFormat (readonly)
  1691. - unsigned numCompressedLevels (readonly)
  1692. ### Input : Object
  1693. Methods:
  1694. - void SetToggleFullscreen(bool enable)
  1695. - void SetMouseVisible(bool enable)
  1696. - void SetMouseGrabbed(bool grab)
  1697. - int AddScreenJoystick(XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
  1698. - bool RemoveScreenJoystick(int id)
  1699. - void SetScreenJoystickVisible(int id, bool enable)
  1700. - void SetScreenKeyboardVisible(bool enable)
  1701. - void SetTouchEmulation(bool enable)
  1702. - bool RecordGesture()
  1703. - bool SaveGestures(File* dest)
  1704. - bool SaveGesture(File* dest, unsigned gestureID)
  1705. - unsigned LoadGestures(File* source)
  1706. - bool SaveGestures(const String fileName)
  1707. - bool SaveGesture(const String fileName, unsigned gestureID)
  1708. - unsigned LoadGestures(const String fileName)
  1709. - int GetKeyFromName(const String name) const
  1710. - int GetKeyFromScancode(int scancode) const
  1711. - String GetKeyName(int key) const
  1712. - int GetScancodeFromKey(int key) const
  1713. - int GetScancodeFromName(const String name) const
  1714. - String GetScancodeName(int scancode) const
  1715. - bool GetKeyDown(int key) const
  1716. - bool GetKeyPress(int key) const
  1717. - bool GetScancodeDown(int scancode) const
  1718. - bool GetScancodePress(int scancode) const
  1719. - bool GetMouseButtonDown(int button) const
  1720. - bool GetMouseButtonPress(int button) const
  1721. - bool GetQualifierDown(int qualifier) const
  1722. - bool GetQualifierPress(int qualifier) const
  1723. - int GetQualifiers() const
  1724. - IntVector2 GetMousePosition() const
  1725. - const IntVector2& GetMouseMove() const
  1726. - int GetMouseMoveX() const
  1727. - int GetMouseMoveY() const
  1728. - int GetMouseMoveWheel() const
  1729. - unsigned GetNumTouches() const
  1730. - TouchState* GetTouch(unsigned index) const
  1731. - unsigned GetNumJoysticks() const
  1732. - JoystickState* GetJoystick(int id)
  1733. - JoystickState* GetJoystickByIndex(unsigned index)
  1734. - bool GetToggleFullscreen() const
  1735. - bool GetScreenKeyboardSupport() const
  1736. - bool IsScreenJoystickVisible(int id) const
  1737. - bool IsScreenKeyboardVisible() const
  1738. - bool GetTouchEmulation() const
  1739. - bool IsMouseVisible() const
  1740. - bool IsMouseGrabbed() const
  1741. - bool HasFocus()
  1742. - bool IsMinimized() const
  1743. Properties:
  1744. - int qualifiers (readonly)
  1745. - IntVector2 mousePosition (readonly)
  1746. - IntVector2& mouseMove (readonly)
  1747. - int mouseMoveX (readonly)
  1748. - int mouseMoveY (readonly)
  1749. - int mouseMoveWheel (readonly)
  1750. - unsigned numTouches (readonly)
  1751. - unsigned numJoysticks (readonly)
  1752. - bool toggleFullscreen (readonly)
  1753. - bool screenKeyboardSupport (readonly)
  1754. - bool screenKeyboardVisible
  1755. - bool touchEmulation
  1756. - bool mouseVisible
  1757. - bool mouseGrabbed
  1758. - bool focus (readonly)
  1759. - bool minimized (readonly)
  1760. ### IntRect
  1761. Methods:
  1762. - IntRect() (GC)
  1763. - IntRect* new()
  1764. - IntRect(int left, int top, int right, int bottom) (GC)
  1765. - IntRect* new(int left, int top, int right, int bottom)
  1766. - void delete()
  1767. - bool operator==(const IntRect& rhs) const
  1768. - IntVector2 Size() const
  1769. - int Width() const
  1770. - int Height() const
  1771. - Intersection IsInside(const IntVector2& point) const
  1772. Properties:
  1773. - int left
  1774. - int top
  1775. - int right
  1776. - int bottom
  1777. - const IntRect ZERO
  1778. - IntVector2 size (readonly)
  1779. - int width (readonly)
  1780. - int height (readonly)
  1781. ### IntVector2
  1782. Methods:
  1783. - IntVector2() (GC)
  1784. - IntVector2* new()
  1785. - IntVector2(int x, int y) (GC)
  1786. - IntVector2* new(int x, int y)
  1787. - IntVector2(const IntVector2& rhs) (GC)
  1788. - IntVector2* new(const IntVector2& rhs)
  1789. - void delete()
  1790. - bool operator==(const IntVector2& rhs) const
  1791. - IntVector2 operator+(const IntVector2& rhs) const
  1792. - IntVector2 operator-() const
  1793. - IntVector2 operator-(const IntVector2& rhs) const
  1794. - IntVector2 operator*(int rhs) const
  1795. - IntVector2 operator/(int rhs) const
  1796. - IntVector2 operator/(int rhs) const
  1797. - String ToString() const
  1798. Properties:
  1799. - int x
  1800. - int y
  1801. - const IntVector2 ZERO
  1802. ### JSONFile : Resource
  1803. Methods:
  1804. - JSONFile() (GC)
  1805. - JSONFile* new()
  1806. - void delete()
  1807. - JSONValue CreateRoot(JSONValueType valueType = JSON_OBJECT)
  1808. - JSONValue GetRoot(JSONValueType valueType = JSON_ANY)
  1809. ### JSONValue
  1810. Methods:
  1811. - bool IsNull() const
  1812. - bool NotNull() const
  1813. - bool operatorbool() const
  1814. - JSONValue CreateChild(const String name, JSONValueType valueType = JSON_OBJECT)
  1815. - JSONValue GetChild(const String name, JSONValueType valueType = JSON_ANY) const
  1816. - void SetInt(const String name, int value)
  1817. - void SetBool(const String name, bool value)
  1818. - void SetFloat(const String name, float value)
  1819. - void SetVector2(const String name, const Vector2& value)
  1820. - void SetVector3(const String name, const Vector3& value)
  1821. - void SetVector4(const String name, const Vector4& value)
  1822. - void SetVectorVariant(const String name, const Variant& value)
  1823. - void SetQuaternion(const String name, const Quaternion& value)
  1824. - void SetColor(const String name, const Color& value)
  1825. - void SetString(const String name, const String value)
  1826. - void SetResourceRef(const String name, const ResourceRef& value)
  1827. - void SetResourceRefList(const String name, const ResourceRefList& value)
  1828. - void SetIntRect(const String name, const IntRect& value)
  1829. - void SetIntVector2(const String name, const IntVector2& value)
  1830. - void SetMatrix3(const String name, const Matrix3& value)
  1831. - void SetMatrix3x4(const String name, const Matrix3x4& value)
  1832. - void SetMatrix4(const String name, const Matrix4& value)
  1833. - void SetVariant(const String name, const Variant& value)
  1834. - void SetVariantValue(const String name, const Variant& value)
  1835. - bool IsObject() const
  1836. - Vector<String> GetChildNames() const
  1837. - int GetInt(const String name) const
  1838. - bool GetBool(const String name) const
  1839. - float GetFloat(const String name) const
  1840. - Vector2 GetVector2(const String name) const
  1841. - Vector3 GetVector3(const String name) const
  1842. - Vector4 GetVector4(const String name) const
  1843. - Variant GetVectorVariant(const String name) const
  1844. - Quaternion GetQuaternion(const String name) const
  1845. - Color GetColor(const String name) const
  1846. - String GetString(const String name) const
  1847. - const char* GetCString(const String name) const
  1848. - ResourceRef GetResourceRef(const String name) const
  1849. - ResourceRefList GetResourceRefList(const String name) const
  1850. - IntRect GetIntRect(const String name) const
  1851. - IntVector2 GetIntVector2(const String name) const
  1852. - Matrix3 GetMatrix3(const String name) const
  1853. - Matrix3x4 GetMatrix3x4(const String name) const
  1854. - Matrix4 GetMatrix4(const String name) const
  1855. - Variant GetVariant(const String name) const
  1856. - Variant GetVariantValue(const String name, VariantType type) const
  1857. - JSONValue CreateChild(JSONValueType valueType = JSON_OBJECT)
  1858. - JSONValue GetChild(unsigned index, JSONValueType valueType = JSON_ANY) const
  1859. - void AddInt(int value)
  1860. - void AddBool(bool value)
  1861. - void AddFloat(float value)
  1862. - void AddVector2(const Vector2& value)
  1863. - void AddVector3(const Vector3& value)
  1864. - void AddVector4(const Vector4& value)
  1865. - void AddVectorVariant(const Variant& value)
  1866. - void AddQuaternion(const Quaternion& value)
  1867. - void AddColor(const Color& value)
  1868. - void AddString(const String value)
  1869. - void AddResourceRef(const ResourceRef& value)
  1870. - void AddResourceRefList(const ResourceRefList& value)
  1871. - void AddIntRect(const IntRect& value)
  1872. - void AddIntVector2(const IntVector2& value)
  1873. - void AddMatrix3(const Matrix3& value)
  1874. - void AddMatrix3x4(const Matrix3x4& value)
  1875. - void AddMatrix4(const Matrix4& value)
  1876. - void AddVariant(const Variant& value)
  1877. - void AddVariantValue(const Variant& value)
  1878. - bool IsArray() const
  1879. - unsigned GetSize() const
  1880. - int GetInt(unsigned index) const
  1881. - bool GetBool(unsigned index) const
  1882. - float GetFloat(unsigned index) const
  1883. - Vector2 GetVector2(unsigned index) const
  1884. - Vector3 GetVector3(unsigned index) const
  1885. - Vector4 GetVector4(unsigned index) const
  1886. - Variant GetVectorVariant(unsigned index) const
  1887. - Quaternion GetQuaternion(unsigned index) const
  1888. - Color GetColor(unsigned index) const
  1889. - String GetString(unsigned index) const
  1890. - const char* GetCString(unsigned index) const
  1891. - ResourceRef GetResourceRef(unsigned index) const
  1892. - ResourceRefList GetResourceRefList(unsigned index) const
  1893. - IntRect GetIntRect(unsigned index) const
  1894. - IntVector2 GetIntVector2(unsigned index) const
  1895. - Matrix3 GetMatrix3(unsigned index) const
  1896. - Matrix3x4 GetMatrix3x4(unsigned index) const
  1897. - Matrix4 GetMatrix4(unsigned index) const
  1898. - Variant GetVariant(unsigned index) const
  1899. - Variant GetVariantValue(unsigned index, VariantType type) const
  1900. Properties:
  1901. - const JSONValue EMPTY
  1902. - bool null (readonly)
  1903. - bool object (readonly)
  1904. - bool array (readonly)
  1905. ### JoystickState
  1906. Methods:
  1907. - bool IsController() const
  1908. - unsigned GetNumButtons() const
  1909. - unsigned GetNumAxes() const
  1910. - unsigned GetNumHats() const
  1911. - bool GetButtonDown(unsigned index) const
  1912. - bool GetButtonPress(unsigned index) const
  1913. - float GetAxisPosition(unsigned index) const
  1914. - int GetHatPosition(unsigned index) const
  1915. Properties:
  1916. - const String name
  1917. - const int joystickID
  1918. - bool controller (readonly)
  1919. - unsigned numButtons (readonly)
  1920. - unsigned numAxes (readonly)
  1921. - unsigned numHats (readonly)
  1922. ### Light : Drawable
  1923. Methods:
  1924. - void SetLightType(LightType type)
  1925. - void SetPerVertex(bool enable)
  1926. - void SetColor(const Color& color)
  1927. - void SetSpecularIntensity(float intensity)
  1928. - void SetBrightness(float brightness)
  1929. - void SetRange(float range)
  1930. - void SetFov(float fov)
  1931. - void SetAspectRatio(float aspectRatio)
  1932. - void SetFadeDistance(float distance)
  1933. - void SetShadowFadeDistance(float distance)
  1934. - void SetShadowBias(const BiasParameters& parameters)
  1935. - void SetShadowCascade(const CascadeParameters& parameters)
  1936. - void SetShadowFocus(const FocusParameters& parameters)
  1937. - void SetShadowIntensity(float intensity)
  1938. - void SetShadowResolution(float resolution)
  1939. - void SetShadowNearFarRatio(float nearFarRatio)
  1940. - void SetRampTexture(Texture* texture)
  1941. - void SetShapeTexture(Texture* texture)
  1942. - LightType GetLightType() const
  1943. - bool GetPerVertex() const
  1944. - const Color& GetColor() const
  1945. - float GetSpecularIntensity() const
  1946. - float GetBrightness() const
  1947. - Color GetEffectiveColor() const
  1948. - float GetEffectiveSpecularIntensity() const
  1949. - float GetRange() const
  1950. - float GetFov() const
  1951. - float GetAspectRatio() const
  1952. - float GetFadeDistance() const
  1953. - float GetShadowFadeDistance() const
  1954. - const BiasParameters& GetShadowBias() const
  1955. - const CascadeParameters& GetShadowCascade() const
  1956. - const FocusParameters& GetShadowFocus() const
  1957. - float GetShadowIntensity() const
  1958. - float GetShadowResolution() const
  1959. - float GetShadowNearFarRatio() const
  1960. - Texture* GetRampTexture() const
  1961. - Texture* GetShapeTexture() const
  1962. - Frustum GetFrustum() const
  1963. - int GetNumShadowSplits() const
  1964. - bool IsNegative() const
  1965. Properties:
  1966. - LightType lightType
  1967. - bool perVertex
  1968. - Color& color
  1969. - float specularIntensity
  1970. - float brightness
  1971. - float range
  1972. - float fov
  1973. - float aspectRatio
  1974. - float fadeDistance
  1975. - float shadowFadeDistance
  1976. - BiasParameters& shadowBias
  1977. - CascadeParameters& shadowCascade
  1978. - FocusParameters& shadowFocus
  1979. - float shadowIntensity
  1980. - float shadowResolution
  1981. - float shadowNearFarRatio
  1982. - Texture* rampTexture
  1983. - Texture* shapeTexture
  1984. - Frustum frustum (readonly)
  1985. - int numShadowSplits (readonly)
  1986. - bool negative (readonly)
  1987. - Color effectiveColor (readonly)
  1988. - float effectiveSpecularIntensity (readonly)
  1989. ### LineEdit : BorderImage
  1990. Methods:
  1991. - LineEdit() (GC)
  1992. - LineEdit* new()
  1993. - void delete()
  1994. - void SetText(const String text)
  1995. - void SetCursorPosition(unsigned position)
  1996. - void SetCursorBlinkRate(float rate)
  1997. - void SetMaxLength(unsigned length)
  1998. - void SetEchoCharacter(unsigned c)
  1999. - void SetCursorMovable(bool enable)
  2000. - void SetTextSelectable(bool enable)
  2001. - void SetTextCopyable(bool enable)
  2002. - const String GetText() const
  2003. - unsigned GetCursorPosition() const
  2004. - float GetCursorBlinkRate() const
  2005. - unsigned GetMaxLength() const
  2006. - unsigned GetEchoCharacter() const
  2007. - bool IsCursorMovable() const
  2008. - bool IsTextSelectable() const
  2009. - bool IsTextCopyable() const
  2010. - Text* GetTextElement() const
  2011. - BorderImage* GetCursor() const
  2012. Properties:
  2013. - String text
  2014. - unsigned cursorPosition
  2015. - float cursorBlinkRate
  2016. - unsigned maxLength
  2017. - unsigned echoCharacter
  2018. - bool cursorMovable
  2019. - bool textSelectable
  2020. - bool textCopyable
  2021. - Text* textElement (readonly)
  2022. - BorderImage* cursor (readonly)
  2023. ### ListView : ScrollView
  2024. Methods:
  2025. - ListView() (GC)
  2026. - ListView* new()
  2027. - void delete()
  2028. - void AddItem(UIElement* item)
  2029. - void InsertItem(unsigned index, UIElement* item, UIElement* parentItem = 0)
  2030. - void RemoveItem(UIElement* item, unsigned index = 0)
  2031. - void RemoveItem(unsigned index)
  2032. - void RemoveAllItems()
  2033. - void SetSelection(unsigned index)
  2034. - void SetSelections(const PODVector<unsigned>& indices)
  2035. - void AddSelection(unsigned index)
  2036. - void RemoveSelection(unsigned index)
  2037. - void ToggleSelection(unsigned index)
  2038. - void ChangeSelection(int delta, bool additive = false)
  2039. - void ClearSelection()
  2040. - void SetHighlightMode(HighlightMode mode)
  2041. - void SetMultiselect(bool enable)
  2042. - void SetHierarchyMode(bool enable)
  2043. - void SetBaseIndent(int baseIndent)
  2044. - void SetClearSelectionOnDefocus(bool enable)
  2045. - void SetSelectOnClickEnd(bool enable)
  2046. - void Expand(unsigned index, bool enable, bool recursive = false)
  2047. - void ToggleExpand(unsigned index, bool recursive = false)
  2048. - unsigned GetNumItems() const
  2049. - UIElement* GetItem(unsigned index) const
  2050. - const PODVector<UIElement*>& GetItems() const
  2051. - unsigned FindItem(UIElement* item) const
  2052. - unsigned GetSelection() const
  2053. - const PODVector<unsigned>& GetSelections() const
  2054. - void CopySelectedItemsToClipboard() const
  2055. - UIElement* GetSelectedItem() const
  2056. - const PODVector<UIElement*>& GetSelectedItems() const
  2057. - bool IsSelected(unsigned index) const
  2058. - bool IsExpanded(unsigned index) const
  2059. - HighlightMode GetHighlightMode() const
  2060. - bool GetMultiselect() const
  2061. - bool GetClearSelectionOnDefocus() const
  2062. - bool GetSelectOnClickEnd() const
  2063. - bool GetHierarchyMode() const
  2064. - int GetBaseIndent() const
  2065. Properties:
  2066. - unsigned numItems (readonly)
  2067. - unsigned selection
  2068. - UIElement* selectedItem (readonly)
  2069. - HighlightMode highlightMode
  2070. - bool multiselect
  2071. - bool clearSelectionOnDefocus
  2072. - bool selectOnClickEnd
  2073. - bool hierarchyMode
  2074. - int baseIndent
  2075. ### Log : Object
  2076. Methods:
  2077. - void Open(const String fileName)
  2078. - void Close()
  2079. - void SetLevel(int level)
  2080. - void SetTimeStamp(bool enable)
  2081. - void SetQuiet(bool quiet)
  2082. - int GetLevel() const
  2083. - bool GetTimeStamp() const
  2084. - String GetLastMessage() const
  2085. - bool IsQuiet() const
  2086. - void Write(int level, const String message)
  2087. - void WriteRaw(const String message, bool error = false)
  2088. Properties:
  2089. - int level
  2090. - bool timeStamp
  2091. - bool quiet
  2092. ### LuaScriptInstance : Component
  2093. Methods:
  2094. - bool CreateObject(const String scriptObjectType)
  2095. - bool CreateObject(LuaFile* scriptFile, const String scriptObjectType)
  2096. - void SetScriptFile(LuaFile* scriptFile)
  2097. - void SetScriptObjectType(const String scriptObjectType)
  2098. - void SubscribeToEvent(const String eventName, const String functionName)
  2099. - void UnsubscribeFromEvent(const String eventName)
  2100. - void UnsubscribeFromAllEvents()
  2101. - void SubscribeToEvent(void* sender, const String eventName, const String functionName)
  2102. - void UnsubscribeFromEvent(void* sender, const String eventName)
  2103. - void UnsubscribeFromEvents(void* sender)
  2104. - LuaFile* GetScriptFile() const
  2105. - const String GetScriptObjectType() const
  2106. Properties:
  2107. - const LuaFile* scriptFile
  2108. - const String scriptObjectType
  2109. ### Material : Resource
  2110. Methods:
  2111. - Material() (GC)
  2112. - Material* new()
  2113. - void delete()
  2114. - void SetNumTechniques(unsigned num)
  2115. - void SetTechnique(unsigned index, Technique* tech, unsigned qualityLevel = 0, float lodDistance = 0.0f)
  2116. - void SetShaderParameter(const String name, const Variant& value)
  2117. - void SetShaderParameterAnimation(const String name, ValueAnimation* animation, WrapMode wrapMode = WM_LOOP, float speed = 1.0f)
  2118. - void SetShaderParameterAnimationWrapMode(const String name, WrapMode wrapMode)
  2119. - void SetShaderParameterAnimationSpeed(const String name, float speed)
  2120. - void SetTexture(TextureUnit unit, Texture* texture)
  2121. - void SetUVTransform(const Vector2& offset, float rotation, const Vector2& repeat)
  2122. - void SetUVTransform(const Vector2& offset, float rotation, float repeat)
  2123. - void SetCullMode(CullMode mode)
  2124. - void SetShadowCullMode(CullMode mode)
  2125. - void SetDepthBias(const BiasParameters& parameters)
  2126. - void RemoveShaderParameter(const String name)
  2127. - void ReleaseShaders()
  2128. - Material* Clone(const String cloneName = String::EMPTY) const
  2129. - void SortTechniques()
  2130. - void MarkForAuxView(unsigned frameNumber)
  2131. - unsigned GetNumTechniques() const
  2132. - Technique* GetTechnique(unsigned index) const
  2133. - Pass* GetPass(unsigned index, StringHash passType) const
  2134. - Pass* GetPass(unsigned index, const String passType) const
  2135. - Texture* GetTexture(TextureUnit unit) const
  2136. - ValueAnimation* GetShaderParameterAnimation(const String name) const
  2137. - WrapMode GetShaderParameterAnimationWrapMode(const String name) const
  2138. - float GetShaderParameterAnimationSpeed(const String name) const
  2139. - CullMode GetCullMode() const
  2140. - CullMode GetShadowCullMode() const
  2141. - const BiasParameters& GetDepthBias() const
  2142. - unsigned GetAuxViewFrameNumber() const
  2143. - bool GetOcclusion() const
  2144. - bool GetSpecular() const
  2145. Properties:
  2146. - CullMode cullMode (readonly)
  2147. - CullMode shadowCullMode (readonly)
  2148. - unsigned auxViewFrameNumber (readonly)
  2149. - bool occlusion (readonly)
  2150. - bool specular (readonly)
  2151. ### Matrix3
  2152. Methods:
  2153. - Matrix3() (GC)
  2154. - Matrix3* new()
  2155. - Matrix3(const Matrix3& matrix) (GC)
  2156. - Matrix3* new(const Matrix3& matrix)
  2157. - Matrix3(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22) (GC)
  2158. - Matrix3* new(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22)
  2159. - void delete()
  2160. - bool operator==(const Matrix3& rhs) const
  2161. - Vector3 operator*(const Vector3& rhs) const
  2162. - Matrix3 operator+(const Matrix3& rhs) const
  2163. - Matrix3 operator-(const Matrix3& rhs) const
  2164. - Matrix3 operator*(float rhs) const
  2165. - Matrix3 operator*(const Matrix3& rhs) const
  2166. - void SetScale(const Vector3& scale)
  2167. - void SetScale(float scale)
  2168. - Vector3 Scale() const
  2169. - Matrix3 Transpose() const
  2170. - Matrix3 Scaled(const Vector3& scale) const
  2171. - bool Equals(const Matrix3& rhs) const
  2172. - Matrix3 Inverse() const
  2173. - String ToString() const
  2174. Properties:
  2175. - float m00
  2176. - float m01
  2177. - float m02
  2178. - float m10
  2179. - float m11
  2180. - float m12
  2181. - float m20
  2182. - float m21
  2183. - float m22
  2184. - const Matrix3 ZERO
  2185. - const Matrix3 IDENTITY
  2186. ### Matrix3x4
  2187. Methods:
  2188. - Matrix3x4() (GC)
  2189. - Matrix3x4* new()
  2190. - Matrix3x4(const Matrix3x4& matrix) (GC)
  2191. - Matrix3x4* new(const Matrix3x4& matrix)
  2192. - Matrix3x4(const Matrix3& matrix) (GC)
  2193. - Matrix3x4* new(const Matrix3& matrix)
  2194. - Matrix3x4(const Matrix4& matrix) (GC)
  2195. - Matrix3x4* new(const Matrix4& matrix)
  2196. - 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)
  2197. - 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)
  2198. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, float scale) (GC)
  2199. - Matrix3x4* new(const Vector3& translation, const Quaternion& rotation, float scale)
  2200. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, const Vector3& scale) (GC)
  2201. - Matrix3x4* new(const Vector3& translation, const Quaternion& rotation, const Vector3& scale)
  2202. - void delete()
  2203. - bool operator==(const Matrix3x4& rhs) const
  2204. - Vector3 operator*(const Vector3& rhs) const
  2205. - Vector3 operator*(const Vector4& rhs) const
  2206. - Matrix3x4 operator+(const Matrix3x4& rhs) const
  2207. - Matrix3x4 operator-(const Matrix3x4& rhs) const
  2208. - Matrix3x4 operator*(float rhs) const
  2209. - Matrix3x4 operator*(const Matrix3x4& rhs) const
  2210. - Matrix4 operator*(const Matrix4& rhs) const
  2211. - void SetTranslation(const Vector3& translation)
  2212. - void SetRotation(const Matrix3& rotation)
  2213. - void SetScale(const Vector3& scale)
  2214. - void SetScale(float scale)
  2215. - Matrix3 ToMatrix3() const
  2216. - Matrix4 ToMatrix4() const
  2217. - Matrix3 RotationMatrix() const
  2218. - Vector3 Translation() const
  2219. - Quaternion Rotation() const
  2220. - Vector3 Scale() const
  2221. - bool Equals(const Matrix3x4& rhs) const
  2222. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2223. - Matrix3x4 Inverse() const
  2224. - String ToString() const
  2225. Properties:
  2226. - float m00
  2227. - float m01
  2228. - float m02
  2229. - float m03
  2230. - float m10
  2231. - float m11
  2232. - float m12
  2233. - float m13
  2234. - float m20
  2235. - float m21
  2236. - float m22
  2237. - float m23
  2238. - const Matrix3x4 ZERO
  2239. - const Matrix3x4 IDENTITY
  2240. ### Matrix4
  2241. Methods:
  2242. - Matrix4() (GC)
  2243. - Matrix4* new()
  2244. - Matrix4(const Matrix4& matrix) (GC)
  2245. - Matrix4* new(const Matrix4& matrix)
  2246. - Matrix4(const Matrix3& matrix) (GC)
  2247. - Matrix4* new(const Matrix3& matrix)
  2248. - 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)
  2249. - 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)
  2250. - void delete()
  2251. - bool operator==(const Matrix4& rhs) const
  2252. - Vector3 operator*(const Vector3& rhs) const
  2253. - Vector4 operator*(const Vector4& rhs) const
  2254. - Matrix4 operator+(const Matrix4& rhs) const
  2255. - Matrix4 operator-(const Matrix4& rhs) const
  2256. - Matrix4 operator*(float rhs) const
  2257. - Matrix4 operator*(const Matrix4& rhs) const
  2258. - void SetTranslation(const Vector3& translation)
  2259. - void SetRotation(const Matrix3& rotation)
  2260. - void SetScale(const Vector3& scale)
  2261. - void SetScale(float scale)
  2262. - Matrix3 ToMatrix3() const
  2263. - Matrix3 RotationMatrix() const
  2264. - Vector3 Translation() const
  2265. - Quaternion Rotation() const
  2266. - Vector3 Scale() const
  2267. - Matrix4 Transpose() const
  2268. - bool Equals(const Matrix4& rhs) const
  2269. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2270. - Matrix4 Inverse() const
  2271. - String ToString() const
  2272. Properties:
  2273. - float m00
  2274. - float m01
  2275. - float m02
  2276. - float m03
  2277. - float m10
  2278. - float m11
  2279. - float m12
  2280. - float m13
  2281. - float m20
  2282. - float m21
  2283. - float m22
  2284. - float m23
  2285. - float m30
  2286. - float m31
  2287. - float m32
  2288. - float m33
  2289. - const Matrix4 ZERO
  2290. - const Matrix4 IDENTITY
  2291. ### Menu : Button
  2292. Methods:
  2293. - Menu() (GC)
  2294. - Menu* new()
  2295. - void delete()
  2296. - void SetPopup(UIElement* element)
  2297. - void SetPopupOffset(const IntVector2& offset)
  2298. - void SetPopupOffset(int x, int y)
  2299. - void ShowPopup(bool enable)
  2300. - void SetAccelerator(int key, int qualifiers)
  2301. - UIElement* GetPopup() const
  2302. - const IntVector2& GetPopupOffset() const
  2303. - bool GetShowPopup() const
  2304. - int GetAcceleratorKey() const
  2305. - int GetAcceleratorQualifiers() const
  2306. Properties:
  2307. - UIElement* popup
  2308. - IntVector2& popupOffset
  2309. - bool showPopup
  2310. - int acceleratorKey (readonly)
  2311. - int acceleratorQualifiers (readonly)
  2312. ### MessageBox : Object
  2313. Methods:
  2314. - MessageBox(const String messageString = String::EMPTY, const String titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0) (GC)
  2315. - MessageBox* new(const String messageString = String::EMPTY, const String titleString = String::EMPTY, XMLFile* layoutFile = 0, XMLFile* styleFile = 0)
  2316. - void delete()
  2317. - void SetTitle(const String text)
  2318. - void SetMessage(const String text)
  2319. - const String GetTitle() const
  2320. - const String GetMessage() const
  2321. - UIElement* GetWindow() const
  2322. Properties:
  2323. - String title
  2324. - String message
  2325. - UIElement* window (readonly)
  2326. ### Model : Resource
  2327. Methods:
  2328. - const BoundingBox& GetBoundingBox() const
  2329. - Skeleton& GetSkeleton()
  2330. - unsigned GetNumGeometries() const
  2331. - unsigned GetNumGeometryLodLevels(unsigned index) const
  2332. - Geometry* GetGeometry(unsigned index, unsigned lodLevel) const
  2333. - unsigned GetNumMorphs() const
  2334. - const ModelMorph* GetMorph(const String name) const
  2335. - const ModelMorph* GetMorph(StringHash nameHash) const
  2336. - const ModelMorph* GetMorph(unsigned index) const
  2337. - unsigned GetMorphRangeStart(unsigned bufferIndex) const
  2338. - unsigned GetMorphRangeCount(unsigned bufferIndex) const
  2339. Properties:
  2340. - BoundingBox& boundingBox (readonly)
  2341. - Skeleton skeleton (readonly)
  2342. - unsigned numGeometries (readonly)
  2343. - unsigned numMorphs (readonly)
  2344. ### Navigable : Component
  2345. Methods:
  2346. - void SetRecursive(bool enable)
  2347. - bool IsRecursive() const
  2348. Properties:
  2349. - bool recursive
  2350. ### NavigationGeometryInfo
  2351. Properties:
  2352. - Component* component
  2353. - unsigned lodLevel
  2354. - Matrix3x4 transform
  2355. - BoundingBox boundingBox
  2356. ### NavigationMesh : Component
  2357. Methods:
  2358. - void SetTileSize(int size)
  2359. - void SetCellSize(float size)
  2360. - void SetCellHeight(float height)
  2361. - void SetAgentHeight(float height)
  2362. - void SetAgentRadius(float radius)
  2363. - void SetAgentMaxClimb(float maxClimb)
  2364. - void SetAgentMaxSlope(float maxSlope)
  2365. - void SetRegionMinSize(float size)
  2366. - void SetRegionMergeSize(float size)
  2367. - void SetEdgeMaxLength(float length)
  2368. - void SetEdgeMaxError(float error)
  2369. - void SetDetailSampleDistance(float distance)
  2370. - void SetDetailSampleMaxError(float error)
  2371. - void SetPadding(const Vector3& padding)
  2372. - bool Build()
  2373. - bool Build(const BoundingBox& boundingBox)
  2374. - Vector3 FindNearestPoint(const Vector3& point)
  2375. - Vector3 FindNearestPoint(const Vector3& point, const Vector3& extents)
  2376. - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end)
  2377. - Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end, const Vector3& extents, int maxVisited = 3)
  2378. - const PODVector<Vector3>& FindPath(const Vector3& start, const Vector3& end)
  2379. - const PODVector<Vector3>& FindPath(const Vector3& start, const Vector3& end, const Vector3& extents)
  2380. - Vector3 GetRandomPoint()
  2381. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius)
  2382. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius, const Vector3& extents)
  2383. - float GetDistanceToWall(const Vector3& point, float radius)
  2384. - float GetDistanceToWall(const Vector3& point, float radius, const Vector3& extents)
  2385. - Vector3 Raycast(const Vector3& start, const Vector3& end)
  2386. - Vector3 Raycast(const Vector3& start, const Vector3& end, const Vector3& extents)
  2387. - void DrawDebugGeometry(bool depthTest)
  2388. - int GetTileSize() const
  2389. - float GetCellSize() const
  2390. - float GetCellHeight() const
  2391. - float GetAgentHeight() const
  2392. - float GetAgentRadius() const
  2393. - float GetAgentMaxClimb() const
  2394. - float GetAgentMaxSlope() const
  2395. - float GetRegionMinSize() const
  2396. - float GetRegionMergeSize() const
  2397. - float GetEdgeMaxLength() const
  2398. - float GetEdgeMaxError() const
  2399. - float GetDetailSampleDistance() const
  2400. - float GetDetailSampleMaxError() const
  2401. - const Vector3& GetPadding() const
  2402. - bool IsInitialized() const
  2403. - const BoundingBox& GetBoundingBox() const
  2404. - BoundingBox GetWorldBoundingBox() const
  2405. - IntVector2 GetNumTiles() const
  2406. Properties:
  2407. - int tileSize
  2408. - float cellSize
  2409. - float cellHeight
  2410. - float agentHeight
  2411. - float agentRadius
  2412. - float agentMaxClimb
  2413. - float agentMaxSlope
  2414. - float regionMinSize
  2415. - float regionMergeSize
  2416. - float edgeMaxLength
  2417. - float edgeMaxError
  2418. - float detailSampleDistance
  2419. - float detailSampleMaxError
  2420. - Vector3& padding
  2421. - bool initialized (readonly)
  2422. - BoundingBox& boundingBox (readonly)
  2423. - BoundingBox worldBoundingBox (readonly)
  2424. - IntVector2 numTiles (readonly)
  2425. ### Network
  2426. Methods:
  2427. - bool Connect(const String address, short port, Scene* scene)
  2428. - bool Connect(const String address, short port, Scene* scene, const VariantMap& identity)
  2429. - void Disconnect(int waitMSec = 0)
  2430. - bool StartServer(short port)
  2431. - void StopServer()
  2432. - void BroadcastMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  2433. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder)
  2434. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData)
  2435. - void BroadcastRemoteEvent(const String eventType, bool inOrder)
  2436. - void BroadcastRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData)
  2437. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder)
  2438. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder, const VariantMap& eventData)
  2439. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder)
  2440. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder, const VariantMap& eventData)
  2441. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder)
  2442. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData)
  2443. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder)
  2444. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData)
  2445. - void SetUpdateFps(int fps)
  2446. - void RegisterRemoteEvent(StringHash eventType)
  2447. - void RegisterRemoteEvent(const String eventType)
  2448. - void UnregisterRemoteEvent(StringHash eventType)
  2449. - void UnregisterRemoteEvent(const String eventType)
  2450. - void UnregisterAllRemoteEvents()
  2451. - void SetPackageCacheDir(const String path)
  2452. - HttpRequest* MakeHttpRequest(const String url, const String verb = String::EMPTY)
  2453. - HttpRequest* MakeHttpRequest(const String url, const String verb, const Vector<String>& headers, const String postData = String::EMPTY)
  2454. - int GetUpdateFps() const
  2455. - Connection* GetServerConnection() const
  2456. - bool IsServerRunning() const
  2457. - bool CheckRemoteEvent(StringHash eventType) const
  2458. - const String GetPackageCacheDir() const
  2459. Properties:
  2460. - int updateFps
  2461. - Connection* serverConnection (readonly)
  2462. - bool serverRunning (readonly)
  2463. - String packageCacheDir
  2464. ### NetworkPriority : Component
  2465. Methods:
  2466. - void SetBasePriority(float priority)
  2467. - void SetDistanceFactor(float factor)
  2468. - void SetMinPriority(float priority)
  2469. - void SetAlwaysUpdateOwner(bool enable)
  2470. - float GetBasePriority() const
  2471. - float GetDistanceFactor() const
  2472. - float GetMinPriority() const
  2473. - bool GetAlwaysUpdateOwner() const
  2474. - bool CheckUpdate(float distance, float accumulator)
  2475. Properties:
  2476. - float basePriority
  2477. - float distanceFactor
  2478. - float minPriority
  2479. - bool alwaysUpdateOwner
  2480. ### Node : Animatable
  2481. Methods:
  2482. - Node() (GC)
  2483. - Node* new()
  2484. - void delete()
  2485. - bool SaveXML(File* dest) const
  2486. - void SetName(const String name)
  2487. - void SetPosition(const Vector3& position)
  2488. - void SetPosition(const Vector2& position)
  2489. - void SetRotation(const Quaternion& rotation)
  2490. - void SetRotation(float rotation)
  2491. - void SetDirection(const Vector3& direction)
  2492. - void SetScale(float scale)
  2493. - void SetScale(const Vector3& scale)
  2494. - void SetScale(const Vector2& scale)
  2495. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  2496. - void SetTransform(const Vector2& position, float rotation)
  2497. - void SetTransform(const Vector3& position, const Quaternion& rotation, float scale)
  2498. - void SetTransform(const Vector2& position, float rotation, float scale)
  2499. - void SetTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  2500. - void SetTransform(const Vector2& position, float rotation, const Vector2& scale)
  2501. - void SetWorldPosition(const Vector3& position)
  2502. - void SetWorldPosition(const Vector2& position)
  2503. - void SetWorldRotation(const Quaternion& rotation)
  2504. - void SetWorldRotation(float rotation)
  2505. - void SetWorldDirection(const Vector3& direction)
  2506. - void SetWorldScale(float scale)
  2507. - void SetWorldScale(const Vector3& scale)
  2508. - void SetWorldScale(const Vector2& scale)
  2509. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation)
  2510. - void SetWorldTransform(const Vector2& position, float rotation)
  2511. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, float scale)
  2512. - void SetWorldTransform(const Vector2& position, float rotation, float scale)
  2513. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  2514. - void SetWorldTransform(const Vector2& position, float rotation, const Vector3& scale)
  2515. - void Translate(const Vector3& delta, TransformSpace space = TS_LOCAL)
  2516. - void Translate(const Vector2& delta, TransformSpace space = TS_LOCAL)
  2517. - void Rotate(const Quaternion& delta, TransformSpace space = TS_LOCAL)
  2518. - void Rotate(float delta, TransformSpace space = TS_LOCAL)
  2519. - void RotateAround(const Vector3& point, const Quaternion& delta, TransformSpace space = TS_LOCAL)
  2520. - void RotateAround(const Vector2& point, float delta, TransformSpace space = TS_LOCAL)
  2521. - void Pitch(float angle, TransformSpace space = TS_LOCAL)
  2522. - void Yaw(float angle, TransformSpace space = TS_LOCAL)
  2523. - void Roll(float angle, TransformSpace space = TS_LOCAL)
  2524. - bool LookAt(const Vector3& target)
  2525. - bool LookAt(const Vector3& target, const Vector3& upAxis, TransformSpace space = TS_WORLD)
  2526. - void Scale(float scale)
  2527. - void Scale(const Vector3& scale)
  2528. - void Scale(const Vector2& scale)
  2529. - void SetEnabled(bool enable)
  2530. - void SetEnabled(bool enable, bool recursive)
  2531. - void SetOwner(Connection* owner)
  2532. - void MarkDirty()
  2533. - Node* CreateChild(const String name = String::EMPTY, CreateMode mode = REPLICATED, unsigned id = 0)
  2534. - void AddChild(Node* node, unsigned index = M_MAX_UNSIGNED)
  2535. - void RemoveChild(Node* node)
  2536. - void RemoveAllChildren()
  2537. - void RemoveChildren(bool removeReplicated, bool removeLocal, bool recursive)
  2538. - void RemoveComponent(Component* component)
  2539. - void RemoveComponent(ShortStringHash type)
  2540. - void RemoveComponent(const String type)
  2541. - void RemoveAllComponents()
  2542. - void RemoveComponents(bool removeReplicated, bool removeLocal)
  2543. - Node* Clone(CreateMode mode = REPLICATED)
  2544. - void Remove()
  2545. - void SetParent(Node* parent)
  2546. - void SetVar(ShortStringHash key, const Variant& value)
  2547. - void AddListener(Component* component)
  2548. - void RemoveListener(Component* component)
  2549. - Component* CreateComponent(const String type, CreateMode mode = REPLICATED, unsigned id = 0)
  2550. - Component* CloneComponent(Component* component, unsigned id = 0)
  2551. - Component* CloneComponent(Component* component, CreateMode mode, 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 SetFaceCameraMode(FaceCameraMode mode)
  4175. - Font* GetFont() const
  4176. - Material* GetMaterial() const
  4177. - int GetFontSize() const
  4178. - const String GetText() const
  4179. - HorizontalAlignment GetTextAlignment() const
  4180. - HorizontalAlignment GetHorizontalAlignment() const
  4181. - VerticalAlignment GetVerticalAlignment() const
  4182. - float GetRowSpacing() const
  4183. - bool GetWordwrap() const
  4184. - TextEffect GetTextEffect() const
  4185. - const Color& GetEffectColor() const
  4186. - float GetEffectDepthBias() const
  4187. - int GetWidth() const
  4188. - int GetRowHeight() const
  4189. - unsigned GetNumRows() const
  4190. - unsigned GetNumChars() const
  4191. - int GetRowWidth(unsigned index) const
  4192. - IntVector2 GetCharPosition(unsigned index)
  4193. - IntVector2 GetCharSize(unsigned index)
  4194. - const Color& GetColor(Corner corner) const
  4195. - float GetOpacity() const
  4196. - FaceCameraMode GetFaceCameraMode() const
  4197. Properties:
  4198. - Font* font
  4199. - Material* material
  4200. - int fontSize (readonly)
  4201. - String text
  4202. - HorizontalAlignment textAlignment
  4203. - HorizontalAlignment horizontalAlignment
  4204. - VerticalAlignment verticalAlignment
  4205. - float rowSpacing
  4206. - bool wordwrap
  4207. - TextEffect textEffect
  4208. - Color& effectColor
  4209. - float effectDepthBias
  4210. - int width
  4211. - Color& color
  4212. - int rowHeight (readonly)
  4213. - unsigned numRows (readonly)
  4214. - unsigned numChars (readonly)
  4215. - float opacity
  4216. - FaceCameraMode faceCameraMode
  4217. ### Texture : Resource
  4218. Methods:
  4219. - void SetNumLevels(unsigned levels)
  4220. - void SetFilterMode(TextureFilterMode filter)
  4221. - void SetAddressMode(TextureCoordinate coord, TextureAddressMode address)
  4222. - void SetBorderColor(const Color& color)
  4223. - void SetSRGB(bool enable)
  4224. - void SetBackupTexture(Texture* texture)
  4225. - void SetMipsToSkip(int quality, int mips)
  4226. - unsigned GetFormat() const
  4227. - bool IsCompressed() const
  4228. - unsigned GetLevels() const
  4229. - int GetWidth() const
  4230. - int GetHeight() const
  4231. - TextureFilterMode GetFilterMode() const
  4232. - TextureAddressMode GetAddressMode(TextureCoordinate coord) const
  4233. - const Color& GetBorderColor() const
  4234. - bool GetSRGB() const
  4235. - Texture* GetBackupTexture() const
  4236. - int GetMipsToSkip(int quality) const
  4237. - int GetLevelWidth(unsigned level) const
  4238. - int GetLevelHeight(unsigned level) const
  4239. - TextureUsage GetUsage() const
  4240. - unsigned GetDataSize(int width, int height) const
  4241. - unsigned GetRowDataSize(int width) const
  4242. Properties:
  4243. - unsigned format (readonly)
  4244. - bool compressed (readonly)
  4245. - unsigned levels (readonly)
  4246. - int width (readonly)
  4247. - int height (readonly)
  4248. - TextureFilterMode filterMode
  4249. - Color& borderColor
  4250. - bool sRGB
  4251. - Texture* backupTexture
  4252. - TextureUsage usage (readonly)
  4253. ### Texture2D : Texture
  4254. Methods:
  4255. - Texture2D() (GC)
  4256. - Texture2D* new()
  4257. - void delete()
  4258. - bool SetSize(int width, int height, unsigned format, TextureUsage usage = TEXTURE_STATIC)
  4259. - bool Load(Image* image, bool useAlpha = false)
  4260. - RenderSurface* GetRenderSurface() const
  4261. Properties:
  4262. - RenderSurface* renderSurface (readonly)
  4263. ### TextureCube : Texture
  4264. Methods:
  4265. - RenderSurface* GetRenderSurface(CubeMapFace face) const
  4266. ### TextureFrame
  4267. Methods:
  4268. - TextureFrame() (GC)
  4269. - TextureFrame* new()
  4270. - void delete()
  4271. Properties:
  4272. - Rect uv
  4273. - float time
  4274. ### Time : Object
  4275. Methods:
  4276. - unsigned GetFrameNumber() const
  4277. - float GetTimeStep() const
  4278. - unsigned GetTimerPeriod() const
  4279. - float GetElapsedTime()
  4280. - unsigned GetSystemTime()
  4281. - String GetTimeStamp()
  4282. - void Sleep(unsigned mSec)
  4283. Properties:
  4284. - unsigned frameNumber (readonly)
  4285. - float timeStep (readonly)
  4286. - unsigned timerPeriod (readonly)
  4287. - float elapsedTime (readonly)
  4288. ### ToolTip : UIElement
  4289. Methods:
  4290. - ToolTip() (GC)
  4291. - ToolTip* new()
  4292. - void delete()
  4293. - void SetDelay(float delay)
  4294. - float GetDelay() const
  4295. Properties:
  4296. - float delay
  4297. ### TouchState
  4298. Methods:
  4299. - UIElement* GetTouchedElement()
  4300. Properties:
  4301. - int touchID
  4302. - IntVector2 position
  4303. - IntVector2 lastPosition
  4304. - IntVector2 delta
  4305. - float pressure
  4306. - UIElement* touchedElement (readonly)
  4307. ### UI : Object
  4308. Methods:
  4309. - void SetCursor(Cursor* cursor)
  4310. - void SetFocusElement(UIElement* element, bool byKey = false)
  4311. - bool SetModalElement(UIElement* modalElement, bool enable)
  4312. - void Clear()
  4313. - void Update(float timeStep)
  4314. - void RenderUpdate()
  4315. - void Render()
  4316. - void DebugDraw(UIElement* element)
  4317. - UIElement* LoadLayout(File* source, XMLFile* styleFile = 0)
  4318. - UIElement* LoadLayout(const String fileName, XMLFile* styleFile = 0)
  4319. - UIElement* LoadLayout(XMLFile* file, XMLFile* styleFile = 0)
  4320. - bool SaveLayout(Serializer& dest, UIElement* element)
  4321. - void SetClipboardText(const String text)
  4322. - void SetDoubleClickInterval(float interval)
  4323. - void SetDragBeginInterval(float interval)
  4324. - void SetDragBeginDistance(int pixels)
  4325. - void SetDefaultToolTipDelay(float delay)
  4326. - void SetMaxFontTextureSize(int size)
  4327. - void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel)
  4328. - void SetUseSystemClipboard(bool enable)
  4329. - void SetUseScreenKeyboard(bool enable)
  4330. - void SetUseMutableGlyphs(bool enable)
  4331. - void SetForceAutoHint(bool enable)
  4332. - UIElement* GetRoot() const
  4333. - UIElement* GetRootModalElement() const
  4334. - Cursor* GetCursor() const
  4335. - IntVector2 GetCursorPosition() const
  4336. - UIElement* GetElementAt(const IntVector2& position, bool enabledOnly = true)
  4337. - UIElement* GetElementAt(int x, int y, bool enabledOnly = true)
  4338. - UIElement* GetFocusElement() const
  4339. - UIElement* GetFrontElement() const
  4340. - UIElement* GetDragElement() const
  4341. - const String GetClipboardText() const
  4342. - float GetDoubleClickInterval() const
  4343. - float GetDragBeginInterval() const
  4344. - int GetDragBeginDistance() const
  4345. - float GetDefaultToolTipDelay() const
  4346. - int GetMaxFontTextureSize() const
  4347. - bool IsNonFocusedMouseWheel() const
  4348. - bool GetUseSystemClipboard() const
  4349. - bool GetUseScreenKeyboard() const
  4350. - bool GetUseMutableGlyphs() const
  4351. - bool GetForceAutoHint() const
  4352. - bool HasModalElement() const
  4353. Properties:
  4354. - UIElement* root (readonly)
  4355. - UIElement* rootModalElement (readonly)
  4356. - Cursor* cursor
  4357. - IntVector2 cursorPosition (readonly)
  4358. - UIElement* focusElement (readonly)
  4359. - UIElement* frontElement (readonly)
  4360. - UIElement* dragElement (readonly)
  4361. - String clipboardText
  4362. - float doubleClickInterval
  4363. - float dragBeginInterval
  4364. - int dragBeginDistance
  4365. - float defaultToolTipDelay
  4366. - int maxFontTextureSize
  4367. - bool nonFocusedMouseWheel
  4368. - bool useSystemClipboard
  4369. - bool useScreenKeyboard
  4370. - bool useMutableGlyphs
  4371. - bool forceAutoHint
  4372. - bool modalElement (readonly)
  4373. ### UIElement : Animatable
  4374. Methods:
  4375. - UIElement() (GC)
  4376. - UIElement* new()
  4377. - void delete()
  4378. - const IntVector2& GetScreenPosition() const
  4379. - bool LoadXML(Deserializer& source)
  4380. - bool SaveXML(Serializer& dest) const
  4381. - bool LoadXML(const String fileName)
  4382. - bool SaveXML(const String fileName) const
  4383. - bool FilterAttributes(XMLElement& dest) const
  4384. - void SetName(const String name)
  4385. - void SetPosition(const IntVector2& position)
  4386. - void SetPosition(int x, int y)
  4387. - void SetSize(const IntVector2& size)
  4388. - void SetSize(int width, int height)
  4389. - void SetWidth(int width)
  4390. - void SetHeight(int height)
  4391. - void SetMinSize(const IntVector2& minSize)
  4392. - void SetMinSize(int width, int height)
  4393. - void SetMinWidth(int width)
  4394. - void SetMinHeight(int height)
  4395. - void SetMaxSize(const IntVector2& maxSize)
  4396. - void SetMaxSize(int width, int height)
  4397. - void SetMaxWidth(int width)
  4398. - void SetMaxHeight(int height)
  4399. - void SetFixedSize(const IntVector2& size)
  4400. - void SetFixedSize(int width, int height)
  4401. - void SetFixedWidth(int width)
  4402. - void SetFixedHeight(int height)
  4403. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4404. - void SetHorizontalAlignment(HorizontalAlignment align)
  4405. - void SetVerticalAlignment(VerticalAlignment align)
  4406. - void SetClipBorder(const IntRect& rect)
  4407. - void SetColor(const Color& color)
  4408. - void SetColor(Corner corner, const Color& color)
  4409. - void SetPriority(int priority)
  4410. - void SetOpacity(float opacity)
  4411. - void SetBringToFront(bool enable)
  4412. - void SetBringToBack(bool enable)
  4413. - void SetClipChildren(bool enable)
  4414. - void SetSortChildren(bool enable)
  4415. - void SetUseDerivedOpacity(bool enable)
  4416. - void SetEnabled(bool enable)
  4417. - void SetEditable(bool enable)
  4418. - void SetFocus(bool enable)
  4419. - void SetSelected(bool enable)
  4420. - void SetVisible(bool enable)
  4421. - void SetFocusMode(FocusMode mode)
  4422. - void SetDragDropMode(unsigned mode)
  4423. - bool SetStyle(const String styleName, XMLFile* file = 0)
  4424. - bool SetStyle(const XMLElement& element)
  4425. - bool SetStyleAuto(XMLFile* file = 0)
  4426. - void SetDefaultStyle(XMLFile* style)
  4427. - void SetLayout(LayoutMode mode, int spacing = 0)
  4428. - void SetLayout(LayoutMode mode, int spacing, const IntRect& border)
  4429. - void SetLayoutMode(LayoutMode mode)
  4430. - void SetLayoutSpacing(int spacing)
  4431. - void SetLayoutBorder(const IntRect& border)
  4432. - void SetIndent(int indent)
  4433. - void SetIndentSpacing(int indentSpacing)
  4434. - void UpdateLayout()
  4435. - void DisableLayoutUpdate()
  4436. - void EnableLayoutUpdate()
  4437. - void BringToFront()
  4438. - UIElement* CreateChild(const String type, const String name = String::EMPTY, unsigned index = M_MAX_UNSIGNED)
  4439. - void AddChild(UIElement* element)
  4440. - void InsertChild(unsigned index, UIElement* element)
  4441. - void RemoveChild(UIElement* element, unsigned index = 0)
  4442. - void RemoveChildAtIndex(unsigned index)
  4443. - void RemoveAllChildren()
  4444. - void Remove()
  4445. - unsigned FindChild(UIElement* element) const
  4446. - void SetParent(UIElement* parent, unsigned index = M_MAX_UNSIGNED)
  4447. - void SetVar(ShortStringHash key, const Variant& value)
  4448. - void SetInternal(bool enable)
  4449. - void SetTraversalMode(TraversalMode traversalMode)
  4450. - void SetElementEventSender(bool flag)
  4451. - const String GetName() const
  4452. - const IntVector2& GetPosition() const
  4453. - const IntVector2& GetSize() const
  4454. - int GetWidth() const
  4455. - int GetHeight() const
  4456. - const IntVector2& GetMinSize() const
  4457. - int GetMinWidth() const
  4458. - int GetMinHeight() const
  4459. - const IntVector2& GetMaxSize() const
  4460. - int GetMaxWidth() const
  4461. - int GetMaxHeight() const
  4462. - bool IsFixedSize() const
  4463. - bool IsFixedWidth() const
  4464. - bool IsFixedHeight() const
  4465. - const IntVector2& GetChildOffset() const
  4466. - HorizontalAlignment GetHorizontalAlignment() const
  4467. - VerticalAlignment GetVerticalAlignment() const
  4468. - const IntRect& GetClipBorder() const
  4469. - const Color& GetColor(Corner corner) const
  4470. - int GetPriority() const
  4471. - float GetOpacity() const
  4472. - float GetDerivedOpacity() const
  4473. - bool GetBringToFront() const
  4474. - bool GetBringToBack() const
  4475. - bool GetClipChildren() const
  4476. - bool GetSortChildren() const
  4477. - bool GetUseDerivedOpacity() const
  4478. - bool HasFocus() const
  4479. - bool IsEnabled() const
  4480. - bool IsEditable() const
  4481. - bool IsSelected() const
  4482. - bool IsVisible() const
  4483. - bool IsHovering() const
  4484. - bool IsInternal() const
  4485. - bool HasColorGradient() const
  4486. - FocusMode GetFocusMode() const
  4487. - unsigned GetDragDropMode() const
  4488. - const String GetAppliedStyle() const
  4489. - XMLFile* GetDefaultStyle(bool recursiveUp = true) const
  4490. - LayoutMode GetLayoutMode() const
  4491. - int GetLayoutSpacing() const
  4492. - const IntRect& GetLayoutBorder() const
  4493. - unsigned GetNumChildren(bool recursive = false) const
  4494. - UIElement* GetChild(const String name, bool recursive = false) const
  4495. - UIElement* GetChild(unsigned index) const
  4496. - UIElement* GetParent() const
  4497. - UIElement* GetRoot() const
  4498. - const Color& GetDerivedColor() const
  4499. - const Variant& GetVar(ShortStringHash key) const
  4500. - const VariantMap& GetVars() const
  4501. - IntVector2 ScreenToElement(const IntVector2& screenPosition)
  4502. - IntVector2 ElementToScreen(const IntVector2& position)
  4503. - bool IsInside(IntVector2 position, bool isScreen)
  4504. - bool IsInsideCombined(IntVector2 position, bool isScreen)
  4505. - IntRect GetCombinedScreenRect()
  4506. - void SortChildren()
  4507. - int GetLayoutMinSize() const
  4508. - int GetIndent() const
  4509. - int GetIndentSpacing() const
  4510. - int GetIndentWidth() const
  4511. - void SetChildOffset(const IntVector2& offset)
  4512. - void SetHovering(bool enable)
  4513. - const Color& GetColor() const
  4514. - TraversalMode GetTraversalMode() const
  4515. - bool IsElementEventSender() const
  4516. - UIElement* GetElementEventSender() const
  4517. Properties:
  4518. - IntVector2& screenPosition (readonly)
  4519. - String name
  4520. - IntVector2& position
  4521. - IntVector2 size
  4522. - int width
  4523. - int height
  4524. - IntVector2 minSize
  4525. - int minWidth
  4526. - int minHeight
  4527. - IntVector2 maxSize
  4528. - int maxWidth
  4529. - int maxHeight
  4530. - bool fixedSize (readonly)
  4531. - bool fixedWidth (readonly)
  4532. - bool fixedHeight (readonly)
  4533. - IntVector2& childOffset
  4534. - HorizontalAlignment horizontalAlignment
  4535. - VerticalAlignment verticalAlignment
  4536. - IntRect clipBorder
  4537. - Color& color
  4538. - int priority
  4539. - float opacity
  4540. - float derivedOpacity (readonly)
  4541. - bool bringToFront
  4542. - bool bringToBack
  4543. - bool clipChildren
  4544. - bool sortChildren
  4545. - bool useDerivedOpacity
  4546. - bool focus
  4547. - bool enabled
  4548. - bool editable
  4549. - bool selected
  4550. - bool visible
  4551. - bool hovering
  4552. - bool internal
  4553. - bool colorGradient (readonly)
  4554. - FocusMode focusMode
  4555. - unsigned dragDropMode
  4556. - String style
  4557. - XMLFile* defaultStyle
  4558. - LayoutMode layoutMode
  4559. - int layoutSpacing
  4560. - IntRect& layoutBorder
  4561. - unsigned numChildren (readonly)
  4562. - UIElement* parent
  4563. - UIElement* root (readonly)
  4564. - Color& derivedColor (readonly)
  4565. - IntRect combinedScreenRect (readonly)
  4566. - int layoutMinSize (readonly)
  4567. - int indent
  4568. - int indentSpacing
  4569. - int indentWidth (readonly)
  4570. - TraversalMode traversalMode
  4571. - bool elementEventSender
  4572. ### ValueAnimation : Resource
  4573. Methods:
  4574. - ValueAnimation() (GC)
  4575. - ValueAnimation* new()
  4576. - void delete()
  4577. - void SetInterpolationMethod(InterpMethod method)
  4578. - void SetSplineTension(float tension)
  4579. - void SetValueType(VariantType valueType)
  4580. - bool SetKeyFrame(float time, const Variant& value)
  4581. - void SetEventFrame(float time, const StringHash& eventType)
  4582. - void SetEventFrame(float time, const StringHash& eventType, const VariantMap& eventData)
  4583. - InterpMethod GetInterpolationMethod() const
  4584. - float GetSplineTension() const
  4585. - VariantType GetValueType() const
  4586. Properties:
  4587. - InterpMethod interpolationMethod
  4588. - float splineTension
  4589. - VariantType valueType
  4590. ### Variant
  4591. Methods:
  4592. - Variant() (GC)
  4593. - Variant* new()
  4594. - Variant(int value) (GC)
  4595. - Variant* new(int value)
  4596. - Variant(unsigned value) (GC)
  4597. - Variant* new(unsigned value)
  4598. - Variant(const StringHash& value) (GC)
  4599. - Variant* new(const StringHash& value)
  4600. - Variant(const ShortStringHash& value) (GC)
  4601. - Variant* new(const ShortStringHash& value)
  4602. - Variant(bool value) (GC)
  4603. - Variant* new(bool value)
  4604. - Variant(float value) (GC)
  4605. - Variant* new(float value)
  4606. - Variant(const Vector2& value) (GC)
  4607. - Variant* new(const Vector2& value)
  4608. - Variant(const Vector3& value) (GC)
  4609. - Variant* new(const Vector3& value)
  4610. - Variant(const Vector4& value) (GC)
  4611. - Variant* new(const Vector4& value)
  4612. - Variant(const Quaternion& value) (GC)
  4613. - Variant* new(const Quaternion& value)
  4614. - Variant(const Color& value) (GC)
  4615. - Variant* new(const Color& value)
  4616. - Variant(const String value) (GC)
  4617. - Variant* new(const String value)
  4618. - Variant(const char* value) (GC)
  4619. - Variant* new(const char* value)
  4620. - Variant(const ResourceRef& value) (GC)
  4621. - Variant* new(const ResourceRef& value)
  4622. - Variant(const ResourceRefList& value) (GC)
  4623. - Variant* new(const ResourceRefList& value)
  4624. - Variant(const IntRect& value) (GC)
  4625. - Variant* new(const IntRect& value)
  4626. - Variant(const IntVector2& value) (GC)
  4627. - Variant* new(const IntVector2& value)
  4628. - Variant(const Matrix3& value) (GC)
  4629. - Variant* new(const Matrix3& value)
  4630. - Variant(const Matrix3x4& value) (GC)
  4631. - Variant* new(const Matrix3x4& value)
  4632. - Variant(const Matrix4& value) (GC)
  4633. - Variant* new(const Matrix4& value)
  4634. - Variant(const String type, const String value) (GC)
  4635. - Variant* new(const String type, const String value)
  4636. - Variant(VariantType type, const String value) (GC)
  4637. - Variant* new(VariantType type, const String value)
  4638. - Variant(VariantType type, const char* value) (GC)
  4639. - Variant* new(VariantType type, const char* value)
  4640. - Variant(const Variant& value) (GC)
  4641. - Variant* new(const Variant& value)
  4642. - void delete()
  4643. - void Clear()
  4644. - bool operator==(const Variant& rhs) const
  4645. - bool operator==(int rhs) const
  4646. - bool operator==(unsigned rhs) const
  4647. - bool operator==(bool rhs) const
  4648. - bool operator==(float rhs) const
  4649. - bool operator==(const Vector2& rhs)
  4650. - bool operator==(const Vector3& rhs) const
  4651. - bool operator==(const Vector4& rhs) const
  4652. - bool operator==(const Quaternion& rhs) const
  4653. - bool operator==(const Color& rhs) const
  4654. - bool operator==(const String rhs) const
  4655. - bool operator==(const ResourceRef& rhs) const
  4656. - bool operator==(const ResourceRefList& rhs) const
  4657. - bool operator==(const IntRect& rhs) const
  4658. - bool operator==(const IntVector2& rhs) const
  4659. - bool operator==(const StringHash& rhs) const
  4660. - bool operator==(const ShortStringHash& rhs) const
  4661. - bool operator==(const Matrix3& rhs) const
  4662. - bool operator==(const Matrix3x4& rhs) const
  4663. - bool operator==(const Matrix4& rhs) const
  4664. - void SetInt(int value)
  4665. - void SetUint(unsigned value)
  4666. - void SetStringHash(const StringHash& value)
  4667. - void SetShortStringHash(const ShortStringHash& value)
  4668. - void SetBool(bool value)
  4669. - void SetFloat(float value)
  4670. - void SetVector2(const Vector2& value)
  4671. - void SetVector3(const Vector3& value)
  4672. - void SetVector4(const Vector4& value)
  4673. - void SetQuaternion(const Quaternion& value)
  4674. - void SetColor(const Color& value)
  4675. - void SetString(const String value)
  4676. - void SetBuffer(const VectorBuffer& value)
  4677. - void SetResourceRef(const ResourceRef& value)
  4678. - void SetResourceRefList(const ResourceRefList& value)
  4679. - void SetIntRect(const IntRect& value)
  4680. - void SetIntVector2(const IntVector2& value)
  4681. - void SetMatrix3(const Matrix3& value)
  4682. - void SetMatrix3x4(const Matrix3x4& value)
  4683. - void SetMatrix4(const Matrix4& value)
  4684. - int GetInt() const
  4685. - int GetUInt() const
  4686. - StringHash GetStringHash()
  4687. - ShortStringHash GetShortStringHash()
  4688. - bool GetBool() const
  4689. - float GetFloat() const
  4690. - const Vector2& GetVector2() const
  4691. - const Vector3& GetVector3() const
  4692. - const Vector4& GetVector4() const
  4693. - const Quaternion& GetQuaternion() const
  4694. - const Color& GetColor() const
  4695. - const String GetString() const
  4696. - VectorBuffer GetBuffer() const
  4697. - const ResourceRef& GetResourceRef() const
  4698. - const ResourceRefList& GetResourceRefList() const
  4699. - const IntRect& GetIntRect() const
  4700. - const IntVector2& GetIntVector2() const
  4701. - const Matrix3& GetMatrix3() const
  4702. - const Matrix3x4& GetMatrix3x4() const
  4703. - const Matrix4& GetMatrix4() const
  4704. - VariantType GetType() const
  4705. - String GetTypeName() const
  4706. - String ToString() const
  4707. - bool IsZero() const
  4708. - bool IsEmpty() const
  4709. Properties:
  4710. - VariantType type (readonly)
  4711. - String typeName (readonly)
  4712. - bool zero (readonly)
  4713. - bool empty (readonly)
  4714. ### VariantMap
  4715. Methods:
  4716. - VariantMap() (GC)
  4717. - VariantMap* new()
  4718. - void delete()
  4719. - void SetInt(const String key, int value)
  4720. - void SetUInt(const String key, unsigned value)
  4721. - void SetStringHash(const String key, const StringHash& value)
  4722. - void SetShortStringHash(const String key, const ShortStringHash& value)
  4723. - void SetBool(const String key, bool value)
  4724. - void SetFloat(const String key, float value)
  4725. - void SetVector2(const String key, const Vector2 value)
  4726. - void SetVector3(const String key, const Vector3 value)
  4727. - void SetVector4(const String key, const Vector4 value)
  4728. - void SetQuaternion(const String key, const Quaternion value)
  4729. - void SetColor(const String key, const Color value)
  4730. - void SetString(const String key, const String value)
  4731. - void SetBuffer(const String key, const VectorBuffer& value)
  4732. - void SetResourceRef(const String key, const ResourceRef value)
  4733. - void SetResourceRefList(const String key, const ResourceRefList value)
  4734. - void SetIntRect(const String key, const IntRect value)
  4735. - void SetIntVector2(const String key, const IntVector2 value)
  4736. - void SetPtr(const String key, void* value)
  4737. - void SetMatrix3(const String key, const Matrix3 value)
  4738. - void SetMatrix3x4(const String key, const Matrix3x4 value)
  4739. - void SetMatrix4(const String key, const Matrix4 value)
  4740. - int GetInt(const String key)
  4741. - int GetUInt(const String key)
  4742. - StringHash GetStringHash(const String key)
  4743. - ShortStringHash GetShortStringHash(const String key)
  4744. - bool GetBool(const String key)
  4745. - float GetFloat(const String key)
  4746. - const Vector2& GetVector2(const String key)
  4747. - const Vector3& GetVector3(const String key)
  4748. - const Vector4& GetVector4(const String key)
  4749. - const Quaternion& GetQuaternion(const String key)
  4750. - const Color& GetColor(const String key)
  4751. - const String GetString(const String key)
  4752. - VectorBuffer GetBuffer(const String key)
  4753. - const ResourceRef& GetResourceRef(const String key)
  4754. - const ResourceRefList& GetResourceRefList(const String key)
  4755. - const IntRect& GetIntRect(const String key)
  4756. - const IntVector2& GetIntVector2(const String key)
  4757. - const void* GetPtr(const String type, const String key)
  4758. - const Matrix3& GetMatrix3(const String key)
  4759. - const Matrix3x4& GetMatrix3x4(const String key)
  4760. - const Matrix4& GetMatrix4(const String key)
  4761. ### Vector2
  4762. Methods:
  4763. - Vector2() (GC)
  4764. - Vector2* new()
  4765. - Vector2(const Vector2& vector) (GC)
  4766. - Vector2* new(const Vector2& vector)
  4767. - Vector2(float x, float y) (GC)
  4768. - Vector2* new(float x, float y)
  4769. - void delete()
  4770. - bool operator==(const Vector2& rhs) const
  4771. - Vector2 operator+(const Vector2& rhs) const
  4772. - Vector2 operator-() const
  4773. - Vector2 operator-(const Vector2& rhs) const
  4774. - Vector2 operator*(float rhs) const
  4775. - Vector2 operator*(const Vector2& rhs) const
  4776. - Vector2 operator/(float rhs) const
  4777. - Vector2 operator/(const Vector2& rhs) const
  4778. - Vector2 operator/(const Vector2& rhs) const
  4779. - void Normalize()
  4780. - float Length() const
  4781. - float LengthSquared() const
  4782. - float DotProduct(const Vector2& rhs) const
  4783. - float AbsDotProduct(const Vector2& rhs) const
  4784. - Vector2 Abs() const
  4785. - Vector2 Lerp(const Vector2& rhs, float t) const
  4786. - bool Equals(const Vector2& rhs) const
  4787. - bool IsNaN() const
  4788. - Vector2 Normalized() const
  4789. - String ToString() const
  4790. Properties:
  4791. - float x
  4792. - float y
  4793. - const Vector2 ZERO
  4794. - const Vector2 LEFT
  4795. - const Vector2 RIGHT
  4796. - const Vector2 UP
  4797. - const Vector2 DOWN
  4798. - const Vector2 ONE
  4799. ### Vector3
  4800. Methods:
  4801. - Vector3() (GC)
  4802. - Vector3* new()
  4803. - Vector3(const Vector3& vector) (GC)
  4804. - Vector3* new(const Vector3& vector)
  4805. - Vector3(const Vector2& vector, float z) (GC)
  4806. - Vector3* new(const Vector2& vector, float z)
  4807. - Vector3(const Vector2& vector) (GC)
  4808. - Vector3* new(const Vector2& vector)
  4809. - Vector3(float x, float y, float z) (GC)
  4810. - Vector3* new(float x, float y, float z)
  4811. - Vector3(float x, float y) (GC)
  4812. - Vector3* new(float x, float y)
  4813. - void delete()
  4814. - bool operator==(const Vector3& rhs) const
  4815. - Vector3 operator+(const Vector3& rhs) const
  4816. - Vector3 operator-() const
  4817. - Vector3 operator-(const Vector3& rhs) const
  4818. - Vector3 operator*(float rhs) const
  4819. - Vector3 operator*(const Vector3& rhs) const
  4820. - Vector3 operator/(float rhs) const
  4821. - Vector3 operator/(const Vector3& rhs) const
  4822. - void Normalize()
  4823. - float Length() const
  4824. - float LengthSquared() const
  4825. - float DotProduct(const Vector3& rhs) const
  4826. - float AbsDotProduct(const Vector3& rhs) const
  4827. - Vector3 CrossProduct(const Vector3& rhs) const
  4828. - Vector3 Abs() const
  4829. - Vector3 Lerp(const Vector3& rhs, float t) const
  4830. - bool Equals(const Vector3& rhs) const
  4831. - bool IsNaN() const
  4832. - float Angle(const Vector3& rhs) const
  4833. - Vector3 Normalized() const
  4834. - String ToString() const
  4835. Properties:
  4836. - float x
  4837. - float y
  4838. - float z
  4839. - const Vector3 ZERO
  4840. - const Vector3 LEFT
  4841. - const Vector3 RIGHT
  4842. - const Vector3 UP
  4843. - const Vector3 DOWN
  4844. - const Vector3 FORWARD
  4845. - const Vector3 BACK
  4846. - const Vector3 ONE
  4847. ### Vector4
  4848. Methods:
  4849. - Vector4() (GC)
  4850. - Vector4* new()
  4851. - Vector4(const Vector4& vector) (GC)
  4852. - Vector4* new(const Vector4& vector)
  4853. - Vector4(const Vector3& vector, float w) (GC)
  4854. - Vector4* new(const Vector3& vector, float w)
  4855. - Vector4(float x, float y, float z, float w) (GC)
  4856. - Vector4* new(float x, float y, float z, float w)
  4857. - void delete()
  4858. - bool operator==(const Vector4& rhs) const
  4859. - Vector4 operator+(const Vector4& rhs) const
  4860. - Vector4 operator-() const
  4861. - Vector4 operator-(const Vector4& rhs) const
  4862. - Vector4 operator*(float rhs) const
  4863. - Vector4 operator*(const Vector4& rhs) const
  4864. - Vector4 operator/(float rhs) const
  4865. - Vector4 operator/(const Vector4& rhs) const
  4866. - Vector4 operator/(const Vector4& rhs) const
  4867. - float DotProduct(const Vector4& rhs) const
  4868. - float AbsDotProduct(const Vector4& rhs) const
  4869. - Vector4 Abs() const
  4870. - Vector4 Lerp(const Vector4& rhs, float t) const
  4871. - bool Equals(const Vector4& rhs) const
  4872. - bool IsNaN() const
  4873. - String ToString() const
  4874. Properties:
  4875. - float x
  4876. - float y
  4877. - float z
  4878. - float w
  4879. - const Vector4 ZERO
  4880. - const Vector4 ONE
  4881. ### VectorBuffer
  4882. Methods:
  4883. - VectorBuffer() (GC)
  4884. - VectorBuffer* new()
  4885. - VectorBuffer(Deserializer& source, unsigned size) (GC)
  4886. - VectorBuffer* new(Deserializer& source, unsigned size)
  4887. - void delete()
  4888. - void SetData(Deserializer& source, unsigned size)
  4889. - void Clear()
  4890. - void Resize(unsigned size)
  4891. - const void* GetData() const
  4892. - void* GetModifiableData()
  4893. - VectorBuffer Read(unsigned size)
  4894. - unsigned Seek(unsigned position)
  4895. - const String GetName() const
  4896. - unsigned GetChecksum()
  4897. - unsigned GetPosition() const
  4898. - unsigned GetSize() const
  4899. - bool IsEof() const
  4900. - int ReadInt()
  4901. - short ReadShort()
  4902. - char ReadByte()
  4903. - unsigned ReadUInt()
  4904. - short ReadUShort()
  4905. - char ReadUByte()
  4906. - bool ReadBool()
  4907. - float ReadFloat()
  4908. - IntRect ReadIntRect()
  4909. - IntVector2 ReadIntVector2()
  4910. - Rect ReadRect()
  4911. - Vector2 ReadVector2()
  4912. - Vector3 ReadVector3()
  4913. - Vector3 ReadPackedVector3(float maxAbsCoord)
  4914. - Vector4 ReadVector4()
  4915. - Quaternion ReadQuaternion()
  4916. - Quaternion ReadPackedQuaternion()
  4917. - Matrix3 ReadMatrix3()
  4918. - Matrix3x4 ReadMatrix3x4()
  4919. - Matrix4 ReadMatrix4()
  4920. - Color ReadColor()
  4921. - BoundingBox ReadBoundingBox()
  4922. - String ReadString()
  4923. - String ReadFileID()
  4924. - StringHash ReadStringHash()
  4925. - ShortStringHash ReadShortStringHash()
  4926. - VectorBuffer ReadBuffer()
  4927. - ResourceRef ReadResourceRef()
  4928. - ResourceRefList ReadResourceRefList()
  4929. - Variant ReadVariant()
  4930. - Variant ReadVariant(VariantType type)
  4931. - VariantVector ReadVariantVector()
  4932. - VariantMap ReadVariantMap()
  4933. - unsigned ReadVLE()
  4934. - unsigned ReadNetID()
  4935. - String ReadLine()
  4936. - unsigned Write(const VectorBuffer& buffer)
  4937. - bool WriteInt(int value)
  4938. - bool WriteShort(short value)
  4939. - bool WriteByte(char value)
  4940. - bool WriteUInt(unsigned value)
  4941. - bool WriteUShort(short value)
  4942. - bool WriteUByte(char value)
  4943. - bool WriteBool(bool value)
  4944. - bool WriteFloat(float value)
  4945. - bool WriteIntRect(const IntRect& value)
  4946. - bool WriteIntVector2(const IntVector2& value)
  4947. - bool WriteRect(const Rect& value)
  4948. - bool WriteVector2(const Vector2& value)
  4949. - bool WriteVector3(const Vector3& value)
  4950. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  4951. - bool WriteVector4(const Vector4& value)
  4952. - bool WriteQuaternion(const Quaternion& value)
  4953. - bool WritePackedQuaternion(const Quaternion& value)
  4954. - bool WriteMatrix3(const Matrix3& value)
  4955. - bool WriteMatrix3x4(const Matrix3x4& value)
  4956. - bool WriteMatrix4(const Matrix4& value)
  4957. - bool WriteColor(const Color& value)
  4958. - bool WriteBoundingBox(const BoundingBox& value)
  4959. - bool WriteString(const String value)
  4960. - bool WriteFileID(const String value)
  4961. - bool WriteStringHash(const StringHash& value)
  4962. - bool WriteShortStringHash(const ShortStringHash& value)
  4963. - bool WriteBuffer(const VectorBuffer& buffer)
  4964. - bool WriteResourceRef(const ResourceRef& value)
  4965. - bool WriteResourceRefList(const ResourceRefList& value)
  4966. - bool WriteVariant(const Variant& value)
  4967. - bool WriteVariantData(const Variant& value)
  4968. - bool WriteVariantVector(const VariantVector& value)
  4969. - bool WriteVariantMap(const VariantMap& value)
  4970. - bool WriteVLE(unsigned value)
  4971. - bool WriteNetID(unsigned value)
  4972. - bool WriteLine(const String value)
  4973. Properties:
  4974. - String name (readonly)
  4975. - unsigned checksum (readonly)
  4976. - unsigned position (readonly)
  4977. - unsigned size (readonly)
  4978. - bool eof (readonly)
  4979. ### View3D : Window
  4980. Methods:
  4981. - View3D() (GC)
  4982. - View3D* new()
  4983. - void delete()
  4984. - void SetView(Scene* scene, Camera* camera)
  4985. - void SetFormat(unsigned format)
  4986. - void SetAutoUpdate(bool enable)
  4987. - void QueueUpdate()
  4988. - unsigned GetFormat() const
  4989. - bool GetAutoUpdate() const
  4990. - Scene* GetScene() const
  4991. - Node* GetCameraNode() const
  4992. - Texture2D* GetRenderTexture() const
  4993. - Texture2D* GetDepthTexture() const
  4994. - Viewport* GetViewport() const
  4995. Properties:
  4996. - unsigned format
  4997. - bool autoUpdate
  4998. ### Viewport
  4999. Methods:
  5000. - Viewport() (GC)
  5001. - Viewport* new()
  5002. - Viewport(Scene* scene, Camera* camera, RenderPath* renderPath = 0) (GC)
  5003. - Viewport* new(Scene* scene, Camera* camera, RenderPath* renderPath = 0)
  5004. - Viewport(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0) (GC)
  5005. - Viewport* new(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0)
  5006. - void delete()
  5007. - void SetScene(Scene* scene)
  5008. - void SetCamera(Camera* camera)
  5009. - void SetRect(const IntRect& rect)
  5010. - void SetRenderPath(RenderPath* path)
  5011. - void SetRenderPath(XMLFile* file)
  5012. - Scene* GetScene() const
  5013. - Camera* GetCamera() const
  5014. - const IntRect& GetRect() const
  5015. - RenderPath* GetRenderPath() const
  5016. Properties:
  5017. - Scene* scene
  5018. - Camera* camera
  5019. - IntRect& rect
  5020. - RenderPath* renderPath
  5021. ### Window : BorderImage
  5022. Methods:
  5023. - Window() (GC)
  5024. - Window* new()
  5025. - void delete()
  5026. - void SetMovable(bool enable)
  5027. - void SetResizable(bool enable)
  5028. - void SetFixedWidthResizing(bool enable)
  5029. - void SetFixedHeightResizing(bool enable)
  5030. - void SetResizeBorder(const IntRect& rect)
  5031. - void SetModal(bool modal)
  5032. - void SetModalShadeColor(const Color& color)
  5033. - void SetModalFrameColor(const Color& color)
  5034. - void SetModalFrameSize(const IntVector2& size)
  5035. - bool IsMovable() const
  5036. - bool IsResizable() const
  5037. - bool GetFixedWidthResizing() const
  5038. - bool GetFixedHeightResizing() const
  5039. - const IntRect& GetResizeBorder() const
  5040. - bool IsModal() const
  5041. - const Color& GetModalShadeColor() const
  5042. - const Color& GetModalFrameColor() const
  5043. - const IntVector2& GetModalFrameSize() const
  5044. Properties:
  5045. - bool movable
  5046. - bool resizable
  5047. - bool fixedWidthResizing
  5048. - bool fixedHeightResizing
  5049. - IntRect& resizeBorder
  5050. - bool modal
  5051. - Color& modalShadeColor
  5052. - Color& modalFrameColor
  5053. - IntVector2& modalFrameSize
  5054. ### XMLElement
  5055. Methods:
  5056. - XMLElement CreateChild(const String name)
  5057. - bool RemoveChild(const XMLElement& element)
  5058. - bool RemoveChild(const String name)
  5059. - bool RemoveChildren(const String name = String::EMPTY)
  5060. - bool RemoveAttribute(const String name = String::EMPTY)
  5061. - bool SetValue(const String value)
  5062. - bool SetAttribute(const String name, const String value)
  5063. - bool SetAttribute(const String value)
  5064. - bool SetBool(const String name, bool value)
  5065. - bool SetBoundingBox(const BoundingBox& value)
  5066. - bool SetColor(const String name, const Color& value)
  5067. - bool SetFloat(const String name, float value)
  5068. - bool SetUInt(const String name, unsigned value)
  5069. - bool SetInt(const String name, int value)
  5070. - bool SetIntRect(const String name, const IntRect& value)
  5071. - bool SetIntVector2(const String name, const IntVector2& value)
  5072. - bool SetRect(const String name, const Rect& value)
  5073. - bool SetQuaternion(const String name, const Quaternion& value)
  5074. - bool SetString(const String name, const String value)
  5075. - bool SetVariant(const Variant& value)
  5076. - bool SetVariantValue(const Variant& value)
  5077. - bool SetResourceRef(const ResourceRef& value)
  5078. - bool SetResourceRefList(const ResourceRefList& value)
  5079. - bool SetVector2(const String name, const Vector2& value)
  5080. - bool SetVector3(const String name, const Vector3& value)
  5081. - bool SetVector4(const String name, const Vector4& value)
  5082. - bool SetVectorVariant(const String name, const Variant& value)
  5083. - bool SetMatrix3(const String name, const Matrix3& value)
  5084. - bool SetMatrix3x4(const String name, const Matrix3x4& value)
  5085. - bool SetMatrix4(const String name, const Matrix4& value)
  5086. - bool IsNull() const
  5087. - bool NotNull() const
  5088. - bool operatorbool() const
  5089. - String GetName() const
  5090. - bool HasChild(const String name) const
  5091. - XMLElement GetChild(const String name = String::EMPTY) const
  5092. - XMLElement GetNext(const String name = String::EMPTY) const
  5093. - XMLElement GetParent() const
  5094. - unsigned GetNumAttributes() const
  5095. - bool HasAttribute(const String name) const
  5096. - String GetValue() const
  5097. - String GetAttribute(const String name = String::EMPTY) const
  5098. - String GetAttributeLower(const String name) const
  5099. - String GetAttributeUpper(const String name) const
  5100. - Vector<String> GetAttributeNames() const
  5101. - bool GetBool(const String name) const
  5102. - BoundingBox GetBoundingBox() const
  5103. - Color GetColor(const String name) const
  5104. - float GetFloat(const String name) const
  5105. - unsigned GetUInt(const String name) const
  5106. - int GetInt(const String name) const
  5107. - IntRect GetIntRect(const String name) const
  5108. - IntVector2 GetIntVector2(const String name) const
  5109. - Rect GetRect(const String name) const
  5110. - Quaternion GetQuaternion(const String name) const
  5111. - Variant GetVariant() const
  5112. - Variant GetVariantValue(VariantType type) const
  5113. - ResourceRef GetResourceRef() const
  5114. - ResourceRefList GetResourceRefList() const
  5115. - VariantMap GetVariantMap() const
  5116. - Vector2 GetVector2(const String name) const
  5117. - Vector3 GetVector3(const String name) const
  5118. - Vector4 GetVector4(const String name) const
  5119. - Vector4 GetVector(const String name) const
  5120. - Matrix3 GetMatrix3(const String name) const
  5121. - Matrix3x4 GetMatrix3x4(const String name) const
  5122. - Matrix4 GetMatrix4(const String name) const
  5123. - XMLFile* GetFile() const
  5124. Properties:
  5125. - const XMLElement EMPTY
  5126. - bool null (readonly)
  5127. - String name (readonly)
  5128. - XMLElement parent (readonly)
  5129. - String value (readonly)
  5130. - unsigned numAttributes (readonly)
  5131. - XMLFile* file (readonly)
  5132. ### XMLFile : Resource
  5133. Methods:
  5134. - XMLFile() (GC)
  5135. - XMLFile* new()
  5136. - void delete()
  5137. - XMLElement CreateRoot(const String name = String::EMPTY)
  5138. - XMLElement GetRoot(const String name = String::EMPTY)
  5139. - void Patch(XMLFile* patchFile)
  5140. - void Patch(XMLElement patchElement)
  5141. ### Zone : Drawable
  5142. Methods:
  5143. - void SetBoundingBox(const BoundingBox& box)
  5144. - void SetAmbientColor(const Color& color)
  5145. - void SetFogColor(const Color& color)
  5146. - void SetFogStart(float start)
  5147. - void SetFogEnd(float end)
  5148. - void SetFogHeight(float height)
  5149. - void SetFogHeightScale(float scale)
  5150. - void SetPriority(int priority)
  5151. - void SetHeightFog(bool enable)
  5152. - void SetOverride(bool enable)
  5153. - void SetAmbientGradient(bool enable)
  5154. - const Matrix3x4& GetInverseWorldTransform() const
  5155. - const Color& GetAmbientColor() const
  5156. - const Color& GetAmbientStartColor()
  5157. - const Color& GetAmbientEndColor()
  5158. - const Color& GetFogColor() const
  5159. - float GetFogStart() const
  5160. - float GetFogEnd() const
  5161. - float GetFogHeight() const
  5162. - float GetFogHeightScale() const
  5163. - int GetPriority() const
  5164. - bool GetHeightFog() const
  5165. - bool GetOverride() const
  5166. - bool GetAmbientGradient() const
  5167. - bool IsInside(const Vector3& point) const
  5168. Properties:
  5169. - BoundingBox& boundingBox
  5170. - Matrix3x4& inverseWorldTransform (readonly)
  5171. - Color& ambientColor
  5172. - Color& ambientStartColor (readonly)
  5173. - Color& ambientEndColor (readonly)
  5174. - Color& fogColor
  5175. - float fogStart
  5176. - float fogEnd
  5177. - float fogHeight
  5178. - float fogHeightScale
  5179. - int priority
  5180. - bool heightFog
  5181. - bool override
  5182. - bool ambientGradient
  5183. \section LuaScriptAPI_Enums Enumerations
  5184. ### BlendMode
  5185. - int BLEND_REPLACE
  5186. - int BLEND_ADD
  5187. - int BLEND_MULTIPLY
  5188. - int BLEND_ALPHA
  5189. - int BLEND_ADDALPHA
  5190. - int BLEND_PREMULALPHA
  5191. - int BLEND_INVDESTALPHA
  5192. - int BLEND_SUBTRACT
  5193. - int BLEND_SUBTRACTALPHA
  5194. - int MAX_BLENDMODES
  5195. ### BodyType2D
  5196. - int BT_STATIC
  5197. - int BT_DYNAMIC
  5198. - int BT_KINEMATIC
  5199. ### CollisionEventMode
  5200. - int COLLISION_NEVER
  5201. - int COLLISION_ACTIVE
  5202. - int COLLISION_ALWAYS
  5203. ### CompareMode
  5204. - int CMP_ALWAYS
  5205. - int CMP_EQUAL
  5206. - int CMP_NOTEQUAL
  5207. - int CMP_LESS
  5208. - int CMP_LESSEQUAL
  5209. - int CMP_GREATER
  5210. - int CMP_GREATEREQUAL
  5211. - int MAX_COMPAREMODES
  5212. ### CompressedFormat
  5213. - int CF_NONE
  5214. - int CF_DXT1
  5215. - int CF_DXT3
  5216. - int CF_DXT5
  5217. - int CF_ETC1
  5218. - int CF_PVRTC_RGB_2BPP
  5219. - int CF_PVRTC_RGBA_2BPP
  5220. - int CF_PVRTC_RGB_4BPP
  5221. - int CF_PVRTC_RGBA_4BPP
  5222. ### ConstraintType
  5223. - int CONSTRAINT_POINT
  5224. - int CONSTRAINT_HINGE
  5225. - int CONSTRAINT_SLIDER
  5226. - int CONSTRAINT_CONETWIST
  5227. ### Corner
  5228. - int C_TOPLEFT
  5229. - int C_TOPRIGHT
  5230. - int C_BOTTOMLEFT
  5231. - int C_BOTTOMRIGHT
  5232. - int MAX_UIELEMENT_CORNERS
  5233. ### CreateMode
  5234. - int REPLICATED
  5235. - int LOCAL
  5236. ### CubeMapFace
  5237. - int FACE_POSITIVE_X
  5238. - int FACE_NEGATIVE_X
  5239. - int FACE_POSITIVE_Y
  5240. - int FACE_NEGATIVE_Y
  5241. - int FACE_POSITIVE_Z
  5242. - int FACE_NEGATIVE_Z
  5243. - int MAX_CUBEMAP_FACES
  5244. ### CullMode
  5245. - int CULL_NONE
  5246. - int CULL_CCW
  5247. - int CULL_CW
  5248. - int MAX_CULLMODES
  5249. ### CursorShape
  5250. - int CS_NORMAL
  5251. - int CS_RESIZEVERTICAL
  5252. - int CS_RESIZEDIAGONAL_TOPRIGHT
  5253. - int CS_RESIZEHORIZONTAL
  5254. - int CS_RESIZEDIAGONAL_TOPLEFT
  5255. - int CS_ACCEPTDROP
  5256. - int CS_REJECTDROP
  5257. - int CS_BUSY
  5258. - int CS_MAX_SHAPES
  5259. ### CycleMode
  5260. - int CM_LOOP
  5261. - int CM_CLAMP
  5262. - int CM_PINGPONG
  5263. ### EmitterType
  5264. - int EMITTER_SPHERE
  5265. - int EMITTER_BOX
  5266. ### EmitterType2D
  5267. - int EMITTER_TYPE_GRAVITY
  5268. - int EMITTER_TYPE_RADIAL
  5269. ### FaceCameraMode
  5270. - int FC_NONE
  5271. - int FC_ROTATE_XYZ
  5272. - int FC_ROTATE_Y
  5273. - int FC_LOOKAT_XYZ
  5274. - int FC_LOOKAT_Y
  5275. ### FileMode
  5276. - int FILE_READ
  5277. - int FILE_WRITE
  5278. - int FILE_READWRITE
  5279. ### FillMode
  5280. - int FILL_SOLID
  5281. - int FILL_WIREFRAME
  5282. - int FILL_POINT
  5283. ### FocusMode
  5284. - int FM_NOTFOCUSABLE
  5285. - int FM_RESETFOCUS
  5286. - int FM_FOCUSABLE
  5287. - int FM_FOCUSABLE_DEFOCUSABLE
  5288. ### FrustumPlane
  5289. - int PLANE_NEAR
  5290. - int PLANE_LEFT
  5291. - int PLANE_RIGHT
  5292. - int PLANE_UP
  5293. - int PLANE_DOWN
  5294. - int PLANE_FAR
  5295. ### GeometryType
  5296. - int GEOM_STATIC
  5297. - int GEOM_SKINNED
  5298. - int GEOM_INSTANCED
  5299. - int GEOM_BILLBOARD
  5300. - int GEOM_STATIC_NOINSTANCING
  5301. - int MAX_GEOMETRYTYPES
  5302. ### HighlightMode
  5303. - int HM_NEVER
  5304. - int HM_FOCUS
  5305. - int HM_ALWAYS
  5306. ### HorizontalAlignment
  5307. - int HA_LEFT
  5308. - int HA_CENTER
  5309. - int HA_RIGHT
  5310. ### HttpRequestState
  5311. - int HTTP_INITIALIZING
  5312. - int HTTP_ERROR
  5313. - int HTTP_OPEN
  5314. - int HTTP_CLOSED
  5315. ### InterpMethod
  5316. - int IM_LINEAR
  5317. - int IM_SPLINE
  5318. ### InterpolationMode
  5319. - int BEZIER_CURVE
  5320. ### Intersection
  5321. - int OUTSIDE
  5322. - int INTERSECTS
  5323. - int INSIDE
  5324. ### JSONValueType
  5325. - int JSON_ANY
  5326. - int JSON_OBJECT
  5327. - int JSON_ARRAY
  5328. ### LayoutMode
  5329. - int LM_FREE
  5330. - int LM_HORIZONTAL
  5331. - int LM_VERTICAL
  5332. ### LightType
  5333. - int LIGHT_DIRECTIONAL
  5334. - int LIGHT_SPOT
  5335. - int LIGHT_POINT
  5336. ### LockState
  5337. - int LOCK_NONE
  5338. - int LOCK_HARDWARE
  5339. - int LOCK_SHADOW
  5340. - int LOCK_SCRATCH
  5341. ### Orientation
  5342. - int O_HORIZONTAL
  5343. - int O_VERTICAL
  5344. ### PassLightingMode
  5345. - int LIGHTING_UNLIT
  5346. - int LIGHTING_PERVERTEX
  5347. - int LIGHTING_PERPIXEL
  5348. ### PrimitiveType
  5349. - int TRIANGLE_LIST
  5350. - int LINE_LIST
  5351. ### RayQueryLevel
  5352. - int RAY_AABB
  5353. - int RAY_OBB
  5354. - int RAY_TRIANGLE
  5355. ### RenderSurfaceUpdateMode
  5356. - int SURFACE_MANUALUPDATE
  5357. - int SURFACE_UPDATEVISIBLE
  5358. - int SURFACE_UPDATEALWAYS
  5359. ### ShaderParameterGroup
  5360. - int SP_FRAME
  5361. - int SP_CAMERA
  5362. - int SP_VIEWPORT
  5363. - int SP_ZONE
  5364. - int SP_LIGHT
  5365. - int SP_VERTEXLIGHTS
  5366. - int SP_MATERIAL
  5367. - int SP_OBJECTTRANSFORM
  5368. - int MAX_SHADER_PARAMETER_GROUPS
  5369. ### ShaderType
  5370. - int VS
  5371. - int PS
  5372. ### ShapeType
  5373. - int SHAPE_BOX
  5374. - int SHAPE_SPHERE
  5375. - int SHAPE_STATICPLANE
  5376. - int SHAPE_CYLINDER
  5377. - int SHAPE_CAPSULE
  5378. - int SHAPE_CONE
  5379. - int SHAPE_TRIANGLEMESH
  5380. - int SHAPE_CONVEXHULL
  5381. - int SHAPE_TERRAIN
  5382. ### SoundType
  5383. - int SOUND_EFFECT
  5384. - int SOUND_AMBIENT
  5385. - int SOUND_VOICE
  5386. - int SOUND_MUSIC
  5387. - int SOUND_MASTER
  5388. - int MAX_SOUND_TYPES
  5389. ### StencilOp
  5390. - int OP_KEEP
  5391. - int OP_ZERO
  5392. - int OP_REF
  5393. - int OP_INCR
  5394. - int OP_DECR
  5395. ### TextEffect
  5396. - int TE_NONE
  5397. - int TE_SHADOW
  5398. - int TE_STROKE
  5399. ### TextureAddressMode
  5400. - int ADDRESS_WRAP
  5401. - int ADDRESS_MIRROR
  5402. - int ADDRESS_CLAMP
  5403. - int ADDRESS_BORDER
  5404. - int MAX_ADDRESSMODES
  5405. ### TextureCoordinate
  5406. - int COORD_U
  5407. - int COORD_V
  5408. - int COORD_W
  5409. - int MAX_COORDS
  5410. ### TextureFilterMode
  5411. - int FILTER_NEAREST
  5412. - int FILTER_BILINEAR
  5413. - int FILTER_TRILINEAR
  5414. - int FILTER_ANISOTROPIC
  5415. - int FILTER_DEFAULT
  5416. - int MAX_FILTERMODES
  5417. ### TextureUnit
  5418. - int TU_DIFFUSE
  5419. - int TU_ALBEDOBUFFER
  5420. - int TU_NORMAL
  5421. - int TU_NORMALBUFFER
  5422. - int TU_SPECULAR
  5423. - int TU_EMISSIVE
  5424. - int TU_ENVIRONMENT
  5425. - int MAX_MATERIAL_TEXTURE_UNITS
  5426. - int TU_LIGHTRAMP
  5427. - int TU_LIGHTSHAPE
  5428. - int TU_SHADOWMAP
  5429. - int TU_FACESELECT
  5430. - int TU_INDIRECTION
  5431. - int TU_DEPTHBUFFER
  5432. - int TU_LIGHTBUFFER
  5433. - int TU_VOLUMEMAP
  5434. - int MAX_TEXTURE_UNITS
  5435. ### TextureUsage
  5436. - int TEXTURE_STATIC
  5437. - int TEXTURE_DYNAMIC
  5438. - int TEXTURE_RENDERTARGET
  5439. - int TEXTURE_DEPTHSTENCIL
  5440. ### TransformSpace
  5441. - int TS_LOCAL
  5442. - int TS_PARENT
  5443. - int TS_WORLD
  5444. ### TraversalMode
  5445. - int TM_BREADTH_FIRST
  5446. - int TM_DEPTH_FIRST
  5447. ### VariantType
  5448. - int VAR_NONE
  5449. - int VAR_INT
  5450. - int VAR_BOOL
  5451. - int VAR_FLOAT
  5452. - int VAR_VECTOR2
  5453. - int VAR_VECTOR3
  5454. - int VAR_VECTOR4
  5455. - int VAR_QUATERNION
  5456. - int VAR_COLOR
  5457. - int VAR_STRING
  5458. - int VAR_BUFFER
  5459. - int VAR_VOIDPTR
  5460. - int VAR_RESOURCEREF
  5461. - int VAR_RESOURCEREFLIST
  5462. - int VAR_VARIANTVECTOR
  5463. - int VAR_VARIANTMAP
  5464. - int VAR_INTRECT
  5465. - int VAR_INTVECTOR2
  5466. - int VAR_PTR
  5467. - int VAR_MATRIX3
  5468. - int VAR_MATRIX3X4
  5469. - int VAR_MATRIX4
  5470. - int MAX_VAR_TYPES
  5471. ### VertexElement
  5472. - int ELEMENT_POSITION
  5473. - int ELEMENT_NORMAL
  5474. - int ELEMENT_COLOR
  5475. - int ELEMENT_TEXCOORD1
  5476. - int ELEMENT_TEXCOORD2
  5477. - int ELEMENT_CUBETEXCOORD1
  5478. - int ELEMENT_CUBETEXCOORD2
  5479. - int ELEMENT_TANGENT
  5480. - int ELEMENT_BLENDWEIGHTS
  5481. - int ELEMENT_BLENDINDICES
  5482. - int ELEMENT_INSTANCEMATRIX1
  5483. - int ELEMENT_INSTANCEMATRIX2
  5484. - int ELEMENT_INSTANCEMATRIX3
  5485. - int MAX_VERTEX_ELEMENTS
  5486. ### VerticalAlignment
  5487. - int VA_TOP
  5488. - int VA_CENTER
  5489. - int VA_BOTTOM
  5490. ### WindowDragMode
  5491. - int DRAG_NONE
  5492. - int DRAG_MOVE
  5493. - int DRAG_RESIZE_TOPLEFT
  5494. - int DRAG_RESIZE_TOP
  5495. - int DRAG_RESIZE_TOPRIGHT
  5496. - int DRAG_RESIZE_RIGHT
  5497. - int DRAG_RESIZE_BOTTOMRIGHT
  5498. - int DRAG_RESIZE_BOTTOM
  5499. - int DRAG_RESIZE_BOTTOMLEFT
  5500. - int DRAG_RESIZE_LEFT
  5501. ### WrapMode
  5502. - int WM_LOOP
  5503. - int WM_ONCE
  5504. - int WM_CLAMP
  5505. \section LuaScriptAPI_GlobalFunctions Global functions
  5506. - float Abs(float value)
  5507. - int AbsInt(int value)
  5508. - float Acos(float x)
  5509. - String AddTrailingSlash(const String pathName)
  5510. - float Asin(float x)
  5511. - float Atan(float x)
  5512. - float Atan2(float y, float x)
  5513. - float Clamp(float value, float min, float max)
  5514. - int ClampInt(int value, int min, int max)
  5515. - float Cos(float angle)
  5516. - bool Equals(float lhs, float rhs)
  5517. - void ErrorDialog(const String title, const String message)
  5518. - void ErrorExit(const String message = String::EMPTY, int exitCode = EXIT_FAILURE)
  5519. - const Vector<String>& GetArguments()
  5520. - Audio* GetAudio()
  5521. - ResourceCache* GetCache()
  5522. - Console* GetConsole()
  5523. - String GetConsoleInput()
  5524. - Context* GetContext()
  5525. - DebugHud* GetDebugHud()
  5526. - Engine* GetEngine()
  5527. - EventHandler* GetEventHandler() const
  5528. - Object* GetEventSender()
  5529. - bool GetExecuteConsoleCommands()
  5530. - String GetExtension(const String fullPath, bool lowercaseExtension = true)
  5531. - String GetFileName(const String fullPath)
  5532. - String GetFileNameAndExtension(const String fullPath, bool lowercaseExtension = false)
  5533. - FileSystem* GetFileSystem()
  5534. - Graphics* GetGraphics()
  5535. - Input* GetInput()
  5536. - String GetInternalPath(const String pathName)
  5537. - Log* GetLog()
  5538. - String GetNativePath(const String pathName)
  5539. - Network* GetNetwork()
  5540. - unsigned GetNumLogicalCPUs()
  5541. - unsigned GetNumPhysicalCPUs()
  5542. - String GetParentPath(const String pathName)
  5543. - String GetPath(const String fullPath)
  5544. - String GetPlatform()
  5545. - unsigned GetRandomSeed()
  5546. - Renderer* GetRenderer()
  5547. - Time* GetTime()
  5548. - UI* GetUI()
  5549. - bool IsAbsolutePath(const String pathName)
  5550. - bool IsAlpha(unsigned ch)
  5551. - bool IsDigit(unsigned ch)
  5552. - bool IsNaN(float value)
  5553. - bool IsPowerOfTwo(unsigned value)
  5554. - float Lerp(float lhs, float rhs, float t)
  5555. - float Max(float lhs, float rhs)
  5556. - int MaxInt(int lhs, int rhs)
  5557. - float Min(float lhs, float rhs)
  5558. - int MinInt(int lhs, int rhs)
  5559. - unsigned NextPowerOfTwo(unsigned value)
  5560. - void OpenConsoleWindow()
  5561. - void PrintLine(const String str, bool error = false)
  5562. - int Rand()
  5563. - float RandStandardNormal()
  5564. - float Random()
  5565. - float Random(float min, float max)
  5566. - float Random(float range)
  5567. - int RandomInt(int range)
  5568. - int RandomInt(int min, int max)
  5569. - float RandomNormal(float meanValue, float variance)
  5570. - String RemoveTrailingSlash(const String pathName)
  5571. - String ReplaceExtension(const String fullPath, const String newExtension)
  5572. - unsigned SDBMHash(unsigned hash, char c)
  5573. - void SendEvent(const String eventName, VariantMap& eventData)
  5574. - void SetExecuteConsoleCommands(bool enable)
  5575. - void SetRandomSeed(unsigned seed)
  5576. - float Sign(float value)
  5577. - float Sin(float angle)
  5578. - float SmoothStep(float lhs, float rhs, float t)
  5579. - void SubscribeToEvent(const String eventName, const String functionName)
  5580. - void SubscribeToEvent(void* sender, const String eventName, const String functionName)
  5581. - float Tan(float angle)
  5582. - bool ToBool(const String source)
  5583. - Color ToColor(const String source)
  5584. - float ToFloat(const String source)
  5585. - int ToInt(const String source)
  5586. - IntRect ToIntRect(const String source)
  5587. - IntVector2 ToIntVector2(const String source)
  5588. - unsigned ToLower(unsigned ch)
  5589. - Matrix3 ToMatrix3(const String source)
  5590. - Matrix3x4 ToMatrix3x4(const String source)
  5591. - Matrix4 ToMatrix4(const String source)
  5592. - Quaternion ToQuaternion(const String source)
  5593. - Rect ToRect(const String source)
  5594. - String ToString(void* value)
  5595. - String ToStringHex(unsigned value)
  5596. - unsigned ToUInt(const String source)
  5597. - unsigned ToUpper(unsigned ch)
  5598. - Vector2 ToVector2(const String source)
  5599. - Vector3 ToVector3(const String source)
  5600. - Vector4 ToVector4(const String source, bool allowMissingCoords = false)
  5601. - void UnsubscribeFromAllEvents()
  5602. - void UnsubscribeFromEvent(void* sender, const String eventName, const String functionName = String::EMPTY)
  5603. - void UnsubscribeFromEvent(const String eventName, const String functionName = String::EMPTY)
  5604. - void UnsubscribeFromEvents(void* sender)
  5605. \section LuaScriptAPI_GlobalProperties Global properties
  5606. - Audio* audio (readonly)
  5607. - ResourceCache* cache (readonly)
  5608. - Console* console (readonly)
  5609. - DebugHud* debugHud (readonly)
  5610. - Engine* engine (readonly)
  5611. - FileSystem* fileSystem (readonly)
  5612. - Graphics* graphics (readonly)
  5613. - Input* input (readonly)
  5614. - Log* log (readonly)
  5615. - Network* network (readonly)
  5616. - Renderer* renderer (readonly)
  5617. - Time* time (readonly)
  5618. - UI* ui (readonly)
  5619. \section LuaScriptAPI_GlobalConstants Global constants
  5620. - float ANIMATION_LOD_BASESCALE
  5621. - char CHANNEL_POSITION
  5622. - char CHANNEL_ROTATION
  5623. - char CHANNEL_SCALE
  5624. - unsigned CLEAR_COLOR
  5625. - unsigned CLEAR_DEPTH
  5626. - unsigned CLEAR_STENCIL
  5627. - int CONTROLLER_AXIS_LEFTX
  5628. - int CONTROLLER_AXIS_LEFTY
  5629. - int CONTROLLER_AXIS_RIGHTX
  5630. - int CONTROLLER_AXIS_RIGHTY
  5631. - int CONTROLLER_AXIS_TRIGGERLEFT
  5632. - int CONTROLLER_AXIS_TRIGGERRIGHT
  5633. - int CONTROLLER_BUTTON_A
  5634. - int CONTROLLER_BUTTON_B
  5635. - int CONTROLLER_BUTTON_BACK
  5636. - int CONTROLLER_BUTTON_DPAD_DOWN
  5637. - int CONTROLLER_BUTTON_DPAD_LEFT
  5638. - int CONTROLLER_BUTTON_DPAD_RIGHT
  5639. - int CONTROLLER_BUTTON_DPAD_UP
  5640. - int CONTROLLER_BUTTON_GUIDE
  5641. - int CONTROLLER_BUTTON_LEFTSHOULDER
  5642. - int CONTROLLER_BUTTON_LEFTSTICK
  5643. - int CONTROLLER_BUTTON_RIGHTSHOULDER
  5644. - int CONTROLLER_BUTTON_RIGHTSTICK
  5645. - int CONTROLLER_BUTTON_START
  5646. - int CONTROLLER_BUTTON_X
  5647. - int CONTROLLER_BUTTON_Y
  5648. - unsigned DD_DISABLED
  5649. - unsigned DD_SOURCE
  5650. - unsigned DD_SOURCE_AND_TARGET
  5651. - unsigned DD_TARGET
  5652. - unsigned DEBUGHUD_SHOW_ALL
  5653. - unsigned DEBUGHUD_SHOW_MODE
  5654. - unsigned DEBUGHUD_SHOW_NONE
  5655. - unsigned DEBUGHUD_SHOW_PROFILER
  5656. - unsigned DEBUGHUD_SHOW_STATS
  5657. - unsigned DEFAULT_LIGHTMASK
  5658. - unsigned DEFAULT_SHADOWMASK
  5659. - unsigned DEFAULT_VIEWMASK
  5660. - unsigned DEFAULT_ZONEMASK
  5661. - unsigned DRAWABLE_ANY
  5662. - unsigned DRAWABLE_GEOMETRY
  5663. - unsigned DRAWABLE_LIGHT
  5664. - unsigned DRAWABLE_ZONE
  5665. - unsigned FIRST_LOCAL_ID
  5666. - unsigned FIRST_REPLICATED_ID
  5667. - int HAT_CENTER
  5668. - int HAT_DOWN
  5669. - int HAT_LEFT
  5670. - int HAT_RIGHT
  5671. - int HAT_UP
  5672. - int KEY_0
  5673. - int KEY_1
  5674. - int KEY_2
  5675. - int KEY_3
  5676. - int KEY_4
  5677. - int KEY_5
  5678. - int KEY_6
  5679. - int KEY_7
  5680. - int KEY_8
  5681. - int KEY_9
  5682. - int KEY_A
  5683. - int KEY_ALT
  5684. - int KEY_APPLICATION
  5685. - int KEY_B
  5686. - int KEY_BACKSPACE
  5687. - int KEY_C
  5688. - int KEY_CAPSLOCK
  5689. - int KEY_CTRL
  5690. - int KEY_D
  5691. - int KEY_DELETE
  5692. - int KEY_DOWN
  5693. - int KEY_E
  5694. - int KEY_END
  5695. - int KEY_ESC
  5696. - int KEY_F
  5697. - int KEY_F1
  5698. - int KEY_F10
  5699. - int KEY_F11
  5700. - int KEY_F12
  5701. - int KEY_F13
  5702. - int KEY_F14
  5703. - int KEY_F15
  5704. - int KEY_F16
  5705. - int KEY_F17
  5706. - int KEY_F18
  5707. - int KEY_F19
  5708. - int KEY_F2
  5709. - int KEY_F20
  5710. - int KEY_F21
  5711. - int KEY_F22
  5712. - int KEY_F23
  5713. - int KEY_F24
  5714. - int KEY_F3
  5715. - int KEY_F4
  5716. - int KEY_F5
  5717. - int KEY_F6
  5718. - int KEY_F7
  5719. - int KEY_F8
  5720. - int KEY_F9
  5721. - int KEY_G
  5722. - int KEY_GUI
  5723. - int KEY_H
  5724. - int KEY_HOME
  5725. - int KEY_I
  5726. - int KEY_INSERT
  5727. - int KEY_J
  5728. - int KEY_K
  5729. - int KEY_KP_0
  5730. - int KEY_KP_1
  5731. - int KEY_KP_2
  5732. - int KEY_KP_3
  5733. - int KEY_KP_4
  5734. - int KEY_KP_5
  5735. - int KEY_KP_6
  5736. - int KEY_KP_7
  5737. - int KEY_KP_8
  5738. - int KEY_KP_9
  5739. - int KEY_KP_DIVIDE
  5740. - int KEY_KP_ENTER
  5741. - int KEY_KP_MINUS
  5742. - int KEY_KP_MULTIPLY
  5743. - int KEY_KP_PERIOD
  5744. - int KEY_KP_PLUS
  5745. - int KEY_L
  5746. - int KEY_LALT
  5747. - int KEY_LCTRL
  5748. - int KEY_LEFT
  5749. - int KEY_LGUI
  5750. - int KEY_LSHIFT
  5751. - int KEY_M
  5752. - int KEY_N
  5753. - int KEY_NUMLOCKCLEAR
  5754. - int KEY_O
  5755. - int KEY_P
  5756. - int KEY_PAGEDOWN
  5757. - int KEY_PAGEUP
  5758. - int KEY_PAUSE
  5759. - int KEY_PRINTSCREEN
  5760. - int KEY_Q
  5761. - int KEY_R
  5762. - int KEY_RALT
  5763. - int KEY_RCTRL
  5764. - int KEY_RETURN
  5765. - int KEY_RETURN2
  5766. - int KEY_RGUI
  5767. - int KEY_RIGHT
  5768. - int KEY_RSHIFT
  5769. - int KEY_S
  5770. - int KEY_SCROLLLOCK
  5771. - int KEY_SELECT
  5772. - int KEY_SHIFT
  5773. - int KEY_SPACE
  5774. - int KEY_T
  5775. - int KEY_TAB
  5776. - int KEY_U
  5777. - int KEY_UP
  5778. - int KEY_V
  5779. - int KEY_W
  5780. - int KEY_X
  5781. - int KEY_Y
  5782. - int KEY_Z
  5783. - unsigned LAST_LOCAL_ID
  5784. - unsigned LAST_REPLICATED_ID
  5785. - int LOG_DEBUG
  5786. - int LOG_ERROR
  5787. - int LOG_INFO
  5788. - int LOG_NONE
  5789. - int LOG_WARNING
  5790. - int MAX_VERTEX_LIGHTS
  5791. - int MOUSEB_LEFT
  5792. - int MOUSEB_MIDDLE
  5793. - int MOUSEB_RIGHT
  5794. - float M_DEGTORAD
  5795. - float M_DEGTORAD_2
  5796. - float M_EPSILON
  5797. - float M_HALF_PI
  5798. - float M_INFINITY
  5799. - float M_LARGE_EPSILON
  5800. - float M_LARGE_VALUE
  5801. - float M_MAX_FOV
  5802. - int M_MAX_INT
  5803. - unsigned M_MAX_UNSIGNED
  5804. - int M_MIN_INT
  5805. - float M_MIN_NEARCLIP
  5806. - unsigned M_MIN_UNSIGNED
  5807. - float M_PI
  5808. - float M_RADTODEG
  5809. - unsigned NUM_FRUSTUM_PLANES
  5810. - unsigned NUM_FRUSTUM_VERTICES
  5811. - float PIXEL_SIZE
  5812. - int QUALITY_HIGH
  5813. - int QUALITY_LOW
  5814. - int QUALITY_MAX
  5815. - int QUALITY_MEDIUM
  5816. - int QUAL_ALT
  5817. - int QUAL_ANY
  5818. - int QUAL_CTRL
  5819. - int QUAL_SHIFT
  5820. - int SCANCODE_0
  5821. - int SCANCODE_1
  5822. - int SCANCODE_2
  5823. - int SCANCODE_3
  5824. - int SCANCODE_4
  5825. - int SCANCODE_5
  5826. - int SCANCODE_6
  5827. - int SCANCODE_7
  5828. - int SCANCODE_8
  5829. - int SCANCODE_9
  5830. - int SCANCODE_A
  5831. - int SCANCODE_AC_BACK
  5832. - int SCANCODE_AC_BOOKMARKS
  5833. - int SCANCODE_AC_FORWARD
  5834. - int SCANCODE_AC_HOME
  5835. - int SCANCODE_AC_REFRESH
  5836. - int SCANCODE_AC_SEARCH
  5837. - int SCANCODE_AC_STOP
  5838. - int SCANCODE_AGAIN
  5839. - int SCANCODE_ALT
  5840. - int SCANCODE_ALTERASE
  5841. - int SCANCODE_APOSTROPHE
  5842. - int SCANCODE_APP1
  5843. - int SCANCODE_APP2
  5844. - int SCANCODE_APPLICATION
  5845. - int SCANCODE_AUDIOMUTE
  5846. - int SCANCODE_AUDIONEXT
  5847. - int SCANCODE_AUDIOPLAY
  5848. - int SCANCODE_AUDIOPREV
  5849. - int SCANCODE_AUDIOSTOP
  5850. - int SCANCODE_B
  5851. - int SCANCODE_BACKSLASH
  5852. - int SCANCODE_BACKSPACE
  5853. - int SCANCODE_BRIGHTNESSDOWN
  5854. - int SCANCODE_BRIGHTNESSUP
  5855. - int SCANCODE_C
  5856. - int SCANCODE_CALCULATOR
  5857. - int SCANCODE_CANCEL
  5858. - int SCANCODE_CAPSLOCK
  5859. - int SCANCODE_CLEAR
  5860. - int SCANCODE_CLEARAGAIN
  5861. - int SCANCODE_COMMA
  5862. - int SCANCODE_COMPUTER
  5863. - int SCANCODE_COPY
  5864. - int SCANCODE_CRSEL
  5865. - int SCANCODE_CTRL
  5866. - int SCANCODE_CURRENCYSUBUNIT
  5867. - int SCANCODE_CURRENCYUNIT
  5868. - int SCANCODE_CUT
  5869. - int SCANCODE_D
  5870. - int SCANCODE_DECIMALSEPARATOR
  5871. - int SCANCODE_DELETE
  5872. - int SCANCODE_DISPLAYSWITCH
  5873. - int SCANCODE_DOWN
  5874. - int SCANCODE_E
  5875. - int SCANCODE_EJECT
  5876. - int SCANCODE_END
  5877. - int SCANCODE_EQUALS
  5878. - int SCANCODE_ESCAPE
  5879. - int SCANCODE_EXECUTE
  5880. - int SCANCODE_EXSEL
  5881. - int SCANCODE_F
  5882. - int SCANCODE_F1
  5883. - int SCANCODE_F10
  5884. - int SCANCODE_F11
  5885. - int SCANCODE_F12
  5886. - int SCANCODE_F13
  5887. - int SCANCODE_F14
  5888. - int SCANCODE_F15
  5889. - int SCANCODE_F16
  5890. - int SCANCODE_F17
  5891. - int SCANCODE_F18
  5892. - int SCANCODE_F19
  5893. - int SCANCODE_F2
  5894. - int SCANCODE_F20
  5895. - int SCANCODE_F21
  5896. - int SCANCODE_F22
  5897. - int SCANCODE_F23
  5898. - int SCANCODE_F24
  5899. - int SCANCODE_F3
  5900. - int SCANCODE_F4
  5901. - int SCANCODE_F5
  5902. - int SCANCODE_F6
  5903. - int SCANCODE_F7
  5904. - int SCANCODE_F8
  5905. - int SCANCODE_F9
  5906. - int SCANCODE_FIND
  5907. - int SCANCODE_G
  5908. - int SCANCODE_GRAVE
  5909. - int SCANCODE_GUI
  5910. - int SCANCODE_H
  5911. - int SCANCODE_HELP
  5912. - int SCANCODE_HOME
  5913. - int SCANCODE_I
  5914. - int SCANCODE_INSERT
  5915. - int SCANCODE_INTERNATIONAL1
  5916. - int SCANCODE_INTERNATIONAL2
  5917. - int SCANCODE_INTERNATIONAL3
  5918. - int SCANCODE_INTERNATIONAL4
  5919. - int SCANCODE_INTERNATIONAL5
  5920. - int SCANCODE_INTERNATIONAL6
  5921. - int SCANCODE_INTERNATIONAL7
  5922. - int SCANCODE_INTERNATIONAL8
  5923. - int SCANCODE_INTERNATIONAL9
  5924. - int SCANCODE_J
  5925. - int SCANCODE_K
  5926. - int SCANCODE_KBDILLUMDOWN
  5927. - int SCANCODE_KBDILLUMTOGGLE
  5928. - int SCANCODE_KBDILLUMUP
  5929. - int SCANCODE_KP_0
  5930. - int SCANCODE_KP_00
  5931. - int SCANCODE_KP_000
  5932. - int SCANCODE_KP_1
  5933. - int SCANCODE_KP_2
  5934. - int SCANCODE_KP_3
  5935. - int SCANCODE_KP_4
  5936. - int SCANCODE_KP_5
  5937. - int SCANCODE_KP_6
  5938. - int SCANCODE_KP_7
  5939. - int SCANCODE_KP_8
  5940. - int SCANCODE_KP_9
  5941. - int SCANCODE_KP_A
  5942. - int SCANCODE_KP_AMPERSAND
  5943. - int SCANCODE_KP_AT
  5944. - int SCANCODE_KP_B
  5945. - int SCANCODE_KP_BACKSPACE
  5946. - int SCANCODE_KP_BINARY
  5947. - int SCANCODE_KP_C
  5948. - int SCANCODE_KP_CLEAR
  5949. - int SCANCODE_KP_CLEARENTRY
  5950. - int SCANCODE_KP_COLON
  5951. - int SCANCODE_KP_COMMA
  5952. - int SCANCODE_KP_D
  5953. - int SCANCODE_KP_DBLAMPERSAND
  5954. - int SCANCODE_KP_DBLVERTICALBAR
  5955. - int SCANCODE_KP_DECIMAL
  5956. - int SCANCODE_KP_DIVIDE
  5957. - int SCANCODE_KP_E
  5958. - int SCANCODE_KP_ENTER
  5959. - int SCANCODE_KP_EQUALS
  5960. - int SCANCODE_KP_EQUALSAS400
  5961. - int SCANCODE_KP_EXCLAM
  5962. - int SCANCODE_KP_F
  5963. - int SCANCODE_KP_GREATER
  5964. - int SCANCODE_KP_HASH
  5965. - int SCANCODE_KP_HEXADECIMAL
  5966. - int SCANCODE_KP_LEFTBRACE
  5967. - int SCANCODE_KP_LEFTPAREN
  5968. - int SCANCODE_KP_LESS
  5969. - int SCANCODE_KP_MEMADD
  5970. - int SCANCODE_KP_MEMCLEAR
  5971. - int SCANCODE_KP_MEMDIVIDE
  5972. - int SCANCODE_KP_MEMMULTIPLY
  5973. - int SCANCODE_KP_MEMRECALL
  5974. - int SCANCODE_KP_MEMSTORE
  5975. - int SCANCODE_KP_MEMSUBTRACT
  5976. - int SCANCODE_KP_MINUS
  5977. - int SCANCODE_KP_MULTIPLY
  5978. - int SCANCODE_KP_OCTAL
  5979. - int SCANCODE_KP_PERCENT
  5980. - int SCANCODE_KP_PERIOD
  5981. - int SCANCODE_KP_PLUS
  5982. - int SCANCODE_KP_PLUSMINUS
  5983. - int SCANCODE_KP_POWER
  5984. - int SCANCODE_KP_RIGHTBRACE
  5985. - int SCANCODE_KP_RIGHTPAREN
  5986. - int SCANCODE_KP_SPACE
  5987. - int SCANCODE_KP_TAB
  5988. - int SCANCODE_KP_VERTICALBAR
  5989. - int SCANCODE_KP_XOR
  5990. - int SCANCODE_L
  5991. - int SCANCODE_LALT
  5992. - int SCANCODE_LANG1
  5993. - int SCANCODE_LANG2
  5994. - int SCANCODE_LANG3
  5995. - int SCANCODE_LANG4
  5996. - int SCANCODE_LANG5
  5997. - int SCANCODE_LANG6
  5998. - int SCANCODE_LANG7
  5999. - int SCANCODE_LANG8
  6000. - int SCANCODE_LANG9
  6001. - int SCANCODE_LCTRL
  6002. - int SCANCODE_LEFT
  6003. - int SCANCODE_LEFTBRACKET
  6004. - int SCANCODE_LGUI
  6005. - int SCANCODE_LSHIFT
  6006. - int SCANCODE_M
  6007. - int SCANCODE_MAIL
  6008. - int SCANCODE_MEDIASELECT
  6009. - int SCANCODE_MENU
  6010. - int SCANCODE_MINUS
  6011. - int SCANCODE_MODE
  6012. - int SCANCODE_MUTE
  6013. - int SCANCODE_N
  6014. - int SCANCODE_NONUSBACKSLASH
  6015. - int SCANCODE_NONUSHASH
  6016. - int SCANCODE_NUMLOCKCLEAR
  6017. - int SCANCODE_O
  6018. - int SCANCODE_OPER
  6019. - int SCANCODE_OUT
  6020. - int SCANCODE_P
  6021. - int SCANCODE_PAGEDOWN
  6022. - int SCANCODE_PAGEUP
  6023. - int SCANCODE_PASTE
  6024. - int SCANCODE_PAUSE
  6025. - int SCANCODE_PERIOD
  6026. - int SCANCODE_POWER
  6027. - int SCANCODE_PRINTSCREEN
  6028. - int SCANCODE_PRIOR
  6029. - int SCANCODE_Q
  6030. - int SCANCODE_R
  6031. - int SCANCODE_RALT
  6032. - int SCANCODE_RCTRL
  6033. - int SCANCODE_RETURN
  6034. - int SCANCODE_RETURN2
  6035. - int SCANCODE_RGUI
  6036. - int SCANCODE_RIGHT
  6037. - int SCANCODE_RIGHTBRACKET
  6038. - int SCANCODE_RSHIFT
  6039. - int SCANCODE_S
  6040. - int SCANCODE_SCROLLLOCK
  6041. - int SCANCODE_SELECT
  6042. - int SCANCODE_SEMICOLON
  6043. - int SCANCODE_SEPARATOR
  6044. - int SCANCODE_SHIFT
  6045. - int SCANCODE_SLASH
  6046. - int SCANCODE_SLEEP
  6047. - int SCANCODE_SPACE
  6048. - int SCANCODE_STOP
  6049. - int SCANCODE_SYSREQ
  6050. - int SCANCODE_T
  6051. - int SCANCODE_TAB
  6052. - int SCANCODE_THOUSANDSSEPARATOR
  6053. - int SCANCODE_U
  6054. - int SCANCODE_UNDO
  6055. - int SCANCODE_UNKNOWN
  6056. - int SCANCODE_UP
  6057. - int SCANCODE_V
  6058. - int SCANCODE_VOLUMEDOWN
  6059. - int SCANCODE_VOLUMEUP
  6060. - int SCANCODE_W
  6061. - int SCANCODE_WWW
  6062. - int SCANCODE_X
  6063. - int SCANCODE_Y
  6064. - int SCANCODE_Z
  6065. - unsigned SCAN_DIRS
  6066. - unsigned SCAN_FILES
  6067. - unsigned SCAN_HIDDEN
  6068. - int SHADOWQUALITY_HIGH_16BIT
  6069. - int SHADOWQUALITY_HIGH_24BIT
  6070. - int SHADOWQUALITY_LOW_16BIT
  6071. - int SHADOWQUALITY_LOW_24BIT
  6072. - unsigned VO_DISABLE_OCCLUSION
  6073. - unsigned VO_DISABLE_SHADOWS
  6074. - unsigned VO_LOW_MATERIAL_QUALITY
  6075. - unsigned VO_NONE
  6076. */
  6077. }