LuaScriptAPI.dox 186 KB

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