LuaScriptAPI.dox 198 KB

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