| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038 |
- // Script API header intended to be 'force included' in IDE for AngelScript content assist / code completion
- #define int8 signed char
- #define int16 signed short
- #define int64 long
- #define uint8 unsigned char
- #define uint16 unsigned short
- #define uint64 unsigned long
- #define null 0
- // Classes
- class Animatable
- {
- // Methods:
- void ApplyAttributes();
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class AnimatedModel
- {
- // Methods:
- AnimationState AddAnimationState(Animation);
- void ApplyAttributes();
- void ApplyMaterialList(const String& = String ( ));
- void DrawDebugGeometry(DebugRenderer, bool);
- AnimationState GetAnimationState(Animation) const;
- AnimationState GetAnimationState(uint) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- float GetMorphWeight(uint) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllAnimationStates();
- void RemoveAnimationState(Animation);
- void RemoveAnimationState(AnimationState);
- void RemoveAnimationState(const String&);
- void RemoveAnimationState(uint);
- void RemoveInstanceDefault();
- void ResetMorphWeights();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetMorphWeight(uint, float);
- // Properties:
- bool animationEnabled;
- float animationLodBias;
- /* readonly */
- Array<AnimationState> animationStates;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- uint lightMask;
- float lodBias;
- /* writeonly */
- Material material;
- Array<Material> materials;
- uint maxLights;
- Model model;
- /* readonly */
- Array<String> morphNames;
- Array<float> morphWeights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAnimationStates;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numGeometries;
- /* readonly */
- uint numMorphs;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- /* readonly */
- Skeleton skeleton;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool updateInvisible;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- /* readonly */
- Zone zone;
- uint zoneMask;
- };
- class AnimatedSprite2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFlip(bool, bool);
- // Properties:
- Animation2D animation;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- Color color;
- CycleMode cycleMode;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- bool flipX;
- bool flipY;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- int layer;
- uint lightMask;
- float lodBias;
- Material material;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- int orderInLayer;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- float speed;
- Sprite2D sprite;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- uint zoneMask;
- };
- class Animation
- {
- // Methods:
- void AddTrigger(float, bool, const Variant&);
- bool Load(File);
- void RemoveAllTriggers();
- void RemoveTrigger(uint);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- String animationName;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- float length;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- uint numTracks;
- uint numTriggers;
- /* readonly */
- int refs;
- /* readonly */
- Array<AnimationTriggerPoint> triggers;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class Animation2D
- {
- // Methods:
- Sprite GetFrameSprite(uint) const;
- Sprite GetFrameSpriteByTime(float) const;
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- uint numFrames;
- /* readonly */
- int refs;
- /* readonly */
- float totalTime;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class AnimationController
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- bool Fade(const String&, float, float);
- bool FadeOthers(const String&, float, float);
- AnimationState GetAnimationState(StringHash) const;
- AnimationState GetAnimationState(const String&) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- float GetAutoFade(const String&) const;
- float GetFadeTarget(const String&) const;
- uint8 GetLayer(const String&) const;
- float GetLength(const String&) const;
- bool GetLooped(const String&) const;
- float GetSpeed(const String&) const;
- float GetTime(const String&) const;
- float GetWeight(const String&) const;
- bool IsFadingIn(const String&) const;
- bool IsFadingOut(const String&) const;
- bool IsPlaying(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- bool Play(const String&, uint8, bool, float = 0.0f);
- bool PlayExclusive(const String&, uint8, bool, float = 0.0f);
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- bool SetAutoFade(const String&, float);
- bool SetLayer(const String&, uint8);
- bool SetLooped(const String&, bool);
- bool SetSpeed(const String&, float);
- bool SetStartBone(const String&, const String&);
- bool SetTime(const String&, float);
- bool SetWeight(const String&, float);
- void Stop(const String&, float = 0.0f);
- void StopAll(float = 0.0f);
- void StopLayer(uint8, float = 0.0f);
- const String& GetStartBone(const String&) const;
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class AnimationState
- {
- // Methods:
- void AddTime(float);
- void AddWeight(float);
- void Apply();
- float GetBoneWeight(StringHash) const;
- float GetBoneWeight(uint) const;
- uint GetTrackIndex(StringHash) const;
- uint GetTrackIndex(const String&) const;
- void SetBoneWeight(StringHash, float, bool = false);
- void SetBoneWeight(const String&, float, bool = false);
- void SetBoneWeight(uint, float, bool = false);
- // Properties:
- /* readonly */
- Animation animation;
- Array<float> boneWeights;
- /* readonly */
- bool enabled;
- uint8 layer;
- /* readonly */
- float length;
- bool looped;
- /* readonly */
- AnimatedModel model;
- /* readonly */
- Node node;
- /* readonly */
- int refs;
- Bone startBone;
- float time;
- /* readonly */
- int weakRefs;
- float weight;
- };
- class AnimationTriggerPoint
- {
- // Properties:
- Variant data;
- float time;
- };
- template <class T> class Array
- {
- // Methods:
- void Clear();
- void Erase(uint);
- int Find(const T&) const;
- int Find(uint, const T&) const;
- void Insert(uint, const T&);
- void Pop();
- void Push(const T&);
- void Resize(uint);
- void Reverse();
- void Sort();
- void Sort(uint, uint);
- void SortReverse();
- void SortReverse(uint, uint);
- // Properties:
- /* readonly */
- bool empty;
- uint length;
- };
- class AttributeInfo
- {
- // Properties:
- Variant defaultValue;
- /* readonly */
- Array<String> enumNames;
- uint mode;
- String name;
- VariantType type;
- };
- class Audio
- {
- // Methods:
- bool Play();
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetMode(int, int, bool, bool = true);
- void Stop();
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- bool initialized;
- /* readonly */
- bool interpolation;
- SoundListener listener;
- Array<float> masterGain;
- /* readonly */
- int mixRate;
- /* readonly */
- bool playing;
- /* readonly */
- int refs;
- /* readonly */
- uint sampleSize;
- /* readonly */
- bool stereo;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class BiasParameters
- {
- // Properties:
- float constantBias;
- float slopeScaledBias;
- };
- class Billboard
- {
- // Properties:
- Color color;
- bool enabled;
- Vector3 position;
- float rotation;
- Vector2 size;
- Rect uv;
- };
- class BillboardSet
- {
- // Methods:
- void ApplyAttributes();
- void Commit();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- float animationLodBias;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- Array<Billboard> billboards;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- FaceCameraMode faceCameraMode;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- uint lightMask;
- float lodBias;
- Material material;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- uint numBillboards;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- /* readonly */
- int refs;
- bool relative;
- bool scaled;
- float shadowDistance;
- uint shadowMask;
- bool sorted;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- /* readonly */
- Zone zone;
- uint zoneMask;
- };
- class Bone
- {
- // Properties:
- bool animated;
- BoundingBox boundingBox;
- Vector3 initialPosition;
- Quaternion initialRotation;
- Vector3 initialScale;
- String name;
- Node node;
- float radius;
- };
- class BorderImage
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- IntRect border;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- IntVector2 hoverOffset;
- /* readonly */
- bool hovering;
- IntRect imageBorder;
- IntRect imageRect;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- Texture texture;
- bool tiled;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class BoundingBox
- {
- // Methods:
- void Clear();
- void Clip(const BoundingBox&);
- void Define(const BoundingBox&);
- void Define(const Frustum&);
- void Define(const Polyhedron&);
- void Define(const Sphere&);
- void Define(const Vector3&);
- void Define(const Vector3&, const Vector3&);
- void Define(float, float);
- Intersection IsInside(const BoundingBox&) const;
- Intersection IsInside(const Sphere&) const;
- Intersection IsInside(const Vector3&) const;
- void Merge(const BoundingBox&);
- void Merge(const Frustum&);
- void Merge(const Polyhedron&);
- void Merge(const Sphere&);
- void Merge(const Vector3&);
- Rect Projected(const Matrix4&) const;
- String ToString() const;
- void Transform(const Matrix3&);
- void Transform(const Matrix3x4&);
- BoundingBox Transformed(const Matrix3&) const;
- BoundingBox Transformed(const Matrix3x4&) const;
- // Properties:
- /* readonly */
- Vector3 center;
- bool defined;
- /* readonly */
- Vector3 halfSize;
- Vector3 max;
- Vector3 min;
- /* readonly */
- Vector3 size;
- };
- class Button
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetPressedChildOffset(int, int);
- void SetPressedOffset(int, int);
- void SetRepeat(float, float);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- IntRect border;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- IntVector2 hoverOffset;
- /* readonly */
- bool hovering;
- IntRect imageBorder;
- IntRect imageRect;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- IntVector2 position;
- /* readonly */
- bool pressed;
- IntVector2 pressedChildOffset;
- IntVector2 pressedOffset;
- int priority;
- /* readonly */
- int refs;
- float repeatDelay;
- float repeatRate;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- Texture texture;
- bool tiled;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class Camera
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- float GetDistance(const Vector3&) const;
- float GetDistanceSquared(const Vector3&) const;
- Ray GetScreenRay(float, float) const;
- Frustum GetSplitFrustum(float, float) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- Vector3 ScreenToWorldPoint(const Vector3&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetOrthoSize(const Vector2&);
- Vector2 WorldToScreenPoint(const Vector3&) const;
- // Properties:
- bool animationEnabled;
- float aspectRatio;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- bool autoAspectRatio;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- Plane clipPlane;
- /* readonly */
- Matrix3x4 effectiveWorldTransform;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float farClip;
- FillMode fillMode;
- float fov;
- /* readonly */
- Frustum frustum;
- /* readonly */
- float halfViewSize;
- /* readonly */
- uint id;
- float lodBias;
- float nearClip;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- float orthoSize;
- bool orthographic;
- /* readonly */
- Matrix4 projection;
- Vector2 projectionOffset;
- Plane reflectionPlane;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useClipping;
- bool useReflection;
- /* readonly */
- Matrix3x4 view;
- uint viewMask;
- uint viewOverrideFlags;
- /* readonly */
- Frustum viewSpaceFrustum;
- /* readonly */
- int weakRefs;
- float zoom;
- };
- class CascadeParameters
- {
- // Properties:
- float biasAutoAdjust;
- float fadeStart;
- float split1;
- float split2;
- float split3;
- float split4;
- };
- class CheckBox
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetCheckedOffset(int, int);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- IntRect border;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- bool checked;
- IntVector2 checkedOffset;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- IntVector2 hoverOffset;
- /* readonly */
- bool hovering;
- IntRect imageBorder;
- IntRect imageRect;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- Texture texture;
- bool tiled;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class CollisionBox2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetCenter(float, float);
- void SetSize(float, float);
- // Properties:
- float angle;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- int categoryBits;
- Vector2 center;
- float density;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float friction;
- int groupIndex;
- /* readonly */
- uint id;
- /* readonly */
- float inertia;
- int maskBits;
- /* readonly */
- float mass;
- /* readonly */
- Vector2 massCenter;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- float restitution;
- Vector2 size;
- bool temporary;
- bool trigger;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class CollisionChain2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- Array<Vector2> GetVertices() const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetVertex(uint, const Vector2&);
- void SetVertices(Array<Vector2>);
- const Vector2& GetVertex(uint) const;
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- int categoryBits;
- float density;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float friction;
- int groupIndex;
- /* readonly */
- uint id;
- /* readonly */
- float inertia;
- bool loop;
- int maskBits;
- /* readonly */
- float mass;
- /* readonly */
- Vector2 massCenter;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- float restitution;
- bool temporary;
- bool trigger;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint vertexCount;
- /* readonly */
- int weakRefs;
- };
- class CollisionCircle2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetCenter(float, float);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- int categoryBits;
- Vector2 center;
- float density;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float friction;
- int groupIndex;
- /* readonly */
- uint id;
- /* readonly */
- float inertia;
- int maskBits;
- /* readonly */
- float mass;
- /* readonly */
- Vector2 massCenter;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- float radius;
- /* readonly */
- int refs;
- float restitution;
- bool temporary;
- bool trigger;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class CollisionEdge2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetVertices(const Vector2&, const Vector2&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- int categoryBits;
- float density;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float friction;
- int groupIndex;
- /* readonly */
- uint id;
- /* readonly */
- float inertia;
- int maskBits;
- /* readonly */
- float mass;
- /* readonly */
- Vector2 massCenter;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- float restitution;
- bool temporary;
- bool trigger;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- Vector2 vertex1;
- Vector2 vertex2;
- /* readonly */
- int weakRefs;
- };
- class CollisionPolygon2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- Array<Vector2> GetVertices() const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetVertex(uint, const Vector2&);
- void SetVertices(Array<Vector2>);
- const Vector2& GetVertex(uint) const;
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- int categoryBits;
- float density;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float friction;
- int groupIndex;
- /* readonly */
- uint id;
- /* readonly */
- float inertia;
- int maskBits;
- /* readonly */
- float mass;
- /* readonly */
- Vector2 massCenter;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- float restitution;
- bool temporary;
- bool trigger;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint vertexCount;
- /* readonly */
- int weakRefs;
- };
- class CollisionShape
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetBox(const Vector3&, const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetCapsule(float, float, const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetCone(float, float, const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetConvexHull(Model, uint = 0, const Vector3& = Vector3 ( 1 , 1 , 1 ), const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetCustomConvexHull(CustomGeometry, const Vector3& = Vector3 ( 1 , 1 , 1 ), const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetCylinder(float, float, const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetSphere(float, const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetStaticPlane(const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetTerrain();
- void SetTransform(const Vector3&, const Quaternion&);
- void SetTriangleMesh(Model, uint = 0, const Vector3& = Vector3 ( 1 , 1 , 1 ), const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- uint lodLevel;
- float margin;
- Model model;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- Vector3 position;
- /* readonly */
- int refs;
- Quaternion rotation;
- ShapeType shapeType;
- Vector3 size;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- };
- class CollisionShape2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- int categoryBits;
- float density;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float friction;
- int groupIndex;
- /* readonly */
- uint id;
- /* readonly */
- float inertia;
- int maskBits;
- /* readonly */
- float mass;
- /* readonly */
- Vector2 massCenter;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- float restitution;
- bool temporary;
- bool trigger;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Color
- {
- // Methods:
- Color Abs() const;
- float Average() const;
- float Chroma() const;
- void Clip(bool);
- bool Equals() const;
- void FromHSL(float, float, float, float);
- void FromHSV(float, float, float, float);
- float Hue() const;
- void Invert(bool);
- Color Lerp(const Color&, float) const;
- float Lightness() const;
- float Luma() const;
- float MaxRGB() const;
- float MinRGB() const;
- float Range() const;
- float SaturationHSL() const;
- float SaturationHSV() const;
- float SumRGB() const;
- Vector3 ToHSL() const;
- Vector3 ToHSV() const;
- String ToString() const;
- uint ToUInt() const;
- float Value() const;
- // Properties:
- float a;
- float b;
- /* readonly */
- Array<float> data;
- float g;
- float r;
- /* readonly */
- Vector3 rgb;
- /* readonly */
- Vector4 rgba;
- };
- class ColorFrame
- {
- // Properties:
- Color color;
- float time;
- };
- class Component
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Connection
- {
- // Methods:
- void Disconnect(int = 0);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SendMessage(int, bool, bool, const VectorBuffer&, uint = 0);
- void SendRemoteEvent(Node, const String&, bool, const VariantMap& = VariantMap ( ));
- void SendRemoteEvent(const String&, bool, const VariantMap& = VariantMap ( ));
- String ToString() const;
- // Properties:
- /* readonly */
- String address;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- bool client;
- /* readonly */
- bool connectPending;
- /* readonly */
- bool connected;
- Controls controls;
- /* readonly */
- String downloadName;
- /* readonly */
- float downloadProgress;
- VariantMap identity;
- bool logStatistics;
- /* readonly */
- uint numDownloads;
- /* readonly */
- uint16 port;
- Vector3 position;
- /* readonly */
- int refs;
- Scene scene;
- /* readonly */
- bool sceneLoaded;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Console
- {
- // Methods:
- void CopySelectedRows() const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void Toggle();
- void UpdateElements();
- // Properties:
- bool autoVisibleOnError;
- /* readonly */
- BorderImage background;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- Button closeButton;
- String commandInterpreter;
- XMLFile defaultStyle;
- bool focusOnShow;
- /* readonly */
- uint historyPosition;
- /* readonly */
- Array<String> historyRow;
- /* readonly */
- LineEdit lineEdit;
- uint numBufferedRows;
- uint numHistoryRows;
- uint numRows;
- /* readonly */
- int refs;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool visible;
- /* readonly */
- int weakRefs;
- };
- class Constraint
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* writeonly */
- Vector3 axis;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- float cfm;
- ConstraintType constraintType;
- bool disableCollision;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float erp;
- Vector2 highLimit;
- /* readonly */
- uint id;
- Vector2 lowLimit;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* writeonly */
- Vector3 otherAxis;
- RigidBody otherBody;
- Vector3 otherPosition;
- Quaternion otherRotation;
- /* readonly */
- RigidBody ownBody;
- Vector3 position;
- /* readonly */
- int refs;
- Quaternion rotation;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- Vector3 worldPosition;
- };
- class Constraint2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- /* readonly */
- RigidBody2D ownerBody;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ConstraintDistance2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- float dampingRatio;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float frequencyHz;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- Vector2 otherBodyAnchor;
- /* readonly */
- RigidBody2D ownerBody;
- Vector2 ownerBodyAnchor;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ConstraintFriction2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- Vector2 anchor;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- float maxForce;
- float maxTorque;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- /* readonly */
- RigidBody2D ownerBody;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ConstraintGear2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- Constraint2D otherConstraint;
- /* readonly */
- RigidBody2D ownerBody;
- Constraint2D ownerConstraint;
- float ratio;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ConstraintMotor2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- float angularOffset;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- float correctionFactor;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- Vector2 linearOffset;
- float maxForce;
- float maxTorque;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- /* readonly */
- RigidBody2D ownerBody;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ConstraintMouse2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- float dampingRatio;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float frequencyHz;
- /* readonly */
- uint id;
- float maxForce;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- /* readonly */
- RigidBody2D ownerBody;
- /* readonly */
- int refs;
- Vector2 target;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ConstraintPrismatic2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- Vector2 anchor;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- Vector2 axis;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- bool enableLimit;
- bool enableMotor;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- float lowerTranslation;
- float maxMotorForce;
- float motorSpeed;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- /* readonly */
- RigidBody2D ownerBody;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- float upperTranslation;
- /* readonly */
- int weakRefs;
- };
- class ConstraintPulley2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- Vector2 otherBodyAnchor;
- Vector2 otherBodyGroundAnchor;
- /* readonly */
- RigidBody2D ownerBody;
- Vector2 ownerBodyAnchor;
- Vector2 ownerBodyGroundAnchor;
- float ratio;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ConstraintRevolute2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- Vector2 anchor;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- bool enableLimit;
- bool enableMotor;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- float lowerAngle;
- float maxMotorTorque;
- float motorSpeed;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- /* readonly */
- RigidBody2D ownerBody;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- float upperAngle;
- /* readonly */
- int weakRefs;
- };
- class ConstraintRope2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- float maxLength;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- Vector2 otherBodyAnchor;
- /* readonly */
- RigidBody2D ownerBody;
- Vector2 ownerBodyAnchor;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ConstraintWeld2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- Vector2 anchor;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- float dampingRatio;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float frequencyHz;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- /* readonly */
- RigidBody2D ownerBody;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ConstraintWheel2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- Vector2 anchor;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- Vector2 axis;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool collideConnected;
- float dampingRatio;
- bool enableMotor;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float frequencyHz;
- /* readonly */
- uint id;
- float maxMotorTorque;
- float motorSpeed;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- RigidBody2D otherBody;
- /* readonly */
- RigidBody2D ownerBody;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Controls
- {
- // Methods:
- bool IsDown(uint) const;
- bool IsPressed(uint, const Controls&) const;
- void Reset();
- void Set(uint, bool);
- // Properties:
- uint buttons;
- VariantMap extraData;
- float pitch;
- float yaw;
- };
- class Cursor
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DefineShape(CursorShape, Texture, const IntRect&, const IntVector2&);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- IntRect border;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- IntVector2 hoverOffset;
- /* readonly */
- bool hovering;
- IntRect imageBorder;
- IntRect imageRect;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- CursorShape shape;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- Texture texture;
- bool tiled;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- bool useSystemShapes;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class CustomGeometry
- {
- // Methods:
- void ApplyAttributes();
- void BeginGeometry(uint, PrimitiveType);
- void Clear();
- void Commit();
- void DefineColor(const Color&);
- void DefineNormal(const Vector3&);
- void DefineTangent(const Vector4&);
- void DefineTexCoord(const Vector2&);
- void DefineVertex(const Vector3&);
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- uint lightMask;
- float lodBias;
- /* writeonly */
- Material material;
- Array<Material> materials;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- uint numGeometries;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- /* readonly */
- Zone zone;
- uint zoneMask;
- };
- class DebugHud
- {
- // Methods:
- void ClearAppStats();
- void ResetAppStats(const String&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAppStats(const String&, const String&);
- void SetAppStats(const String&, const Variant&);
- void Toggle(uint);
- void ToggleAll();
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- XMLFile defaultStyle;
- uint mode;
- /* readonly */
- Text modeText;
- float profilerInterval;
- uint profilerMaxDepth;
- /* readonly */
- Text profilerText;
- /* readonly */
- int refs;
- /* readonly */
- Text statsText;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useRendererStats;
- /* readonly */
- int weakRefs;
- };
- class DebugRenderer
- {
- // Methods:
- void AddBoundingBox(const BoundingBox&, const Color&, bool = true);
- void AddFrustum(const Frustum&, const Color&, bool = true);
- void AddLine(const Vector3&, const Vector3&, const Color&, bool = true);
- void AddNode(Node, float = 1.0, bool = true);
- void AddPolyhedron(const Polyhedron&, const Color&, bool = true);
- void AddSkeleton(Skeleton, const Color&, bool = true);
- void AddSphere(const Sphere&, const Color&, bool = true);
- void AddTriangle(const Vector3&, const Vector3&, const Vector3&, const Color&, bool = true);
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class DecalSet
- {
- // Methods:
- bool AddDecal(Drawable, const Vector3&, const Quaternion&, float, float, float, const Vector2&, const Vector2&, float = 0.0, float = 0.1, uint = 0xffffffff);
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllDecals();
- void RemoveDecals(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- uint lightMask;
- float lodBias;
- Material material;
- uint maxIndices;
- uint maxLights;
- uint maxVertices;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numDecals;
- /* readonly */
- uint numIndices;
- /* readonly */
- uint numVertices;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- /* readonly */
- Zone zone;
- uint zoneMask;
- };
- class Deserializer
- {
- // Methods:
- Array<uint8> Read(uint);
- bool ReadBool();
- BoundingBox ReadBoundingBox();
- int8 ReadByte();
- Color ReadColor();
- String ReadFileID();
- float ReadFloat();
- int ReadInt();
- IntRect ReadIntRect();
- IntVector2 ReadIntVector2();
- String ReadLine();
- Matrix3 ReadMatrix3();
- Matrix3x4 ReadMatrix3x4();
- Matrix4 ReadMatrix4();
- uint ReadNetID();
- Quaternion ReadPackedQuaternion();
- Vector3 ReadPackedVector3(float);
- Quaternion ReadQuaternion();
- int16 ReadShort();
- ShortStringHash ReadShortStringHash();
- String ReadString();
- StringHash ReadStringHash();
- uint8 ReadUByte();
- uint ReadUInt();
- uint16 ReadUShort();
- uint ReadVLE();
- Variant ReadVariant();
- VariantMap ReadVariantMap();
- Vector2 ReadVector2();
- Vector3 ReadVector3();
- Vector4 ReadVector4();
- uint Seek(uint);
- // Properties:
- /* readonly */
- uint checksum;
- /* readonly */
- bool eof;
- /* readonly */
- String name;
- /* readonly */
- uint position;
- /* readonly */
- uint size;
- };
- class Dictionary
- {
- // Methods:
- void Clear();
- void Erase(const String&);
- bool Exists(const String&) const;
- bool Get(const String&, void*) const;
- bool Get(const String&, double&) const;
- bool Get(const String&, int64&) const;
- void Set(const String&, void*);
- void Set(const String&, double&);
- void Set(const String&, int64&);
- // Properties:
- /* readonly */
- bool empty;
- /* readonly */
- Array<String> keys;
- /* readonly */
- uint length;
- };
- class Drawable
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- uint lightMask;
- float lodBias;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- uint zoneMask;
- };
- class Drawable2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- int layer;
- uint lightMask;
- float lodBias;
- Material material;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- int orderInLayer;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- Sprite2D sprite;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- uint zoneMask;
- };
- class DropDownList
- {
- // Methods:
- void AddChild(UIElement);
- void AddItem(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- Array<UIElement> GetItems() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- void InsertItem(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveAllItems();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void RemoveItem(UIElement);
- void RemoveItem(uint);
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAccelerator(int, int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetPressedChildOffset(int, int);
- void SetPressedOffset(int, int);
- void SetRepeat(float, float);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- UIElement getPopup() const;
- // Properties:
- /* readonly */
- int acceleratorKey;
- /* readonly */
- int acceleratorQualifiers;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- IntRect border;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- IntVector2 hoverOffset;
- /* readonly */
- bool hovering;
- IntRect imageBorder;
- IntRect imageRect;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- /* readonly */
- Array<UIElement> items;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- /* readonly */
- ListView listView;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- /* readonly */
- uint numItems;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- /* readonly */
- UIElement placeholder;
- String placeholderText;
- IntVector2 position;
- /* readonly */
- bool pressed;
- IntVector2 pressedChildOffset;
- IntVector2 pressedOffset;
- int priority;
- /* readonly */
- int refs;
- float repeatDelay;
- float repeatRate;
- bool resizePopup;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- /* readonly */
- UIElement selectedItem;
- uint selection;
- bool showPopup;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- Texture texture;
- bool tiled;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class Engine
- {
- // Methods:
- Console CreateConsole();
- DebugHud CreateDebugHud();
- void DumpMemory();
- void DumpProfiler();
- void DumpResources();
- void Exit();
- void RunFrame();
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- bool autoExit;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- bool exiting;
- /* readonly */
- bool headless;
- /* readonly */
- bool initialized;
- int maxFps;
- int maxInactiveFps;
- int minFps;
- bool pauseMinimized;
- /* readonly */
- int refs;
- int timeStepSmoothing;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class File
- {
- // Methods:
- void Close();
- bool Open(const String&, FileMode = FILE_READ);
- Array<uint8> Read(uint);
- bool ReadBool();
- BoundingBox ReadBoundingBox();
- int8 ReadByte();
- Color ReadColor();
- String ReadFileID();
- float ReadFloat();
- int ReadInt();
- IntRect ReadIntRect();
- IntVector2 ReadIntVector2();
- String ReadLine();
- Matrix3 ReadMatrix3();
- Matrix3x4 ReadMatrix3x4();
- Matrix4 ReadMatrix4();
- uint ReadNetID();
- Quaternion ReadPackedQuaternion();
- Vector3 ReadPackedVector3(float);
- Quaternion ReadQuaternion();
- int16 ReadShort();
- ShortStringHash ReadShortStringHash();
- String ReadString();
- StringHash ReadStringHash();
- uint8 ReadUByte();
- uint ReadUInt();
- uint16 ReadUShort();
- uint ReadVLE();
- Variant ReadVariant();
- VariantMap ReadVariantMap();
- Vector2 ReadVector2();
- Vector3 ReadVector3();
- Vector4 ReadVector4();
- uint Seek(uint);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- uint Write(Array<uint8>);
- bool WriteBool(bool);
- bool WriteBoundingBox(const BoundingBox&);
- bool WriteByte(int8);
- bool WriteColor(const Color&);
- bool WriteFileID(const String&);
- bool WriteFloat(float);
- bool WriteInt(int);
- bool WriteIntRect(const IntRect&);
- bool WriteIntVector2(const IntVector2&);
- bool WriteLine(const String&);
- bool WriteMatrix3(const Matrix3&);
- bool WriteMatrix3x4(const Matrix3x4&);
- bool WriteMatrix4(const Matrix4&);
- bool WriteNetID(uint);
- bool WritePackedQuaternion(const Quaternion&);
- bool WritePackedVector3(const Vector3&, float);
- bool WriteQuaternion(const Quaternion&);
- bool WriteShort(int16);
- bool WriteShortStringHash(const ShortStringHash&);
- bool WriteString(const String&);
- bool WriteStringHash(const StringHash&);
- bool WriteUByte(uint8);
- bool WriteUInt(uint);
- bool WriteUShort(uint16);
- bool WriteVLE(uint);
- bool WriteVariant(const Variant&);
- bool WriteVariantMap(const VariantMap&);
- bool WriteVector2(const Vector2&);
- bool WriteVector3(const Vector3&);
- bool WriteVector4(const Vector4&);
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint checksum;
- /* readonly */
- bool eof;
- /* readonly */
- FileMode mode;
- /* readonly */
- String name;
- /* readonly */
- bool open;
- /* readonly */
- bool packaged;
- /* readonly */
- uint position;
- /* readonly */
- int refs;
- /* readonly */
- uint size;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class FileSelector
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetButtonTexts(const String&, const String&);
- void SetFilters(Array<String>, uint);
- void UpdateElements();
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- Button cancelButton;
- /* readonly */
- String category;
- XMLFile defaultStyle;
- bool directoryMode;
- /* readonly */
- ListView fileList;
- String fileName;
- /* readonly */
- LineEdit fileNameEdit;
- /* readonly */
- String filter;
- /* readonly */
- uint filterIndex;
- /* readonly */
- DropDownList filterList;
- /* readonly */
- Button okButton;
- String path;
- /* readonly */
- LineEdit pathEdit;
- /* readonly */
- int refs;
- String title;
- /* readonly */
- Text titleText;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- /* readonly */
- Window window;
- };
- class FileSystem
- {
- // Methods:
- bool Copy(const String&, const String&);
- bool CreateDir(const String&);
- bool Delete(const String&);
- bool DirExists(const String&) const;
- bool FileExists(const String&) const;
- uint GetLastModifiedTime(const String&) const;
- bool Rename(const String&, const String&);
- Array<String> ScanDir(const String&, const String&, uint, bool) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- int SystemCommand(const String&, bool = false);
- uint SystemCommandAsync(const String&);
- bool SystemOpen(const String&, const String&);
- int SystemRun(const String&, Array<String>);
- uint SystemRunAsync(const String&, Array<String>);
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- String currentDir;
- bool executeConsoleCommands;
- /* readonly */
- String programDir;
- /* readonly */
- int refs;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- String userDocumentsDir;
- /* readonly */
- int weakRefs;
- };
- class FocusParameters
- {
- // Properties:
- bool autoSize;
- bool focus;
- float minView;
- bool nonUniform;
- float quantize;
- };
- class Font
- {
- // Methods:
- bool Load(File);
- bool Save(File) const;
- bool SaveXML(File, int, bool = false);
- bool SaveXML(const String&, int, bool = false);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class Frustum
- {
- // Methods:
- void Define(const BoundingBox&, const Matrix3x4&);
- void Define(const Vector3&, const Vector3&, const Matrix3x4&);
- void Define(float, float, float, float, float, const Matrix3x4&);
- void DefineOrtho(float, float, float, float, float, const Matrix3x4&);
- float Distance(const Vector3&) const;
- Intersection IsInside(const BoundingBox&);
- Intersection IsInside(const Sphere&);
- Intersection IsInside(const Vector3&);
- void Transform(const Matrix3&);
- void Transform(const Matrix3x4&);
- Frustum Transformed(const Matrix3&) const;
- Frustum Transformed(const Matrix3x4&) const;
- // Properties:
- /* readonly */
- Array<Vector3> vertices;
- };
- class Graphics
- {
- // Methods:
- void BeginDumpShaders(const String&);
- void Close();
- void EndDumpShaders();
- void Maximize();
- void Minimize();
- void PrecacheShaders(File);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetMode(int, int);
- bool SetMode(int, int, bool, bool, bool, bool, bool, int);
- void SetWindowPosition(int, int);
- bool TakeScreenShot(Image);
- bool ToggleFullscreen();
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- bool borderless;
- /* readonly */
- String category;
- /* readonly */
- bool deferredSupport;
- /* readonly */
- IntVector2 desktopResolution;
- /* readonly */
- bool deviceLost;
- bool flushGPU;
- bool forceSM2;
- /* readonly */
- bool fullscreen;
- /* readonly */
- bool hardwareShadowSupport;
- /* readonly */
- int height;
- /* readonly */
- bool initialized;
- /* readonly */
- bool instancingSupport;
- /* readonly */
- bool lightPrepassSupport;
- /* readonly */
- int multiSample;
- /* readonly */
- Array<int> multiSampleLevels;
- /* readonly */
- uint numBatches;
- /* readonly */
- uint numPrimitives;
- String orientations;
- /* readonly */
- int refs;
- /* readonly */
- bool resizable;
- /* readonly */
- Array<IntVector2> resolutions;
- bool sRGB;
- /* readonly */
- bool sRGBSupport;
- /* readonly */
- bool sRGBWriteSupport;
- /* readonly */
- bool sm3Support;
- /* readonly */
- bool tripleBuffer;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- bool vsync;
- /* readonly */
- int weakRefs;
- /* readonly */
- int width;
- /* writeonly */
- Image windowIcon;
- IntVector2 windowPosition;
- String windowTitle;
- };
- class HttpRequest
- {
- // Methods:
- Array<uint8> Read(uint);
- bool ReadBool();
- BoundingBox ReadBoundingBox();
- int8 ReadByte();
- Color ReadColor();
- String ReadFileID();
- float ReadFloat();
- int ReadInt();
- IntRect ReadIntRect();
- IntVector2 ReadIntVector2();
- String ReadLine();
- Matrix3 ReadMatrix3();
- Matrix3x4 ReadMatrix3x4();
- Matrix4 ReadMatrix4();
- uint ReadNetID();
- Quaternion ReadPackedQuaternion();
- Vector3 ReadPackedVector3(float);
- Quaternion ReadQuaternion();
- int16 ReadShort();
- ShortStringHash ReadShortStringHash();
- String ReadString();
- StringHash ReadStringHash();
- uint8 ReadUByte();
- uint ReadUInt();
- uint16 ReadUShort();
- uint ReadVLE();
- Variant ReadVariant();
- VariantMap ReadVariantMap();
- Vector2 ReadVector2();
- Vector3 ReadVector3();
- Vector4 ReadVector4();
- uint Seek(uint);
- // Properties:
- /* readonly */
- uint availableSize;
- /* readonly */
- uint checksum;
- /* readonly */
- bool eof;
- /* readonly */
- String error;
- /* readonly */
- String name;
- /* readonly */
- bool open;
- /* readonly */
- uint position;
- /* readonly */
- int refs;
- /* readonly */
- uint size;
- /* readonly */
- HttpRequestState state;
- /* readonly */
- String url;
- /* readonly */
- String verb;
- /* readonly */
- int weakRefs;
- };
- class Image
- {
- // Methods:
- void Clear(const Color&);
- void FlipVertical();
- Color GetPixel(int, int) const;
- Color GetPixel(int, int, int) const;
- Color GetPixelBilinear(float, float) const;
- Color GetPixelTrilinear(float, float, float) const;
- Image GetSubimage(const IntRect&) const;
- bool Load(File);
- bool LoadColorLUT(File);
- void Resize(int, int);
- bool Save(File) const;
- void SaveBMP(const String&) const;
- void SaveJPG(const String&, int) const;
- void SavePNG(const String&) const;
- void SaveTGA(const String&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetPixel(int, int, const Color&);
- void SetPixel(int, int, int, const Color&);
- bool SetSize(int, int, int, uint);
- bool SetSize(int, int, uint);
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint components;
- /* readonly */
- bool compressed;
- /* readonly */
- int depth;
- /* readonly */
- int height;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- /* readonly */
- int width;
- };
- class Input
- {
- // Methods:
- int AddScreenJoystick(XMLFile = null, XMLFile = null);
- int GetKeyFromName(const String&) const;
- int GetKeyFromScancode(int) const;
- String GetKeyName(int) const;
- int GetScancodeFromKey(int) const;
- int GetScancodeFromName(const String&) const;
- String GetScancodeName(int) const;
- uint LoadGestures(File);
- bool RecordGesture();
- bool RemoveScreenJoystick(int);
- bool SaveGesture(File, uint);
- bool SaveGestures(File);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- bool focus;
- /* readonly */
- Array<JoystickState> joysticks;
- /* readonly */
- Array<JoystickState> joysticksByIndex;
- /* readonly */
- Array<bool> keyDown;
- /* readonly */
- Array<bool> keyPress;
- /* readonly */
- bool minimized;
- /* readonly */
- Array<bool> mouseButtonDown;
- /* readonly */
- Array<bool> mouseButtonPress;
- bool mouseGrabbed;
- /* readonly */
- IntVector2 mouseMove;
- /* readonly */
- int mouseMoveWheel;
- /* readonly */
- int mouseMoveX;
- /* readonly */
- int mouseMoveY;
- /* readonly */
- IntVector2 mousePosition;
- bool mouseVisible;
- /* readonly */
- uint numJoysticks;
- /* readonly */
- uint numTouches;
- /* readonly */
- Array<bool> qualifierDown;
- /* readonly */
- Array<bool> qualifierPress;
- /* readonly */
- int qualifiers;
- /* readonly */
- int refs;
- /* readonly */
- Array<bool> scancodeDown;
- /* readonly */
- Array<bool> scancodePress;
- Array<bool> screenJoystickVisible;
- /* readonly */
- bool screenKeyboardSupport;
- bool screenKeyboardVisible;
- bool toggleFullscreen;
- bool touchEmulation;
- /* readonly */
- Array<TouchState> touches;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class IntRect
- {
- // Methods:
- Intersection IsInside(const IntVector2&) const;
- // Properties:
- int bottom;
- /* readonly */
- Array<int> data;
- /* readonly */
- int height;
- int left;
- int right;
- /* readonly */
- IntVector2 size;
- int top;
- /* readonly */
- int width;
- };
- class IntVector2
- {
- // Methods:
- String ToString() const;
- // Properties:
- /* readonly */
- Array<int> data;
- int x;
- int y;
- };
- class JSONFile
- {
- // Methods:
- JSONValue CreateRoot(JSONValueType = JSON_ANY);
- JSONValue GetRoot(JSONValueType = JSON_ANY);
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class JSONValue
- {
- // Methods:
- void AddBool(bool);
- void AddColor(const Color&);
- void AddFloat(float);
- void AddInt(int);
- void AddIntRect(const IntRect&);
- void AddIntVector2(const IntVector2&);
- void AddMatrix3(const Matrix3&);
- void AddMatrix3x4(const Matrix3x4&);
- void AddMatrix4(const Matrix4&);
- void AddQuaternion(const Quaternion&);
- void AddResourceRef(const ResourceRef&);
- void AddResourceRefList(const ResourceRefList&);
- void AddString(const String);
- void AddVariant(const Variant&);
- void AddVariantValue(const Variant&);
- void AddVector2(const Vector2&);
- void AddVector3(const Vector3&);
- void AddVector4(const Vector4&);
- void AddVectorVariant(const Variant&);
- JSONValue CreateChild(JSONValueType = JSON_OBJECT);
- JSONValue CreateChild(const String&, JSONValueType = JSON_OBJECT);
- bool GetBool(const String&) const;
- bool GetBool(uint) const;
- JSONValue GetChild(const String&, JSONValueType = JSON_ANY) const;
- JSONValue GetChild(uint, JSONValueType = JSON_ANY) const;
- Array<String> GetChildNames() const;
- Color GetColor(const String&) const;
- Color GetColor(uint) const;
- float GetFloat(const String&) const;
- float GetFloat(uint) const;
- int GetInt(const String&) const;
- int GetInt(uint) const;
- IntRect GetIntRect(const String&) const;
- IntRect GetIntRect(uint) const;
- IntVector2 GetIntVector2(const String&) const;
- IntVector2 GetIntVector2(uint) const;
- Matrix3 GetMatrix3(const String&) const;
- Matrix3 GetMatrix3(uint) const;
- Matrix3x4 GetMatrix3x4(const String&) const;
- Matrix3x4 GetMatrix3x4(uint) const;
- Matrix4 GetMatrix4(const String&) const;
- Matrix4 GetMatrix4(uint) const;
- Quaternion GetQuaternion(const String&) const;
- Quaternion GetQuaternion(uint) const;
- ResourceRef GetResourceRef(const String&) const;
- ResourceRef GetResourceRef(uint) const;
- ResourceRefList GetResourceRefList(const String&) const;
- ResourceRefList GetResourceRefList(uint) const;
- String GetString(const String&) const;
- String GetString(uint) const;
- Variant GetVariant(const String&) const;
- Variant GetVariant(uint) const;
- Variant GetVariantValue(const String&, VariantType) const;
- Variant GetVariantValue(uint, VariantType) const;
- Vector2 GetVector2(const String&) const;
- Vector2 GetVector2(uint) const;
- Vector3 GetVector3(const String&) const;
- Vector3 GetVector3(uint) const;
- Vector4 GetVector4(const String&) const;
- Vector4 GetVector4(uint) const;
- Variant GetVectorVariant(const String&) const;
- Variant GetVectorVariant(uint) const;
- void SetBool(const String&, bool);
- void SetColor(const String&, const Color&);
- void SetFloat(const String&, float);
- void SetInt(const String&, int);
- void SetIntRect(const String&, const IntRect&);
- void SetIntVector2(const String&, const IntVector2&);
- void SetMatrix3(const String&, const Matrix3&);
- void SetMatrix3x4(const String&, const Matrix3x4&);
- void SetMatrix4(const String&, const Matrix4&);
- void SetQuaternion(const String&, const Quaternion&);
- void SetResourceRef(const String&, const ResourceRef&);
- void SetResourceRefList(const String&, const ResourceRefList&);
- void SetString(const String&, const String);
- void SetVariant(const String&, const Variant&);
- void SetVariantValue(const String&, const Variant&);
- void SetVector2(const String&, const Vector2&);
- void SetVector3(const String&, const Vector3&);
- void SetVector4(const String&, const Vector4&);
- void SetVectorVariant(const String&, const Variant&);
- // Properties:
- /* readonly */
- bool isArray;
- /* readonly */
- bool isNull;
- /* readonly */
- bool isObject;
- /* readonly */
- bool notNull;
- /* readonly */
- uint size;
- };
- class JoystickState
- {
- // Properties:
- /* readonly */
- Array<float> axisPosition;
- /* readonly */
- Array<bool> buttonDown;
- /* readonly */
- Array<bool> buttonPress;
- /* readonly */
- bool controller;
- /* readonly */
- Array<int> hatPosition;
- int joystickID;
- String name;
- /* readonly */
- uint numAxes;
- /* readonly */
- uint numButtons;
- /* readonly */
- uint numHats;
- };
- class Light
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- float aspectRatio;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- float brightness;
- bool castShadows;
- /* readonly */
- String category;
- Color color;
- float drawDistance;
- /* readonly */
- Color effectiveColor;
- /* readonly */
- float effectiveSpecularIntensity;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float fadeDistance;
- float fov;
- /* readonly */
- Frustum frustum;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- uint lightMask;
- LightType lightType;
- float lodBias;
- uint maxLights;
- /* readonly */
- bool negative;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- /* readonly */
- int numShadowSplits;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- bool perVertex;
- Texture rampTexture;
- float range;
- /* readonly */
- int refs;
- BiasParameters shadowBias;
- CascadeParameters shadowCascade;
- float shadowDistance;
- float shadowFadeDistance;
- FocusParameters shadowFocus;
- float shadowIntensity;
- uint shadowMask;
- float shadowNearFarRatio;
- float shadowResolution;
- Texture shapeTexture;
- float specularIntensity;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- uint zoneMask;
- };
- class LineEdit
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- IntRect border;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- /* readonly */
- BorderImage cursor;
- float cursorBlinkRate;
- bool cursorMovable;
- uint cursorPosition;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- uint echoCharacter;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- IntVector2 hoverOffset;
- /* readonly */
- bool hovering;
- IntRect imageBorder;
- IntRect imageRect;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- uint maxLength;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- String text;
- bool textCopyable;
- /* readonly */
- Text textElement;
- bool textSelectable;
- Texture texture;
- bool tiled;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class ListView
- {
- // Methods:
- void AddChild(UIElement);
- void AddItem(UIElement);
- void AddSelection(uint);
- void ApplyAttributes();
- void BringToFront();
- void ChangeSelection(int, bool);
- void ClearSelection();
- void CopySelectedItemsToClipboard();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- void Expand(uint, bool, bool = false);
- uint FindChild(UIElement) const;
- uint FindItem(UIElement);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- Array<UIElement> GetItems() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- void InsertItem(uint, UIElement, UIElement = null);
- bool IsExpanded(uint) const;
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool IsSelected(uint) const;
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveAllItems();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void RemoveItem(UIElement, uint = 0);
- void RemoveItem(uint);
- void RemoveSelection(uint);
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetScrollBarsVisible(bool, bool);
- void SetSelections(Array<uint>);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void SetViewPosition(int, int);
- void ToggleExpand(uint, bool = false);
- void ToggleSelection(uint);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- int baseIndent;
- /* readonly */
- ShortStringHash baseType;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- bool clearSelectionOnDefocus;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- /* readonly */
- UIElement contentElement;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- bool hierarchyMode;
- HighlightMode highlightMode;
- HorizontalAlignment horizontalAlignment;
- /* readonly */
- ScrollBar horizontalScrollBar;
- /* readonly */
- bool hovering;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- /* readonly */
- Array<UIElement> items;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- bool multiselect;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- /* readonly */
- uint numItems;
- ObjectAnimation objectAnimation;
- float opacity;
- float pageStep;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool scrollBarsAutoVisible;
- /* readonly */
- BorderImage scrollPanel;
- float scrollStep;
- bool selectOnClickEnd;
- bool selected;
- /* readonly */
- UIElement selectedItem;
- /* readonly */
- Array<UIElement> selectedItems;
- uint selection;
- /* readonly */
- Array<uint> selections;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- /* readonly */
- ScrollBar verticalScrollBar;
- IntVector2 viewPosition;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class Log
- {
- // Methods:
- void Close();
- void Debug(const String&);
- void Error(const String&);
- void Info(const String&);
- void Open(const String&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void Warning(const String&);
- void Write(const String&, bool = false);
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- String lastMessage;
- int level;
- bool quiet;
- /* readonly */
- int refs;
- bool timeStamp;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Material
- {
- // Methods:
- Material Clone(const String& = String ( )) const;
- ValueAnimation GetShaderParameterAnimation(const String&) const;
- float GetShaderParameterAnimationSpeed(const String&) const;
- WrapMode GetShaderParameterAnimationWrapMode(const String&) const;
- bool Load(File);
- bool Load(const XMLElement&);
- void RemoveShaderParameter(const String&);
- bool Save(File) const;
- bool Save(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetShaderParameterAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetShaderParameterAnimationSpeed(const String&, float);
- void SetShaderParameterAnimationWrapMode(const String&, WrapMode);
- void SetTechnique(uint, Technique, uint = 0, float = 0.0);
- void SetUVTransform(const Vector2&, float, const Vector2&);
- void SetUVTransform(const Vector2&, float, float);
- void SortTechniques();
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- CullMode cullMode;
- BiasParameters depthBias;
- /* readonly */
- uint memoryUse;
- String name;
- uint numTechniques;
- /* readonly */
- bool occlusion;
- /* readonly */
- int refs;
- /* readonly */
- Array<String> shaderParameterNames;
- Array<Variant> shaderParameters;
- CullMode shadowCullMode;
- /* readonly */
- Array<TechniqueEntry> techniqueEntries;
- /* readonly */
- Array<Technique> techniques;
- Array<Texture> textures;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class Matrix3
- {
- // Methods:
- bool Equals(const Matrix3&) const;
- Matrix3 Inverse() const;
- Vector3 Scale() const;
- Matrix3 Scaled(const Vector3&) const;
- void SetScale(const Vector3&);
- void SetScale(float);
- String ToString() const;
- Matrix3 Transpose() const;
- // Properties:
- float m00;
- float m01;
- float m02;
- float m10;
- float m11;
- float m12;
- float m20;
- float m21;
- float m22;
- };
- class Matrix3x4
- {
- // Methods:
- void Decompose(Vector3&, Quaternion&, Vector3&) const;
- bool Equals(const Matrix3x4&) const;
- Matrix3x4 Inverse() const;
- Quaternion Rotation() const;
- Matrix3 RotationMatrix() const;
- Vector3 Scale() const;
- void SetRotation(const Matrix3&);
- void SetScale(const Vector3&);
- void SetScale(float);
- void SetTranslation(const Vector3&);
- Matrix3 ToMatrix3() const;
- Matrix4 ToMatrix4() const;
- String ToString() const;
- Vector3 Translation() const;
- // Properties:
- float m00;
- float m01;
- float m02;
- float m03;
- float m10;
- float m11;
- float m12;
- float m13;
- float m20;
- float m21;
- float m22;
- float m23;
- };
- class Matrix4
- {
- // Methods:
- void Decompose(Vector3&, Quaternion&, Vector3&) const;
- bool Equals(const Matrix4&) const;
- Matrix4 Inverse() const;
- Quaternion Rotation() const;
- Matrix3 RotationMatrix() const;
- Vector3 Scale() const;
- void SetRotation(const Matrix3&);
- void SetScale(const Vector3&);
- void SetScale(float);
- void SetTranslation(const Vector3&);
- Matrix3 ToMatrix3() const;
- String ToString() const;
- Vector3 Translation() const;
- Matrix4 Transpose() const;
- // Properties:
- float m00;
- float m01;
- float m02;
- float m03;
- float m10;
- float m11;
- float m12;
- float m13;
- float m20;
- float m21;
- float m22;
- float m23;
- float m30;
- float m31;
- float m32;
- float m33;
- };
- class Menu
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAccelerator(int, int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPopupOffset(int, int);
- void SetPosition(int, int);
- void SetPressedChildOffset(int, int);
- void SetPressedOffset(int, int);
- void SetRepeat(float, float);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- /* readonly */
- int acceleratorKey;
- /* readonly */
- int acceleratorQualifiers;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- IntRect border;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- IntVector2 hoverOffset;
- /* readonly */
- bool hovering;
- IntRect imageBorder;
- IntRect imageRect;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- UIElement popup;
- IntVector2 popupOffset;
- IntVector2 position;
- /* readonly */
- bool pressed;
- IntVector2 pressedChildOffset;
- IntVector2 pressedOffset;
- int priority;
- /* readonly */
- int refs;
- float repeatDelay;
- float repeatRate;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- bool showPopup;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- Texture texture;
- bool tiled;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class MessageBox
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- String message;
- /* readonly */
- int refs;
- String title;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- /* readonly */
- UIElement window;
- };
- class Model
- {
- // Methods:
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- /* readonly */
- String category;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- uint numGeometries;
- /* readonly */
- Array<uint> numGeometryLodLevels;
- /* readonly */
- uint numMorphs;
- /* readonly */
- int refs;
- /* readonly */
- Skeleton skeleton;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class Navigable
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- bool recursive;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class NavigationMesh
- {
- // Methods:
- void ApplyAttributes();
- bool Build();
- bool Build(const BoundingBox&);
- void DrawDebugGeometry(DebugRenderer, bool);
- void DrawDebugGeometry(bool);
- Vector3 FindNearestPoint(const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
- Array<Vector3> FindPath(const Vector3&, const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- float GetDistanceToWall(const Vector3&, float, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
- Vector3 GetRandomPoint();
- Vector3 GetRandomPointInCircle(const Vector3&, float, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- Vector3 MoveAlongSurface(const Vector3&, const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ), uint = 3);
- Vector3 Raycast(const Vector3&, const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- float agentHeight;
- float agentMaxClimb;
- float agentMaxSlope;
- float agentRadius;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- /* readonly */
- String category;
- float cellHeight;
- float cellSize;
- float detailSampleDistance;
- float detailSampleMaxError;
- float edgeMaxError;
- float edgeMaxLength;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool initialized;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- /* readonly */
- IntVector2 numTiles;
- ObjectAnimation objectAnimation;
- Vector3 padding;
- /* readonly */
- int refs;
- float regionMergeSize;
- float regionMinSize;
- bool temporary;
- int tileSize;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- };
- class Network
- {
- // Methods:
- void BroadcastMessage(int, bool, bool, const VectorBuffer&, uint = 0);
- void BroadcastRemoteEvent(Node, const String&, bool, const VariantMap& = VariantMap ( ));
- void BroadcastRemoteEvent(Scene, const String&, bool, const VariantMap& = VariantMap ( ));
- void BroadcastRemoteEvent(const String&, bool, const VariantMap& = VariantMap ( ));
- bool CheckRemoteEvent(const String&) const;
- bool Connect(const String&, uint16, Scene, const VariantMap& = VariantMap ( ));
- void Disconnect(int = 0);
- HttpRequest MakeHttpRequest(const String&, const String& = String ( ), Array<String> = null, const String& = String ( ));
- void RegisterRemoteEvent(const String&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool StartServer(uint16);
- void StopServer();
- void UnregisterAllRemoteEvents();
- void UnregisterRemoteEvent(const String&) const;
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- Array<Connection> clientConnections;
- String packageCacheDir;
- /* readonly */
- int refs;
- /* readonly */
- Connection serverConnection;
- /* readonly */
- bool serverRunning;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- int updateFps;
- /* readonly */
- int weakRefs;
- };
- class NetworkPriority
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool alwaysUpdateOwner;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- float basePriority;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- float distanceFactor;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- float minPriority;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Node
- {
- // Methods:
- void AddChild(Node, uint = M_MAX_UNSIGNED);
- void ApplyAttributes();
- Node Clone(CreateMode = REPLICATED);
- Component CloneComponent(Component, CreateMode, uint = 0);
- Component CloneComponent(Component, uint = 0);
- Node CreateChild(const String& = String ( ), CreateMode = REPLICATED, uint = 0);
- Component CreateComponent(const String&, CreateMode = REPLICATED, uint = 0);
- ScriptObject CreateScriptObject(ScriptFile, const String&, CreateMode = REPLICATED);
- ScriptObject CreateScriptObject(const String&, const String&, CreateMode = REPLICATED);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- Node GetChild(const String&, bool = false) const;
- Array<Node> GetChildren(bool = false) const;
- Array<Node> GetChildrenWithComponent(const String&, bool = false) const;
- Array<Node> GetChildrenWithScript(bool = false) const;
- Array<Node> GetChildrenWithScript(const String&, bool = false) const;
- Component GetComponent(const String&) const;
- Array<Component> GetComponents() const;
- Array<Component> GetComponents(const String&, bool = false) const;
- Component GetOrCreateComponent(const String&, CreateMode = REPLICATED, uint = 0);
- ScriptObject GetScriptObject() const;
- ScriptObject GetScriptObject(const String&) const;
- bool HasComponent(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- Vector2 LocalToWorld(const Vector2&) const;
- Vector3 LocalToWorld(const Vector3&) const;
- Vector3 LocalToWorld(const Vector4&) const;
- bool LookAt(const Vector3&, const Vector3& = Vector3 ( 0 , 1 , 0 ), TransformSpace = TS_WORLD);
- void MarkNetworkUpdate() const;
- void Pitch(float, TransformSpace = TS_LOCAL);
- void Remove();
- void RemoveAllChildren();
- void RemoveAllComponents();
- void RemoveChild(Node);
- void RemoveChildren(bool, bool, bool);
- void RemoveComponent(Component);
- void RemoveComponent(const String&);
- void RemoveComponents(bool, bool);
- void RemoveInstanceDefault();
- void ResetToDefault();
- void Roll(float, TransformSpace = TS_LOCAL);
- void Rotate(const Quaternion&, TransformSpace = TS_LOCAL);
- void Rotate(float, TransformSpace = TS_LOCAL);
- void RotateAround(const Vector2&, float, TransformSpace = TS_LOCAL);
- void RotateAround(const Vector3&, const Quaternion&, TransformSpace = TS_LOCAL);
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- void Scale(const Vector2&);
- void Scale(const Vector3&);
- void Scale(float);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetEnabled(bool, bool);
- void SetPosition(const Vector2&);
- void SetRotation(float);
- void SetScale(const Vector2&);
- void SetScale(float);
- void SetTransform(const Vector2&, float);
- void SetTransform(const Vector2&, float, const Vector2&);
- void SetTransform(const Vector2&, float, float);
- void SetTransform(const Vector3&, const Quaternion&);
- void SetTransform(const Vector3&, const Quaternion&, const Vector3&);
- void SetTransform(const Vector3&, const Quaternion&, float);
- void SetWorldPosition(const Vector2&);
- void SetWorldRotation(float);
- void SetWorldScale(const Vector2&);
- void SetWorldTransform(const Vector2&, float);
- void SetWorldTransform(const Vector2&, float, const Vector2&);
- void SetWorldTransform(const Vector2&, float, float);
- void SetWorldTransform(const Vector3&, const Quaternion&);
- void SetWorldTransform(const Vector3&, const Quaternion&, const Vector3&);
- void SetWorldTransform(const Vector3&, const Quaternion&, float);
- void Translate(const Vector2&, TransformSpace = TS_LOCAL);
- void Translate(const Vector3&, TransformSpace = TS_LOCAL);
- Vector2 WorldToLocal(const Vector2&) const;
- Vector3 WorldToLocal(const Vector3&) const;
- Vector3 WorldToLocal(const Vector4&) const;
- void Yaw(float, TransformSpace = TS_LOCAL);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- Array<Node> children;
- /* readonly */
- Array<Component> components;
- Vector3 direction;
- bool enabled;
- /* readonly */
- uint id;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- /* readonly */
- uint numComponents;
- ObjectAnimation objectAnimation;
- Connection owner;
- Node parent;
- Vector3 position;
- /* readonly */
- int refs;
- /* readonly */
- Vector3 right;
- Quaternion rotation;
- Vector3 scale;
- /* readonly */
- Scene scene;
- /* readonly */
- ScriptObject scriptObject;
- bool temporary;
- /* readonly */
- Matrix3x4 transform;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- Vector3 up;
- /* readonly */
- VariantMap vars;
- /* readonly */
- int weakRefs;
- Vector3 worldDirection;
- Vector3 worldPosition;
- /* readonly */
- Vector3 worldRight;
- Quaternion worldRotation;
- Vector3 worldScale;
- /* readonly */
- Matrix3x4 worldTransform;
- /* readonly */
- Vector3 worldUp;
- };
- class Object
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- int refs;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ObjectAnimation
- {
- // Methods:
- void AddAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- bool Load(File);
- void RemoveAttributeAnimation(ValueAnimation);
- void RemoveAttributeAnimation(const String&);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- Array<Variant> attributeAnimations;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- Array<Variant> speeds;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- /* readonly */
- Array<Variant> wrapModes;
- };
- class Octree
- {
- // Methods:
- void AddManualDrawable(Drawable);
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- void DrawDebugGeometry(bool) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- Array<Node> GetDrawables(const BoundingBox&, uint8 = DRAWABLE_ANY, uint = DEFAULT_VIEWMASK);
- Array<Node> GetDrawables(const Frustum&, uint8 = DRAWABLE_ANY, uint = DEFAULT_VIEWMASK);
- Array<Node> GetDrawables(const Sphere&, uint8 = DRAWABLE_ANY, uint = DEFAULT_VIEWMASK);
- Array<Node> GetDrawables(const Vector3&, uint8 = DRAWABLE_ANY, uint = DEFAULT_VIEWMASK);
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- Array<RayQueryResult> Raycast(const Ray&, RayQueryLevel = RAY_TRIANGLE, float = M_INFINITY, uint8 = DRAWABLE_ANY, uint = DEFAULT_VIEWMASK) const;
- RayQueryResult RaycastSingle(const Ray&, RayQueryLevel = RAY_TRIANGLE, float = M_INFINITY, uint8 = DRAWABLE_ANY, uint = DEFAULT_VIEWMASK) const;
- void Remove();
- void RemoveInstanceDefault();
- void RemoveManualDrawable(Drawable);
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetSize(const BoundingBox&, uint);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numLevels;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- };
- class OffMeshConnection
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- bool bidirectional;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- Node endPoint;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- float radius;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class PackageFile
- {
- // Methods:
- bool Exists(const String&) const;
- Array<String> GetEntryNames() const;
- bool Open(const String&, uint = 0) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool compressed() const;
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint checksum;
- /* readonly */
- String name;
- /* readonly */
- uint numFiles;
- /* readonly */
- int refs;
- /* readonly */
- uint totalSize;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ParticleEffect2D
- {
- // Methods:
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class ParticleEmitter
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool Load(XMLFile);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool Save(XMLFile);
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetColor(const Color&);
- void SetEmitting(bool, bool);
- // Properties:
- float activeTime;
- bool animationEnabled;
- float animationLodBias;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- /* readonly */
- Array<ColorFrame> colors;
- Vector3 constantForce;
- float dampingForce;
- float drawDistance;
- /* writeonly */
- float emissionRate;
- Vector3 emitterSize;
- EmitterType emitterType;
- bool emitting;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- FaceCameraMode faceCameraMode;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- float inactiveTime;
- uint lightMask;
- float lodBias;
- Material material;
- Vector3 maxDirection;
- float maxEmissionRate;
- uint maxLights;
- Vector3 maxParticleSize;
- float maxRotation;
- float maxRotationSpeed;
- float maxTimeToLive;
- float maxVelocity;
- Vector3 minDirection;
- float minEmissionRate;
- Vector2 minParticleSize;
- float minRotation;
- float minRotationSpeed;
- float minTimeToLive;
- float minVelocity;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- uint numColors;
- uint numParticles;
- uint numTextureFrames;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- /* writeonly */
- Vector2 particleSize;
- /* readonly */
- int refs;
- bool relative;
- /* writeonly */
- float rotation;
- /* writeonly */
- float rotationSpeed;
- bool scaled;
- float shadowDistance;
- uint shadowMask;
- float sizeAdd;
- float sizeMul;
- bool sorted;
- bool temporary;
- /* readonly */
- Array<TextureFrame> textureFrames;
- /* writeonly */
- float timeToLive;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool updateInvisible;
- /* writeonly */
- float velocity;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- /* readonly */
- Zone zone;
- uint zoneMask;
- };
- class ParticleEmitter2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- ParticleEffect2D effect;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- int layer;
- uint lightMask;
- float lodBias;
- Material material;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- int orderInLayer;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- Sprite2D sprite;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- uint zoneMask;
- };
- class Pass
- {
- // Properties:
- bool alphaMask;
- BlendMode blendMode;
- CompareMode depthTestMode;
- bool depthWrite;
- PassLightingMode lightingMode;
- String pixelShader;
- String pixelShaderDefines;
- /* readonly */
- int refs;
- bool sm3;
- String vertexShader;
- String vertexShaderDefines;
- /* readonly */
- int weakRefs;
- };
- class PhysicsRaycastResult
- {
- // Properties:
- /* readonly */
- RigidBody body;
- float distance;
- Vector3 normal;
- Vector3 position;
- };
- class PhysicsRaycastResult2D
- {
- // Properties:
- /* readonly */
- RigidBody2D body;
- float distance;
- Vector2 normal;
- Vector2 position;
- };
- class PhysicsWorld
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- void DrawDebugGeometry(bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- Array<RigidBody> GetRigidBodies(RigidBody);
- Array<RigidBody> GetRigidBodies(const BoundingBox&, uint = 0xffff);
- Array<RigidBody> GetRigidBodies(const Sphere&, uint = 0xffff);
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- Array<PhysicsRaycastResult> Raycast(const Ray&, float = M_INFINITY, uint = 0xffff);
- PhysicsRaycastResult RaycastSingle(const Ray&, float = M_INFINITY, uint = 0xffff);
- void Remove();
- void RemoveCachedGeometry(Model);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- PhysicsRaycastResult SphereCast(const Ray&, float, float = M_INFINITY, uint = 0xffff);
- void Update(float);
- void UpdateCollisions();
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- int fps;
- Vector3 gravity;
- /* readonly */
- uint id;
- bool internalEdge;
- bool interpolation;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- int numIterations;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- bool splitImpulse;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class PhysicsWorld2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- Array<RigidBody2D> GetRigidBodies(const Rect&, uint = 0xffff);
- RigidBody2D GetRigidBody(const Vector2&, uint = 0xffff);
- RigidBody2D GetRigidBody(int, int, uint = 0xffff, Camera = 0);
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- Array<PhysicsRaycastResult2D> Raycast(const Vector2&, const Vector2&, uint = 0xffff);
- PhysicsRaycastResult2D RaycastSingle(const Vector2&, const Vector2&, uint = 0xffff);
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool allowSleeping;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- bool autoClearForces;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool continuousPhysics;
- bool drawAabb;
- bool drawCenterOfMass;
- bool drawJoint;
- bool drawPair;
- bool drawShape;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- Vector2 gravity;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- uint positionIterations;
- /* readonly */
- int refs;
- bool subStepping;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint velocityIterations;
- bool warmStarting;
- /* readonly */
- int weakRefs;
- };
- class Plane
- {
- // Methods:
- void Define(const Vector3&, const Vector3&);
- void Define(const Vector3&, const Vector3&, const Vector3&);
- void Define(const Vector4&);
- float Distance(const Vector3&) const;
- Vector3 Project(const Vector3&) const;
- Vector3 Reflect(const Vector3&) const;
- Vector4 ToVector4() const;
- void Transform(const Matrix3&);
- void Transform(const Matrix3x4&);
- void Transform(const Matrix4&);
- Plane Transformed(const Matrix3&) const;
- Plane Transformed(const Matrix3x4&) const;
- Plane Transformed(const Matrix4&) const;
- // Properties:
- Vector3 absNormal;
- float d;
- Vector3 normal;
- /* readonly */
- Matrix3x4 reflectionMatrix;
- };
- class Polyhedron
- {
- // Methods:
- void AddFace(const Vector3&, const Vector3&, const Vector3&);
- void AddFace(const Vector3&, const Vector3&, const Vector3&, const Vector3&);
- void AddFace(const Array<Vector3>);
- void Clear();
- void Clip(const BoundingBox&);
- void Clip(const Frustum&);
- void Define(const BoundingBox&);
- void Define(const Frustum&);
- void Transform(const Matrix3&);
- void Transform(const Matrix3x4&);
- Polyhedron Transformed(const Matrix3&) const;
- Polyhedron Transformed(const Matrix3x4&) const;
- // Properties:
- /* readonly */
- Array<Array<Vector3>> face;
- /* readonly */
- uint numFaces;
- };
- class Quaternion
- {
- // Methods:
- float DotProduct(const Quaternion&) const;
- bool Equals(const Quaternion&) const;
- void FromAngleAxis(float, const Vector3&);
- void FromAxes(const Vector3&, const Vector3&, const Vector3&);
- void FromEulerAngles(float, float, float);
- bool FromLookRotation(const Vector3&, const Vector3&);
- void FromRotationTo(const Vector3&, const Vector3&);
- Quaternion Inverse() const;
- bool IsNaN() const;
- Quaternion Nlerp(Quaternion, float, bool) const;
- void Normalize();
- Quaternion Normalized() const;
- Quaternion Slerp(Quaternion, float) const;
- String ToString() const;
- // Properties:
- /* readonly */
- Vector3 eulerAngles;
- /* readonly */
- float pitch;
- /* readonly */
- float roll;
- float w;
- float x;
- float y;
- /* readonly */
- float yaw;
- float z;
- };
- class Ray
- {
- // Methods:
- Vector3 ClosestPoint(const Ray&) const;
- void Define(const Vector3&, const Vector3&);
- float Distance(const Vector3&) const;
- float HitDistance(const BoundingBox&) const;
- float HitDistance(const Frustum&, bool = true) const;
- float HitDistance(const Sphere&) const;
- float HitDistance(const Vector3&, const Vector3&, const Vector3&) const;
- Vector3 Project(const Vector3&) const;
- Ray Transformed(const Matrix3x4&) const;
- // Properties:
- Vector3 direction;
- Vector3 origin;
- };
- class RayQueryResult
- {
- // Properties:
- float distance;
- /* readonly */
- Drawable drawable;
- /* readonly */
- Node node;
- Vector3 normal;
- Vector3 position;
- uint subObject;
- };
- class Rect
- {
- // Methods:
- void Clear();
- void Clip(const Rect&);
- void Define(const Vector2&);
- void Define(const Vector2&, const Vector2&);
- bool Equals(const Rect&) const;
- Intersection IsInside(const Vector2&) const;
- void Merge(const Rect&);
- void Merge(const Vector2&);
- Vector4 ToVector4() const;
- // Properties:
- float bottom;
- /* readonly */
- Vector2 center;
- bool defined;
- /* readonly */
- Vector2 halfSize;
- float left;
- Vector2 max;
- Vector2 min;
- float right;
- /* readonly */
- Vector2 size;
- float top;
- };
- class RefCounted
- {
- // Properties:
- /* readonly */
- int refs;
- /* readonly */
- int weakRefs;
- };
- class RenderPath
- {
- // Methods:
- void AddCommand(const RenderPathCommand&);
- void AddRenderTarget(const RenderTargetInfo&);
- bool Append(XMLFile);
- RenderPath Clone();
- void InsertCommand(uint, const RenderPathCommand&);
- bool Load(XMLFile);
- void RemoveCommand(uint);
- void RemoveCommands(const String&);
- void RemoveRenderTarget(const String&);
- void RemoveRenderTarget(uint);
- void RemoveRenderTargts(const String&);
- void SetEnabled(const String&, bool);
- void ToggleEnabled(const String&);
- // Properties:
- Array<RenderPathCommand> commands;
- /* readonly */
- uint numCommands;
- /* readonly */
- uint numRenderTargets;
- /* readonly */
- int refs;
- Array<RenderTargetInfo> renderTargets;
- Array<Variant> shaderParameters;
- /* readonly */
- int weakRefs;
- };
- class RenderPathCommand
- {
- // Methods:
- void RemoveShaderParameter(const String&);
- // Properties:
- Color clearColor;
- float clearDepth;
- uint clearFlags;
- uint clearStencil;
- bool enabled;
- bool markToStencil;
- String metadata;
- uint numOutputs;
- Array<String> outputNames;
- String pass;
- String pixelShaderDefines;
- String pixelShaderName;
- Array<Variant> shaderParameters;
- RenderCommandSortMode sortMode;
- String tag;
- Array<String> textureNames;
- RenderCommandType type;
- bool useFogColor;
- bool useLitBase;
- bool vertexLights;
- String vertexShaderDefines;
- String vertexShaderName;
- };
- class RenderSurface
- {
- // Methods:
- void QueueUpdate();
- // Properties:
- /* readonly */
- int height;
- RenderSurface linkedDepthStencil;
- RenderSurface linkedRenderTarget;
- uint numViewports;
- /* readonly */
- Texture parentTexture;
- RenderSurfaceUpdateMode updateMode;
- /* readonly */
- TextureUsage usage;
- Array<Viewport> viewports;
- /* readonly */
- int width;
- };
- class RenderTargetInfo
- {
- // Properties:
- bool enabled;
- bool filtered;
- uint format;
- String name;
- bool persistent;
- bool sRGB;
- Vector2 size;
- RenderTargetSizeMode sizeMode;
- String tag;
- };
- class Renderer
- {
- // Methods:
- void DrawDebugGeometry(bool) const;
- void ReloadShaders() const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetDefaultRenderPath(XMLFile);
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- Material defaultLightRamp;
- /* readonly */
- Material defaultLightSpot;
- /* readonly */
- Material defaultMaterial;
- RenderPath defaultRenderPath;
- /* readonly */
- Zone defaultZone;
- bool drawShadows;
- bool dynamicInstancing;
- bool hdrRendering;
- int materialQuality;
- int maxInstanceTriangles;
- int maxOccluderTriangles;
- int maxShadowMaps;
- int maxSortedInstances;
- int minInstances;
- float mobileShadowBiasAdd;
- float mobileShadowBiasMul;
- /* readonly */
- uint numBatches;
- /* readonly */
- Array<uint> numGeometries;
- /* readonly */
- Array<uint> numLights;
- /* readonly */
- Array<uint> numOccluders;
- /* readonly */
- uint numPrimitives;
- /* readonly */
- Array<uint> numShadowMaps;
- uint numViewports;
- /* readonly */
- uint numViews;
- float occluderSizeThreshold;
- int occlusionBufferSize;
- /* readonly */
- int refs;
- bool reuseShadowMaps;
- int shadowMapSize;
- int shadowQuality;
- bool specularLighting;
- int textureAnisotropy;
- TextureFilterMode textureFilterMode;
- int textureQuality;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- Array<Viewport> viewports;
- /* readonly */
- int weakRefs;
- };
- class Resource
- {
- // Methods:
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class ResourceCache
- {
- // Methods:
- bool AddManualResource(Resource);
- void AddPackageFile(PackageFile, uint = M_MAX_UNSIGNED);
- bool AddResourceDir(const String&, uint = M_MAX_UNSIGNED);
- bool Exists(const String&) const;
- File GetFile(const String&);
- String GetPreferredResourceDir(const String&) const;
- Resource GetResource(ShortStringHash, const String&, bool = true);
- Resource GetResource(const String&, const String&, bool = true);
- String GetResourceFileName(const String&) const;
- void ReleaseAllResources(bool = false);
- void ReleaseResource(const String&, const String&, bool = false);
- void ReleaseResources(ShortStringHash, bool = false);
- void ReleaseResources(const String&, bool = false);
- void ReleaseResources(const String&, const String&, bool = false);
- bool ReloadResource(Resource);
- void RemovePackageFile(PackageFile, bool = true, bool = false);
- void RemovePackageFile(const String&, bool = true, bool = false);
- void RemoveResourceDir(const String&);
- String SanitateResourceDirName(const String&) const;
- String SanitateResourceName(const String&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- bool autoReloadResources;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- Array<uint> memoryBudget;
- /* readonly */
- Array<uint> memoryUse;
- /* readonly */
- Array<PackageFile> packageFiles;
- /* readonly */
- int refs;
- /* readonly */
- Array<String> resourceDirs;
- bool returnFailedResources;
- /* readonly */
- bool seachPackagesFirst;
- /* writeonly */
- bool searchPackagesFirst;
- /* readonly */
- uint totalMemoryUse;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ResourceRef
- {
- // Properties:
- String name;
- ShortStringHash type;
- };
- class ResourceRefList
- {
- // Methods:
- void Resize(uint);
- // Properties:
- /* readonly */
- bool empty;
- /* readonly */
- uint length;
- Array<String> names;
- ShortStringHash type;
- };
- class RigidBody
- {
- // Methods:
- void Activate();
- void ApplyAttributes();
- void ApplyForce(const Vector3&);
- void ApplyForce(const Vector3&, const Vector3&);
- void ApplyImpulse(const Vector3&);
- void ApplyImpulse(const Vector3&, const Vector3&);
- void ApplyTorque(const Vector3&);
- void ApplyTorqueImpulse(const Vector3&);
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- Vector3 GetVelocityAtPoint(const Vector3&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void ReAddBodyToWorld();
- void Remove();
- void RemoveInstanceDefault();
- void ResetForces();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetCollisionLayerAndMask(uint, uint);
- void SetTransform(const Vector3&, const Quaternion&);
- // Properties:
- /* readonly */
- bool active;
- float angularDamping;
- Vector3 angularFactor;
- float angularRestThreshold;
- Vector3 angularVelocity;
- bool animationEnabled;
- Vector3 anisotropicFriction;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- float ccdMotionThreshold;
- float ccdRadius;
- /* readonly */
- Vector3 centerOfMass;
- /* readonly */
- Array<RigidBody> collidingBodies;
- CollisionEventMode collisionEventMode;
- uint collisionLayer;
- uint collisionMask;
- float contactProcessingThreshold;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float friction;
- Vector3 gravityOverride;
- /* readonly */
- uint id;
- bool kinematic;
- float linearDamping;
- Vector3 linearFactor;
- float linearRestThreshold;
- Vector3 linearVelocity;
- float mass;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- Vector3 position;
- /* readonly */
- int refs;
- float restitution;
- float rollingFriction;
- Quaternion rotation;
- bool temporary;
- bool trigger;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useGravity;
- /* readonly */
- int weakRefs;
- };
- class RigidBody2D
- {
- // Methods:
- void ApplyAngularImpulse(float, bool);
- void ApplyAttributes();
- void ApplyForce(const Vector2&, const Vector2&, bool);
- void ApplyForceToCenter(const Vector2&, bool);
- void ApplyLinearImpulse(const Vector2&, const Vector2&, bool);
- void ApplyTorque(float, bool);
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool allowSleep;
- float angularDamping;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- bool awake;
- /* readonly */
- ShortStringHash baseType;
- BodyType2D bodyType;
- bool bullet;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- bool fixedRotation;
- float gravityScale;
- /* readonly */
- uint id;
- float inertia;
- float linearDamping;
- Vector2 linearVelocity;
- float mass;
- Vector2 massCenter;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useFixtureMass;
- /* readonly */
- int weakRefs;
- };
- class Scene
- {
- // Methods:
- void AddChild(Node, uint = M_MAX_UNSIGNED);
- void AddRequiredPackageFile(PackageFile);
- void ApplyAttributes();
- void Clear(bool = true, bool = true);
- void ClearRequiredPackageFiles();
- Component CloneComponent(Component, CreateMode, uint = 0);
- Component CloneComponent(Component, uint = 0);
- Node CreateChild(const String& = String ( ), CreateMode = REPLICATED, uint = 0);
- Component CreateComponent(const String&, CreateMode = REPLICATED, uint = 0);
- ScriptObject CreateScriptObject(ScriptFile, const String&, CreateMode = REPLICATED);
- ScriptObject CreateScriptObject(const String&, const String&, CreateMode = REPLICATED);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- Node GetChild(const String&, bool = false) const;
- Array<Node> GetChildren(bool = false) const;
- Array<Node> GetChildrenWithComponent(const String&, bool = false) const;
- Array<Node> GetChildrenWithScript(bool = false) const;
- Array<Node> GetChildrenWithScript(const String&, bool = false) const;
- Component GetComponent(const String&) const;
- Component GetComponent(uint);
- Array<Component> GetComponents() const;
- Array<Component> GetComponents(const String&, bool = false) const;
- Node GetNode(uint);
- Component GetOrCreateComponent(const String&, CreateMode = REPLICATED, uint = 0);
- ScriptObject GetScriptObject() const;
- ScriptObject GetScriptObject(const String&) const;
- bool HasComponent(const String&) const;
- Node Instantiate(File, const Vector3&, const Quaternion&, CreateMode = REPLICATED);
- Node InstantiateXML(File, const Vector3&, const Quaternion&, CreateMode = REPLICATED);
- Node InstantiateXML(XMLFile, const Vector3&, const Quaternion&, CreateMode = REPLICATED);
- Node InstantiateXML(const XMLElement&, const Vector3&, const Quaternion&, CreateMode = REPLICATED);
- bool Load(File, bool = false);
- bool LoadAsync(File);
- bool LoadAsyncXML(File);
- bool LoadXML(File);
- bool LoadXML(const XMLElement&, bool = false);
- Vector2 LocalToWorld(const Vector2&) const;
- Vector3 LocalToWorld(const Vector3&) const;
- Vector3 LocalToWorld(const Vector4&) const;
- bool LookAt(const Vector3&, const Vector3& = Vector3 ( 0 , 1 , 0 ), TransformSpace = TS_WORLD);
- void MarkNetworkUpdate() const;
- void Pitch(float, TransformSpace = TS_LOCAL);
- void RegisterVar(const String&);
- void Remove();
- void RemoveAllChildren();
- void RemoveAllComponents();
- void RemoveChild(Node);
- void RemoveChildren(bool, bool, bool);
- void RemoveComponent(Component);
- void RemoveComponent(const String&);
- void RemoveComponents(bool, bool);
- void RemoveInstanceDefault();
- void ResetToDefault();
- void Roll(float, TransformSpace = TS_LOCAL);
- void Rotate(const Quaternion&, TransformSpace = TS_LOCAL);
- void Rotate(float, TransformSpace = TS_LOCAL);
- void RotateAround(const Vector2&, float, TransformSpace = TS_LOCAL);
- void RotateAround(const Vector3&, const Quaternion&, TransformSpace = TS_LOCAL);
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- void Scale(const Vector2&);
- void Scale(const Vector3&);
- void Scale(float);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetPosition(const Vector2&);
- void SetRotation(float);
- void SetScale(const Vector2&);
- void SetScale(float);
- void SetTransform(const Vector2&, float);
- void SetTransform(const Vector2&, float, const Vector2&);
- void SetTransform(const Vector2&, float, float);
- void SetTransform(const Vector3&, const Quaternion&);
- void SetTransform(const Vector3&, const Quaternion&, const Vector3&);
- void SetTransform(const Vector3&, const Quaternion&, float);
- void SetWorldPosition(const Vector2&);
- void SetWorldRotation(float);
- void SetWorldScale(const Vector2&);
- void SetWorldTransform(const Vector2&, float);
- void SetWorldTransform(const Vector2&, float, const Vector2&);
- void SetWorldTransform(const Vector2&, float, float);
- void SetWorldTransform(const Vector3&, const Quaternion&);
- void SetWorldTransform(const Vector3&, const Quaternion&, const Vector3&);
- void SetWorldTransform(const Vector3&, const Quaternion&, float);
- void StopAsyncLoading();
- const String& GetVarName(ShortStringHash) const;
- void Translate(const Vector2&, TransformSpace = TS_LOCAL);
- void Translate(const Vector3&, TransformSpace = TS_LOCAL);
- void UnregisterAllVars(const String&);
- void UnregisterVar(const String&);
- void Update(float);
- Vector2 WorldToLocal(const Vector2&) const;
- Vector3 WorldToLocal(const Vector3&) const;
- Vector3 WorldToLocal(const Vector4&) const;
- void Yaw(float, TransformSpace = TS_LOCAL);
- // Properties:
- bool animationEnabled;
- /* readonly */
- bool asyncLoading;
- /* readonly */
- float asyncProgress;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint checksum;
- /* readonly */
- Array<Node> children;
- /* readonly */
- Array<Component> components;
- /* readonly */
- DebugRenderer debugRenderer;
- Vector3 direction;
- float elapsedTime;
- /* readonly */
- String fileName;
- /* readonly */
- uint id;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- /* readonly */
- uint numComponents;
- ObjectAnimation objectAnimation;
- /* readonly */
- Octree octree;
- Node parent;
- /* readonly */
- PhysicsWorld physicsWorld;
- /* readonly */
- PhysicsWorld2D physicsWorld2D;
- Vector3 position;
- /* readonly */
- int refs;
- /* readonly */
- Array<PackageFile> requiredPackageFiles;
- /* readonly */
- Vector3 right;
- Quaternion rotation;
- Vector3 scale;
- /* readonly */
- ScriptObject scriptObject;
- float smoothingConstant;
- float snapThreshold;
- bool temporary;
- float timeScale;
- /* readonly */
- Matrix3x4 transform;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- Vector3 up;
- bool updateEnabled;
- /* readonly */
- VariantMap vars;
- /* readonly */
- int weakRefs;
- Vector3 worldDirection;
- Vector3 worldPosition;
- /* readonly */
- Vector3 worldRight;
- Quaternion worldRotation;
- Vector3 worldScale;
- /* readonly */
- Matrix3x4 worldTransform;
- /* readonly */
- Vector3 worldUp;
- };
- class Script
- {
- // Methods:
- void DumpAPI(DumpMode = DOXYGEN);
- bool Execute(const String&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- Scene defaultScene;
- ScriptFile defaultScriptFile;
- bool executeConsoleCommands;
- /* readonly */
- int refs;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ScriptFile
- {
- // Methods:
- void ClearDelayedExecute(const String& = String ( ));
- void DelayedExecute(float, bool, const String&);
- void DelayedExecute(float, bool, const String&, const Array<Variant>);
- bool Execute(const String&, const Array<Variant>);
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- bool compiled;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class ScriptInstance
- {
- // Methods:
- void ApplyAttributes();
- void ClearDelayedExecute(const String& = String ( ));
- bool CreateObject(ScriptFile, const String&);
- void DelayedExecute(float, bool, const String&);
- void DelayedExecute(float, bool, const String&, const Array<Variant>);
- void DrawDebugGeometry(DebugRenderer, bool);
- bool Execute(const String&);
- bool Execute(const String&, const Array<Variant>);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- String className;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- ScriptFile scriptFile;
- /* readonly */
- ScriptObject scriptObject;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class ScriptObject
- {
- };
- class ScrollBar
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- void ChangeValue(float);
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void StepBack();
- void StepForward();
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- Button backButton;
- /* readonly */
- ShortStringHash baseType;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- /* readonly */
- float effectiveScrollStep;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- /* readonly */
- Button forwardButton;
- int height;
- HorizontalAlignment horizontalAlignment;
- /* readonly */
- bool hovering;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- Orientation orientation;
- UIElement parent;
- IntVector2 position;
- int priority;
- float range;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- float scrollStep;
- bool selected;
- IntVector2 size;
- /* readonly */
- Slider slider;
- bool sortChildren;
- float stepFactor;
- String style;
- bool temporary;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- float value;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class ScrollView
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetScrollBarsVisible(bool, bool);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void SetViewPosition(int, int);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- UIElement contentElement;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- /* readonly */
- ScrollBar horizontalScrollBar;
- /* readonly */
- bool hovering;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- float pageStep;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool scrollBarsAutoVisible;
- /* readonly */
- BorderImage scrollPanel;
- float scrollStep;
- bool selected;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- /* readonly */
- ScrollBar verticalScrollBar;
- IntVector2 viewPosition;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class Serializable
- {
- // Methods:
- void ApplyAttributes();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- // Properties:
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint numAttributes;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Serializer
- {
- // Methods:
- uint Write(Array<uint8>);
- bool WriteBool(bool);
- bool WriteBoundingBox(const BoundingBox&);
- bool WriteByte(int8);
- bool WriteColor(const Color&);
- bool WriteFileID(const String&);
- bool WriteFloat(float);
- bool WriteInt(int);
- bool WriteIntRect(const IntRect&);
- bool WriteIntVector2(const IntVector2&);
- bool WriteLine(const String&);
- bool WriteMatrix3(const Matrix3&);
- bool WriteMatrix3x4(const Matrix3x4&);
- bool WriteMatrix4(const Matrix4&);
- bool WriteNetID(uint);
- bool WritePackedQuaternion(const Quaternion&);
- bool WritePackedVector3(const Vector3&, float);
- bool WriteQuaternion(const Quaternion&);
- bool WriteShort(int16);
- bool WriteShortStringHash(const ShortStringHash&);
- bool WriteString(const String&);
- bool WriteStringHash(const StringHash&);
- bool WriteUByte(uint8);
- bool WriteUInt(uint);
- bool WriteUShort(uint16);
- bool WriteVLE(uint);
- bool WriteVariant(const Variant&);
- bool WriteVariantMap(const VariantMap&);
- bool WriteVector2(const Vector2&);
- bool WriteVector3(const Vector3&);
- bool WriteVector4(const Vector4&);
- };
- class ShortStringHash
- {
- // Methods:
- String ToString() const;
- // Properties:
- /* readonly */
- uint16 value;
- };
- class Skeleton
- {
- // Methods:
- Bone GetBone(const String&) const;
- void Reset();
- // Properties:
- /* readonly */
- Array<Bone> bones;
- /* readonly */
- uint numBones;
- /* readonly */
- Bone rootBone;
- };
- class Skybox
- {
- // Methods:
- void ApplyAttributes();
- void ApplyMaterialList(const String& = String ( ));
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- uint lightMask;
- float lodBias;
- /* writeonly */
- Material material;
- Array<Material> materials;
- uint maxLights;
- Model model;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numGeometries;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- /* readonly */
- Zone zone;
- uint zoneMask;
- };
- class Slider
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- void ChangeValue(float);
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- IntRect border;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- IntVector2 hoverOffset;
- /* readonly */
- bool hovering;
- IntRect imageBorder;
- IntRect imageRect;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- /* readonly */
- BorderImage knob;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- Orientation orientation;
- UIElement parent;
- IntVector2 position;
- int priority;
- float range;
- /* readonly */
- int refs;
- float repeatRate;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- Texture texture;
- bool tiled;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- float value;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class SmoothedTransform
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void Update(float, float);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inProgress;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- Vector3 targetPosition;
- Quaternion targetRotation;
- Vector3 targetWorldPosition;
- Quaternion targetWorldRotation;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Sound
- {
- // Methods:
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- bool compressed;
- /* readonly */
- float frequency;
- /* readonly */
- float length;
- bool looped;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- uint sampleSize;
- /* readonly */
- bool sixteenBit;
- /* readonly */
- bool stereo;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class SoundListener
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- /* readonly */
- int refs;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class SoundSource
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Play(Sound);
- void Play(Sound, float);
- void Play(Sound, float, float);
- void Play(Sound, float, float, float);
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void Stop();
- // Properties:
- bool animationEnabled;
- /* readonly */
- float attenuation;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- bool autoRemove;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float frequency;
- float gain;
- /* readonly */
- uint id;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- float panning;
- /* readonly */
- bool playing;
- /* readonly */
- int refs;
- /* readonly */
- Sound sound;
- SoundType soundType;
- bool temporary;
- /* readonly */
- float timePosition;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class SoundSource3D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Play(Sound);
- void Play(Sound, float);
- void Play(Sound, float, float);
- void Play(Sound, float, float, float);
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAngleAttenuation(float, float);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetDistanceAttenuation(float, float, float);
- void Stop();
- // Properties:
- bool animationEnabled;
- /* readonly */
- float attenuation;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- bool autoRemove;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- float farDistance;
- float frequency;
- float gain;
- /* readonly */
- uint id;
- float innerAngle;
- float nearDistance;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- float outerAngle;
- float panning;
- /* readonly */
- bool playing;
- /* readonly */
- int refs;
- float rolloffFactor;
- /* readonly */
- Sound sound;
- SoundType soundType;
- bool temporary;
- /* readonly */
- float timePosition;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Sphere
- {
- // Methods:
- void Clear();
- void Define(const BoundingBox&);
- void Define(const Frustum&);
- void Define(const Polyhedron&);
- void Define(const Sphere&);
- void Define(const Vector3&, float);
- float Distance(const Vector3&) const;
- Intersection IsInside(const BoundingBox&) const;
- Intersection IsInside(const Sphere&) const;
- Intersection IsInside(const Vector3&) const;
- void Merge(const BoundingBox&);
- void Merge(const Frustum&);
- void Merge(const Sphere&);
- void Merge(const Vector3&);
- // Properties:
- Vector3 center;
- bool defined;
- float radius;
- };
- class Spline
- {
- // Methods:
- void AddKnot(const Variant&);
- void AddKnot(const Variant&, uint);
- void Clear();
- Variant GetPoint(float);
- void RemoveKnot();
- void RemoveKnot(uint);
- // Properties:
- InterpolationMode interpolationMode;
- Array<Variant> knot;
- Array<Variant> knots;
- };
- class SplinePath
- {
- // Methods:
- void AddControlPoint(Node, uint = M_MAX_UNSIGNED);
- void ApplyAttributes();
- void ClearControlPoints();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- Vector3 GetPoint(float) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Move(float);
- void Remove();
- void RemoveControlPoint(Node);
- void RemoveInstanceDefault();
- void Reset();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- Node controlledNode;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- InterpolationMode interpolationMode;
- /* readonly */
- bool isFinished;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- Vector3 position;
- /* readonly */
- int refs;
- float speed;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Sprite
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFullImageRect();
- void SetHotSpot(int, int);
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(float, float);
- void SetScale(float);
- void SetScale(float, float);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- Array<UIElement> children;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- bool elementEventSender;
- int height;
- HorizontalAlignment horizontalAlignment;
- IntVector2 hotSpot;
- IntRect imageRect;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- Vector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- float rotation;
- Vector2 scale;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- Texture texture;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class Sprite2D
- {
- // Methods:
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- Vector2 hotSpot;
- /* readonly */
- uint memoryUse;
- String name;
- IntRect rectangle;
- /* readonly */
- int refs;
- Texture2D texture;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class SpriteSheet2D
- {
- // Methods:
- void DefineSprite(const String&, const IntRect&, const Vector2&);
- Sprite2D GetSprite(const String&);
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void UpdateSprite(const String&, const IntRect&, const Vector2&);
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- Texture2D texture;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class StaticModel
- {
- // Methods:
- void ApplyAttributes();
- void ApplyMaterialList(const String& = String ( ));
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool IsInside(const Vector3&) const;
- bool IsInsideLocal(const Vector3&) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- uint lightMask;
- float lodBias;
- /* writeonly */
- Material material;
- Array<Material> materials;
- uint maxLights;
- Model model;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numGeometries;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- uint occlusionLodLevel;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- uint zoneMask;
- };
- class StaticModelGroup
- {
- // Methods:
- void AddInstanceNode(Node);
- void ApplyAttributes();
- void ApplyMaterialList(const String& = String ( ));
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllInstanceNodes();
- void RemoveInstanceDefault();
- void RemoveInstanceNode(Node);
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- /* readonly */
- Array<Node> instanceNodes;
- uint lightMask;
- float lodBias;
- /* writeonly */
- Material material;
- Array<Material> materials;
- uint maxLights;
- Model model;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numGeometries;
- /* readonly */
- uint numInstanceNodes;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- uint occlusionLodLevel;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- /* readonly */
- Zone zone;
- uint zoneMask;
- };
- class StaticSprite2D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFlip(bool, bool);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BlendMode blendMode;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- Color color;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- bool flipX;
- bool flipY;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- int layer;
- uint lightMask;
- float lodBias;
- Material material;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- int orderInLayer;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- Sprite2D sprite;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- uint zoneMask;
- };
- class String
- {
- // Methods:
- void AppendUTF8(uint);
- uint AtUTF8(uint) const;
- uint ByteOffsetUTF8(uint) const;
- void Clear();
- int Compare(const String&, bool = true) const;
- bool Contains(const String&, bool = true) const;
- bool Contains(uint8, bool = true) const;
- bool EndsWith(const String&, bool = true) const;
- uint Find(const String&, uint = 0, bool = true) const;
- uint Find(uint8, uint = 0, bool = true) const;
- uint FindLast(const String&, uint = 0xffffffff, bool = true) const;
- uint FindLast(uint8, uint = 0xffffffff, bool = true) const;
- void Join(Array<String>&, const String&);
- uint NextUTF8Char(uint&) const;
- void Replace(const String&, const String&, bool = true);
- void Replace(uint8, uint8, bool = true);
- void ReplaceUTF8(uint, uint);
- String Replaced(const String&, const String&, bool = true) const;
- String Replaced(uint8, uint8, bool = true) const;
- void Resize(uint);
- void SetUTF8FromLatin1(const String&);
- Array<String> Split(uint8) const;
- bool StartsWith(const String&, bool = true) const;
- String Substring(uint) const;
- String Substring(uint, uint) const;
- String SubstringUTF8(uint) const;
- String SubstringUTF8(uint, uint) const;
- bool ToBool() const;
- Color ToColor() const;
- float ToFloat() const;
- int ToInt() const;
- IntRect ToIntRect() const;
- IntVector2 ToIntVector2() const;
- String ToLower() const;
- Matrix3 ToMatrix3() const;
- Matrix3x4 ToMatrix3x4() const;
- Matrix4 ToMatrix4() const;
- Quaternion ToQuaternion() const;
- uint ToUInt() const;
- String ToUpper() const;
- Vector2 ToVector2() const;
- Vector3 ToVector3() const;
- Vector4 ToVector4(bool = false) const;
- Variant ToVectorVariant() const;
- String Trimmed() const;
- // Properties:
- /* readonly */
- bool empty;
- /* readonly */
- uint length;
- /* readonly */
- uint utf8Length;
- };
- class StringHash
- {
- // Methods:
- String ToString() const;
- // Properties:
- /* readonly */
- uint value;
- };
- class Technique
- {
- // Methods:
- Pass CreatePass(StringHash);
- bool HasPass(StringHash) const;
- bool Load(File);
- void RemovePass(StringHash);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- Array<Pass> passes;
- /* readonly */
- int refs;
- bool sm3;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class TechniqueEntry
- {
- // Properties:
- float lodDistance;
- int qualityLevel;
- Technique technique;
- };
- class Terrain
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- float GetHeight(const Vector3&) const;
- Vector3 GetNormal(const Vector3&) const;
- TerrainPatch GetPatch(int, int) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- Image heightMap;
- /* readonly */
- uint id;
- uint lightMask;
- float lodBias;
- Material material;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- /* readonly */
- IntVector2 numPatches;
- /* readonly */
- IntVector2 numVertices;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- int patchSize;
- /* readonly */
- Array<TerrainPatch> patches;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- bool smoothing;
- Vector3 spacing;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- uint zoneMask;
- };
- class TerrainPatch
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- uint lightMask;
- float lodBias;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- uint zoneMask;
- };
- class Text
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- void ClearSelection();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- bool SetFont(Font, int);
- bool SetFont(const String&, int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSelection(uint, uint = M_MAX_UNSIGNED);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- Array<IntVector2> charPositions;
- /* readonly */
- Array<IntVector2> charSizes;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- Color effectColor;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- /* readonly */
- Font font;
- /* readonly */
- int fontSize;
- int height;
- HorizontalAlignment horizontalAlignment;
- Color hoverColor;
- /* readonly */
- bool hovering;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChars;
- /* readonly */
- uint numChildren;
- /* readonly */
- uint numRows;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- int rowHeight;
- float rowSpacing;
- /* readonly */
- Array<int> rowWidths;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- Color selectionColor;
- /* readonly */
- uint selectionLength;
- /* readonly */
- uint selectionStart;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- String text;
- HorizontalAlignment textAlignment;
- TextEffect textEffect;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- bool wordwrap;
- };
- class Text3D
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- bool SetFont(Font, int);
- bool SetFont(const String&, int);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- /* readonly */
- Array<IntVector2> charPositions;
- /* readonly */
- Array<IntVector2> charSizes;
- /* writeonly */
- Color color;
- Array<Color> colors;
- float drawDistance;
- Color effectColor;
- float effectDepthBias;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- FaceCameraMode faceCameraMode;
- /* readonly */
- Font font;
- /* readonly */
- int fontSize;
- HorizontalAlignment horizontalAlignment;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- uint lightMask;
- float lodBias;
- Material material;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChars;
- /* readonly */
- uint numRows;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- float opacity;
- /* readonly */
- int refs;
- /* readonly */
- int rowHeight;
- float rowSpacing;
- /* readonly */
- Array<int> rowWidths;
- float shadowDistance;
- uint shadowMask;
- bool temporary;
- String text;
- HorizontalAlignment textAlignment;
- TextEffect textEffect;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- VerticalAlignment verticalAlignment;
- uint viewMask;
- /* readonly */
- int weakRefs;
- int width;
- bool wordwrap;
- /* readonly */
- BoundingBox worldBoundingBox;
- uint zoneMask;
- };
- class Texture
- {
- // Methods:
- void ClearDataLost();
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetNumLevels(uint);
- // Properties:
- Array<TextureAddressMode> addressMode;
- Texture backupTexture;
- /* readonly */
- ShortStringHash baseType;
- Color borderColor;
- /* readonly */
- String category;
- /* readonly */
- bool compressed;
- /* readonly */
- bool dataLost;
- TextureFilterMode filterMode;
- /* readonly */
- uint format;
- /* readonly */
- int height;
- /* readonly */
- Array<int> levelHeight;
- /* readonly */
- Array<int> levelWidth;
- /* readonly */
- uint levels;
- /* readonly */
- uint memoryUse;
- Array<int> mipsToSkip;
- String name;
- /* readonly */
- int refs;
- bool sRGB;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- TextureUsage usage;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- /* readonly */
- int width;
- };
- class Texture2D
- {
- // Methods:
- void ClearDataLost();
- bool Load(File);
- bool Load(Image, bool = false);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetNumLevels(uint);
- bool SetSize(int, int, uint, TextureUsage = TEXTURE_STATIC);
- // Properties:
- Array<TextureAddressMode> addressMode;
- Texture backupTexture;
- /* readonly */
- ShortStringHash baseType;
- Color borderColor;
- /* readonly */
- String category;
- /* readonly */
- bool compressed;
- /* readonly */
- bool dataLost;
- TextureFilterMode filterMode;
- /* readonly */
- uint format;
- /* readonly */
- int height;
- /* readonly */
- Array<int> levelHeight;
- /* readonly */
- Array<int> levelWidth;
- /* readonly */
- uint levels;
- /* readonly */
- uint memoryUse;
- Array<int> mipsToSkip;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- RenderSurface renderSurface;
- bool sRGB;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- TextureUsage usage;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- /* readonly */
- int width;
- };
- class Texture3D
- {
- // Methods:
- void ClearDataLost();
- bool Load(File);
- bool Load(Image, bool = false);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetNumLevels(uint);
- bool SetSize(int, int, uint, TextureUsage = TEXTURE_STATIC);
- // Properties:
- Array<TextureAddressMode> addressMode;
- Texture backupTexture;
- /* readonly */
- ShortStringHash baseType;
- Color borderColor;
- /* readonly */
- String category;
- /* readonly */
- bool compressed;
- /* readonly */
- bool dataLost;
- TextureFilterMode filterMode;
- /* readonly */
- uint format;
- /* readonly */
- int height;
- /* readonly */
- Array<int> levelHeight;
- /* readonly */
- Array<int> levelWidth;
- /* readonly */
- uint levels;
- /* readonly */
- uint memoryUse;
- Array<int> mipsToSkip;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- RenderSurface renderSurface;
- bool sRGB;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- TextureUsage usage;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- /* readonly */
- int width;
- };
- class TextureCube
- {
- // Methods:
- void ClearDataLost();
- bool Load(CubeMapFace, Image, bool = false);
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetNumLevels(uint);
- bool SetSize(int, uint, TextureUsage = TEXTURE_STATIC);
- // Properties:
- Array<TextureAddressMode> addressMode;
- Texture backupTexture;
- /* readonly */
- ShortStringHash baseType;
- Color borderColor;
- /* readonly */
- String category;
- /* readonly */
- bool compressed;
- /* readonly */
- bool dataLost;
- TextureFilterMode filterMode;
- /* readonly */
- uint format;
- /* readonly */
- int height;
- /* readonly */
- Array<int> levelHeight;
- /* readonly */
- Array<int> levelWidth;
- /* readonly */
- uint levels;
- /* readonly */
- uint memoryUse;
- Array<int> mipsToSkip;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- Array<RenderSurface> renderSurfaces;
- bool sRGB;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- TextureUsage usage;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- /* readonly */
- int width;
- };
- class TextureFrame
- {
- // Properties:
- float time;
- Rect uv;
- };
- class Time
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- float elapsedTime;
- /* readonly */
- uint frameNumber;
- /* readonly */
- int refs;
- /* readonly */
- uint systemTime;
- /* readonly */
- String timeStamp;
- /* readonly */
- float timeStep;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class Timer
- {
- // Methods:
- uint GetMSec(bool);
- void Reset();
- };
- class ToolTip
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- float delay;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- /* readonly */
- bool hovering;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class TouchState
- {
- // Properties:
- IntVector2 delta;
- IntVector2 lastPosition;
- IntVector2 position;
- float pressure;
- int touchID;
- /* readonly */
- UIElement touchedElement;
- };
- class UI
- {
- // Methods:
- void Clear();
- void DebugDraw(UIElement);
- UIElement GetElementAt(const IntVector2&, bool = true);
- UIElement GetElementAt(int, int, bool = true);
- bool HasModalElement() const;
- UIElement LoadLayout(File);
- UIElement LoadLayout(File, XMLFile);
- UIElement LoadLayout(XMLFile);
- UIElement LoadLayout(XMLFile, XMLFile);
- bool SaveLayout(File, UIElement);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetFocusElement(UIElement, bool = false);
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- String clipBoardText;
- Cursor cursor;
- /* readonly */
- IntVector2 cursorPosition;
- float defaultToolTipDelay;
- float doubleClickInterval;
- int dragBeginDistance;
- float dragBeginInterval;
- /* readonly */
- UIElement dragElement;
- UIElement focusElement;
- bool forceAutoHint;
- /* readonly */
- UIElement frontElement;
- int maxFontTextureSize;
- /* readonly */
- UIElement modalRoot;
- bool nonFocusedMouseWheel;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useMutableGlyphs;
- bool useScreenKeyboard;
- bool useSystemClipboard;
- /* readonly */
- int weakRefs;
- };
- class UIElement
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- /* readonly */
- bool hovering;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class ValueAnimation
- {
- // Methods:
- bool Load(File);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetEventFrame(float, const String&, const Variant&);
- void SetKeyFrame(float, const Variant&);
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- InterpMethod interpolationMethod;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- float splineTension;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- VariantType valueType;
- /* readonly */
- int weakRefs;
- };
- class Variant
- {
- // Methods:
- void Clear();
- const Color& GetColor() const;
- void FromString(VariantType, const String&);
- void FromString(const String&, const String&);
- bool GetBool() const;
- VectorBuffer GetBuffer() const;
- float GetFloat() const;
- int GetInt() const;
- RefCounted GetPtr() const;
- ShortStringHash GetShortStringHash() const;
- StringHash GetStringHash() const;
- uint GetUInt() const;
- Array<Variant> GetVariantVector() const;
- const IntRect& GetIntRect() const;
- const IntVector2& GetIntVector2() const;
- const Matrix3& GetMatrix3() const;
- const Matrix3x4& GetMatrix3x4() const;
- const Matrix4& GetMatrix4() const;
- const Quaternion& GetQuaternion() const;
- const ResourceRef& GetResourceRef() const;
- const ResourceRefList& GetResourceRefList() const;
- const String& GetString() const;
- String ToString() const;
- const VariantMap& GetVariantMap() const;
- const Vector2& GetVector2() const;
- const Vector3& GetVector3() const;
- const Vector4& GetVector4() const;
- // Properties:
- /* readonly */
- bool empty;
- /* readonly */
- VariantType type;
- /* readonly */
- String typeName;
- /* readonly */
- bool zero;
- };
- class VariantMap
- {
- // Methods:
- void Clear();
- bool Contains(ShortStringHash) const;
- bool Contains(const String&) const;
- bool Erase(ShortStringHash);
- bool Erase(const String&);
- // Properties:
- /* readonly */
- Array<ShortStringHash> keys;
- /* readonly */
- uint length;
- };
- class Vector2
- {
- // Methods:
- float AbsDotProduct(const Vector2&) const;
- float DotProduct(const Vector2&) const;
- bool Equals(const Vector2&) const;
- bool IsNaN() const;
- Vector2 Lerp(const Vector2&, float) const;
- void Normalize();
- Vector2 Normalized() const;
- String ToString() const;
- // Properties:
- /* readonly */
- Array<float> data;
- /* readonly */
- float length;
- /* readonly */
- float lengthSquared;
- float x;
- float y;
- };
- class Vector3
- {
- // Methods:
- float AbsDotProduct(const Vector3&) const;
- float Angle(const Vector3&) const;
- Vector3 CrossProduct(const Vector3&) const;
- float DotProduct(const Vector3&) const;
- bool Equals(const Vector3&) const;
- bool IsNaN() const;
- Vector3 Lerp(const Vector3&, float) const;
- void Normalize();
- Vector3 Normalized() const;
- String ToString() const;
- // Properties:
- /* readonly */
- Array<float> data;
- /* readonly */
- float length;
- /* readonly */
- float lengthSquared;
- float x;
- float y;
- float z;
- };
- class Vector4
- {
- // Methods:
- float AbsDotProduct(const Vector4&) const;
- float DotProduct(const Vector4&) const;
- bool Equals(const Vector4&) const;
- bool IsNaN() const;
- Vector4 Lerp(const Vector4&, float) const;
- String ToString() const;
- // Properties:
- /* readonly */
- Array<float> data;
- float w;
- float x;
- float y;
- float z;
- };
- class VectorBuffer
- {
- // Methods:
- void Clear();
- Array<uint8> Read(uint);
- bool ReadBool();
- BoundingBox ReadBoundingBox();
- int8 ReadByte();
- Color ReadColor();
- String ReadFileID();
- float ReadFloat();
- int ReadInt();
- IntRect ReadIntRect();
- IntVector2 ReadIntVector2();
- String ReadLine();
- Matrix3 ReadMatrix3();
- Matrix3x4 ReadMatrix3x4();
- Matrix4 ReadMatrix4();
- uint ReadNetID();
- Quaternion ReadPackedQuaternion();
- Vector3 ReadPackedVector3(float);
- Quaternion ReadQuaternion();
- int16 ReadShort();
- ShortStringHash ReadShortStringHash();
- String ReadString();
- StringHash ReadStringHash();
- uint8 ReadUByte();
- uint ReadUInt();
- uint16 ReadUShort();
- uint ReadVLE();
- Variant ReadVariant();
- VariantMap ReadVariantMap();
- Vector2 ReadVector2();
- Vector3 ReadVector3();
- Vector4 ReadVector4();
- void Resize(uint);
- uint Seek(uint);
- void SetData(Deserializer, uint);
- uint Write(Array<uint8>);
- bool WriteBool(bool);
- bool WriteBoundingBox(const BoundingBox&);
- bool WriteByte(int8);
- bool WriteColor(const Color&);
- bool WriteFileID(const String&);
- bool WriteFloat(float);
- bool WriteInt(int);
- bool WriteIntRect(const IntRect&);
- bool WriteIntVector2(const IntVector2&);
- bool WriteLine(const String&);
- bool WriteMatrix3(const Matrix3&);
- bool WriteMatrix3x4(const Matrix3x4&);
- bool WriteMatrix4(const Matrix4&);
- bool WriteNetID(uint);
- bool WritePackedQuaternion(const Quaternion&);
- bool WritePackedVector3(const Vector3&, float);
- bool WriteQuaternion(const Quaternion&);
- bool WriteShort(int16);
- bool WriteShortStringHash(const ShortStringHash&);
- bool WriteString(const String&);
- bool WriteStringHash(const StringHash&);
- bool WriteUByte(uint8);
- bool WriteUInt(uint);
- bool WriteUShort(uint16);
- bool WriteVLE(uint);
- bool WriteVariant(const Variant&);
- bool WriteVariantMap(const VariantMap&);
- bool WriteVector2(const Vector2&);
- bool WriteVector3(const Vector3&);
- bool WriteVector4(const Vector4&);
- // Properties:
- /* readonly */
- uint checksum;
- /* readonly */
- bool eof;
- /* readonly */
- String name;
- /* readonly */
- uint position;
- /* readonly */
- uint size;
- };
- class View3D
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void QueueUpdate();
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void SetView(Scene, Camera);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- bool autoUpdate;
- /* readonly */
- ShortStringHash baseType;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- Node cameraNode;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- Texture2D depthTexture;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- bool fixedHeightResizing;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool fixedWidthResizing;
- bool focus;
- FocusMode focusMode;
- uint format;
- int height;
- HorizontalAlignment horizontalAlignment;
- /* readonly */
- bool hovering;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- bool modal;
- Color modalFrameColor;
- IntVector2 modalFrameSize;
- Color modalShadeColor;
- bool movable;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- /* readonly */
- Texture2D renderTexture;
- bool resizable;
- IntRect resizeBorder;
- /* readonly */
- UIElement root;
- /* readonly */
- Scene scene;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- /* readonly */
- Viewport viewport;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class Viewport
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetRenderPath(XMLFile);
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- Camera camera;
- /* readonly */
- String category;
- IntRect rect;
- /* readonly */
- int refs;
- RenderPath renderPath;
- Scene scene;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- int weakRefs;
- };
- class WeakHandle
- {
- // Methods:
- RefCounted Get() const;
- // Properties:
- /* readonly */
- bool expired;
- /* readonly */
- int refs;
- /* readonly */
- int weakRefs;
- };
- class Window
- {
- // Methods:
- void AddChild(UIElement);
- void ApplyAttributes();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void DisableLayoutUpdate();
- IntVector2 ElementToScreen(const IntVector2&);
- void EnableLayoutUpdate();
- uint FindChild(UIElement) const;
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- UIElement GetChild(const String&, bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- uint GetNumChildren(bool) const;
- void InsertChild(uint, UIElement);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- bool Load(File, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveAllChildren();
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(File);
- bool SaveXML(XMLElement&) const;
- IntVector2 ScreenToElement(const IntVector2&);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- void SetFixedHeight(int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void SetMaxSize(int, int);
- void SetMinSize(int, int);
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- void SetPosition(int, int);
- void SetSize(int, int);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyle(const XMLElement&);
- bool SetStyleAuto(XMLFile = null);
- void UpdateLayout();
- const Variant& GetVar(const ShortStringHash&);
- // Properties:
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- bool bringToBack;
- bool bringToFront;
- /* readonly */
- String category;
- /* readonly */
- IntVector2 childOffset;
- /* readonly */
- Array<UIElement> children;
- IntRect clipBorder;
- bool clipChildren;
- /* writeonly */
- Color color;
- /* readonly */
- bool colorGradient;
- Array<Color> colors;
- /* readonly */
- IntRect combinedScreenRect;
- XMLFile defaultStyle;
- /* readonly */
- float derivedOpacity;
- uint dragDropMode;
- bool editable;
- bool elementEventSender;
- bool enabled;
- /* readonly */
- bool fixedHeight;
- bool fixedHeightResizing;
- /* readonly */
- bool fixedSize;
- /* readonly */
- bool fixedWidth;
- bool fixedWidthResizing;
- bool focus;
- FocusMode focusMode;
- int height;
- HorizontalAlignment horizontalAlignment;
- /* readonly */
- bool hovering;
- int indent;
- int indentSpacing;
- /* readonly */
- int indentWidth;
- bool internal;
- IntRect layoutBorder;
- LayoutMode layoutMode;
- int layoutSpacing;
- int maxHeight;
- IntVector2 maxSize;
- int maxWidth;
- int minHeight;
- IntVector2 minSize;
- int minWidth;
- bool modal;
- Color modalFrameColor;
- IntVector2 modalFrameSize;
- Color modalShadeColor;
- bool movable;
- String name;
- /* readonly */
- uint numAllChildren;
- /* readonly */
- uint numAttributes;
- /* readonly */
- uint numChildren;
- ObjectAnimation objectAnimation;
- float opacity;
- UIElement parent;
- IntVector2 position;
- int priority;
- /* readonly */
- int refs;
- bool resizable;
- IntRect resizeBorder;
- /* readonly */
- UIElement root;
- /* readonly */
- IntVector2 screenPosition;
- bool selected;
- IntVector2 size;
- bool sortChildren;
- String style;
- bool temporary;
- TraversalMode traversalMode;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- bool useDerivedOpacity;
- /* readonly */
- VariantMap vars;
- VerticalAlignment verticalAlignment;
- bool visible;
- /* readonly */
- int weakRefs;
- int width;
- };
- class XMLElement
- {
- // Methods:
- XMLElement CreateChild(const String&);
- String GetAttribute(const String& = String ( )) const;
- String GetAttributeLower(const String&) const;
- Array<String> GetAttributeNames() const;
- String GetAttributeUpper(const String&) const;
- bool GetBool(const String&) const;
- BoundingBox GetBoundingBox() const;
- XMLElement GetChild(const String& = String ( )) const;
- Color GetColor(const String&) const;
- float GetFloat(const String&) const;
- int GetInt(const String&) const;
- Matrix3 GetMatrix3(const String&) const;
- Matrix3x4 GetMatrix3x4(const String&) const;
- Matrix4 GetMatrix4(const String&) const;
- XMLElement GetNext(const String& = String ( )) const;
- Quaternion GetQuaternion(const String&) const;
- ResourceRef GetResourceRef() const;
- ResourceRefList GetResourceRefList() const;
- uint GetUInt(const String&) const;
- String GetValue() const;
- Variant GetVariant() const;
- VariantMap GetVariantMap() const;
- Array<Variant> GetVariantVector() const;
- Vector2 GetVector2(const String&) const;
- Vector3 GetVector3(const String&) const;
- Vector4 GetVector4(const String&) const;
- Variant GetVectorVariant(const String&) const;
- bool HasAttribute(const String&) const;
- bool HasChild(const String&) const;
- bool RemoveAttribute(const String& = String ( ));
- bool RemoveChild(const String&);
- bool RemoveChild(const XMLElement&);
- bool RemoveChildren(const String& = String ( ));
- XPathResultSet Select(const String&);
- XPathResultSet SelectPrepared(const XPathQuery&);
- XMLElement SelectSingle(const String&);
- XMLElement SelectSinglePrepared(const XPathQuery&);
- bool SetAttribute(const String&);
- bool SetAttribute(const String&, const String&);
- bool SetBool(const String&, bool);
- bool SetBoundingBox(const BoundingBox&);
- bool SetColor(const String&, const Color&);
- bool SetFloat(const String&, float);
- bool SetInt(const String&, int);
- bool SetMatrix3(const String&, const Matrix3&);
- bool SetMatrix3x4(const String&, const Matrix3x4&);
- bool SetMatrix4(const String&, const Matrix4&);
- bool SetQuaternion(const String&, const Quaternion&);
- bool SetResourceRef(const String&, const ResourceRef&);
- bool SetResourceRefList(const String&, const ResourceRefList&);
- bool SetUInt(const String&, uint);
- bool SetValue(const String&);
- bool SetVariant(const Variant&);
- bool SetVariantMap(const VariantMap&);
- bool SetVariantVector(Array<Variant>);
- bool SetVector2(const String&, const Vector2&);
- bool SetVector3(const String&, const Vector3&);
- bool SetVector4(const String&, const Vector4&);
- bool SetVectorVariant(const String&, const Variant&);
- // Properties:
- /* readonly */
- XMLFile file;
- /* readonly */
- bool isNull;
- /* readonly */
- String name;
- /* readonly */
- XMLElement nextResult;
- /* readonly */
- bool notNull;
- /* readonly */
- uint numAttributes;
- /* readonly */
- XMLElement parent;
- String value;
- };
- class XMLFile
- {
- // Methods:
- XMLElement CreateRoot(const String&);
- XMLElement GetRoot(const String& = String ( ));
- bool Load(File);
- void Patch(XMLElement);
- void Patch(XMLFile);
- bool Save(File) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* readonly */
- ShortStringHash baseType;
- /* readonly */
- String category;
- /* readonly */
- uint memoryUse;
- String name;
- /* readonly */
- int refs;
- /* readonly */
- XMLElement root;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- /* readonly */
- uint useTimer;
- /* readonly */
- int weakRefs;
- };
- class XPathQuery
- {
- // Methods:
- void Bind();
- void Clear();
- XPathResultSet Evaluate(XMLElement);
- bool EvaluateToBool(XMLElement);
- float EvaluateToFloat(XMLElement);
- String EvaluateToString(XMLElement);
- bool SetQuery(const String&, const String& = String ( ), bool = true);
- bool SetVariable(const String&, bool);
- bool SetVariable(const String&, const String&);
- bool SetVariable(const String&, const XPathResultSet&);
- bool SetVariable(const String&, float);
- // Properties:
- String query;
- };
- class XPathResultSet
- {
- // Properties:
- /* readonly */
- bool empty;
- /* readonly */
- XMLElement firstResult;
- /* readonly */
- uint size;
- };
- class Zone
- {
- // Methods:
- void ApplyAttributes();
- void DrawDebugGeometry(DebugRenderer, bool);
- Variant GetAttribute(const String&) const;
- ValueAnimation GetAttributeAnimation(const String&) const;
- float GetAttributeAnimationSpeed(const String&) const;
- WrapMode GetAttributeAnimationWrapMode(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool IsInView(Camera) const;
- bool Load(File, bool = false);
- bool LoadXML(const XMLElement&, bool = false);
- void MarkNetworkUpdate() const;
- void Remove();
- void RemoveInstanceDefault();
- void ResetToDefault();
- bool Save(File) const;
- bool SaveXML(XMLElement&) const;
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetAttribute(const String&, const Variant&);
- void SetAttributeAnimation(const String&, ValueAnimation, WrapMode = WM_LOOP, float = 1.0f);
- void SetAttributeAnimationSpeed(const String&, float);
- void SetAttributeAnimationWrapMode(const String&, WrapMode);
- // Properties:
- Color ambientColor;
- /* readonly */
- Color ambientEndColor;
- bool ambientGradient;
- /* readonly */
- Color ambientStartColor;
- bool animationEnabled;
- /* readonly */
- Array<Variant> attributeDefaults;
- /* readonly */
- Array<AttributeInfo> attributeInfos;
- Array<Variant> attributes;
- /* readonly */
- ShortStringHash baseType;
- BoundingBox boundingBox;
- bool castShadows;
- /* readonly */
- String category;
- float drawDistance;
- bool enabled;
- /* readonly */
- bool enabledEffective;
- Color fogColor;
- float fogEnd;
- float fogHeight;
- float fogHeightScale;
- float fogStart;
- bool heightFog;
- /* readonly */
- uint id;
- /* readonly */
- bool inView;
- /* readonly */
- Matrix3x4 inverseWorldTransform;
- uint lightMask;
- float lodBias;
- uint maxLights;
- /* readonly */
- Node node;
- /* readonly */
- uint numAttributes;
- ObjectAnimation objectAnimation;
- bool occludee;
- bool occluder;
- bool override;
- int priority;
- /* readonly */
- int refs;
- float shadowDistance;
- uint shadowMask;
- bool temporary;
- /* readonly */
- ShortStringHash type;
- /* readonly */
- String typeName;
- uint viewMask;
- /* readonly */
- int weakRefs;
- /* readonly */
- BoundingBox worldBoundingBox;
- uint zoneMask;
- };
- // Enumerations
- enum BlendMode
- {
- BLEND_REPLACE,
- BLEND_ADD,
- BLEND_MULTIPLY,
- BLEND_ALPHA,
- BLEND_ADDALPHA,
- BLEND_PREMULALPHA,
- BLEND_INVDESTALPHA,
- BLEND_SUBTRACT,
- BLEND_SUBTRACTALPHA,
- };
- enum BodyType2D
- {
- BT_STATIC,
- BT_DYNAMIC,
- BT_KINEMATIC,
- };
- enum CollisionEventMode
- {
- COLLISION_NEVER,
- COLLISION_ACTIVE,
- COLLISION_ALWAYS,
- };
- enum CompareMode
- {
- CMP_ALWAYS,
- CMP_EQUAL,
- CMP_NOTEQUAL,
- CMP_LESS,
- CMP_LESSEQUAL,
- CMP_GREATER,
- CMP_GREATEREQUAL,
- };
- enum ConstraintType
- {
- CONSTRAINT_POINT,
- CONSTRAINT_HINGE,
- CONSTRAINT_SLIDER,
- CONSTRAINT_CONETWIST,
- };
- enum Corner
- {
- C_TOPLEFT,
- C_TOPRIGHT,
- C_BOTTOMLEFT,
- C_BOTTOMRIGHT,
- };
- enum CreateMode
- {
- REPLICATED,
- LOCAL,
- };
- enum CubeMapFace
- {
- FACE_POSITIVE_X,
- FACE_NEGATIVE_X,
- FACE_POSITIVE_Y,
- FACE_NEGATIVE_Y,
- FACE_POSITIVE_Z,
- FACE_NEGATIVE_Z,
- };
- enum CullMode
- {
- CULL_NONE,
- CULL_CCW,
- CULL_CW,
- };
- enum CursorShape
- {
- CS_NORMAL,
- CS_RESIZEVERTICAL,
- CS_RESIZEDIAGONAL_TOPRIGHT,
- CS_RESIZEHORIZONTAL,
- CS_RESIZEDIAGONAL_TOPLEFT,
- CS_ACCEPTDROP,
- CS_REJECTDROP,
- CS_BUSY,
- };
- enum CycleMode
- {
- CM_LOOP,
- CM_CLAMP,
- CM_PINGPONG,
- };
- enum DumpMode
- {
- DOXYGEN,
- C_HEADER,
- };
- enum EmitterType
- {
- EMITTER_SPHERE,
- EMITTER_BOX,
- };
- enum EmitterType2D
- {
- EMITTER_TYPE_GRAVITY,
- EMITTER_TYPE_RADIAL,
- };
- enum FaceCameraMode
- {
- FC_NONE,
- FC_ROTATE_XYZ,
- FC_ROTATE_Y,
- FC_LOOKAT_XYZ,
- FC_LOOKAT_Y,
- };
- enum FileMode
- {
- FILE_READ,
- FILE_WRITE,
- FILE_READWRITE,
- };
- enum FillMode
- {
- FILL_SOLID,
- FILL_WIREFRAME,
- FILL_POINT,
- };
- enum FocusMode
- {
- FM_NOTFOCUSABLE,
- FM_RESETFOCUS,
- FM_FOCUSABLE,
- FM_FOCUSABLE_DEFOCUSABLE,
- };
- enum HighlightMode
- {
- HM_NEVER,
- HM_FOCUS,
- HM_ALWAYS,
- };
- enum HorizontalAlignment
- {
- HA_LEFT,
- HA_CENTER,
- HA_RIGHT,
- };
- enum HttpRequestState
- {
- HTTP_INITIALIZING,
- HTTP_ERROR,
- HTTP_OPEN,
- HTTP_CLOSED,
- };
- enum InterpMethod
- {
- IM_LINEAR,
- IM_SPLINE,
- };
- enum InterpolationMode
- {
- BEZIER_CURVE,
- };
- enum Intersection
- {
- OUTSIDE,
- INTERSECTS,
- INSIDE,
- };
- enum JSONValueType
- {
- JSON_ANY,
- JSON_OBJECT,
- JSON_ARRAY,
- };
- enum LayoutMode
- {
- LM_FREE,
- LM_HORIZONTAL,
- LM_VERTICAL,
- };
- enum LightType
- {
- LIGHT_DIRECTIONAL,
- LIGHT_SPOT,
- LIGHT_POINT,
- };
- enum Orientation
- {
- O_HORIZONTAL,
- O_VERTICAL,
- };
- enum PassLightingMode
- {
- LIGHTING_UNLIT,
- LIGHTING_PERVERTEX,
- LIGHTING_PERPIXEL,
- };
- enum PrimitiveType
- {
- TRIANGLE_LIST,
- LINE_LIST,
- };
- enum RayQueryLevel
- {
- RAY_AABB,
- RAY_OBB,
- RAY_TRIANGLE,
- };
- enum RenderCommandSortMode
- {
- SORT_FRONTTOBACK,
- SORT_BACKTOFRONT,
- };
- enum RenderCommandType
- {
- CMD_NONE,
- CMD_CLEAR,
- CMD_SCENEPASS,
- CMD_QUAD,
- CMD_FORWARDLIGHTS,
- CMD_LIGHTVOLUMES,
- };
- enum RenderSurfaceUpdateMode
- {
- SURFACE_MANUALUPDATE,
- SURFACE_UPDATEVISIBLE,
- SURFACE_UPDATEALWAYS,
- };
- enum RenderTargetSizeMode
- {
- SIZE_ABSOLUTE,
- SIZE_VIEWPORTDIVISOR,
- SIZE_VIEWPORTMULTIPLIER,
- };
- enum ShapeType
- {
- SHAPE_BOX,
- SHAPE_SPHERE,
- SHAPE_STATICPLANE,
- SHAPE_CYLINDER,
- SHAPE_CAPSULE,
- SHAPE_CONE,
- SHAPE_TRIANGLEMESH,
- SHAPE_CONVEXHULL,
- SHAPE_TERRAIN,
- };
- enum SoundType
- {
- SOUND_EFFECT,
- SOUND_AMBIENT,
- SOUND_VOICE,
- SOUND_MUSIC,
- SOUND_MASTER,
- };
- enum TextEffect
- {
- TE_NONE,
- TE_SHADOW,
- TE_STROKE,
- };
- enum TextureAddressMode
- {
- ADDRESS_WRAP,
- ADDRESS_MIRROR,
- ADDRESS_CLAMP,
- ADDRESS_BORDER,
- };
- enum TextureCoordinate
- {
- COORD_U,
- COORD_V,
- COORD_W,
- };
- enum TextureFilterMode
- {
- FILTER_NEAREST,
- FILTER_BILINEAR,
- FILTER_TRILINEAR,
- FILTER_ANISOTROPIC,
- FILTER_DEFAULT,
- };
- enum TextureUnit
- {
- TU_DIFFUSE,
- TU_NORMAL,
- TU_SPECULAR,
- TU_EMISSIVE,
- TU_ENVIRONMENT,
- TU_LIGHTRAMP,
- TU_LIGHTSHAPE,
- TU_SHADOWMAP,
- TU_FACESELECT,
- TU_INDIRECTION,
- TU_ALBEDOBUFFER,
- TU_NORMALBUFFER,
- TU_DEPTHBUFFER,
- TU_LIGHTBUFFER,
- TU_VOLUMEMAP,
- MAX_MATERIAL_TEXTURE_UNITS,
- MAX_TEXTURE_UNITS,
- };
- enum TextureUsage
- {
- TEXTURE_STATIC,
- TEXTURE_DYNAMIC,
- TEXTURE_RENDERTARGET,
- TEXTURE_DEPTHSTENCIL,
- };
- enum TransformSpace
- {
- TS_LOCAL,
- TS_PARENT,
- TS_WORLD,
- };
- enum TraversalMode
- {
- TM_BREADTH_FIRST,
- TM_DEPTH_FIRST,
- };
- enum VariantType
- {
- VAR_NONE,
- VAR_INT,
- VAR_BOOL,
- VAR_FLOAT,
- VAR_VECTOR2,
- VAR_VECTOR3,
- VAR_VECTOR4,
- VAR_QUATERNION,
- VAR_COLOR,
- VAR_STRING,
- VAR_BUFFER,
- VAR_VOIDPTR,
- VAR_RESOURCEREF,
- VAR_RESOURCEREFLIST,
- VAR_VARIANTVECTOR,
- VAR_VARIANTMAP,
- VAR_INTRECT,
- VAR_INTVECTOR2,
- VAR_PTR,
- VAR_MATRIX3,
- VAR_MATRIX3X4,
- VAR_MATRIX4,
- };
- enum VerticalAlignment
- {
- VA_TOP,
- VA_CENTER,
- VA_BOTTOM,
- };
- enum WrapMode
- {
- WM_LOOP,
- WM_ONCE,
- WM_CLAMP,
- };
- // Global functions
- float Abs(float);
- float Acos(float);
- String AddTrailingSlash(const String&);
- float Asin(float);
- float Atan(float);
- float Atan2(float, float);
- float Ceil(float);
- float Clamp(float, float, float);
- int Clamp(int, int, int);
- void ClearDelayedExecute(const String& = String ( ));
- float Cos(float);
- void DelayedExecute(float, bool, const String&);
- void DelayedExecute(float, bool, const String&, const Array<Variant>);
- bool Equals(float, float);
- void ErrorDialog(const String&, const String&);
- float Floor(float);
- uint GetAlphaFormat();
- Array<String> GetArguments();
- String GetConsoleInput();
- uint GetDepthStencilFormat();
- Object GetEventSender();
- String GetExtension(const String&, bool = true);
- String GetFileName(const String&);
- String GetFileNameAndExtension(const String&, bool = false);
- uint GetFloat16Format();
- uint GetFloat32Format();
- uint GetFormat(const String&);
- String GetInternalPath(const String&);
- uint GetLuminanceAlphaFormat();
- uint GetLuminanceFormat();
- uint GetNumLogicalCPUs();
- uint GetNumPhysicalCPUs();
- Array<String> GetObjectCategories();
- Array<String> GetObjectsByCategory(const String&);
- String GetParentPath(const String&);
- String GetPath(const String&);
- String GetPlatform();
- uint GetRG16Format();
- uint GetRGBA16Format();
- uint GetRGBAFloat16Format();
- uint GetRGBAFloat32Format();
- uint GetRGBAFormat();
- uint GetRGBFormat();
- uint GetRGFloat16Format();
- uint GetRGFloat32Format();
- uint GetRandomSeed();
- String GetTextureUnitName(TextureUnit);
- bool IsAbsolutePath(const String&);
- bool IsAlpha(uint);
- bool IsDigit(uint);
- bool IsNaN(float);
- bool IsPowerOfTwo(uint);
- String Join(Array<String>&, const String&);
- float Lerp(float, float, float);
- void MarkNetworkUpdate();
- float Max(float, float);
- int Max(int, int);
- float Min(float, float);
- int Min(int, int);
- float Mod(float, float);
- uint NextPowerOfTwo(uint);
- void OpenConsoleWindow();
- float Pow(float, float);
- void Print(bool, bool = false);
- void Print(const String&, bool = false);
- void Print(const Variant&, bool = false);
- void Print(float, bool = false);
- void Print(int, bool = false);
- void Print(uint, bool = false);
- void PrintCallStack(bool = false);
- float Random();
- float Random(float);
- float Random(float, float);
- int RandomInt();
- int RandomInt(int);
- int RandomInt(int, int);
- float RandomNormal(float, float);
- void Remove();
- String RemoveTrailingSlash(const String&);
- String ReplaceExtension(const String&, const String&);
- uint SDBMHash(uint, uint8);
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetRandomSeed(uint);
- float Sign(float);
- float Sin(float);
- float SmoothStep(float, float, float);
- float Sqrt(float);
- const String& GetTypeName(ShortStringHash);
- void SubscribeToEvent(Object, const String&, const String&);
- void SubscribeToEvent(const String&, const String&);
- float Tan(float);
- uint ToLower(uint);
- String ToStringHex(int);
- uint ToUpper(uint);
- void UnsubscribeFromAllEvents();
- void UnsubscribeFromAllEventsExcept(Array<String>);
- void UnsubscribeFromEvent(Object, const String&);
- void UnsubscribeFromEvent(const String&);
- void UnsubscribeFromEvents(Object);
- // Global properties
- Audio audio;
- ResourceCache cache;
- Console console;
- DebugHud debugHud;
- DebugRenderer debugRenderer;
- Engine engine;
- FileSystem fileSystem;
- Graphics graphics;
- Input input;
- Log log;
- Network network;
- Node node;
- Octree octree;
- PhysicsWorld physicsWorld;
- PhysicsWorld2D physicsWorld2D;
- Renderer renderer;
- ResourceCache resourceCache;
- Scene scene;
- Script script;
- ScriptFile scriptFile;
- ScriptInstance self;
- Time time;
- UI ui;
- // Global constants
- uint AM_COMPONENTID;
- uint AM_DEFAULT;
- uint AM_FILE;
- uint AM_LATESTDATA;
- uint AM_NET;
- uint AM_NODEID;
- uint AM_NODEIDVECTOR;
- uint AM_NOEDIT;
- Color BLACK;
- Color BLUE;
- int CONTROLLER_AXIS_LEFTX;
- int CONTROLLER_AXIS_LEFTY;
- int CONTROLLER_AXIS_RIGHTX;
- int CONTROLLER_AXIS_RIGHTY;
- int CONTROLLER_AXIS_TRIGGERLEFT;
- int CONTROLLER_AXIS_TRIGGERRIGHT;
- int CONTROLLER_BUTTON_A;
- int CONTROLLER_BUTTON_B;
- int CONTROLLER_BUTTON_BACK;
- int CONTROLLER_BUTTON_DPAD_DOWN;
- int CONTROLLER_BUTTON_DPAD_LEFT;
- int CONTROLLER_BUTTON_DPAD_RIGHT;
- int CONTROLLER_BUTTON_DPAD_UP;
- int CONTROLLER_BUTTON_GUIDE;
- int CONTROLLER_BUTTON_LEFTSHOULDER;
- int CONTROLLER_BUTTON_LEFTSTICK;
- int CONTROLLER_BUTTON_RIGHTSHOULDER;
- int CONTROLLER_BUTTON_RIGHTSTICK;
- int CONTROLLER_BUTTON_START;
- int CONTROLLER_BUTTON_X;
- int CONTROLLER_BUTTON_Y;
- Color CYAN;
- uint DD_DISABLED;
- uint DD_SOURCE;
- uint DD_SOURCE_AND_TARGET;
- uint DD_TARGET;
- uint DEBUGHUD_SHOW_ALL;
- uint DEBUGHUD_SHOW_MODE;
- uint DEBUGHUD_SHOW_NONE;
- uint DEBUGHUD_SHOW_PROFILER;
- uint DEBUGHUD_SHOW_STATS;
- uint DEFAULT_LIGHTMASK;
- uint DEFAULT_VIEWMASK;
- uint DRAWABLE_ANY;
- uint DRAWABLE_GEOMETRY;
- uint DRAWABLE_LIGHT;
- uint DRAWABLE_ZONE;
- uint FIRST_LOCAL_ID;
- uint FIRST_REPLICATED_ID;
- Color GRAY;
- Color GREEN;
- int HAT_CENTER;
- int HAT_DOWN;
- int HAT_LEFT;
- int HAT_RIGHT;
- int HAT_UP;
- int KEY_0;
- int KEY_1;
- int KEY_2;
- int KEY_3;
- int KEY_4;
- int KEY_5;
- int KEY_6;
- int KEY_7;
- int KEY_8;
- int KEY_9;
- int KEY_A;
- int KEY_ALT;
- int KEY_APPLICATION;
- int KEY_B;
- int KEY_BACKSPACE;
- int KEY_C;
- int KEY_CAPSLOCK;
- int KEY_CTRL;
- int KEY_D;
- int KEY_DELETE;
- int KEY_DOWN;
- int KEY_E;
- int KEY_END;
- int KEY_ESC;
- int KEY_F;
- int KEY_F1;
- int KEY_F10;
- int KEY_F11;
- int KEY_F12;
- int KEY_F13;
- int KEY_F14;
- int KEY_F15;
- int KEY_F16;
- int KEY_F17;
- int KEY_F18;
- int KEY_F19;
- int KEY_F2;
- int KEY_F20;
- int KEY_F21;
- int KEY_F22;
- int KEY_F23;
- int KEY_F24;
- int KEY_F3;
- int KEY_F4;
- int KEY_F5;
- int KEY_F6;
- int KEY_F7;
- int KEY_F8;
- int KEY_F9;
- int KEY_G;
- int KEY_GUI;
- int KEY_H;
- int KEY_HOME;
- int KEY_I;
- int KEY_INSERT;
- int KEY_J;
- int KEY_K;
- int KEY_KP_0;
- int KEY_KP_1;
- int KEY_KP_2;
- int KEY_KP_3;
- int KEY_KP_4;
- int KEY_KP_5;
- int KEY_KP_6;
- int KEY_KP_7;
- int KEY_KP_8;
- int KEY_KP_9;
- int KEY_KP_DIVIDE;
- int KEY_KP_ENTER;
- int KEY_KP_MINUS;
- int KEY_KP_MULTIPLY;
- int KEY_KP_PERIOD;
- int KEY_KP_PLUS;
- int KEY_L;
- int KEY_LALT;
- int KEY_LCTRL;
- int KEY_LEFT;
- int KEY_LGUI;
- int KEY_LSHIFT;
- int KEY_M;
- int KEY_N;
- int KEY_NUMLOCKCLEAR;
- int KEY_O;
- int KEY_P;
- int KEY_PAGEDOWN;
- int KEY_PAGEUP;
- int KEY_PAUSE;
- int KEY_PRINTSCREEN;
- int KEY_Q;
- int KEY_R;
- int KEY_RALT;
- int KEY_RCTRL;
- int KEY_RETURN;
- int KEY_RETURN2;
- int KEY_RGUI;
- int KEY_RIGHT;
- int KEY_RSHIFT;
- int KEY_S;
- int KEY_SCROLLLOCK;
- int KEY_SELECT;
- int KEY_SHIFT;
- int KEY_SPACE;
- int KEY_T;
- int KEY_TAB;
- int KEY_U;
- int KEY_UP;
- int KEY_V;
- int KEY_W;
- int KEY_X;
- int KEY_Y;
- int KEY_Z;
- uint LAST_LOCAL_ID;
- uint LAST_REPLICATED_ID;
- int LOG_DEBUG;
- int LOG_ERROR;
- int LOG_INFO;
- int LOG_NONE;
- int LOG_WARNING;
- Color MAGENTA;
- int MOUSEB_LEFT;
- int MOUSEB_MIDDLE;
- int MOUSEB_RIGHT;
- float M_DEGTORAD;
- float M_DEGTORAD_2;
- float M_EPSILON;
- float M_HALF_PI;
- float M_INFINITY;
- float M_LARGE_EPSILON;
- float M_LARGE_VALUE;
- int M_MAX_INT;
- uint M_MAX_UNSIGNED;
- int M_MIN_INT;
- uint M_MIN_UNSIGNED;
- float M_PI;
- float M_RADTODEG;
- float PIXEL_SIZE;
- int QUALITY_HIGH;
- int QUALITY_LOW;
- int QUALITY_MAX;
- int QUALITY_MEDIUM;
- int QUAL_ALT;
- int QUAL_ANY;
- int QUAL_CTRL;
- int QUAL_SHIFT;
- Color RED;
- int SCANCODE_0;
- int SCANCODE_1;
- int SCANCODE_2;
- int SCANCODE_3;
- int SCANCODE_4;
- int SCANCODE_5;
- int SCANCODE_6;
- int SCANCODE_7;
- int SCANCODE_8;
- int SCANCODE_9;
- int SCANCODE_A;
- int SCANCODE_AC_BACK;
- int SCANCODE_AC_BOOKMARKS;
- int SCANCODE_AC_FORWARD;
- int SCANCODE_AC_HOME;
- int SCANCODE_AC_REFRESH;
- int SCANCODE_AC_SEARCH;
- int SCANCODE_AC_STOP;
- int SCANCODE_AGAIN;
- int SCANCODE_ALT;
- int SCANCODE_ALTERASE;
- int SCANCODE_APOSTROPHE;
- int SCANCODE_APP1;
- int SCANCODE_APP2;
- int SCANCODE_APPLICATION;
- int SCANCODE_AUDIOMUTE;
- int SCANCODE_AUDIONEXT;
- int SCANCODE_AUDIOPLAY;
- int SCANCODE_AUDIOPREV;
- int SCANCODE_AUDIOSTOP;
- int SCANCODE_B;
- int SCANCODE_BACKSLASH;
- int SCANCODE_BACKSPACE;
- int SCANCODE_BRIGHTNESSDOWN;
- int SCANCODE_BRIGHTNESSUP;
- int SCANCODE_C;
- int SCANCODE_CALCULATOR;
- int SCANCODE_CANCEL;
- int SCANCODE_CAPSLOCK;
- int SCANCODE_CLEAR;
- int SCANCODE_CLEARAGAIN;
- int SCANCODE_COMMA;
- int SCANCODE_COMPUTER;
- int SCANCODE_COPY;
- int SCANCODE_CRSEL;
- int SCANCODE_CTRL;
- int SCANCODE_CURRENCYSUBUNIT;
- int SCANCODE_CURRENCYUNIT;
- int SCANCODE_CUT;
- int SCANCODE_D;
- int SCANCODE_DECIMALSEPARATOR;
- int SCANCODE_DELETE;
- int SCANCODE_DISPLAYSWITCH;
- int SCANCODE_DOWN;
- int SCANCODE_E;
- int SCANCODE_EJECT;
- int SCANCODE_END;
- int SCANCODE_EQUALS;
- int SCANCODE_ESCAPE;
- int SCANCODE_EXECUTE;
- int SCANCODE_EXSEL;
- int SCANCODE_F;
- int SCANCODE_F1;
- int SCANCODE_F10;
- int SCANCODE_F11;
- int SCANCODE_F12;
- int SCANCODE_F13;
- int SCANCODE_F14;
- int SCANCODE_F15;
- int SCANCODE_F16;
- int SCANCODE_F17;
- int SCANCODE_F18;
- int SCANCODE_F19;
- int SCANCODE_F2;
- int SCANCODE_F20;
- int SCANCODE_F21;
- int SCANCODE_F22;
- int SCANCODE_F23;
- int SCANCODE_F24;
- int SCANCODE_F3;
- int SCANCODE_F4;
- int SCANCODE_F5;
- int SCANCODE_F6;
- int SCANCODE_F7;
- int SCANCODE_F8;
- int SCANCODE_F9;
- int SCANCODE_FIND;
- int SCANCODE_G;
- int SCANCODE_GRAVE;
- int SCANCODE_GUI;
- int SCANCODE_H;
- int SCANCODE_HELP;
- int SCANCODE_HOME;
- int SCANCODE_I;
- int SCANCODE_INSERT;
- int SCANCODE_INTERNATIONAL1;
- int SCANCODE_INTERNATIONAL2;
- int SCANCODE_INTERNATIONAL3;
- int SCANCODE_INTERNATIONAL4;
- int SCANCODE_INTERNATIONAL5;
- int SCANCODE_INTERNATIONAL6;
- int SCANCODE_INTERNATIONAL7;
- int SCANCODE_INTERNATIONAL8;
- int SCANCODE_INTERNATIONAL9;
- int SCANCODE_J;
- int SCANCODE_K;
- int SCANCODE_KBDILLUMDOWN;
- int SCANCODE_KBDILLUMTOGGLE;
- int SCANCODE_KBDILLUMUP;
- int SCANCODE_KP_0;
- int SCANCODE_KP_00;
- int SCANCODE_KP_000;
- int SCANCODE_KP_1;
- int SCANCODE_KP_2;
- int SCANCODE_KP_3;
- int SCANCODE_KP_4;
- int SCANCODE_KP_5;
- int SCANCODE_KP_6;
- int SCANCODE_KP_7;
- int SCANCODE_KP_8;
- int SCANCODE_KP_9;
- int SCANCODE_KP_A;
- int SCANCODE_KP_AMPERSAND;
- int SCANCODE_KP_AT;
- int SCANCODE_KP_B;
- int SCANCODE_KP_BACKSPACE;
- int SCANCODE_KP_BINARY;
- int SCANCODE_KP_C;
- int SCANCODE_KP_CLEAR;
- int SCANCODE_KP_CLEARENTRY;
- int SCANCODE_KP_COLON;
- int SCANCODE_KP_COMMA;
- int SCANCODE_KP_D;
- int SCANCODE_KP_DBLAMPERSAND;
- int SCANCODE_KP_DBLVERTICALBAR;
- int SCANCODE_KP_DECIMAL;
- int SCANCODE_KP_DIVIDE;
- int SCANCODE_KP_E;
- int SCANCODE_KP_ENTER;
- int SCANCODE_KP_EQUALS;
- int SCANCODE_KP_EQUALSAS400;
- int SCANCODE_KP_EXCLAM;
- int SCANCODE_KP_F;
- int SCANCODE_KP_GREATER;
- int SCANCODE_KP_HASH;
- int SCANCODE_KP_HEXADECIMAL;
- int SCANCODE_KP_LEFTBRACE;
- int SCANCODE_KP_LEFTPAREN;
- int SCANCODE_KP_LESS;
- int SCANCODE_KP_MEMADD;
- int SCANCODE_KP_MEMCLEAR;
- int SCANCODE_KP_MEMDIVIDE;
- int SCANCODE_KP_MEMMULTIPLY;
- int SCANCODE_KP_MEMRECALL;
- int SCANCODE_KP_MEMSTORE;
- int SCANCODE_KP_MEMSUBTRACT;
- int SCANCODE_KP_MINUS;
- int SCANCODE_KP_MULTIPLY;
- int SCANCODE_KP_OCTAL;
- int SCANCODE_KP_PERCENT;
- int SCANCODE_KP_PERIOD;
- int SCANCODE_KP_PLUS;
- int SCANCODE_KP_PLUSMINUS;
- int SCANCODE_KP_POWER;
- int SCANCODE_KP_RIGHTBRACE;
- int SCANCODE_KP_RIGHTPAREN;
- int SCANCODE_KP_SPACE;
- int SCANCODE_KP_TAB;
- int SCANCODE_KP_VERTICALBAR;
- int SCANCODE_KP_XOR;
- int SCANCODE_L;
- int SCANCODE_LALT;
- int SCANCODE_LANG1;
- int SCANCODE_LANG2;
- int SCANCODE_LANG3;
- int SCANCODE_LANG4;
- int SCANCODE_LANG5;
- int SCANCODE_LANG6;
- int SCANCODE_LANG7;
- int SCANCODE_LANG8;
- int SCANCODE_LANG9;
- int SCANCODE_LCTRL;
- int SCANCODE_LEFT;
- int SCANCODE_LEFTBRACKET;
- int SCANCODE_LGUI;
- int SCANCODE_LSHIFT;
- int SCANCODE_M;
- int SCANCODE_MAIL;
- int SCANCODE_MEDIASELECT;
- int SCANCODE_MENU;
- int SCANCODE_MINUS;
- int SCANCODE_MODE;
- int SCANCODE_MUTE;
- int SCANCODE_N;
- int SCANCODE_NONUSBACKSLASH;
- int SCANCODE_NONUSHASH;
- int SCANCODE_NUMLOCKCLEAR;
- int SCANCODE_O;
- int SCANCODE_OPER;
- int SCANCODE_OUT;
- int SCANCODE_P;
- int SCANCODE_PAGEDOWN;
- int SCANCODE_PAGEUP;
- int SCANCODE_PASTE;
- int SCANCODE_PAUSE;
- int SCANCODE_PERIOD;
- int SCANCODE_POWER;
- int SCANCODE_PRINTSCREEN;
- int SCANCODE_PRIOR;
- int SCANCODE_Q;
- int SCANCODE_R;
- int SCANCODE_RALT;
- int SCANCODE_RCTRL;
- int SCANCODE_RETURN;
- int SCANCODE_RETURN2;
- int SCANCODE_RGUI;
- int SCANCODE_RIGHT;
- int SCANCODE_RIGHTBRACKET;
- int SCANCODE_RSHIFT;
- int SCANCODE_S;
- int SCANCODE_SCROLLLOCK;
- int SCANCODE_SELECT;
- int SCANCODE_SEMICOLON;
- int SCANCODE_SEPARATOR;
- int SCANCODE_SHIFT;
- int SCANCODE_SLASH;
- int SCANCODE_SLEEP;
- int SCANCODE_SPACE;
- int SCANCODE_STOP;
- int SCANCODE_SYSREQ;
- int SCANCODE_T;
- int SCANCODE_TAB;
- int SCANCODE_THOUSANDSSEPARATOR;
- int SCANCODE_U;
- int SCANCODE_UNDO;
- int SCANCODE_UNKNOWN;
- int SCANCODE_UP;
- int SCANCODE_V;
- int SCANCODE_VOLUMEDOWN;
- int SCANCODE_VOLUMEUP;
- int SCANCODE_W;
- int SCANCODE_WWW;
- int SCANCODE_X;
- int SCANCODE_Y;
- int SCANCODE_Z;
- uint SCAN_DIRS;
- uint SCAN_FILES;
- uint SCAN_HIDDEN;
- int SHADOWQUALITY_HIGH_16BIT;
- int SHADOWQUALITY_HIGH_24BIT;
- int SHADOWQUALITY_LOW_16BIT;
- int SHADOWQUALITY_LOW_24BIT;
- Color TRANSPARENT;
- uint VO_DISABLE_OCCLUSION;
- uint VO_DISABLE_SHADOWS;
- uint VO_LOW_MATERIAL_QUALITY;
- uint VO_NONE;
- Color WHITE;
- Color YELLOW;
|