LuaScriptAPI.dox 198 KB

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