| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959 |
- // 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
- // Enumerations
- enum Intersection
- {
- OUTSIDE,
- INTERSECTS,
- INSIDE,
- };
- 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_PTR,
- VAR_RESOURCEREF,
- VAR_RESOURCEREFLIST,
- VAR_VARIANTVECTOR,
- VAR_VARIANTMAP,
- VAR_INTRECT,
- VAR_INTVECTOR2,
- };
- enum FileMode
- {
- FILE_READ,
- FILE_WRITE,
- FILE_READWRITE,
- };
- enum CreateMode
- {
- REPLICATED,
- LOCAL,
- };
- enum InterpolationMode
- {
- BEZIER_CURVE,
- };
- enum FillMode
- {
- FILL_SOLID,
- FILL_WIREFRAME,
- FILL_POINT,
- };
- enum RenderCommandType
- {
- CMD_NONE,
- CMD_CLEAR,
- CMD_SCENEPASS,
- CMD_QUAD,
- CMD_FORWARDLIGHTS,
- CMD_LIGHTVOLUMES,
- };
- enum RenderCommandSortMode
- {
- SORT_FRONTTOBACK,
- SORT_BACKTOFRONT,
- };
- enum RenderTargetSizeMode
- {
- SIZE_ABSOLUTE,
- SIZE_RENDERTARGETDIVISOR,
- SIZE_VIEWPORTDIVISOR,
- };
- 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 TextureFilterMode
- {
- FILTER_NEAREST,
- FILTER_BILINEAR,
- FILTER_TRILINEAR,
- FILTER_ANISOTROPIC,
- FILTER_DEFAULT,
- };
- enum TextureAddressMode
- {
- ADDRESS_WRAP,
- ADDRESS_MIRROR,
- ADDRESS_CLAMP,
- ADDRESS_BORDER,
- };
- enum TextureCoordinate
- {
- COORD_U,
- COORD_V,
- COORD_W,
- };
- enum CubeMapFace
- {
- FACE_POSITIVE_X,
- FACE_NEGATIVE_X,
- FACE_POSITIVE_Y,
- FACE_NEGATIVE_Y,
- FACE_POSITIVE_Z,
- FACE_NEGATIVE_Z,
- };
- enum RenderSurfaceUpdateMode
- {
- SURFACE_MANUALUPDATE,
- SURFACE_UPDATEVISIBLE,
- SURFACE_UPDATEALWAYS,
- };
- enum BlendMode
- {
- BLEND_REPLACE,
- BLEND_ADD,
- BLEND_MULTIPLY,
- BLEND_ALPHA,
- BLEND_ADDALPHA,
- BLEND_PREMULALPHA,
- BLEND_INVDESTALPHA,
- };
- enum CompareMode
- {
- CMP_ALWAYS,
- CMP_EQUAL,
- CMP_NOTEQUAL,
- CMP_LESS,
- CMP_LESSEQUAL,
- CMP_GREATER,
- CMP_GREATEREQUAL,
- };
- enum CullMode
- {
- CULL_NONE,
- CULL_CCW,
- CULL_CW,
- };
- enum PassLightingMode
- {
- LIGHTING_UNLIT,
- LIGHTING_PERVERTEX,
- LIGHTING_PERPIXEL,
- };
- enum LightType
- {
- LIGHT_DIRECTIONAL,
- LIGHT_SPOT,
- LIGHT_POINT,
- };
- enum EmitterType
- {
- EMITTER_SPHERE,
- EMITTER_BOX,
- };
- enum PrimitiveType
- {
- TRIANGLE_LIST,
- LINE_LIST,
- };
- enum RayQueryLevel
- {
- RAY_AABB_NOSUBOBJECTS,
- RAY_AABB,
- RAY_OBB,
- RAY_TRIANGLE,
- };
- enum SoundType
- {
- SOUND_EFFECT,
- SOUND_AMBIENT,
- SOUND_VOICE,
- SOUND_MUSIC,
- SOUND_MASTER,
- };
- enum HorizontalAlignment
- {
- HA_LEFT,
- HA_CENTER,
- HA_RIGHT,
- };
- enum VerticalAlignment
- {
- VA_TOP,
- VA_CENTER,
- VA_BOTTOM,
- };
- enum Corner
- {
- C_TOPLEFT,
- C_TOPRIGHT,
- C_BOTTOMLEFT,
- C_BOTTOMRIGHT,
- };
- enum Orientation
- {
- O_HORIZONTAL,
- O_VERTICAL,
- };
- enum FocusMode
- {
- FM_NOTFOCUSABLE,
- FM_RESETFOCUS,
- FM_FOCUSABLE,
- FM_FOCUSABLE_DEFOCUSABLE,
- };
- enum LayoutMode
- {
- LM_FREE,
- LM_HORIZONTAL,
- LM_VERTICAL,
- };
- enum TraversalMode
- {
- TM_BREADTH_FIRST,
- TM_DEPTH_FIRST,
- };
- enum CursorShape
- {
- CS_NORMAL,
- CS_RESIZEVERTICAL,
- CS_RESIZEDIAGONAL_TOPRIGHT,
- CS_RESIZEHORIZONTAL,
- CS_RESIZEDIAGONAL_TOPLEFT,
- CS_ACCEPTDROP,
- CS_REJECTDROP,
- CS_BUSY,
- };
- enum HighlightMode
- {
- HM_NEVER,
- HM_FOCUS,
- HM_ALWAYS,
- };
- enum TextEffect
- {
- TE_NONE,
- TE_SHADOW,
- TE_STROKE,
- };
- enum HttpRequestState
- {
- HTTP_INITIALIZING,
- HTTP_ERROR,
- HTTP_OPEN,
- HTTP_CLOSED,
- };
- enum ShapeType
- {
- SHAPE_BOX,
- SHAPE_SPHERE,
- SHAPE_STATICPLANE,
- SHAPE_CYLINDER,
- SHAPE_CAPSULE,
- SHAPE_CONE,
- SHAPE_TRIANGLEMESH,
- SHAPE_CONVEXHULL,
- SHAPE_TERRAIN,
- };
- enum CollisionEventMode
- {
- COLLISION_NEVER,
- COLLISION_ACTIVE,
- COLLISION_ALWAYS,
- };
- enum ConstraintType
- {
- CONSTRAINT_POINT,
- CONSTRAINT_HINGE,
- CONSTRAINT_SLIDER,
- CONSTRAINT_CONETWIST,
- };
- enum DumpMode
- {
- DOXYGEN,
- C_HEADER,
- };
- // Classes
- template <class T> class Array
- {
- // Methods:
- void Insert(uint, const T&);
- void Erase(uint);
- void Push(const T&);
- void Pop();
- void Resize(uint);
- void Clear();
- void Sort();
- void Sort(uint, uint);
- void SortReverse();
- void SortReverse(uint, uint);
- void Reverse();
- int Find(const T&) const;
- int Find(uint, const T&) const;
- // Properties:
- uint length;
- /* (readonly) */
- bool empty;
- };
- class String
- {
- // Methods:
- void Replace(uint8, uint8, bool = true);
- void Replace(const String&, const String&, bool = true);
- String Replaced(uint8, uint8, bool = true) const;
- String Replaced(const String&, const String&, bool = true) const;
- void Resize(uint);
- 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;
- bool StartsWith(const String&, bool = true) const;
- bool EndsWith(const String&, bool = true) const;
- String Substring(uint) const;
- String Substring(uint, uint) const;
- String ToUpper() const;
- String ToLower() const;
- String Trimmed() const;
- void SetUTF8FromLatin1(const String&);
- uint ByteOffsetUTF8(uint) const;
- uint NextUTF8Char(uint&) const;
- uint AtUTF8(uint) const;
- void ReplaceUTF8(uint, uint);
- void AppendUTF8(uint);
- String SubstringUTF8(uint) const;
- String SubstringUTF8(uint, uint) const;
- int Compare(const String&, bool = true) const;
- bool Contains(const String&, bool = true) const;
- bool Contains(uint8, bool = true) const;
- void Clear();
- Array<String> Split(uint8) const;
- void Join(Array<String>&, const String&);
- bool ToBool() const;
- float ToFloat() const;
- int ToInt() const;
- uint ToUInt() const;
- Color ToColor() const;
- IntRect ToIntRect() const;
- IntVector2 ToIntVector2() const;
- Quaternion ToQuaternion() const;
- Vector2 ToVector2() const;
- Vector3 ToVector3() const;
- Vector4 ToVector4(bool = false) const;
- Variant ToVectorVariant() const;
- // Properties:
- /* (readonly) */
- uint utf8Length;
- /* (readonly) */
- uint length;
- /* (readonly) */
- bool empty;
- };
- class Dictionary
- {
- // Methods:
- void Set(const String&, void*);
- bool Get(const String&, void*) const;
- void Set(const String&, int64&);
- bool Get(const String&, int64&) const;
- void Set(const String&, double&);
- bool Get(const String&, double&) const;
- bool Exists(const String&) const;
- void Erase(const String&);
- void Clear();
- // Properties:
- /* (readonly) */
- bool empty;
- /* (readonly) */
- uint length;
- /* (readonly) */
- Array<String> keys;
- };
- class IntVector2
- {
- // Methods:
- String ToString() const;
- // Properties:
- /* (readonly) */
- Array<int> data;
- int x;
- int y;
- };
- class IntRect
- {
- // Methods:
- Intersection IsInside(const IntVector2&) const;
- // Properties:
- /* (readonly) */
- Array<int> data;
- /* (readonly) */
- IntVector2 size;
- /* (readonly) */
- int width;
- /* (readonly) */
- int height;
- int left;
- int top;
- int right;
- int bottom;
- };
- class Vector2
- {
- // Methods:
- void Normalize();
- float DotProduct(const Vector2&) const;
- float AbsDotProduct(const Vector2&) const;
- Vector2 Lerp(const Vector2&, float) const;
- bool Equals(const Vector2&) const;
- Vector2 Normalized() const;
- String ToString() const;
- // Properties:
- /* (readonly) */
- Array<float> data;
- /* (readonly) */
- float length;
- /* (readonly) */
- float lengthSquared;
- float x;
- float y;
- };
- class Vector3
- {
- // Methods:
- void Normalize();
- float DotProduct(const Vector3&) const;
- float AbsDotProduct(const Vector3&) const;
- Vector3 CrossProduct(const Vector3&) const;
- Vector3 Lerp(const Vector3&, float) const;
- bool Equals(const Vector3&) const;
- float Angle(const Vector3&) const;
- 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 DotProduct(const Vector4&) const;
- float AbsDotProduct(const Vector4&) const;
- Vector4 Lerp(const Vector4&, float) const;
- bool Equals(const Vector4&) const;
- String ToString() const;
- // Properties:
- /* (readonly) */
- Array<float> data;
- float x;
- float y;
- float z;
- float w;
- };
- class Quaternion
- {
- // Methods:
- void FromAngleAxis(float, const Vector3&);
- void FromEulerAngles(float, float, float);
- void FromRotationTo(const Vector3&, const Vector3&);
- void FromAxes(const Vector3&, const Vector3&, const Vector3&);
- void FromLookRotation(const Vector3&, const Vector3&);
- void Normalize();
- Quaternion Normalized() const;
- Quaternion Inverse() const;
- float DotProduct(const Quaternion&) const;
- Quaternion Slerp(Quaternion, float) const;
- Quaternion Nlerp(Quaternion, float, bool) const;
- bool Equals(const Quaternion&) const;
- String ToString() const;
- // Properties:
- /* (readonly) */
- Vector3 eulerAngles;
- /* (readonly) */
- float yaw;
- /* (readonly) */
- float pitch;
- /* (readonly) */
- float roll;
- float w;
- float x;
- float y;
- float z;
- };
- class Matrix3
- {
- // Methods:
- Vector3 Scale() const;
- Matrix3 Scaled(const Vector3&) const;
- void SetScale(const Vector3&);
- void SetScale(float);
- Matrix3 Transpose() const;
- Matrix3 Inverse() const;
- bool Equals(const Matrix3&) const;
- // Properties:
- float m00;
- float m01;
- float m02;
- float m10;
- float m11;
- float m12;
- float m20;
- float m21;
- float m22;
- };
- class Matrix4
- {
- // Methods:
- 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;
- Vector3 Translation() const;
- Matrix4 Transpose() const;
- void Decompose(Vector3&, Quaternion&, Vector3&) const;
- Matrix4 Inverse() const;
- bool Equals(const Matrix4&) 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 Matrix3x4
- {
- // Methods:
- 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;
- Vector3 Translation() const;
- void Decompose(Vector3&, Quaternion&, Vector3&) const;
- Matrix3x4 Inverse() const;
- bool Equals(const Matrix3x4&) 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 Rect
- {
- // Methods:
- void Define(const Vector2&, const Vector2&);
- void Define(const Vector2&);
- void Merge(const Vector2&);
- void Merge(const Rect&);
- void Clip(const Rect&);
- void Clear();
- bool Equals(const Rect&) const;
- Intersection IsInside(const Vector2&) const;
- Vector4 ToVector4() const;
- // Properties:
- /* (readonly) */
- Vector2 center;
- /* (readonly) */
- Vector2 size;
- /* (readonly) */
- Vector2 halfSize;
- Vector2 min;
- Vector2 max;
- float left;
- float top;
- float right;
- float bottom;
- bool defined;
- };
- class BoundingBox
- {
- // Methods:
- void Define(const Vector3&, const Vector3&);
- void Define(float, float);
- void Define(const Vector3&);
- void Define(const BoundingBox&);
- void Define(const Frustum&);
- void Define(const Polyhedron&);
- void Define(const Sphere&);
- void Merge(const Vector3&);
- void Merge(const BoundingBox&);
- void Merge(const Frustum&);
- void Merge(const Polyhedron&);
- void Merge(const Sphere&);
- void Clip(const BoundingBox&);
- void Clear();
- void Transform(const Matrix3&);
- void Transform(const Matrix3x4&);
- Intersection IsInside(const Vector3&) const;
- Intersection IsInside(const Sphere&) const;
- Intersection IsInside(const BoundingBox&) const;
- BoundingBox Transformed(const Matrix3&) const;
- BoundingBox Transformed(const Matrix3x4&) const;
- Rect Projected(const Matrix4&) const;
- String ToString() const;
- // Properties:
- /* (readonly) */
- Vector3 center;
- /* (readonly) */
- Vector3 size;
- /* (readonly) */
- Vector3 halfSize;
- Vector3 min;
- Vector3 max;
- bool defined;
- };
- class Frustum
- {
- // Methods:
- void Define(float, float, float, float, float, const Matrix3x4&);
- void Define(const Vector3&, const Vector3&, const Matrix3x4&);
- void Define(const BoundingBox&, const Matrix3x4&);
- void DefineOrtho(float, float, float, float, float, const Matrix3x4&);
- void Transform(const Matrix3&);
- void Transform(const Matrix3x4&);
- Intersection IsInside(const Vector3&);
- Intersection IsInside(const BoundingBox&);
- Intersection IsInside(const Sphere&);
- float Distance(const Vector3&) const;
- Frustum Transformed(const Matrix3&) const;
- Frustum Transformed(const Matrix3x4&) const;
- // Properties:
- /* (readonly) */
- Array<Vector3> vertices;
- };
- 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 Define(const BoundingBox&);
- void Define(const Frustum&);
- void Clip(const BoundingBox&);
- void Clip(const Frustum&);
- void Clear();
- void Transform(const Matrix3&);
- void Transform(const Matrix3x4&);
- Polyhedron Transformed(const Matrix3&) const;
- Polyhedron Transformed(const Matrix3x4&) const;
- // Properties:
- /* (readonly) */
- uint numFaces;
- /* (readonly) */
- Array<Array<Vector3>> face;
- };
- class Sphere
- {
- // Methods:
- void Define(const Vector3&, float);
- void Define(const BoundingBox&);
- void Define(const Frustum&);
- void Define(const Polyhedron&);
- void Define(const Sphere&);
- void Merge(const Vector3&);
- void Merge(const BoundingBox&);
- void Merge(const Frustum&);
- void Merge(const Sphere&);
- void Clear();
- Intersection IsInside(const Vector3&) const;
- Intersection IsInside(const Sphere&) const;
- Intersection IsInside(const BoundingBox&) const;
- float Distance(const Vector3&) const;
- // Properties:
- Vector3 center;
- float radius;
- bool defined;
- };
- class Plane
- {
- // Methods:
- void Define(const Vector3&, const Vector3&, const Vector3&);
- void Define(const Vector3&, const Vector3&);
- void Define(const Vector4&);
- void Transform(const Matrix3&);
- void Transform(const Matrix3x4&);
- void Transform(const Matrix4&);
- float Distance(const Vector3&) const;
- Vector3 Reflect(const Vector3&) const;
- Plane Transformed(const Matrix3&) const;
- Plane Transformed(const Matrix3x4&) const;
- Plane Transformed(const Matrix4&) const;
- Vector4 ToVector4() const;
- // Properties:
- /* (readonly) */
- Matrix3x4 reflectionMatrix;
- Vector3 normal;
- Vector3 absNormal;
- float d;
- };
- class Ray
- {
- // Methods:
- void Define(const Vector3&, const Vector3&);
- Vector3 Project(const Vector3&) const;
- float Distance(const Vector3&) const;
- Vector3 ClosestPoint(const Ray&) const;
- float HitDistance(const Sphere&) const;
- float HitDistance(const BoundingBox&) const;
- float HitDistance(const Frustum&, bool = true) const;
- float HitDistance(const Vector3&, const Vector3&, const Vector3&) const;
- Ray Transformed(const Matrix3x4&) const;
- // Properties:
- Vector3 origin;
- Vector3 direction;
- };
- class Color
- {
- // Methods:
- uint ToUInt() const;
- Vector3 ToHSL() const;
- Vector3 ToHSV() const;
- void FromHSL(float, float, float, float);
- void FromHSV(float, float, float, float);
- float SumRGB() const;
- float Average() const;
- float Luma() const;
- float Chroma() const;
- float Hue() const;
- float SaturationHSL() const;
- float SaturationHSV() const;
- float Value() const;
- float Lightness() const;
- float MaxRGB() const;
- float MinRGB() const;
- float Range() const;
- void Clip(bool);
- void Invert(bool);
- Color Lerp(const Color&, float) const;
- String ToString() const;
- // Properties:
- /* (readonly) */
- Array<float> data;
- /* (readonly) */
- Vector3 rgb;
- /* (readonly) */
- Vector4 rgba;
- float r;
- float g;
- float b;
- float a;
- };
- class StringHash
- {
- // Methods:
- String ToString() const;
- // Properties:
- /* (readonly) */
- uint value;
- };
- class ShortStringHash
- {
- // Methods:
- String ToString() const;
- // Properties:
- /* (readonly) */
- uint16 value;
- };
- class ResourceRef
- {
- // Properties:
- ShortStringHash type;
- String name;
- };
- class ResourceRefList
- {
- // Methods:
- void Resize(uint);
- // Properties:
- /* (readonly) */
- uint length;
- /* (readonly) */
- bool empty;
- Array<String> names;
- ShortStringHash type;
- };
- class Variant
- {
- // Methods:
- void Clear();
- int GetInt() const;
- uint GetUInt() const;
- StringHash GetStringHash() const;
- ShortStringHash GetShortStringHash() const;
- bool GetBool() const;
- float GetFloat() const;
- const Vector2& GetVector2() const;
- const Vector3& GetVector3() const;
- const Vector4& GetVector4() const;
- const Quaternion& GetQuaternion() const;
- const Color& GetColor() const;
- const String& GetString() const;
- const ResourceRef& GetResourceRef() const;
- const ResourceRefList& GetResourceRefList() const;
- Array<Variant> GetVariantVector() const;
- const VariantMap& GetVariantMap() const;
- const IntRect& GetIntRect() const;
- const IntVector2& GetIntVector2() const;
- void FromString(const String&, const String&);
- void FromString(VariantType, const String&);
- String ToString() const;
- VectorBuffer GetBuffer() const;
- Serializable GetSerializable() const;
- Node GetNode() const;
- Component GetComponent() const;
- Scene GetScene() const;
- Camera GetCamera() const;
- RenderSurface GetRenderSurface() const;
- Texture GetTexture() const;
- UIElement GetUIElement() const;
- Connection GetConnection() const;
- CollisionShape GetCollisionShape() const;
- RigidBody GetRigidBody() const;
- PhysicsWorld GetPhysicsWorld() const;
- // Properties:
- /* (readonly) */
- bool zero;
- /* (readonly) */
- bool empty;
- /* (readonly) */
- VariantType type;
- /* (readonly) */
- String typeName;
- };
- class VariantMap
- {
- // Methods:
- bool Contains(const String&) const;
- bool Erase(const String&);
- bool Contains(ShortStringHash) const;
- bool Erase(ShortStringHash);
- void Clear();
- // Properties:
- /* (readonly) */
- uint length;
- /* (readonly) */
- Array<ShortStringHash> keys;
- };
- class AttributeInfo
- {
- // Properties:
- /* (readonly) */
- Array<String> enumNames;
- VariantType type;
- String name;
- Variant defaultValue;
- uint mode;
- };
- class RefCounted
- {
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- };
- class Object
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- };
- class WeakHandle
- {
- // Methods:
- RefCounted Get() const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- bool expired;
- };
- class Timer
- {
- // Methods:
- uint GetMSec(bool);
- void Reset();
- };
- class Time
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint frameNumber;
- /* (readonly) */
- float timeStep;
- /* (readonly) */
- float elapsedTime;
- /* (readonly) */
- uint systemTime;
- /* (readonly) */
- String timeStamp;
- };
- class Log
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void Open(const String&);
- void Close();
- void Write(const String&, bool = false);
- void Debug(const String&);
- void Info(const String&);
- void Warning(const String&);
- void Error(const String&);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- int level;
- bool timeStamp;
- /* (readonly) */
- String lastMessage;
- bool quiet;
- };
- class Serializer
- {
- // Methods:
- uint Write(Array<uint8>);
- bool WriteInt(int);
- bool WriteShort(int16);
- bool WriteByte(int8);
- bool WriteUInt(uint);
- bool WriteUShort(uint16);
- bool WriteUByte(uint8);
- bool WriteBool(bool);
- bool WriteFloat(float);
- bool WriteIntRect(const IntRect&);
- bool WriteIntVector2(const IntVector2&);
- bool WriteVector2(const Vector2&);
- bool WriteVector3(const Vector3&);
- bool WritePackedVector3(const Vector3&, float);
- bool WriteVector4(const Vector4&);
- bool WriteQuaternion(const Quaternion&);
- bool WritePackedQuaternion(const Quaternion&);
- bool WriteColor(const Color&);
- bool WriteBoundingBox(const BoundingBox&);
- bool WriteString(const String&);
- bool WriteFileID(const String&);
- bool WriteStringHash(const StringHash&);
- bool WriteShortStringHash(const ShortStringHash&);
- bool WriteVariant(const Variant&);
- bool WriteVariantMap(const VariantMap&);
- bool WriteVLE(uint);
- bool WriteNetID(uint);
- bool WriteLine(const String&);
- };
- class Deserializer
- {
- // Methods:
- Array<uint8> Read(uint);
- int ReadInt();
- int16 ReadShort();
- int8 ReadByte();
- uint ReadUInt();
- uint16 ReadUShort();
- uint8 ReadUByte();
- bool ReadBool();
- float ReadFloat();
- IntRect ReadIntRect();
- IntVector2 ReadIntVector2();
- Vector2 ReadVector2();
- Vector3 ReadVector3();
- Vector3 ReadPackedVector3(float);
- Vector4 ReadVector4();
- Quaternion ReadQuaternion();
- Quaternion ReadPackedQuaternion();
- Color ReadColor();
- BoundingBox ReadBoundingBox();
- String ReadString();
- String ReadFileID();
- StringHash ReadStringHash();
- ShortStringHash ReadShortStringHash();
- Variant ReadVariant();
- VariantMap ReadVariantMap();
- uint ReadVLE();
- uint ReadNetID();
- String ReadLine();
- uint Seek(uint);
- // Properties:
- /* (readonly) */
- String name;
- /* (readonly) */
- uint checksum;
- /* (readonly) */
- uint position;
- /* (readonly) */
- uint size;
- /* (readonly) */
- bool eof;
- };
- class File
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Open(const String&, FileMode = FILE_READ);
- void Close();
- uint Write(Array<uint8>);
- bool WriteInt(int);
- bool WriteShort(int16);
- bool WriteByte(int8);
- bool WriteUInt(uint);
- bool WriteUShort(uint16);
- bool WriteUByte(uint8);
- bool WriteBool(bool);
- bool WriteFloat(float);
- bool WriteIntRect(const IntRect&);
- bool WriteIntVector2(const IntVector2&);
- bool WriteVector2(const Vector2&);
- bool WriteVector3(const Vector3&);
- bool WritePackedVector3(const Vector3&, float);
- bool WriteVector4(const Vector4&);
- bool WriteQuaternion(const Quaternion&);
- bool WritePackedQuaternion(const Quaternion&);
- bool WriteColor(const Color&);
- bool WriteBoundingBox(const BoundingBox&);
- bool WriteString(const String&);
- bool WriteFileID(const String&);
- bool WriteStringHash(const StringHash&);
- bool WriteShortStringHash(const ShortStringHash&);
- bool WriteVariant(const Variant&);
- bool WriteVariantMap(const VariantMap&);
- bool WriteVLE(uint);
- bool WriteNetID(uint);
- bool WriteLine(const String&);
- Array<uint8> Read(uint);
- int ReadInt();
- int16 ReadShort();
- int8 ReadByte();
- uint ReadUInt();
- uint16 ReadUShort();
- uint8 ReadUByte();
- bool ReadBool();
- float ReadFloat();
- IntRect ReadIntRect();
- IntVector2 ReadIntVector2();
- Vector2 ReadVector2();
- Vector3 ReadVector3();
- Vector3 ReadPackedVector3(float);
- Vector4 ReadVector4();
- Quaternion ReadQuaternion();
- Quaternion ReadPackedQuaternion();
- Color ReadColor();
- BoundingBox ReadBoundingBox();
- String ReadString();
- String ReadFileID();
- StringHash ReadStringHash();
- ShortStringHash ReadShortStringHash();
- Variant ReadVariant();
- VariantMap ReadVariantMap();
- uint ReadVLE();
- uint ReadNetID();
- String ReadLine();
- uint Seek(uint);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- FileMode mode;
- /* (readonly) */
- bool open;
- /* (readonly) */
- bool packaged;
- /* (readonly) */
- String name;
- /* (readonly) */
- uint checksum;
- /* (readonly) */
- uint position;
- /* (readonly) */
- uint size;
- /* (readonly) */
- bool eof;
- };
- class VectorBuffer
- {
- // Methods:
- void SetData(Deserializer, uint);
- void Clear();
- void Resize(uint);
- uint Write(Array<uint8>);
- bool WriteInt(int);
- bool WriteShort(int16);
- bool WriteByte(int8);
- bool WriteUInt(uint);
- bool WriteUShort(uint16);
- bool WriteUByte(uint8);
- bool WriteBool(bool);
- bool WriteFloat(float);
- bool WriteIntRect(const IntRect&);
- bool WriteIntVector2(const IntVector2&);
- bool WriteVector2(const Vector2&);
- bool WriteVector3(const Vector3&);
- bool WritePackedVector3(const Vector3&, float);
- bool WriteVector4(const Vector4&);
- bool WriteQuaternion(const Quaternion&);
- bool WritePackedQuaternion(const Quaternion&);
- bool WriteColor(const Color&);
- bool WriteBoundingBox(const BoundingBox&);
- bool WriteString(const String&);
- bool WriteFileID(const String&);
- bool WriteStringHash(const StringHash&);
- bool WriteShortStringHash(const ShortStringHash&);
- bool WriteVariant(const Variant&);
- bool WriteVariantMap(const VariantMap&);
- bool WriteVLE(uint);
- bool WriteNetID(uint);
- bool WriteLine(const String&);
- Array<uint8> Read(uint);
- int ReadInt();
- int16 ReadShort();
- int8 ReadByte();
- uint ReadUInt();
- uint16 ReadUShort();
- uint8 ReadUByte();
- bool ReadBool();
- float ReadFloat();
- IntRect ReadIntRect();
- IntVector2 ReadIntVector2();
- Vector2 ReadVector2();
- Vector3 ReadVector3();
- Vector3 ReadPackedVector3(float);
- Vector4 ReadVector4();
- Quaternion ReadQuaternion();
- Quaternion ReadPackedQuaternion();
- Color ReadColor();
- BoundingBox ReadBoundingBox();
- String ReadString();
- String ReadFileID();
- StringHash ReadStringHash();
- ShortStringHash ReadShortStringHash();
- Variant ReadVariant();
- VariantMap ReadVariantMap();
- uint ReadVLE();
- uint ReadNetID();
- String ReadLine();
- uint Seek(uint);
- // Properties:
- /* (readonly) */
- String name;
- /* (readonly) */
- uint checksum;
- /* (readonly) */
- uint position;
- /* (readonly) */
- uint size;
- /* (readonly) */
- bool eof;
- };
- class FileSystem
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool FileExists(const String&) const;
- bool DirExists(const String&) const;
- uint GetLastModifiedTime(const String&) const;
- Array<String> ScanDir(const String&, const String&, uint, bool) const;
- bool CreateDir(const String&);
- int SystemCommand(const String&);
- int SystemRun(const String&, Array<String>);
- bool SystemOpen(const String&, const String&);
- bool Copy(const String&, const String&);
- bool Rename(const String&, const String&);
- bool Delete(const String&);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String currentDir;
- /* (readonly) */
- String programDir;
- /* (readonly) */
- String userDocumentsDir;
- };
- class PackageFile
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Open(const String&, uint = 0) const;
- bool Exists(const String&) const;
- bool compressed() const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- String name;
- /* (readonly) */
- uint numFiles;
- /* (readonly) */
- uint totalSize;
- /* (readonly) */
- uint checksum;
- };
- class Resource
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- };
- class ResourceCache
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool AddResourceDir(const String&, uint = - 1);
- void AddPackageFile(PackageFile, uint = - 1);
- bool AddManualResource(Resource);
- void RemoveResourceDir(const String&);
- void RemovePackageFile(PackageFile, bool = true, bool = false);
- void RemovePackageFile(const String&, bool = true, bool = false);
- void ReleaseResource(const String&, const String&, bool = false);
- void ReleaseResources(ShortStringHash, bool = false);
- void ReleaseResources(const String&, const String&, bool = false);
- void ReleaseResources(const String&, bool = false);
- void ReleaseAllResources(bool = false);
- bool ReloadResource(Resource);
- bool Exists(const String&) const;
- File GetFile(const String&);
- String GetPreferredResourceDir(const String&) const;
- String SanitateResourceName(const String&) const;
- String SanitateResourceDirName(const String&) const;
- String GetResourceFileName(const String&) const;
- Resource GetResource(const String&, const String&);
- Resource GetResource(ShortStringHash, const String&);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- Array<uint> memoryBudget;
- /* (readonly) */
- Array<uint> memoryUse;
- /* (readonly) */
- uint totalMemoryUse;
- /* (readonly) */
- Array<String> resourceDirs;
- /* (readonly) */
- Array<PackageFile> packageFiles;
- /* (writeonly) */
- bool searchPackagesFirst;
- /* (readonly) */
- bool seachPackagesFirst;
- bool autoReloadResources;
- };
- class Image
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- bool LoadColorLUT(File);
- void FlipVertical();
- void SaveBMP(const String&);
- void SavePNG(const String&);
- void SaveTGA(const String&);
- void SaveJPG(const String&, int);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- /* (readonly) */
- int width;
- /* (readonly) */
- int height;
- /* (readonly) */
- uint components;
- /* (readonly) */
- bool compressed;
- };
- class XMLFile
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- XMLElement CreateRoot(const String&);
- XMLElement GetRoot(const String& = String ( ));
- void Patch(XMLFile);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- /* (readonly) */
- XMLElement root;
- };
- class XMLElement
- {
- // Methods:
- XMLElement CreateChild(const String&);
- bool RemoveChild(const XMLElement&);
- bool RemoveChild(const String&);
- bool RemoveChildren(const String& = String ( ));
- bool RemoveAttribute(const String& = String ( ));
- XMLElement SelectSingle(const String&);
- XMLElement SelectSinglePrepared(const XPathQuery&);
- XPathResultSet Select(const String&);
- XPathResultSet SelectPrepared(const XPathQuery&);
- bool SetValue(const String&);
- bool SetAttribute(const String&, const String&);
- bool SetAttribute(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 SetUInt(const String&, uint);
- bool SetQuaternion(const String&, const Quaternion&);
- bool SetVariant(const Variant&);
- bool SetResourceRef(const String&, const ResourceRef&);
- bool SetResourceRefList(const String&, const ResourceRefList&);
- bool SetVariantVector(Array<Variant>);
- bool SetVariantMap(const VariantMap&);
- bool SetVector2(const String&, const Vector2&);
- bool SetVector3(const String&, const Vector3&);
- bool SetVector4(const String&, const Vector4&);
- bool SetVectorVariant(const String&, const Variant&);
- bool HasAttribute(const String&) const;
- String GetValue() const;
- String GetAttribute(const String& = String ( )) const;
- String GetAttributeLower(const String&) const;
- String GetAttributeUpper(const String&) const;
- Array<String> GetAttributeNames() const;
- bool HasChild(const String&) const;
- XMLElement GetChild(const String& = String ( )) const;
- XMLElement GetNext(const String& = String ( )) const;
- bool GetBool(const String&) const;
- BoundingBox GetBoundingBox() const;
- Color GetColor(const String&) const;
- float GetFloat(const String&) const;
- uint GetUInt(const String&) const;
- int GetInt(const String&) const;
- Quaternion GetQuaternion(const String&) const;
- Variant GetVariant() const;
- ResourceRef GetResourceRef() const;
- ResourceRefList GetResourceRefList() const;
- Array<Variant> GetVariantVector() const;
- VariantMap GetVariantMap() const;
- Vector2 GetVector2(const String&) const;
- Vector3 GetVector3(const String&) const;
- Vector4 GetVector4(const String&) const;
- Variant GetVectorVariant(const String&) const;
- // Properties:
- String value;
- /* (readonly) */
- String name;
- /* (readonly) */
- uint numAttributes;
- /* (readonly) */
- bool isNull;
- /* (readonly) */
- bool notNull;
- /* (readonly) */
- XMLElement parent;
- /* (readonly) */
- XMLFile file;
- /* (readonly) */
- XMLElement nextResult;
- };
- class XPathResultSet
- {
- // Properties:
- /* (readonly) */
- XMLElement firstResult;
- /* (readonly) */
- uint size;
- /* (readonly) */
- bool empty;
- };
- class XPathQuery
- {
- // Methods:
- void Bind();
- bool SetVariable(const String&, bool);
- bool SetVariable(const String&, float);
- bool SetVariable(const String&, const String&);
- bool SetVariable(const String&, const XPathResultSet&);
- bool SetQuery(const String&, const String& = String ( ), bool = true);
- void Clear();
- bool EvaluateToBool(XMLElement);
- float EvaluateToFloat(XMLElement);
- String EvaluateToString(XMLElement);
- XPathResultSet Evaluate(XMLElement);
- // Properties:
- String query;
- };
- class Serializable
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- };
- class Component
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- };
- class Node
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void SetScale(float);
- void SetTransform(const Vector3&, const Quaternion&);
- void SetTransform(const Vector3&, const Quaternion&, float);
- void SetTransform(const Vector3&, const Quaternion&, const Vector3&);
- void SetWorldTransform(const Vector3&, const Quaternion&);
- void SetWorldTransform(const Vector3&, const Quaternion&, float);
- void SetWorldTransform(const Vector3&, const Quaternion&, const Vector3&);
- void Translate(const Vector3&);
- void TranslateRelative(const Vector3&);
- void Rotate(const Quaternion&, bool = false);
- void Pitch(float, bool = false);
- void Yaw(float, bool = false);
- void Roll(float, bool = false);
- void LookAt(const Vector3&, const Vector3& = Vector3 ( 0 , 1 , 0 ));
- void Scale(float);
- void Scale(const Vector3&);
- Node CreateChild(const String& = String ( ), CreateMode = REPLICATED, uint = 0);
- void AddChild(Node);
- void RemoveChild(Node);
- void RemoveAllChildren();
- void RemoveChildren(bool, bool, bool);
- void Remove();
- Component CreateComponent(const String&, CreateMode = REPLICATED, uint = 0);
- Component GetOrCreateComponent(const String&, CreateMode = REPLICATED, uint = 0);
- void RemoveComponent(Component);
- void RemoveComponent(const String&);
- void RemoveAllComponents();
- void RemoveComponents(bool, bool);
- 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;
- Node GetChild(const String&, bool = false) const;
- Array<Component> GetComponents() const;
- Array<Component> GetComponents(const String&, bool = false) const;
- Component GetComponent(const String&) const;
- bool HasComponent(const String&) const;
- Vector3 LocalToWorld(const Vector3&) const;
- Vector3 LocalToWorld(const Vector4&) const;
- Vector3 WorldToLocal(const Vector3&) const;
- Vector3 WorldToLocal(const Vector4&) const;
- void SetEnabled(bool, bool);
- bool SaveXML(File);
- Node Clone(CreateMode = REPLICATED);
- ScriptObject CreateScriptObject(ScriptFile, const String&, CreateMode = REPLICATED);
- ScriptObject CreateScriptObject(const String&, const String&, CreateMode = REPLICATED);
- ScriptObject GetScriptObject() const;
- ScriptObject GetScriptObject(const String&) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- Vector3 position;
- Quaternion rotation;
- Vector3 direction;
- /* (readonly) */
- Vector3 up;
- /* (readonly) */
- Vector3 right;
- Vector3 scale;
- Vector3 worldPosition;
- Quaternion worldRotation;
- Vector3 worldDirection;
- /* (readonly) */
- Vector3 worldUp;
- /* (readonly) */
- Vector3 worldRight;
- Vector3 worldScale;
- /* (readonly) */
- Matrix3x4 transform;
- /* (readonly) */
- Matrix3x4 worldTransform;
- /* (readonly) */
- uint id;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<Node> children;
- /* (readonly) */
- uint numComponents;
- /* (readonly) */
- Array<Component> components;
- String name;
- Node parent;
- /* (readonly) */
- VariantMap vars;
- bool enabled;
- /* (readonly) */
- Scene scene;
- Connection owner;
- /* (readonly) */
- ScriptObject scriptObject;
- };
- class SmoothedTransform
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void Update(float, float);
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- Vector3 targetPosition;
- Quaternion targetRotation;
- Vector3 targetWorldPosition;
- Quaternion targetWorldRotation;
- /* (readonly) */
- bool inProgress;
- };
- class Scene
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void SetScale(float);
- void SetTransform(const Vector3&, const Quaternion&);
- void SetTransform(const Vector3&, const Quaternion&, float);
- void SetTransform(const Vector3&, const Quaternion&, const Vector3&);
- void SetWorldTransform(const Vector3&, const Quaternion&);
- void SetWorldTransform(const Vector3&, const Quaternion&, float);
- void SetWorldTransform(const Vector3&, const Quaternion&, const Vector3&);
- void Translate(const Vector3&);
- void TranslateRelative(const Vector3&);
- void Rotate(const Quaternion&, bool = false);
- void Pitch(float, bool = false);
- void Yaw(float, bool = false);
- void Roll(float, bool = false);
- void LookAt(const Vector3&, const Vector3& = Vector3 ( 0 , 1 , 0 ));
- void Scale(float);
- void Scale(const Vector3&);
- Node CreateChild(const String& = String ( ), CreateMode = REPLICATED, uint = 0);
- void AddChild(Node);
- void RemoveChild(Node);
- void RemoveAllChildren();
- void RemoveChildren(bool, bool, bool);
- void Remove();
- Component CreateComponent(const String&, CreateMode = REPLICATED, uint = 0);
- Component GetOrCreateComponent(const String&, CreateMode = REPLICATED, uint = 0);
- void RemoveComponent(Component);
- void RemoveComponent(const String&);
- void RemoveAllComponents();
- void RemoveComponents(bool, bool);
- 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;
- Node GetChild(const String&, bool = false) const;
- Array<Component> GetComponents() const;
- Array<Component> GetComponents(const String&, bool = false) const;
- Component GetComponent(const String&) const;
- bool HasComponent(const String&) const;
- Vector3 LocalToWorld(const Vector3&) const;
- Vector3 LocalToWorld(const Vector4&) const;
- Vector3 WorldToLocal(const Vector3&) const;
- Vector3 WorldToLocal(const Vector4&) const;
- bool LoadXML(File);
- bool SaveXML(File);
- bool LoadAsync(File);
- bool LoadAsyncXML(File);
- void StopAsyncLoading();
- 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);
- void Clear(bool = true, bool = true);
- void AddRequiredPackageFile(PackageFile);
- void ClearRequiredPackageFiles();
- void RegisterVar(const String&);
- void UnregisterVar(const String&);
- void UnregisterAllVars(const String&);
- Component GetComponent(uint);
- Node GetNode(uint);
- const String& GetVarName(ShortStringHash) const;
- void Update(float);
- ScriptObject CreateScriptObject(ScriptFile, const String&, CreateMode = REPLICATED);
- ScriptObject CreateScriptObject(const String&, const String&, CreateMode = REPLICATED);
- ScriptObject GetScriptObject() const;
- ScriptObject GetScriptObject(const String&) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- Vector3 position;
- Quaternion rotation;
- Vector3 direction;
- /* (readonly) */
- Vector3 up;
- /* (readonly) */
- Vector3 right;
- Vector3 scale;
- Vector3 worldPosition;
- Quaternion worldRotation;
- Vector3 worldDirection;
- /* (readonly) */
- Vector3 worldUp;
- /* (readonly) */
- Vector3 worldRight;
- Vector3 worldScale;
- /* (readonly) */
- Matrix3x4 transform;
- /* (readonly) */
- Matrix3x4 worldTransform;
- /* (readonly) */
- uint id;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<Node> children;
- /* (readonly) */
- uint numComponents;
- /* (readonly) */
- Array<Component> components;
- String name;
- Node parent;
- /* (readonly) */
- VariantMap vars;
- bool updateEnabled;
- float timeScale;
- float elapsedTime;
- float smoothingConstant;
- float snapThreshold;
- /* (readonly) */
- bool asyncLoading;
- /* (readonly) */
- float asyncProgress;
- /* (readonly) */
- uint checksum;
- /* (readonly) */
- String fileName;
- /* (readonly) */
- Array<PackageFile> requiredPackageFiles;
- /* (readonly) */
- DebugRenderer debugRenderer;
- /* (readonly) */
- Octree octree;
- /* (readonly) */
- PhysicsWorld physicsWorld;
- /* (readonly) */
- ScriptObject scriptObject;
- };
- class Spline
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void Push(const Vector3&);
- void Pop();
- Vector3 GetPoint(float) const;
- void Move(float);
- void Reset();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- Array<Vector3> controlPoints;
- InterpolationMode interpolationMode;
- float speed;
- Vector3 position;
- /* (readonly) */
- bool finished;
- };
- class Bone
- {
- // Properties:
- Node node;
- String name;
- Vector3 initialPosition;
- Quaternion initialRotation;
- Vector3 initialScale;
- bool animated;
- float radius;
- BoundingBox boundingBox;
- };
- class Skeleton
- {
- // Methods:
- void Reset();
- Bone GetBone(const String&) const;
- // Properties:
- /* (readonly) */
- Bone rootBone;
- /* (readonly) */
- uint numBones;
- /* (readonly) */
- Array<Bone> bones;
- };
- class DebugRenderer
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void AddLine(const Vector3&, const Vector3&, const Color&, bool = true);
- void AddNode(Node, float = 1.0, bool = true);
- void AddBoundingBox(const BoundingBox&, const Color&, bool = true);
- void AddFrustum(const Frustum&, const Color&, bool = true);
- void AddPolyhedron(const Polyhedron&, const Color&, bool = true);
- void AddSphere(const Sphere&, const Color&, bool = true);
- void AddSkeleton(Skeleton, const Color&, bool = true);
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- };
- class Camera
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void SetOrthoSize(const Vector2&);
- Frustum GetSplitFrustum(float, float) const;
- Ray GetScreenRay(float, float) const;
- Vector2 WorldToScreenPoint(const Vector3&) const;
- Vector3 ScreenToWorldPoint(const Vector3&) const;
- float GetDistance(const Vector3&) const;
- float GetDistanceSquared(const Vector3&) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- float nearClip;
- float farClip;
- float fov;
- float orthoSize;
- float aspectRatio;
- float zoom;
- float lodBias;
- bool orthographic;
- bool autoAspectRatio;
- Vector2 projectionOffset;
- bool useReflection;
- Plane reflectionPlane;
- bool useClipping;
- Plane clipPlane;
- uint viewMask;
- uint viewOverrideFlags;
- FillMode fillMode;
- /* (readonly) */
- Frustum frustum;
- /* (readonly) */
- Matrix4 projection;
- /* (readonly) */
- Matrix3x4 view;
- /* (readonly) */
- Frustum viewSpaceFrustum;
- /* (readonly) */
- float halfViewSize;
- /* (readonly) */
- Matrix3x4 effectiveWorldTransform;
- };
- class RenderTargetInfo
- {
- // Properties:
- String name;
- String tag;
- uint format;
- IntVector2 size;
- RenderTargetSizeMode sizeMode;
- bool enabled;
- bool filtered;
- bool sRGB;
- };
- class RenderPathCommand
- {
- // Methods:
- void RemoveShaderParameter(const String&);
- // Properties:
- Array<String> textureNames;
- Array<Variant> shaderParameters;
- uint numOutputs;
- Array<String> outputNames;
- String tag;
- RenderCommandType type;
- RenderCommandSortMode sortMode;
- String pass;
- String metadata;
- uint clearFlags;
- Color clearColor;
- float clearDepth;
- uint clearStencil;
- bool enabled;
- bool useFogColor;
- bool markToStencil;
- bool vertexLights;
- bool useLitBase;
- bool useScissor;
- String vertexShaderName;
- String pixelShaderName;
- };
- class RenderPath
- {
- // Methods:
- RenderPath Clone();
- bool Load(XMLFile);
- bool Append(XMLFile);
- void SetEnabled(const String&, bool);
- void ToggleEnabled(const String&);
- void AddRenderTarget(const RenderTargetInfo&);
- void RemoveRenderTarget(uint);
- void RemoveRenderTarget(const String&);
- void RemoveRenderTargts(const String&);
- void AddCommand(const RenderPathCommand&);
- void InsertCommand(uint, const RenderPathCommand&);
- void RemoveCommand(uint);
- void RemoveCommands(const String&);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- uint numRenderTargets;
- Array<RenderTargetInfo> renderTargets;
- /* (readonly) */
- uint numCommands;
- Array<RenderPathCommand> commands;
- Array<Variant> shaderParameters;
- };
- class Texture
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- void SetNumLevels(uint);
- void ClearDataLost();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- /* (readonly) */
- TextureUsage usage;
- /* (readonly) */
- uint format;
- /* (readonly) */
- bool compressed;
- /* (readonly) */
- uint levels;
- /* (readonly) */
- int width;
- /* (readonly) */
- int height;
- /* (readonly) */
- Array<int> levelWidth;
- /* (readonly) */
- Array<int> levelHeight;
- TextureFilterMode filterMode;
- Array<TextureAddressMode> addressMode;
- Color borderColor;
- bool sRGB;
- Texture backupTexture;
- Array<int> mipsToSkip;
- /* (readonly) */
- bool dataLost;
- };
- class Viewport
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetRenderPath(XMLFile);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- Scene scene;
- Camera camera;
- RenderPath renderPath;
- IntRect rect;
- };
- class RenderSurface
- {
- // Methods:
- void QueueUpdate();
- // Properties:
- /* (readonly) */
- Texture parentTexture;
- /* (readonly) */
- int width;
- /* (readonly) */
- int height;
- /* (readonly) */
- TextureUsage usage;
- uint numViewports;
- Array<Viewport> viewports;
- RenderSurfaceUpdateMode updateMode;
- RenderSurface linkedRenderTarget;
- RenderSurface linkedDepthStencil;
- };
- class Texture2D
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- void SetNumLevels(uint);
- void ClearDataLost();
- bool SetSize(int, int, uint, TextureUsage = TEXTURE_STATIC);
- bool Load(Image, bool = false);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- /* (readonly) */
- TextureUsage usage;
- /* (readonly) */
- uint format;
- /* (readonly) */
- bool compressed;
- /* (readonly) */
- uint levels;
- /* (readonly) */
- int width;
- /* (readonly) */
- int height;
- /* (readonly) */
- Array<int> levelWidth;
- /* (readonly) */
- Array<int> levelHeight;
- TextureFilterMode filterMode;
- Array<TextureAddressMode> addressMode;
- Color borderColor;
- bool sRGB;
- Texture backupTexture;
- Array<int> mipsToSkip;
- /* (readonly) */
- bool dataLost;
- /* (readonly) */
- RenderSurface renderSurface;
- };
- class Texture3D
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- void SetNumLevels(uint);
- void ClearDataLost();
- bool SetSize(int, int, uint, TextureUsage = TEXTURE_STATIC);
- bool Load(Image, bool = false);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- /* (readonly) */
- TextureUsage usage;
- /* (readonly) */
- uint format;
- /* (readonly) */
- bool compressed;
- /* (readonly) */
- uint levels;
- /* (readonly) */
- int width;
- /* (readonly) */
- int height;
- /* (readonly) */
- Array<int> levelWidth;
- /* (readonly) */
- Array<int> levelHeight;
- TextureFilterMode filterMode;
- Array<TextureAddressMode> addressMode;
- Color borderColor;
- bool sRGB;
- Texture backupTexture;
- Array<int> mipsToSkip;
- /* (readonly) */
- bool dataLost;
- /* (readonly) */
- RenderSurface renderSurface;
- };
- class TextureCube
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- void SetNumLevels(uint);
- void ClearDataLost();
- bool SetSize(int, uint, TextureUsage = TEXTURE_STATIC);
- bool Load(CubeMapFace, Image, bool = false);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- /* (readonly) */
- TextureUsage usage;
- /* (readonly) */
- uint format;
- /* (readonly) */
- bool compressed;
- /* (readonly) */
- uint levels;
- /* (readonly) */
- int width;
- /* (readonly) */
- int height;
- /* (readonly) */
- Array<int> levelWidth;
- /* (readonly) */
- Array<int> levelHeight;
- TextureFilterMode filterMode;
- Array<TextureAddressMode> addressMode;
- Color borderColor;
- bool sRGB;
- Texture backupTexture;
- Array<int> mipsToSkip;
- /* (readonly) */
- bool dataLost;
- /* (readonly) */
- Array<RenderSurface> renderSurfaces;
- };
- class BiasParameters
- {
- // Properties:
- float constantBias;
- float slopeScaledBias;
- };
- class Pass
- {
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- BlendMode blendMode;
- CompareMode depthTestMode;
- PassLightingMode lightingMode;
- bool depthWrite;
- bool alphaMask;
- String vertexShader;
- String pixelShader;
- };
- class Technique
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- Pass CreatePass(StringHash);
- void RemovePass(StringHash);
- bool HasPass(StringHash) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- bool sm3;
- /* (readonly) */
- Array<Pass> passes;
- };
- class TechniqueEntry
- {
- // Properties:
- Technique technique;
- int qualityLevel;
- float lodDistance;
- };
- class Material
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- bool Load(const XMLElement&);
- bool Save(XMLElement&) const;
- void SetTechnique(uint, Technique, uint = 0, float = 0.0);
- void SetUVTransform(const Vector2&, float, const Vector2&);
- void SetUVTransform(const Vector2&, float, float);
- void RemoveShaderParameter(const String&);
- void SortTechniques();
- Material Clone(const String& = String ( )) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- uint numTechniques;
- /* (readonly) */
- Array<Technique> techniques;
- /* (readonly) */
- Array<TechniqueEntry> techniqueEntries;
- Array<Variant> shaderParameters;
- /* (readonly) */
- Array<String> shaderParameterNames;
- Array<Texture> textures;
- /* (readonly) */
- bool occlusion;
- CullMode cullMode;
- CullMode shadowCullMode;
- BiasParameters depthBias;
- };
- class Model
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- Skeleton skeleton;
- /* (readonly) */
- uint numGeometries;
- /* (readonly) */
- Array<uint> numGeometryLodLevels;
- /* (readonly) */
- uint numMorphs;
- };
- class AnimationTriggerPoint
- {
- // Properties:
- float time;
- Variant data;
- };
- class Animation
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- void AddTrigger(float, bool, const Variant&);
- void RemoveTrigger(uint);
- void RemoveAllTriggers();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- /* (readonly) */
- String animationName;
- /* (readonly) */
- float length;
- /* (readonly) */
- uint numTracks;
- uint numTriggers;
- /* (readonly) */
- Array<AnimationTriggerPoint> triggers;
- };
- class Drawable
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- };
- class CascadeParameters
- {
- // Properties:
- float split1;
- float split2;
- float split3;
- float split4;
- float fadeStart;
- float biasAutoAdjust;
- };
- class FocusParameters
- {
- // Properties:
- bool focus;
- bool nonUniform;
- bool autoSize;
- float quantize;
- float minView;
- };
- class Light
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- LightType lightType;
- bool perVertex;
- Color color;
- float specularIntensity;
- float range;
- float fov;
- float aspectRatio;
- float fadeDistance;
- BiasParameters shadowBias;
- CascadeParameters shadowCascade;
- FocusParameters shadowFocus;
- float shadowFadeDistance;
- float shadowIntensity;
- float shadowResolution;
- float shadowNearFarRatio;
- Texture rampTexture;
- Texture shapeTexture;
- /* (readonly) */
- Frustum frustum;
- };
- class Zone
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- /* (readonly) */
- Matrix3x4 inverseWorldTransform;
- Color ambientColor;
- /* (readonly) */
- Color ambientStartColor;
- /* (readonly) */
- Color ambientEndColor;
- Color fogColor;
- float fogStart;
- float fogEnd;
- float fogHeight;
- float fogHeightScale;
- int priority;
- bool override;
- bool ambientGradient;
- };
- class StaticModel
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void ApplyMaterialList(const String& = String ( ));
- bool IsInside(const Vector3&) const;
- bool IsInsideLocal(const Vector3&) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- Model model;
- /* (writeonly) */
- Material material;
- Array<Material> materials;
- /* (readonly) */
- uint numGeometries;
- uint occlusionLodLevel;
- };
- class StaticModelGroup
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void ApplyMaterialList(const String& = String ( ));
- void AddInstanceNode(Node);
- void RemoveInstanceNode(Node);
- void RemoveAllInstanceNodes();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- Model model;
- /* (writeonly) */
- Material material;
- Array<Material> materials;
- /* (readonly) */
- uint numGeometries;
- /* (readonly) */
- Zone zone;
- uint occlusionLodLevel;
- /* (readonly) */
- uint numInstanceNodes;
- /* (readonly) */
- Array<Node> instanceNodes;
- };
- class Skybox
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void ApplyMaterialList(const String& = String ( ));
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- Model model;
- /* (writeonly) */
- Material material;
- Array<Material> materials;
- /* (readonly) */
- uint numGeometries;
- /* (readonly) */
- Zone zone;
- };
- class AnimationState
- {
- // Methods:
- void AddWeight(float);
- void AddTime(float);
- void Apply();
- void SetBoneWeight(uint, float, bool = false);
- void SetBoneWeight(const String&, float, bool = false);
- void SetBoneWeight(StringHash, float, bool = false);
- float GetBoneWeight(uint) const;
- float GetBoneWeight(StringHash) const;
- uint GetTrackIndex(const String&) const;
- uint GetTrackIndex(StringHash) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- Bone startBone;
- bool looped;
- float weight;
- float time;
- uint8 layer;
- /* (readonly) */
- Animation animation;
- /* (readonly) */
- AnimatedModel model;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool enabled;
- /* (readonly) */
- float length;
- Array<float> boneWeights;
- };
- class AnimatedModel
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void ApplyMaterialList(const String& = String ( ));
- AnimationState AddAnimationState(Animation);
- void RemoveAnimationState(Animation);
- void RemoveAnimationState(const String&);
- void RemoveAnimationState(AnimationState);
- void RemoveAnimationState(uint);
- void RemoveAllAnimationStates();
- void SetMorphWeight(uint, float);
- void ResetMorphWeights();
- float GetMorphWeight(uint) const;
- AnimationState GetAnimationState(Animation) const;
- AnimationState GetAnimationState(uint) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- Model model;
- /* (writeonly) */
- Material material;
- Array<Material> materials;
- /* (readonly) */
- uint numGeometries;
- /* (readonly) */
- Zone zone;
- float animationLodBias;
- bool updateInvisible;
- /* (readonly) */
- Skeleton skeleton;
- /* (readonly) */
- uint numAnimationStates;
- /* (readonly) */
- Array<AnimationState> animationStates;
- /* (readonly) */
- uint numMorphs;
- /* (readonly) */
- Array<String> morphNames;
- Array<float> morphWeights;
- };
- class AnimationController
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- bool Play(const String&, uint8, bool, float = 0.0f);
- bool PlayExclusive(const String&, uint8, bool, float = 0.0f);
- void Stop(const String&, float = 0.0f);
- void StopLayer(uint8, float = 0.0f);
- void StopAll(float = 0.0f);
- bool Fade(const String&, float, float);
- bool FadeOthers(const String&, float, float);
- bool SetLayer(const String&, uint8);
- bool SetStartBone(const String&, const String&);
- bool SetTime(const String&, float);
- bool SetWeight(const String&, float);
- bool SetLooped(const String&, bool);
- bool SetSpeed(const String&, float);
- bool SetAutoFade(const String&, float);
- bool IsPlaying(const String&) const;
- bool IsFadingIn(const String&) const;
- bool IsFadingOut(const String&) const;
- uint8 GetLayer(const String&) const;
- const String& GetStartBone(const String&) const;
- float GetTime(const String&) const;
- float GetWeight(const String&) const;
- bool GetLooped(const String&) const;
- float GetLength(const String&) const;
- float GetSpeed(const String&) const;
- float GetAutoFade(const String&) const;
- float GetFadeTarget(const String&) const;
- AnimationState GetAnimationState(const String&) const;
- AnimationState GetAnimationState(StringHash) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- };
- class Billboard
- {
- // Properties:
- Vector3 position;
- Vector2 size;
- Rect uv;
- Color color;
- float rotation;
- bool enabled;
- };
- class BillboardSet
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void Commit();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- Material material;
- uint numBillboards;
- bool relative;
- bool sorted;
- bool scaled;
- bool faceCamera;
- float animationLodBias;
- /* (readonly) */
- Array<Billboard> billboards;
- /* (readonly) */
- Zone zone;
- };
- class ColorFrame
- {
- // Properties:
- Color color;
- float time;
- };
- class TextureFrame
- {
- // Properties:
- Rect uv;
- float time;
- };
- class ParticleEmitter
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- bool Load(XMLFile);
- bool Save(XMLFile);
- void SetEmitting(bool, bool);
- void SetColor(const Color&);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- Material material;
- bool relative;
- bool sorted;
- bool scaled;
- bool updateInvisible;
- float animationLodBias;
- bool emitting;
- uint numParticles;
- /* (writeonly) */
- float emissionRate;
- float minEmissionRate;
- float maxEmissionRate;
- EmitterType emitterType;
- Vector3 emitterSize;
- float activeTime;
- float inactiveTime;
- /* (writeonly) */
- float timeToLive;
- float minTimeToLive;
- float maxTimeToLive;
- /* (writeonly) */
- Vector2 particleSize;
- Vector2 minParticleSize;
- Vector3 maxParticleSize;
- Vector3 minDirection;
- Vector3 maxDirection;
- /* (writeonly) */
- float velocity;
- float minVelocity;
- float maxVelocity;
- /* (writeonly) */
- float rotation;
- float minRotation;
- float maxRotation;
- /* (writeonly) */
- float rotationSpeed;
- float minRotationSpeed;
- float maxRotationSpeed;
- Vector3 constantForce;
- float dampingForce;
- float sizeAdd;
- float sizeMul;
- /* (readonly) */
- Array<ColorFrame> colors;
- uint numColors;
- /* (readonly) */
- Array<TextureFrame> textureFrames;
- uint numTextureFrames;
- /* (readonly) */
- Zone zone;
- };
- class CustomGeometry
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void Clear();
- void BeginGeometry(uint, PrimitiveType);
- void DefineVertex(const Vector3&);
- void DefineNormal(const Vector3&);
- void DefineColor(const Color&);
- void DefineTexCoord(const Vector2&);
- void DefineTangent(const Vector4&);
- void Commit();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- /* (writeonly) */
- Material material;
- Array<Material> materials;
- uint numGeometries;
- /* (readonly) */
- Zone zone;
- };
- class DecalSet
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- bool AddDecal(Drawable, const Vector3&, const Quaternion&, float, float, float, const Vector2&, const Vector2&, float = 0.0, float = 0.1, uint = 0xffffffff);
- void RemoveDecals(uint);
- void RemoveAllDecals();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- Material material;
- /* (readonly) */
- uint numDecals;
- /* (readonly) */
- uint numVertices;
- /* (readonly) */
- uint numIndices;
- uint maxVertices;
- uint maxIndices;
- /* (readonly) */
- Zone zone;
- };
- class TerrainPatch
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- };
- class Terrain
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- float GetHeight(const Vector3&) const;
- Vector3 GetNormal(const Vector3&) const;
- TerrainPatch GetPatch(int, int) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- Material material;
- bool smoothing;
- Image heightMap;
- int patchSize;
- Vector3 spacing;
- /* (readonly) */
- IntVector2 numVertices;
- /* (readonly) */
- IntVector2 numPatches;
- /* (readonly) */
- Array<TerrainPatch> patches;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- };
- class RayQueryResult
- {
- // Properties:
- /* (readonly) */
- Drawable drawable;
- /* (readonly) */
- Node node;
- Vector3 position;
- Vector3 normal;
- float distance;
- uint subObject;
- };
- class Octree
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void SetSize(const BoundingBox&, uint);
- void DrawDebugGeometry(bool) const;
- void AddManualDrawable(Drawable);
- void RemoveManualDrawable(Drawable);
- 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;
- Array<Node> GetDrawables(const Vector3&, uint8 = DRAWABLE_ANY, uint = DEFAULT_VIEWMASK);
- 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);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- /* (readonly) */
- uint numLevels;
- };
- class Graphics
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool SetMode(int, int, bool, bool, bool, bool, bool, int);
- bool SetMode(int, int);
- void SetWindowPosition(int, int);
- bool ToggleFullscreen();
- void Maximize();
- void Minimize();
- void Close();
- bool TakeScreenShot(Image);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String windowTitle;
- /* (writeonly) */
- Image windowIcon;
- IntVector2 windowPosition;
- bool sRGB;
- bool flushGPU;
- /* (readonly) */
- int width;
- /* (readonly) */
- int height;
- /* (readonly) */
- int multiSample;
- /* (readonly) */
- bool fullscreen;
- /* (readonly) */
- bool resizable;
- /* (readonly) */
- bool borderless;
- /* (readonly) */
- bool vsync;
- /* (readonly) */
- bool tripleBuffer;
- /* (readonly) */
- bool initialized;
- /* (readonly) */
- bool deviceLost;
- /* (readonly) */
- uint numPrimitives;
- /* (readonly) */
- uint numBatches;
- /* (readonly) */
- bool sm3Support;
- /* (readonly) */
- bool instancingSupport;
- /* (readonly) */
- bool lightPrepassSupport;
- /* (readonly) */
- bool deferredSupport;
- /* (readonly) */
- bool hardwareShadowSupport;
- /* (readonly) */
- bool sRGBSupport;
- /* (readonly) */
- bool sRGBWriteSupport;
- bool forceSM2;
- /* (readonly) */
- Array<IntVector2> resolutions;
- /* (readonly) */
- Array<int> multiSampleLevels;
- /* (readonly) */
- IntVector2 desktopResolution;
- };
- class Renderer
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void DrawDebugGeometry(bool) const;
- void ReloadShaders() const;
- void SetDefaultRenderPath(XMLFile);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- uint numViewports;
- Array<Viewport> viewports;
- RenderPath defaultRenderPath;
- /* (readonly) */
- Zone defaultZone;
- bool hdrRendering;
- bool specularLighting;
- int textureAnisotropy;
- TextureFilterMode textureFilterMode;
- int textureQuality;
- int materialQuality;
- bool drawShadows;
- int shadowMapSize;
- int shadowQuality;
- int maxShadowCascades;
- int maxShadowMaps;
- bool reuseShadowMaps;
- bool dynamicInstancing;
- int minInstances;
- int maxInstanceTriangles;
- int maxSortedInstances;
- int maxOccluderTriangles;
- int occlusionBufferSize;
- float occluderSizeThreshold;
- /* (readonly) */
- uint numPrimitives;
- /* (readonly) */
- uint numBatches;
- /* (readonly) */
- uint numViews;
- /* (readonly) */
- Array<uint> numGeometries;
- /* (readonly) */
- Array<uint> numLights;
- /* (readonly) */
- Array<uint> numShadowMaps;
- /* (readonly) */
- Array<uint> numOccluders;
- };
- class TouchState
- {
- // Properties:
- int touchID;
- IntVector2 position;
- IntVector2 lastPosition;
- IntVector2 delta;
- float pressure;
- };
- class JoystickState
- {
- // Properties:
- /* (readonly) */
- uint numButtons;
- /* (readonly) */
- uint numAxes;
- /* (readonly) */
- uint numHats;
- /* (readonly) */
- Array<bool> buttonDown;
- /* (readonly) */
- Array<bool> buttonPress;
- /* (readonly) */
- Array<float> axisPosition;
- /* (readonly) */
- Array<int> hatPosition;
- String name;
- };
- class Input
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool OpenJoystick(uint);
- void CloseJoystick(uint);
- bool DetectJoysticks();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- bool mouseVisible;
- bool screenKeyboardVisible;
- /* (readonly) */
- bool screenKeyboardSupport;
- bool toggleFullscreen;
- /* (readonly) */
- Array<bool> keyDown;
- /* (readonly) */
- Array<bool> keyPress;
- /* (readonly) */
- Array<bool> mouseButtonDown;
- /* (readonly) */
- Array<bool> mouseButtonPress;
- /* (readonly) */
- Array<bool> qualifierDown;
- /* (readonly) */
- Array<bool> qualifierPress;
- /* (readonly) */
- int qualifiers;
- /* (readonly) */
- IntVector2 mousePosition;
- /* (readonly) */
- IntVector2 mouseMove;
- /* (readonly) */
- int mouseMoveX;
- /* (readonly) */
- int mouseMoveY;
- /* (readonly) */
- int mouseMoveWheel;
- /* (readonly) */
- uint numTouches;
- /* (readonly) */
- Array<TouchState> touches;
- /* (readonly) */
- uint numJoysticks;
- /* (readonly) */
- Array<String> joystickNames;
- /* (readonly) */
- Array<JoystickState> joysticks;
- /* (readonly) */
- bool focus;
- /* (readonly) */
- bool minimized;
- };
- class Sound
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- /* (readonly) */
- float length;
- /* (readonly) */
- uint sampleSize;
- /* (readonly) */
- float frequency;
- bool looped;
- /* (readonly) */
- bool sixteenBit;
- /* (readonly) */
- bool stereo;
- /* (readonly) */
- bool compressed;
- };
- class SoundListener
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- };
- class SoundSource
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void Play(Sound);
- void Play(Sound, float);
- void Play(Sound, float, float);
- void Play(Sound, float, float, float);
- void Stop();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- SoundType soundType;
- float frequency;
- float gain;
- float panning;
- /* (readonly) */
- Sound sound;
- /* (readonly) */
- float timePosition;
- /* (readonly) */
- float attenuation;
- bool autoRemove;
- /* (readonly) */
- bool playing;
- };
- class SoundSource3D
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void Play(Sound);
- void Play(Sound, float);
- void Play(Sound, float, float);
- void Play(Sound, float, float, float);
- void Stop();
- void SetDistanceAttenuation(float, float, float);
- void SetAngleAttenuation(float, float);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- SoundType soundType;
- float frequency;
- float gain;
- float panning;
- /* (readonly) */
- Sound sound;
- /* (readonly) */
- float timePosition;
- /* (readonly) */
- float attenuation;
- bool autoRemove;
- /* (readonly) */
- bool playing;
- float nearDistance;
- float farDistance;
- float innerAngle;
- float outerAngle;
- float rolloffFactor;
- };
- class Audio
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetMode(int, int, bool, bool = true);
- bool Play();
- void Stop();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- Array<float> masterGain;
- SoundListener listener;
- /* (readonly) */
- uint sampleSize;
- /* (readonly) */
- int mixRate;
- /* (readonly) */
- bool stereo;
- /* (readonly) */
- bool interpolation;
- /* (readonly) */
- bool playing;
- /* (readonly) */
- bool initialized;
- };
- class Font
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- bool SaveXML(File, int, bool = false);
- bool SaveXML(const String&, int, bool = false);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- };
- class UIElement
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- };
- class BorderImage
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- Texture texture;
- IntRect imageRect;
- IntRect border;
- IntVector2 hoverOffset;
- BlendMode blendMode;
- bool tiled;
- };
- class Sprite
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- uint GetNumChildren(bool) const;
- void SetPosition(float, float);
- void SetHotSpot(int, int);
- void SetScale(float, float);
- void SetScale(float);
- void SetFullImageRect();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 size;
- int width;
- int height;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool sortChildren;
- bool useDerivedOpacity;
- bool visible;
- /* (readonly) */
- bool colorGradient;
- XMLFile defaultStyle;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- Vector2 position;
- IntVector2 hotSpot;
- Vector2 scale;
- float rotation;
- Texture texture;
- IntRect imageRect;
- BlendMode blendMode;
- };
- class Button
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetPressedOffset(int, int);
- void SetPressedChildOffset(int, int);
- void SetRepeat(float, float);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- Texture texture;
- IntRect imageRect;
- IntRect border;
- IntVector2 hoverOffset;
- BlendMode blendMode;
- bool tiled;
- IntVector2 pressedOffset;
- IntVector2 pressedChildOffset;
- float repeatDelay;
- float repeatRate;
- /* (readonly) */
- bool pressed;
- };
- class CheckBox
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetCheckedOffset(int, int);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- Texture texture;
- IntRect imageRect;
- IntRect border;
- IntVector2 hoverOffset;
- BlendMode blendMode;
- bool tiled;
- bool checked;
- IntVector2 checkedOffset;
- };
- class Cursor
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void DefineShape(CursorShape, Texture, const IntRect&, const IntVector2&);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- Texture texture;
- IntRect imageRect;
- IntRect border;
- IntVector2 hoverOffset;
- BlendMode blendMode;
- bool tiled;
- CursorShape shape;
- bool useSystemShapes;
- };
- class Slider
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void ChangeValue(float);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- Texture texture;
- IntRect imageRect;
- IntRect border;
- IntVector2 hoverOffset;
- BlendMode blendMode;
- bool tiled;
- Orientation orientation;
- float range;
- float value;
- /* (readonly) */
- BorderImage knob;
- float repeatRate;
- };
- class ScrollBar
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void ChangeValue(float);
- void StepBack();
- void StepForward();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- Orientation orientation;
- float range;
- float value;
- float scrollStep;
- float stepFactor;
- /* (readonly) */
- float effectiveScrollStep;
- /* (readonly) */
- Button backButton;
- /* (readonly) */
- Button forwardButton;
- /* (readonly) */
- Slider slider;
- };
- class ScrollView
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetViewPosition(int, int);
- void SetScrollBarsVisible(bool, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- UIElement contentElement;
- IntVector2 viewPosition;
- float scrollStep;
- float pageStep;
- /* (readonly) */
- ScrollBar horizontalScrollBar;
- /* (readonly) */
- ScrollBar verticalScrollBar;
- /* (readonly) */
- BorderImage scrollPanel;
- bool scrollBarsAutoVisible;
- };
- class ListView
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetViewPosition(int, int);
- void SetScrollBarsVisible(bool, bool);
- void AddItem(UIElement);
- void InsertItem(uint, UIElement, UIElement = null);
- void RemoveItem(UIElement, uint = 0);
- void RemoveItem(uint);
- void RemoveAllItems();
- void AddSelection(uint);
- void RemoveSelection(uint);
- void ToggleSelection(uint);
- void ChangeSelection(int, bool);
- void SetSelections(Array<uint>);
- void ClearSelection();
- void Expand(uint, bool, bool = false);
- void ToggleExpand(uint, bool = false);
- bool IsSelected(uint) const;
- bool IsExpanded(uint) const;
- Array<UIElement> GetItems() const;
- uint FindItem(UIElement);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- IntVector2 viewPosition;
- /* (readonly) */
- UIElement contentElement;
- /* (readonly) */
- ScrollBar horizontalScrollBar;
- /* (readonly) */
- ScrollBar verticalScrollBar;
- /* (readonly) */
- BorderImage scrollPanel;
- bool scrollBarsAutoVisible;
- float scrollStep;
- float pageStep;
- /* (readonly) */
- uint numItems;
- /* (readonly) */
- Array<UIElement> items;
- uint selection;
- /* (readonly) */
- Array<uint> selections;
- /* (readonly) */
- UIElement selectedItem;
- /* (readonly) */
- Array<UIElement> selectedItems;
- HighlightMode highlightMode;
- bool multiselect;
- bool hierarchyMode;
- int baseIndent;
- bool clearSelectionOnDefocus;
- };
- class Text
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- bool SetFont(const String&, int);
- bool SetFont(Font, int);
- void SetSelection(uint, uint = M_MAX_UNSIGNED);
- void ClearSelection();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- /* (readonly) */
- Font font;
- /* (readonly) */
- int fontSize;
- String text;
- HorizontalAlignment textAlignment;
- float rowSpacing;
- bool wordwrap;
- /* (readonly) */
- uint selectionStart;
- /* (readonly) */
- uint selectionLength;
- Color selectionColor;
- Color hoverColor;
- TextEffect textEffect;
- Color effectColor;
- /* (readonly) */
- uint numRows;
- /* (readonly) */
- int rowHeight;
- };
- class Text3D
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- bool SetFont(const String&, int);
- bool SetFont(Font, int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- /* (readonly) */
- bool inView;
- bool castShadows;
- bool occluder;
- bool occludee;
- float drawDistance;
- float shadowDistance;
- float lodBias;
- uint viewMask;
- uint lightMask;
- uint shadowMask;
- uint zoneMask;
- uint maxLights;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- /* (readonly) */
- Font font;
- /* (readonly) */
- int fontSize;
- Material material;
- String text;
- HorizontalAlignment textAlignment;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- float rowSpacing;
- bool wordwrap;
- TextEffect textEffect;
- Color effectColor;
- float effectDepthBias;
- int width;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- float opacity;
- bool faceCamera;
- /* (readonly) */
- uint numRows;
- /* (readonly) */
- int rowHeight;
- };
- class LineEdit
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- Texture texture;
- IntRect imageRect;
- IntRect border;
- IntVector2 hoverOffset;
- BlendMode blendMode;
- bool tiled;
- String text;
- uint cursorPosition;
- float cursorBlinkRate;
- uint maxLength;
- uint echoCharacter;
- bool cursorMovable;
- bool textSelectable;
- bool textCopyable;
- /* (readonly) */
- Text textElement;
- /* (readonly) */
- BorderImage cursor;
- };
- class Menu
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetPressedOffset(int, int);
- void SetPressedChildOffset(int, int);
- void SetRepeat(float, float);
- void SetPopupOffset(int, int);
- void SetAccelerator(int, int);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- Texture texture;
- IntRect imageRect;
- IntRect border;
- IntVector2 hoverOffset;
- BlendMode blendMode;
- bool tiled;
- IntVector2 pressedOffset;
- IntVector2 pressedChildOffset;
- float repeatDelay;
- float repeatRate;
- /* (readonly) */
- bool pressed;
- UIElement popup;
- IntVector2 popupOffset;
- bool showPopup;
- /* (readonly) */
- int acceleratorKey;
- /* (readonly) */
- int acceleratorQualifiers;
- };
- class MessageBox
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String title;
- String message;
- /* (readonly) */
- UIElement window;
- };
- class DropDownList
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetFullImageRect();
- void SetHoverOffset(int, int);
- void SetPressedOffset(int, int);
- void SetPressedChildOffset(int, int);
- void SetRepeat(float, float);
- void SetAccelerator(int, int);
- void AddItem(UIElement);
- void InsertItem(uint, UIElement);
- void RemoveItem(UIElement);
- void RemoveItem(uint);
- void RemoveAllItems();
- Array<UIElement> GetItems() const;
- UIElement getPopup() const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- Texture texture;
- IntRect imageRect;
- IntRect border;
- IntVector2 hoverOffset;
- BlendMode blendMode;
- bool tiled;
- IntVector2 pressedOffset;
- IntVector2 pressedChildOffset;
- float repeatDelay;
- float repeatRate;
- /* (readonly) */
- bool pressed;
- bool showPopup;
- uint selection;
- bool resizePopup;
- /* (readonly) */
- int acceleratorKey;
- /* (readonly) */
- int acceleratorQualifiers;
- /* (readonly) */
- uint numItems;
- /* (readonly) */
- Array<UIElement> items;
- /* (readonly) */
- UIElement selectedItem;
- /* (readonly) */
- ListView listView;
- /* (readonly) */
- UIElement placeholder;
- String placeholderText;
- };
- class Window
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- bool movable;
- bool resizable;
- IntRect resizeBorder;
- bool modal;
- Color modalShadeColor;
- Color modalFrameColor;
- IntVector2 modalFrameSize;
- bool fixedWidthResizing;
- bool fixedHeightResizing;
- };
- class View3D
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- void SetView(Scene, Camera);
- void QueueUpdate();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- bool movable;
- bool resizable;
- IntRect resizeBorder;
- bool modal;
- Color modalShadeColor;
- Color modalFrameColor;
- IntVector2 modalFrameSize;
- bool fixedWidthResizing;
- bool fixedHeightResizing;
- uint format;
- bool autoUpdate;
- /* (readonly) */
- Texture2D renderTexture;
- /* (readonly) */
- Texture2D depthTexture;
- /* (readonly) */
- Viewport viewport;
- /* (readonly) */
- Scene scene;
- /* (readonly) */
- Node cameraNode;
- };
- class FileSelector
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SetButtonTexts(const String&, const String&);
- void SetFilters(Array<String>, uint);
- void UpdateElements();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String title;
- String path;
- String fileName;
- bool directoryMode;
- /* (readonly) */
- String filter;
- /* (readonly) */
- uint filterIndex;
- XMLFile defaultStyle;
- /* (readonly) */
- Window window;
- /* (readonly) */
- Text titleText;
- /* (readonly) */
- ListView fileList;
- /* (readonly) */
- LineEdit pathEdit;
- /* (readonly) */
- LineEdit fileNameEdit;
- /* (readonly) */
- DropDownList filterList;
- /* (readonly) */
- Button okButton;
- /* (readonly) */
- Button cancelButton;
- };
- class ToolTip
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- bool LoadXML(const XMLElement&, XMLFile, bool = false);
- bool LoadXML(File);
- bool LoadXML(XMLFile, XMLFile);
- bool LoadChildXML(const XMLElement&, XMLFile = null, bool = false);
- bool LoadChildXML(XMLFile, XMLFile = null);
- bool SaveXML(File);
- bool SetStyle(const XMLElement&);
- bool SetStyle(const String&, XMLFile = null);
- bool SetStyleAuto(XMLFile = null);
- void SetPosition(int, int);
- void SetSize(int, int);
- void SetMinSize(int, int);
- void SetMaxSize(int, int);
- void SetFixedSize(int, int);
- void SetFixedWidth(int);
- void SetFixedHeight(int);
- void SetAlignment(HorizontalAlignment, VerticalAlignment);
- void SetLayout(LayoutMode, int = 0, const IntRect& = IntRect ( 0 , 0 , 0 , 0 ));
- void UpdateLayout();
- void DisableLayoutUpdate();
- void EnableLayoutUpdate();
- void BringToFront();
- UIElement CreateChild(const String&, const String& = String ( ), uint = M_MAX_UNSIGNED);
- void AddChild(UIElement);
- void InsertChild(uint, UIElement);
- void RemoveChild(UIElement, uint = 0);
- void RemoveChild(uint);
- void RemoveAllChildren();
- void Remove();
- uint FindChild(UIElement) const;
- void SetParent(UIElement, uint = M_MAX_UNSIGNED);
- UIElement GetChild(const String&, bool = false) const;
- UIElement GetChild(const ShortStringHash&, const Variant& = Variant ( ), bool = false) const;
- Array<UIElement> GetChildren(bool = false) const;
- UIElement GetElementEventSender() const;
- const Variant& GetVar(const ShortStringHash&);
- IntVector2 ScreenToElement(const IntVector2&);
- IntVector2 ElementToScreen(const IntVector2&);
- bool IsInside(IntVector2, bool);
- bool IsInsideCombined(IntVector2, bool);
- uint GetNumChildren(bool) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- String style;
- String name;
- IntVector2 position;
- IntVector2 size;
- int width;
- int height;
- IntVector2 minSize;
- int minWidth;
- int minHeight;
- IntVector2 maxSize;
- int maxWidth;
- int maxHeight;
- /* (readonly) */
- bool fixedSize;
- /* (readonly) */
- bool fixedWidth;
- /* (readonly) */
- bool fixedHeight;
- HorizontalAlignment horizontalAlignment;
- VerticalAlignment verticalAlignment;
- IntRect clipBorder;
- /* (writeonly) */
- Color color;
- Array<Color> colors;
- int priority;
- float opacity;
- bool bringToFront;
- bool bringToBack;
- bool clipChildren;
- bool sortChildren;
- bool useDerivedOpacity;
- bool enabled;
- bool editable;
- bool focus;
- bool selected;
- bool visible;
- /* (readonly) */
- bool hovering;
- bool internal;
- /* (readonly) */
- bool colorGradient;
- FocusMode focusMode;
- uint dragDropMode;
- TraversalMode traversalMode;
- XMLFile defaultStyle;
- LayoutMode layoutMode;
- int layoutSpacing;
- IntRect layoutBorder;
- int indent;
- int indentSpacing;
- /* (readonly) */
- int indentWidth;
- /* (readonly) */
- IntVector2 childOffset;
- bool elementEventSender;
- /* (readonly) */
- uint numChildren;
- /* (readonly) */
- uint numAllChildren;
- /* (readonly) */
- Array<UIElement> children;
- UIElement parent;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- IntVector2 screenPosition;
- /* (readonly) */
- IntRect combinedScreenRect;
- /* (readonly) */
- float derivedOpacity;
- /* (readonly) */
- VariantMap vars;
- float delay;
- };
- class UI
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void Clear();
- void DebugDraw(UIElement);
- UIElement LoadLayout(File);
- UIElement LoadLayout(File, XMLFile);
- UIElement LoadLayout(XMLFile);
- UIElement LoadLayout(XMLFile, XMLFile);
- bool SaveLayout(File, UIElement);
- void SetFocusElement(UIElement, bool = false);
- UIElement GetElementAt(const IntVector2&, bool = true);
- UIElement GetElementAt(int, int, bool = true);
- bool HasModalElement() const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- Cursor cursor;
- /* (readonly) */
- IntVector2 cursorPosition;
- UIElement focusElement;
- /* (readonly) */
- UIElement frontElement;
- /* (readonly) */
- UIElement dragElement;
- /* (readonly) */
- UIElement root;
- /* (readonly) */
- UIElement modalRoot;
- String clipBoardText;
- float doubleClickInterval;
- float dragBeginInterval;
- int dragBeginDistance;
- float defaultToolTipDelay;
- int maxFontTextureSize;
- bool nonFocusedMouseWheel;
- bool useSystemClipBoard;
- bool useScreenKeyboard;
- bool useMutableGlyphs;
- bool forceAutoHint;
- };
- class Controls
- {
- // Methods:
- void Reset();
- void Set(uint, bool);
- bool IsDown(uint) const;
- bool IsPressed(uint, const Controls&) const;
- // Properties:
- uint buttons;
- float yaw;
- float pitch;
- VariantMap extraData;
- };
- class NetworkPriority
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- float basePriority;
- float distanceFactor;
- float minPriority;
- bool alwaysUpdateOwner;
- };
- class Connection
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SendMessage(int, bool, bool, const VectorBuffer&, uint = 0);
- void SendRemoteEvent(const String&, bool, const VariantMap& = VariantMap ( ));
- void SendRemoteEvent(Node, const String&, bool, const VariantMap& = VariantMap ( ));
- void Disconnect(int = 0);
- String ToString() const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- Scene scene;
- bool logStatistics;
- /* (readonly) */
- bool client;
- /* (readonly) */
- bool connected;
- /* (readonly) */
- bool connectPending;
- /* (readonly) */
- bool sceneLoaded;
- /* (readonly) */
- String address;
- /* (readonly) */
- uint16 port;
- /* (readonly) */
- uint numDownloads;
- /* (readonly) */
- String downloadName;
- /* (readonly) */
- float downloadProgress;
- Vector3 position;
- Controls controls;
- VariantMap identity;
- };
- class HttpRequest
- {
- // Methods:
- Array<uint8> Read(uint);
- int ReadInt();
- int16 ReadShort();
- int8 ReadByte();
- uint ReadUInt();
- uint16 ReadUShort();
- uint8 ReadUByte();
- bool ReadBool();
- float ReadFloat();
- IntRect ReadIntRect();
- IntVector2 ReadIntVector2();
- Vector2 ReadVector2();
- Vector3 ReadVector3();
- Vector3 ReadPackedVector3(float);
- Vector4 ReadVector4();
- Quaternion ReadQuaternion();
- Quaternion ReadPackedQuaternion();
- Color ReadColor();
- BoundingBox ReadBoundingBox();
- String ReadString();
- String ReadFileID();
- StringHash ReadStringHash();
- ShortStringHash ReadShortStringHash();
- Variant ReadVariant();
- VariantMap ReadVariantMap();
- uint ReadVLE();
- uint ReadNetID();
- String ReadLine();
- uint Seek(uint);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- String name;
- /* (readonly) */
- uint checksum;
- /* (readonly) */
- uint position;
- /* (readonly) */
- uint size;
- /* (readonly) */
- bool eof;
- /* (readonly) */
- String url;
- /* (readonly) */
- String verb;
- /* (readonly) */
- String error;
- /* (readonly) */
- HttpRequestState state;
- /* (readonly) */
- uint availableSize;
- /* (readonly) */
- bool open;
- };
- class Network
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Connect(const String&, uint16, Scene, const VariantMap& = VariantMap ( ));
- void Disconnect(int = 0);
- bool StartServer(uint16);
- void StopServer();
- void BroadcastMessage(int, bool, bool, const VectorBuffer&, uint = 0);
- void BroadcastRemoteEvent(const String&, bool, const VariantMap& = VariantMap ( ));
- void BroadcastRemoteEvent(Scene, const String&, bool, const VariantMap& = VariantMap ( ));
- void BroadcastRemoteEvent(Node, const String&, bool, const VariantMap& = VariantMap ( ));
- void RegisterRemoteEvent(const String&) const;
- void UnregisterRemoteEvent(const String&) const;
- void UnregisterAllRemoteEvents();
- bool CheckRemoteEvent(const String&) const;
- HttpRequest MakeHttpRequest(const String&, const String& = String ( ), Array<String> = null, const String& = String ( ));
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- int updateFps;
- String packageCacheDir;
- /* (readonly) */
- bool serverRunning;
- /* (readonly) */
- Connection serverConnection;
- /* (readonly) */
- Array<Connection> clientConnections;
- };
- class CollisionShape
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void SetBox(const Vector3&, const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetSphere(float, const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetStaticPlane(const Vector3& = Vector3 ( ), const Quaternion& = Quaternion ( ));
- void SetCylinder(float, float, 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 SetTriangleMesh(Model, uint = 0, const Vector3& = Vector3 ( 1 , 1 , 1 ), 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 SetTerrain();
- void SetTransform(const Vector3&, const Quaternion&);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- ShapeType shapeType;
- Vector3 size;
- Vector3 position;
- Quaternion rotation;
- float margin;
- Model model;
- uint lodLevel;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- };
- class RigidBody
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void SetTransform(const Vector3&, const Quaternion&);
- void SetCollisionLayerAndMask(uint, uint);
- void ApplyForce(const Vector3&);
- void ApplyForce(const Vector3&, const Vector3&);
- void ApplyTorque(const Vector3&);
- void ApplyImpulse(const Vector3&);
- void ApplyImpulse(const Vector3&, const Vector3&);
- void ApplyTorqueImpulse(const Vector3&);
- void ResetForces();
- void Activate();
- void ReAddBodyToWorld();
- Vector3 GetVelocityAtPoint(const Vector3&) const;
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- float mass;
- Vector3 position;
- Quaternion rotation;
- Vector3 linearVelocity;
- Vector3 linearFactor;
- float linearRestThreshold;
- float linearDamping;
- Vector3 angularVelocity;
- Vector3 angularFactor;
- float angularRestThreshold;
- float angularDamping;
- float friction;
- Vector3 anisotropicFriction;
- float rollingFriction;
- float restitution;
- float contactProcessingThreshold;
- float ccdRadius;
- float ccdMotionThreshold;
- bool useGravity;
- Vector3 gravityOverride;
- /* (readonly) */
- Vector3 centerOfMass;
- bool phantom;
- bool kinematic;
- /* (readonly) */
- bool active;
- uint collisionLayer;
- uint collisionMask;
- CollisionEventMode collisionEventMode;
- /* (readonly) */
- Array<RigidBody> collidingBodies;
- };
- class Constraint
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- ConstraintType constraintType;
- Vector3 position;
- Quaternion rotation;
- /* (writeonly) */
- Vector3 axis;
- Vector3 otherPosition;
- Quaternion otherRotation;
- /* (writeonly) */
- Vector3 otherAxis;
- Vector3 worldPosition;
- Vector2 highLimit;
- Vector2 lowLimit;
- float erp;
- float cfm;
- bool disableCollision;
- /* (readonly) */
- RigidBody ownBody;
- RigidBody otherBody;
- };
- class PhysicsRaycastResult
- {
- // Properties:
- /* (readonly) */
- RigidBody body;
- Vector3 position;
- Vector3 normal;
- float distance;
- };
- class PhysicsWorld
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- void Update(float);
- void UpdateCollisions();
- Array<PhysicsRaycastResult> Raycast(const Ray&, float = M_INFINITY, uint = 0xffff);
- PhysicsRaycastResult RaycastSingle(const Ray&, float = M_INFINITY, uint = 0xffff);
- PhysicsRaycastResult SphereCast(const Ray&, float, float = M_INFINITY, uint = 0xffff);
- Array<RigidBody> GetRigidBodies(const Sphere&, uint = 0xffff);
- Array<RigidBody> GetRigidBodies(const BoundingBox&, uint = 0xffff);
- Array<RigidBody> GetRigidBodies(RigidBody);
- void DrawDebugGeometry(bool);
- void RemoveCachedGeometry(Model);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- Vector3 gravity;
- int numIterations;
- int fps;
- bool interpolation;
- bool internalEdge;
- bool splitImpulse;
- };
- class Navigable
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- bool recursive;
- };
- class NavigationMesh
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- bool Build();
- bool Build(const BoundingBox&);
- Vector3 FindNearestPoint();
- Vector3 MoveAlongSurface();
- Array<Vector3> FindPath(const Vector3&, const Vector3&, 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 ));
- float GetDistanceToWall(const Vector3&, float, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
- Vector3 Raycast(const Vector3&, const Vector3&, const Vector3& = Vector3 ( 1.0 , 1.0 , 1.0 ));
- void DrawDebugGeometry(bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- int tileSize;
- float cellSize;
- float cellHeight;
- float agentHeight;
- float agentRadius;
- float agentMaxClimb;
- float agentMaxSlope;
- float regionMinSize;
- float regionMergeSize;
- float edgeMaxLength;
- float edgeMaxError;
- float detailSampleDistance;
- float detailSampleMaxError;
- Vector3 padding;
- /* (readonly) */
- bool initialized;
- /* (readonly) */
- BoundingBox boundingBox;
- /* (readonly) */
- BoundingBox worldBoundingBox;
- /* (readonly) */
- IntVector2 numTiles;
- };
- class OffMeshConnection
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- Node endPoint;
- float radius;
- bool bidirectional;
- };
- class ScriptFile
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File);
- bool Save(File) const;
- bool Execute(const String&, const Array<Variant>);
- void DelayedExecute(float, bool, const String&, const Array<Variant>);
- void DelayedExecute(float, bool, const String&);
- void ClearDelayedExecute(const String& = String ( ));
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- String name;
- /* (readonly) */
- uint memoryUse;
- /* (readonly) */
- uint useTimer;
- /* (readonly) */
- bool compiled;
- };
- class ScriptObject
- {
- };
- class ScriptInstance
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Load(File, bool = false);
- bool Save(File) const;
- bool LoadXML(const XMLElement&, bool = false);
- bool SaveXML(XMLElement&) const;
- void ApplyAttributes();
- bool SetAttribute(const String&, const Variant&);
- void ResetToDefault();
- void RemoveInstanceDefault();
- Variant GetAttribute(const String&) const;
- Variant GetAttributeDefault(const String&) const;
- void Remove();
- void MarkNetworkUpdate() const;
- void DrawDebugGeometry(DebugRenderer, bool);
- bool CreateObject(ScriptFile, const String&);
- bool Execute(const String&, const Array<Variant>);
- bool Execute(const String&);
- void DelayedExecute(float, bool, const String&, const Array<Variant>);
- void DelayedExecute(float, bool, const String&);
- void ClearDelayedExecute(const String& = String ( ));
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- /* (readonly) */
- uint numAttributes;
- Array<Variant> attributes;
- /* (readonly) */
- Array<Variant> attributeDefaults;
- /* (readonly) */
- Array<AttributeInfo> attributeInfos;
- bool temporary;
- bool enabled;
- /* (readonly) */
- bool enabledEffective;
- /* (readonly) */
- uint id;
- /* (readonly) */
- Node node;
- int fixedUpdateFps;
- ScriptFile scriptFile;
- /* (readonly) */
- ScriptObject object;
- String className;
- };
- class Script
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- bool Execute(const String&);
- void DumpAPI(DumpMode = DOXYGEN);
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- ScriptFile defaultScriptFile;
- Scene defaultScene;
- };
- class Console
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void Toggle();
- void UpdateElements();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- XMLFile defaultStyle;
- bool visible;
- uint numRows;
- uint numHistoryRows;
- /* (readonly) */
- uint historyPosition;
- /* (readonly) */
- Array<String> historyRow;
- /* (readonly) */
- BorderImage background;
- /* (readonly) */
- LineEdit lineEdit;
- };
- class DebugHud
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void Toggle(uint);
- void ToggleAll();
- void SetAppStats(const String&, const Variant&);
- void SetAppStats(const String&, const String&);
- void ResetAppStats(const String&);
- void ClearAppStats();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- XMLFile defaultStyle;
- uint mode;
- uint profilerMaxDepth;
- float profilerInterval;
- bool useRendererStats;
- /* (readonly) */
- Text statsText;
- /* (readonly) */
- Text modeText;
- /* (readonly) */
- Text profilerText;
- };
- class Engine
- {
- // Methods:
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void RunFrame();
- void Exit();
- void DumpProfiler();
- void DumpResources();
- void DumpMemory();
- Console CreateConsole();
- DebugHud CreateDebugHud();
- // Properties:
- /* (readonly) */
- int refs;
- /* (readonly) */
- int weakRefs;
- /* (readonly) */
- ShortStringHash type;
- /* (readonly) */
- ShortStringHash baseType;
- /* (readonly) */
- String typeName;
- /* (readonly) */
- String category;
- int minFps;
- int maxFps;
- int timeStepSmoothing;
- int maxInactiveFps;
- bool pauseMinimized;
- bool autoExit;
- /* (readonly) */
- bool initialized;
- /* (readonly) */
- bool exiting;
- /* (readonly) */
- bool headless;
- };
- // Global functions
- bool Equals(float, float);
- float Sin(float);
- float Cos(float);
- float Tan(float);
- float Asin(float);
- float Acos(float);
- float Atan(float);
- float Atan2(float, float);
- float Abs(float);
- float Sign(float);
- float Sqrt(float);
- float Pow(float, float);
- float Min(float, float);
- int Min(int, int);
- float Max(float, float);
- int Max(int, int);
- float Clamp(float, float, float);
- float SmoothStep(float, float, float);
- int Clamp(int, int, int);
- float Lerp(float, float, float);
- float Mod(float, float);
- float Floor(float);
- float Ceil(float);
- float Random();
- float Random(float);
- float Random(float, float);
- int RandomInt();
- int RandomInt(int);
- int RandomInt(int, int);
- void SetRandomSeed(uint);
- uint GetRandomSeed();
- String ToStringHex(int);
- String Join(Array<String>&, const String&);
- bool IsDigit(uint);
- bool IsAlpha(uint);
- void ErrorDialog(const String&, const String&);
- void OpenConsoleWindow();
- String GetConsoleInput();
- Array<String> GetArguments();
- String GetPlatform();
- uint GetNumPhysicalCPUs();
- uint GetNumLogicalCPUs();
- void SendEvent(const String&, VariantMap& = VariantMap ( ));
- void SubscribeToEvent(const String&, const String&);
- void SubscribeToEvent(Object, const String&, const String&);
- void UnsubscribeFromEvent(const String&);
- void UnsubscribeFromEvent(Object, const String&);
- void UnsubscribeFromEvents(Object);
- void UnsubscribeFromAllEvents();
- void UnsubscribeFromAllEventsExcept(Array<String>);
- Object GetEventSender();
- const String& GetTypeName(ShortStringHash);
- void Print(const String&, bool = false);
- void Print(int, bool = false);
- void Print(uint, bool = false);
- void Print(float, bool = false);
- void Print(bool, bool = false);
- void Print(const Variant&, bool = false);
- void PrintCallStack(bool = false);
- String GetPath(const String&);
- String GetFileName(const String&);
- String GetExtension(const String&, bool = true);
- String GetFileNameAndExtension(const String&, bool = false);
- String ReplaceExtension(const String&, const String&);
- String AddTrailingSlash(const String&);
- String RemoveTrailingSlash(const String&);
- String GetParentPath(const String&);
- String GetInternalPath(const String&);
- bool IsAbsolutePath(const String&);
- Array<String> GetObjectCategories();
- Array<String> GetObjectsByCategory(const String&);
- uint GetAlphaFormat();
- uint GetLuminanceFormat();
- uint GetLuminanceAlphaFormat();
- uint GetRGBFormat();
- uint GetRGBAFormat();
- uint GetRGBA16Format();
- uint GetRGBAFloat16Format();
- uint GetRGBAFloat32Format();
- uint GetRG16Format();
- uint GetRGFloat16Format();
- uint GetRGFloat32Format();
- uint GetFloat16Format();
- uint GetFloat32Format();
- uint GetDepthStencilFormat();
- uint GetFormat(const String&);
- String GetTextureUnitName(TextureUnit);
- void MarkNetworkUpdate();
- void DelayedExecute(float, bool, const String&, const Array<Variant>);
- void DelayedExecute(float, bool, const String&);
- void ClearDelayedExecute(const String& = String ( ));
- void Remove();
- // Global properties
- Time time;
- Log log;
- FileSystem fileSystem;
- ResourceCache resourceCache;
- ResourceCache cache;
- Node node;
- Scene scene;
- DebugRenderer debugRenderer;
- Octree octree;
- Graphics graphics;
- Renderer renderer;
- Input input;
- Audio audio;
- UI ui;
- Network network;
- PhysicsWorld physicsWorld;
- ScriptFile scriptFile;
- ScriptInstance self;
- Script script;
- Console console;
- DebugHud debugHud;
- Engine engine;
- // Global constants
- float M_INFINITY;
- float M_EPSILON;
- float M_LARGE_EPSILON;
- float M_LARGE_VALUE;
- float M_DEGTORAD;
- float M_DEGTORAD_2;
- float M_RADTODEG;
- float M_PI;
- float M_HALF_PI;
- int M_MIN_INT;
- int M_MAX_INT;
- uint M_MIN_UNSIGNED;
- uint M_MAX_UNSIGNED;
- int LOG_DEBUG;
- int LOG_INFO;
- int LOG_WARNING;
- int LOG_ERROR;
- int LOG_NONE;
- uint SCAN_FILES;
- uint SCAN_DIRS;
- uint SCAN_HIDDEN;
- uint AM_FILE;
- uint AM_NET;
- uint AM_DEFAULT;
- uint AM_LATESTDATA;
- uint AM_NOEDIT;
- uint AM_NODEID;
- uint AM_COMPONENTID;
- uint AM_NODEIDVECTOR;
- uint FIRST_REPLICATED_ID;
- uint LAST_REPLICATED_ID;
- uint FIRST_LOCAL_ID;
- uint LAST_LOCAL_ID;
- uint VO_NONE;
- uint VO_LOW_MATERIAL_QUALITY;
- uint VO_DISABLE_SHADOWS;
- uint VO_DISABLE_OCCLUSION;
- uint DRAWABLE_GEOMETRY;
- uint DRAWABLE_LIGHT;
- uint DRAWABLE_ZONE;
- uint DRAWABLE_ANY;
- uint DEFAULT_VIEWMASK;
- uint DEFAULT_LIGHTMASK;
- int QUALITY_LOW;
- int QUALITY_MEDIUM;
- int QUALITY_HIGH;
- int SHADOWQUALITY_LOW_16BIT;
- int SHADOWQUALITY_LOW_24BIT;
- int SHADOWQUALITY_HIGH_16BIT;
- int SHADOWQUALITY_HIGH_24BIT;
- int MOUSEB_LEFT;
- int MOUSEB_RIGHT;
- int MOUSEB_MIDDLE;
- int QUAL_SHIFT;
- int QUAL_CTRL;
- int QUAL_ALT;
- int QUAL_ANY;
- int KEY_BACKSPACE;
- int KEY_TAB;
- int KEY_RETURN;
- int KEY_RETURN2;
- int KEY_KP_ENTER;
- int KEY_PAUSE;
- int KEY_CAPSLOCK;
- int KEY_ESC;
- int KEY_SPACE;
- int KEY_PAGEUP;
- int KEY_PAGEDOWN;
- int KEY_END;
- int KEY_HOME;
- int KEY_LEFT;
- int KEY_UP;
- int KEY_RIGHT;
- int KEY_DOWN;
- int KEY_INSERT;
- int KEY_DELETE;
- int KEY_LWIN;
- int KEY_RWIN;
- int KEY_APPS;
- int KEY_NUMPAD0;
- int KEY_NUMPAD1;
- int KEY_NUMPAD2;
- int KEY_NUMPAD3;
- int KEY_NUMPAD4;
- int KEY_NUMPAD5;
- int KEY_NUMPAD6;
- int KEY_NUMPAD7;
- int KEY_NUMPAD8;
- int KEY_NUMPAD9;
- int KEY_MULTIPLY;
- int KEY_ADD;
- int KEY_SUBTRACT;
- int KEY_DECIMAL;
- int KEY_DIVIDE;
- int KEY_F1;
- int KEY_F2;
- int KEY_F3;
- int KEY_F4;
- int KEY_F5;
- int KEY_F6;
- int KEY_F7;
- int KEY_F8;
- int KEY_F9;
- 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_F20;
- int KEY_F21;
- int KEY_F22;
- int KEY_F23;
- int KEY_F24;
- int KEY_NUMLOCK;
- int KEY_SCROLLLOCK;
- int KEY_LSHIFT;
- int KEY_RSHIFT;
- int KEY_LCTRL;
- int KEY_RCTRL;
- int KEY_LALT;
- int KEY_RALT;
- int HAT_CENTER;
- int HAT_UP;
- int HAT_RIGHT;
- int HAT_DOWN;
- int HAT_LEFT;
- int CONTROLLER_BUTTON_A;
- int CONTROLLER_BUTTON_B;
- int CONTROLLER_BUTTON_X;
- int CONTROLLER_BUTTON_Y;
- int CONTROLLER_BUTTON_BACK;
- int CONTROLLER_BUTTON_GUIDE;
- int CONTROLLER_BUTTON_START;
- int CONTROLLER_BUTTON_LEFTSTICK;
- int CONTROLLER_BUTTON_RIGHTSTICK;
- int CONTROLLER_BUTTON_LEFTSHOULDER;
- int CONTROLLER_BUTTON_RIGHTSHOULDER;
- int CONTROLLER_BUTTON_DPAD_UP;
- int CONTROLLER_BUTTON_DPAD_DOWN;
- int CONTROLLER_BUTTON_DPAD_LEFT;
- int CONTROLLER_BUTTON_DPAD_RIGHT;
- int CONTROLLER_AXIS_LEFTX;
- int CONTROLLER_AXIS_LEFTY;
- int CONTROLLER_AXIS_RIGHTX;
- int CONTROLLER_AXIS_RIGHTY;
- int CONTROLLER_AXIS_TRIGGERLEFT;
- int CONTROLLER_AXIS_TRIGGERRIGHT;
- uint DD_DISABLED;
- uint DD_SOURCE;
- uint DD_TARGET;
- uint DD_SOURCE_AND_TARGET;
- uint DEBUGHUD_SHOW_NONE;
- uint DEBUGHUD_SHOW_STATS;
- uint DEBUGHUD_SHOW_MODE;
- uint DEBUGHUD_SHOW_PROFILER;
- uint DEBUGHUD_SHOW_ALL;
|