LuaScriptAPI.dox 198 KB

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