LuaScriptAPI.dox 181 KB

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