LuaScriptAPI.dox 186 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787
  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 ReloadShaders()
  3035. - unsigned GetNumViewports() const
  3036. - Viewport* GetViewport(unsigned index) const
  3037. - RenderPath* GetDefaultRenderPath() const
  3038. - bool GetHDRRendering() const
  3039. - bool GetSpecularLighting() const
  3040. - bool GetDrawShadows() const
  3041. - int GetTextureAnisotropy() const
  3042. - TextureFilterMode GetTextureFilterMode() const
  3043. - int GetTextureQuality() const
  3044. - int GetMaterialQuality() const
  3045. - int GetShadowMapSize() const
  3046. - int GetShadowQuality() const
  3047. - bool GetReuseShadowMaps() const
  3048. - int GetMaxShadowMaps() const
  3049. - bool GetDynamicInstancing() const
  3050. - int GetMinInstances() const
  3051. - int GetMaxInstanceTriangles() const
  3052. - int GetMaxSortedInstances() const
  3053. - int GetMaxOccluderTriangles() const
  3054. - int GetOcclusionBufferSize() const
  3055. - float GetOccluderSizeThreshold() const
  3056. - unsigned GetNumViews() const
  3057. - unsigned GetNumPrimitives() const
  3058. - unsigned GetNumBatches() const
  3059. - unsigned GetNumGeometries(bool allViews = false) const
  3060. - unsigned GetNumLights(bool allViews = false) const
  3061. - unsigned GetNumShadowMaps(bool allViews = false) const
  3062. - unsigned GetNumOccluders(bool allViews = false) const
  3063. - Zone* GetDefaultZone() const
  3064. - Light* GetQuadDirLight() const
  3065. - Material* GetDefaultMaterial() const
  3066. - Texture2D* GetDefaultLightRamp() const
  3067. - Texture2D* GetDefaultLightSpot() const
  3068. - TextureCube* GetFaceSelectCubeMap() const
  3069. - TextureCube* GetIndirectionCubeMap() const
  3070. - VertexBuffer* GetInstancingBuffer() const
  3071. - const FrameInfo& GetFrameInfo()
  3072. - void DrawDebugGeometry(bool depthTest)
  3073. Properties:
  3074. - unsigned numViewports
  3075. - RenderPath* defaultRenderPath
  3076. - bool HDRRendering
  3077. - bool specularLighting
  3078. - bool drawShadows
  3079. - int textureAnisotropy
  3080. - TextureFilterMode textureFilterMode
  3081. - int textureQuality
  3082. - int materialQuality
  3083. - int shadowMapSize
  3084. - int shadowQuality
  3085. - bool reuseShadowMaps
  3086. - int maxShadowMaps
  3087. - bool dynamicInstancing
  3088. - int minInstances
  3089. - int maxInstanceTriangles
  3090. - int maxSortedInstances
  3091. - int maxOccluderTriangles
  3092. - int occlusionBufferSize
  3093. - float occluderSizeThreshold
  3094. - unsigned numViews (readonly)
  3095. - unsigned numPrimitives (readonly)
  3096. - unsigned numBatches (readonly)
  3097. - Zone* defaultZone (readonly)
  3098. - Material* defaultMaterial (readonly)
  3099. - Texture2D* defaultLightRamp (readonly)
  3100. - Texture2D* defaultLightSpot (readonly)
  3101. ### Resource
  3102. Methods:
  3103. - bool Load(Deserializer& source)
  3104. - bool Save(Serializer& dest) const
  3105. - bool Load(const String fileName)
  3106. - bool Save(const String fileName) const
  3107. - const String GetName() const
  3108. - StringHash GetNameHash() const
  3109. - unsigned GetMemoryUse() const
  3110. Properties:
  3111. - String name (readonly)
  3112. - StringHash nameHash (readonly)
  3113. - unsigned memoryUse (readonly)
  3114. ### ResourceCache
  3115. Methods:
  3116. - void ReleaseAllResources(bool force = false)
  3117. - bool ReloadResource(Resource* resource)
  3118. - void SetMemoryBudget(ShortStringHash type, unsigned budget)
  3119. - void SetMemoryBudget(const String type, unsigned budget)
  3120. - void SetAutoReloadResources(bool enable)
  3121. - void SetReturnFailedResources(bool enable)
  3122. - void SetSearchPackagesFirst(bool value)
  3123. - File* GetFile(const String name)
  3124. - Resource* GetResource(const String type, const String name, bool SendEventOnFailure = true)
  3125. - bool Exists(const String name) const
  3126. - unsigned GetMemoryBudget(ShortStringHash type) const
  3127. - unsigned GetMemoryUse(ShortStringHash type) const
  3128. - unsigned GetTotalMemoryUse() const
  3129. - String GetResourceFileName(const String name) const
  3130. - bool GetAutoReloadResources() const
  3131. - bool GetReturnFailedResources() const
  3132. - bool GetSearchPackagesFirst() const
  3133. - String GetPreferredResourceDir(const String path) const
  3134. - String SanitateResourceName(const String name) const
  3135. - String SanitateResourceDirName(const String name) const
  3136. Properties:
  3137. - unsigned totalMemoryUse (readonly)
  3138. - bool autoReloadResources (readonly)
  3139. - bool returnFailedResources (readonly)
  3140. - bool searchPackagesFirst (readonly)
  3141. ### ResourceRef
  3142. Methods:
  3143. - ResourceRef() (GC)
  3144. - ResourceRef* new()
  3145. - ResourceRef(ShortStringHash type) (GC)
  3146. - ResourceRef* new(ShortStringHash type)
  3147. - ResourceRef(ShortStringHash type, String name) (GC)
  3148. - ResourceRef* new(ShortStringHash type, String name)
  3149. - ResourceRef(const ResourceRef& rhs) (GC)
  3150. - ResourceRef* new(const ResourceRef& rhs)
  3151. - void delete()
  3152. - bool operator==(const ResourceRef& rhs) const
  3153. Properties:
  3154. - ShortStringHash type
  3155. - String name
  3156. ### ResourceRefList
  3157. Methods:
  3158. - ResourceRefList() (GC)
  3159. - ResourceRefList* new()
  3160. - ResourceRefList(ShortStringHash type) (GC)
  3161. - ResourceRefList* new(ShortStringHash type)
  3162. - void delete()
  3163. - bool operator==(const ResourceRefList& rhs) const
  3164. Properties:
  3165. - ShortStringHash type
  3166. ### RigidBody : Component
  3167. Methods:
  3168. - void SetMass(float mass)
  3169. - void SetPosition(Vector3 position)
  3170. - void SetRotation(Quaternion rotation)
  3171. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  3172. - void SetLinearVelocity(Vector3 velocity)
  3173. - void SetLinearFactor(Vector3 factor)
  3174. - void SetLinearRestThreshold(float threshold)
  3175. - void SetLinearDamping(float damping)
  3176. - void SetAngularVelocity(Vector3 angularVelocity)
  3177. - void SetAngularFactor(Vector3 factor)
  3178. - void SetAngularRestThreshold(float threshold)
  3179. - void SetAngularDamping(float factor)
  3180. - void SetFriction(float friction)
  3181. - void SetAnisotropicFriction(Vector3 friction)
  3182. - void SetRollingFriction(float friction)
  3183. - void SetRestitution(float restitution)
  3184. - void SetContactProcessingThreshold(float threshold)
  3185. - void SetCcdRadius(float radius)
  3186. - void SetCcdMotionThreshold(float threshold)
  3187. - void SetUseGravity(bool enable)
  3188. - void SetGravityOverride(const Vector3& gravity)
  3189. - void SetKinematic(bool enable)
  3190. - void SetTrigger(bool enable)
  3191. - void SetCollisionLayer(unsigned layer)
  3192. - void SetCollisionMask(unsigned mask)
  3193. - void SetCollisionLayerAndMask(unsigned layer, unsigned mask)
  3194. - void SetCollisionEventMode(CollisionEventMode mode)
  3195. - void ApplyForce(const Vector3& force)
  3196. - void ApplyForce(const Vector3& force, const Vector3& position)
  3197. - void ApplyTorque(const Vector3& torque)
  3198. - void ApplyImpulse(const Vector3& impulse)
  3199. - void ApplyImpulse(const Vector3& impulse, const Vector3& position)
  3200. - void ApplyTorqueImpulse(const Vector3& torque)
  3201. - void ResetForces()
  3202. - void Activate()
  3203. - void ReAddBodyToWorld()
  3204. - PhysicsWorld* GetPhysicsWorld() const
  3205. - float GetMass() const
  3206. - Vector3 GetPosition() const
  3207. - Quaternion GetRotation() const
  3208. - Vector3 GetLinearVelocity() const
  3209. - Vector3 GetLinearFactor() const
  3210. - Vector3 GetVelocityAtPoint(const Vector3& position) const
  3211. - float GetLinearRestThreshold() const
  3212. - float GetLinearDamping() const
  3213. - Vector3 GetAngularVelocity() const
  3214. - Vector3 GetAngularFactor() const
  3215. - float GetAngularRestThreshold() const
  3216. - float GetAngularDamping() const
  3217. - float GetFriction() const
  3218. - Vector3 GetAnisotropicFriction() const
  3219. - float GetRollingFriction() const
  3220. - float GetRestitution() const
  3221. - float GetContactProcessingThreshold() const
  3222. - float GetCcdRadius() const
  3223. - float GetCcdMotionThreshold() const
  3224. - bool GetUseGravity() const
  3225. - const Vector3& GetGravityOverride() const
  3226. - const Vector3& GetCenterOfMass() const
  3227. - bool IsKinematic() const
  3228. - bool IsTrigger() const
  3229. - bool IsActive() const
  3230. - unsigned GetCollisionLayer() const
  3231. - unsigned GetCollisionMask() const
  3232. - CollisionEventMode GetCollisionEventMode() const
  3233. Properties:
  3234. - PhysicsWorld* physicsWorld (readonly)
  3235. - float mass
  3236. - Vector3 position
  3237. - Quaternion rotation
  3238. - Vector3 linearVelocity
  3239. - Vector3 linearFactor
  3240. - float linearRestThreshold
  3241. - float linearDamping
  3242. - Vector3 angularVelocity
  3243. - Vector3 angularFactor
  3244. - float angularRestThreshold
  3245. - float angularDamping
  3246. - float friction
  3247. - Vector3 anisotropicFriction
  3248. - float rollingFriction
  3249. - float restitution
  3250. - float contactProcessingThreshold
  3251. - float ccdRadius
  3252. - float ccdMotionThreshold
  3253. - bool useGravity
  3254. - Vector3& gravityOverride
  3255. - Vector3& centerOfMass (readonly)
  3256. - bool kinematic
  3257. - bool trigger
  3258. - bool active (readonly)
  3259. - unsigned collisionLayer
  3260. - unsigned collisionMask
  3261. - CollisionEventMode collisionEventMode
  3262. ### RigidBody2D : Component
  3263. Methods:
  3264. - void SetBodyType(BodyType2D bodyType)
  3265. - void SetMass(float mass)
  3266. - void SetInertia(float inertia)
  3267. - void SetMassCenter(Vector2 center)
  3268. - void SetUseFixtureMass(bool useFixtureMass)
  3269. - void SetLinearDamping(float linearDamping)
  3270. - void SetAngularDamping(float angularDamping)
  3271. - void SetAllowSleep(bool allowSleep)
  3272. - void SetFixedRotation(bool fixedRotation)
  3273. - void SetBullet(bool bullet)
  3274. - void SetGravityScale(float gravityScale)
  3275. - void SetAwake(bool awake)
  3276. - void SetLinearVelocity(Vector2 linearVelocity)
  3277. - void SetAngularVelocity(float angularVelocity)
  3278. - void ApplyForce(const Vector2& force, const Vector2& point, bool wake)
  3279. - void ApplyForceToCenter(const Vector2& force, bool wake)
  3280. - void ApplyTorque(float torque, bool wake)
  3281. - void ApplyLinearImpulse(const Vector2& impulse, const Vector2& point, bool wake)
  3282. - void ApplyAngularImpulse(float impulse, bool wake)
  3283. - BodyType2D GetBodyType() const
  3284. - float GetMass() const
  3285. - float GetInertia() const
  3286. - Vector2 GetMassCenter() const
  3287. - bool GetUseFixtureMass() const
  3288. - float GetLinearDamping() const
  3289. - float GetAngularDamping() const
  3290. - bool IsAllowSleep() const
  3291. - bool IsFixedRotation() const
  3292. - bool IsBullet() const
  3293. - float GetGravityScale() const
  3294. - bool IsAwake() const
  3295. - Vector2 GetLinearVelocity() const
  3296. - float GetAngularVelocity() const
  3297. Properties:
  3298. - BodyType2D bodyType
  3299. - float mass
  3300. - float inertia
  3301. - Vector2 massCenter
  3302. - bool useFixtureMass
  3303. - float linearDamping
  3304. - float angularDamping
  3305. - bool allowSleep
  3306. - bool fixedRotation
  3307. - bool bullet
  3308. - float gravityScale
  3309. - bool awake
  3310. - Vector2 linearVelocity
  3311. - float angularVelocity
  3312. ### Scene : Node
  3313. Methods:
  3314. - Scene() (GC)
  3315. - Scene* new()
  3316. - void delete()
  3317. - bool Load(File* source)
  3318. - bool Save(File* dest) const
  3319. - bool Load(const String fileName)
  3320. - bool Save(const String fileName) const
  3321. - bool LoadXML(File* source)
  3322. - bool SaveXML(File* dest) const
  3323. - bool LoadXML(const String fileName)
  3324. - bool SaveXML(const String fileName) const
  3325. - Node* Instantiate(File* source, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3326. - Node* Instantiate(const String fileName, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3327. - Node* InstantiateXML(File* source, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3328. - Node* InstantiateXML(const String fileName, const Vector3& position, const Quaternion& rotation, CreateMode mode = REPLICATED)
  3329. - bool LoadAsync(File* file)
  3330. - bool LoadAsyncXML(File* file)
  3331. - bool LoadAsync(const String fileName)
  3332. - bool LoadAsyncXML(const String fileName)
  3333. - void StopAsyncLoading()
  3334. - void Clear(bool clearReplicated = true, bool clearLocal = true)
  3335. - void SetUpdateEnabled(bool enable)
  3336. - void SetTimeScale(float scale)
  3337. - void SetElapsedTime(float time)
  3338. - void SetSmoothingConstant(float constant)
  3339. - void SetSnapThreshold(float threshold)
  3340. - Node* GetNode(unsigned id) const
  3341. - bool IsUpdateEnabled() const
  3342. - bool IsAsyncLoading() const
  3343. - float GetAsyncProgress() const
  3344. - const String GetFileName() const
  3345. - unsigned GetChecksum() const
  3346. - float GetTimeScale() const
  3347. - float GetElapsedTime() const
  3348. - float GetSmoothingConstant() const
  3349. - float GetSnapThreshold() const
  3350. - const String GetVarName(ShortStringHash hash) const
  3351. - void Update(float timeStep)
  3352. - void BeginThreadedUpdate()
  3353. - void EndThreadedUpdate()
  3354. - void DelayedMarkedDirty(Component* component)
  3355. - bool IsThreadedUpdate() const
  3356. - unsigned GetFreeNodeID(CreateMode mode)
  3357. - unsigned GetFreeComponentID(CreateMode mode)
  3358. - void NodeAdded(Node* node)
  3359. - void NodeRemoved(Node* node)
  3360. - void ComponentAdded(Component* component)
  3361. - void ComponentRemoved(Component* component)
  3362. - void SetVarNamesAttr(String value)
  3363. - String GetVarNamesAttr() const
  3364. - void PrepareNetworkUpdate()
  3365. - void CleanupConnection(Connection* connection)
  3366. - void MarkNetworkUpdate(Node* node)
  3367. - void MarkNetworkUpdate(Component* component)
  3368. - void MarkReplicationDirty(Node* node)
  3369. Properties:
  3370. - bool updateEnabled
  3371. - bool asyncLoading (readonly)
  3372. - float asyncProgress (readonly)
  3373. - const String fileName
  3374. - unsigned checksum (readonly)
  3375. - float timeScale
  3376. - float elapsedTime
  3377. - float smoothingConstant
  3378. - float snapThreshold
  3379. - bool threadedUpdate (readonly)
  3380. - String varNamesAttr
  3381. ### ScrollBar : UIElement
  3382. Methods:
  3383. - ScrollBar() (GC)
  3384. - ScrollBar* new()
  3385. - void delete()
  3386. - void SetOrientation(Orientation orientation)
  3387. - void SetRange(float range)
  3388. - void SetValue(float value)
  3389. - void ChangeValue(float delta)
  3390. - void SetScrollStep(float step)
  3391. - void SetStepFactor(float factor)
  3392. - void StepBack()
  3393. - void StepForward()
  3394. - Orientation GetOrientation() const
  3395. - float GetRange() const
  3396. - float GetValue() const
  3397. - float GetScrollStep() const
  3398. - float GetStepFactor() const
  3399. - float GetEffectiveScrollStep() const
  3400. - Button* GetBackButton() const
  3401. - Button* GetForwardButton() const
  3402. - Slider* GetSlider() const
  3403. Properties:
  3404. - Orientation orientation
  3405. - float range
  3406. - float value
  3407. - float scrollStep
  3408. - float stepFactor
  3409. - float effectiveScrollStep (readonly)
  3410. - Button* backButton (readonly)
  3411. - Button* forwardButton (readonly)
  3412. - Slider* slider (readonly)
  3413. ### ScrollView : UIElement
  3414. Methods:
  3415. - ScrollView() (GC)
  3416. - ScrollView* new()
  3417. - void delete()
  3418. - void SetContentElement(UIElement* element)
  3419. - void SetViewPosition(const IntVector2& position)
  3420. - void SetViewPosition(int x, int y)
  3421. - void SetScrollBarsVisible(bool horizontal, bool vertical)
  3422. - void SetScrollBarsAutoVisible(bool enable)
  3423. - void SetScrollStep(float step)
  3424. - void SetPageStep(float step)
  3425. - const IntVector2& GetViewPosition() const
  3426. - UIElement* GetContentElement() const
  3427. - ScrollBar* GetHorizontalScrollBar() const
  3428. - ScrollBar* GetVerticalScrollBar() const
  3429. - BorderImage* GetScrollPanel() const
  3430. - bool GetScrollBarsAutoVisible() const
  3431. - float GetScrollStep() const
  3432. - float GetPageStep() const
  3433. Properties:
  3434. - IntVector2& viewPosition
  3435. - UIElement* contentElement
  3436. - ScrollBar* horizontalScrollBar (readonly)
  3437. - ScrollBar* verticalScrollBar (readonly)
  3438. - BorderImage* scrollPanel (readonly)
  3439. - bool scrollBarsAutoVisible
  3440. - float scrollStep
  3441. - float pageStep
  3442. ### Serializable : Object
  3443. Methods:
  3444. - void SetTemporary(bool enable)
  3445. - bool IsTemporary() const
  3446. Properties:
  3447. - bool temporary
  3448. ### Serializer
  3449. Methods:
  3450. - unsigned Write(const VectorBuffer& buffer)
  3451. - bool WriteInt(int value)
  3452. - bool WriteShort(short value)
  3453. - bool WriteByte(char value)
  3454. - bool WriteUInt(unsigned value)
  3455. - bool WriteUShort(short value)
  3456. - bool WriteUByte(char value)
  3457. - bool WriteBool(bool value)
  3458. - bool WriteFloat(float value)
  3459. - bool WriteIntRect(const IntRect& value)
  3460. - bool WriteIntVector2(const IntVector2& value)
  3461. - bool WriteRect(const Rect& value)
  3462. - bool WriteVector2(const Vector2& value)
  3463. - bool WriteVector3(const Vector3& value)
  3464. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  3465. - bool WriteVector4(const Vector4& value)
  3466. - bool WriteQuaternion(const Quaternion& value)
  3467. - bool WritePackedQuaternion(const Quaternion& value)
  3468. - bool WriteMatrix3(const Matrix3& value)
  3469. - bool WriteMatrix3x4(const Matrix3x4& value)
  3470. - bool WriteMatrix4(const Matrix4& value)
  3471. - bool WriteColor(const Color& value)
  3472. - bool WriteBoundingBox(const BoundingBox& value)
  3473. - bool WriteString(const String value)
  3474. - bool WriteFileID(const String value)
  3475. - bool WriteStringHash(const StringHash& value)
  3476. - bool WriteShortStringHash(const ShortStringHash& value)
  3477. - bool WriteBuffer(const VectorBuffer& buffer)
  3478. - bool WriteResourceRef(const ResourceRef& value)
  3479. - bool WriteResourceRefList(const ResourceRefList& value)
  3480. - bool WriteVariant(const Variant& value)
  3481. - bool WriteVariantData(const Variant& value)
  3482. - bool WriteVariantVector(const VariantVector& value)
  3483. - bool WriteVariantMap(const VariantMap& value)
  3484. - bool WriteVLE(unsigned value)
  3485. - bool WriteNetID(unsigned value)
  3486. - bool WriteLine(const String value)
  3487. ### ShortStringHash
  3488. Methods:
  3489. - ShortStringHash() (GC)
  3490. - ShortStringHash* new()
  3491. - ShortStringHash(const ShortStringHash& rhs) (GC)
  3492. - ShortStringHash* new(const ShortStringHash& rhs)
  3493. - ShortStringHash(const StringHash& rhs) (GC)
  3494. - ShortStringHash* new(const StringHash& rhs)
  3495. - ShortStringHash(short value) (GC)
  3496. - ShortStringHash* new(short value)
  3497. - ShortStringHash(const String str) (GC)
  3498. - ShortStringHash* new(const String str)
  3499. - void delete()
  3500. - ShortStringHash operator+(const ShortStringHash& rhs) const
  3501. - bool operator==(const ShortStringHash& rhs) const
  3502. - bool operator<(const ShortStringHash& rhs) const
  3503. - short Value() const
  3504. - short Calculate(const char* str)
  3505. Properties:
  3506. - const ShortStringHash ZERO
  3507. - short value (readonly)
  3508. ### Skeleton
  3509. Methods:
  3510. - unsigned GetNumBones() const
  3511. - Bone* GetRootBone()
  3512. - Bone* GetBone(const String name)
  3513. - Bone* GetBone(unsigned index)
  3514. Properties:
  3515. - unsigned numBones (readonly)
  3516. - Bone* rootBone (readonly)
  3517. ### Skybox : StaticModel
  3518. ### Slider : BorderImage
  3519. Methods:
  3520. - Slider() (GC)
  3521. - Slider* new()
  3522. - void delete()
  3523. - void SetOrientation(Orientation orientation)
  3524. - void SetRange(float range)
  3525. - void SetValue(float value)
  3526. - void ChangeValue(float delta)
  3527. - void SetRepeatRate(float rate)
  3528. - Orientation GetOrientation() const
  3529. - float GetRange() const
  3530. - float GetValue() const
  3531. - BorderImage* GetKnob() const
  3532. - float GetRepeatRate() const
  3533. Properties:
  3534. - Orientation orientation
  3535. - float range
  3536. - float value
  3537. - BorderImage* knob (readonly)
  3538. - float repeatRate
  3539. ### Sound : Resource
  3540. Methods:
  3541. - Sound() (GC)
  3542. - Sound* new()
  3543. - void delete()
  3544. - bool LoadRaw(Deserializer& source)
  3545. - bool LoadWav(Deserializer& source)
  3546. - bool LoadOggVorbis(Deserializer& source)
  3547. - bool LoadRaw(const String fileName)
  3548. - bool LoadWav(const String fileName)
  3549. - bool LoadOggVorbis(const String fileName)
  3550. - void SetSize(unsigned dataSize)
  3551. - void SetData(const void* data, unsigned dataSize)
  3552. - void SetFormat(unsigned frequency, bool sixteenBit, bool stereo)
  3553. - void SetLooped(bool enable)
  3554. - void SetLoop(unsigned repeatOffset, unsigned endOffset)
  3555. - void FixInterpolation()
  3556. - float GetLength() const
  3557. - unsigned GetDataSize() const
  3558. - unsigned GetSampleSize() const
  3559. - float GetFrequency() const
  3560. - unsigned GetIntFrequency() const
  3561. - bool IsLooped() const
  3562. - bool IsSixteenBit() const
  3563. - bool IsStereo() const
  3564. - bool IsCompressed() const
  3565. Properties:
  3566. - float length (readonly)
  3567. - unsigned dataSize (readonly)
  3568. - unsigned sampleSize (readonly)
  3569. - float frequency (readonly)
  3570. - int intFrequency (readonly)
  3571. - bool looped
  3572. - bool sixteenBit (readonly)
  3573. - bool stereo (readonly)
  3574. - bool compressed (readonly)
  3575. ### SoundListener : Component
  3576. ### SoundSource : Component
  3577. Methods:
  3578. - void Play(Sound* sound)
  3579. - void Play(Sound* sound, float frequency)
  3580. - void Play(Sound* sound, float frequency, float gain)
  3581. - void Play(Sound* sound, float frequency, float gain, float panning)
  3582. - void Stop()
  3583. - void SetSoundType(SoundType type)
  3584. - void SetFrequency(float frequency)
  3585. - void SetGain(float gain)
  3586. - void SetAttenuation(float attenuation)
  3587. - void SetPanning(float panning)
  3588. - void SetAutoRemove(bool enable)
  3589. - Sound* GetSound() const
  3590. - SoundType GetSoundType() const
  3591. - float GetTimePosition() const
  3592. - float GetFrequency() const
  3593. - float GetGain() const
  3594. - float GetAttenuation() const
  3595. - float GetPanning() const
  3596. - bool GetAutoRemove() const
  3597. - bool IsPlaying() const
  3598. Properties:
  3599. - Sound* sound (readonly)
  3600. - SoundType soundType
  3601. - float timePosition (readonly)
  3602. - float frequency
  3603. - float gain
  3604. - float attenuation
  3605. - float panning
  3606. - bool autoRemove
  3607. - bool playing (readonly)
  3608. ### SoundSource3D : SoundSource
  3609. Methods:
  3610. - void SetDistanceAttenuation(float nearDistance, float farDistance, float rolloffFactor)
  3611. - void SetAngleAttenuation(float innerAngle, float outerAngle)
  3612. - void SetNearDistance(float distance)
  3613. - void SetFarDistance(float distance)
  3614. - void SetInnerAngle(float angle)
  3615. - void SetOuterAngle(float angle)
  3616. - void SetRolloffFactor(float factor)
  3617. - void CalculateAttenuation()
  3618. - float GetNearDistance() const
  3619. - float GetFarDistance() const
  3620. - float GetInnerAngle() const
  3621. - float GetOuterAngle() const
  3622. - float RollAngleoffFactor() const
  3623. Properties:
  3624. - float nearDistance
  3625. - float farDistance
  3626. - float innerAngle
  3627. - float outerAngle
  3628. - float rolloffFactor
  3629. ### Sphere
  3630. Methods:
  3631. - Sphere() (GC)
  3632. - Sphere* new()
  3633. - Sphere(const Sphere& sphere) (GC)
  3634. - Sphere* new(const Sphere& sphere)
  3635. - Sphere(const Vector3& center, float radius) (GC)
  3636. - Sphere* new(const Vector3& center, float radius)
  3637. - Sphere(const BoundingBox& box) (GC)
  3638. - Sphere* new(const BoundingBox& box)
  3639. - Sphere(const Frustum& frustum) (GC)
  3640. - Sphere* new(const Frustum& frustum)
  3641. - Sphere(const Polyhedron& poly) (GC)
  3642. - Sphere* new(const Polyhedron& poly)
  3643. - void delete()
  3644. - bool operator==(const Sphere& rhs) const
  3645. - void Define(const Sphere& sphere)
  3646. - void Define(const Vector3& center, float radius)
  3647. - void Define(const BoundingBox& box)
  3648. - void Define(const Frustum& frustum)
  3649. - void Define(const Polyhedron& poly)
  3650. - void Merge(const Vector3& point)
  3651. - void Merge(const BoundingBox& box)
  3652. - void Merge(const Frustum& frustum)
  3653. - void Merge(const Polyhedron& poly)
  3654. - void Merge(const Sphere& sphere)
  3655. - void Clear()
  3656. - Intersection IsInside(const Vector3& point) const
  3657. - Intersection IsInside(const Sphere& sphere) const
  3658. - Intersection IsInsideFast(const Sphere& sphere) const
  3659. - Intersection IsInside(const BoundingBox& box) const
  3660. - Intersection IsInsideFast(const BoundingBox& box) const
  3661. - float Distance(const Vector3& point) const
  3662. Properties:
  3663. - Vector3 center
  3664. - float radius
  3665. - bool defined
  3666. ### Spline
  3667. Methods:
  3668. - Spline() (GC)
  3669. - Spline* new()
  3670. - Spline(InterpolationMode mode) (GC)
  3671. - Spline* new(InterpolationMode mode)
  3672. - Spline(const Spline& rhs) (GC)
  3673. - Spline* new(const Spline& rhs)
  3674. - bool operator==(const Spline& rhs) const
  3675. - Variant GetPoint(float f) const
  3676. - Variant GetKnot(unsigned index) const
  3677. - void SetKnot(const Variant& knot, unsigned tolua_var_1)
  3678. - void AddKnot(const Variant& knot)
  3679. - void AddKnot(const Variant& knot, unsigned index)
  3680. - void RemoveKnot()
  3681. - void RemoveKnot(unsigned index)
  3682. - void Clear()
  3683. Properties:
  3684. - InterpolationMode interpolationMode
  3685. ### SplinePath : Component
  3686. Methods:
  3687. - void AddControlPoint(Node* point, unsigned index = M_MAX_UNSIGNED)
  3688. - void RemoveControlPoint(Node* point)
  3689. - void ClearControlPoints()
  3690. - Vector3 GetPoint(float factor) const
  3691. - InterpolationMode GetInterpolationMode() const
  3692. - Vector3 GetPosition() const
  3693. - void SetInterpolationMode(InterpolationMode mode)
  3694. - void SetPosition(float factor)
  3695. - void Move(float timeStep)
  3696. - void Reset()
  3697. - bool IsFinished() const
  3698. Properties:
  3699. - float speed
  3700. - Node* controlledNode
  3701. ### Sprite : UIElement
  3702. Methods:
  3703. - Sprite() (GC)
  3704. - Sprite* new()
  3705. - void delete()
  3706. - void SetPosition(const Vector2& position)
  3707. - void SetPosition(float x, float y)
  3708. - void SetHotSpot(const IntVector2& hotSpot)
  3709. - void SetHotSpot(int x, int y)
  3710. - void SetScale(const Vector2& scale)
  3711. - void SetScale(float x, float y)
  3712. - void SetScale(float scale)
  3713. - void SetRotation(float angle)
  3714. - void SetTexture(Texture* texture)
  3715. - void SetImageRect(const IntRect& rect)
  3716. - void SetFullImageRect()
  3717. - void SetBlendMode(BlendMode mode)
  3718. - const Vector2& GetPosition() const
  3719. - const IntVector2& GetHotSpot() const
  3720. - const Vector2& GetScale() const
  3721. - float GetRotation() const
  3722. - Texture* GetTexture() const
  3723. - const IntRect& GetImageRect() const
  3724. - BlendMode GetBlendMode() const
  3725. - const Matrix3x4& GetTransform() const
  3726. Properties:
  3727. - Vector2& position
  3728. - IntVector2& hotSpot
  3729. - Vector2& scale
  3730. - float rotation
  3731. - Texture* texture
  3732. - IntRect& imageRect
  3733. - BlendMode blendMode
  3734. - Matrix3x4& transform (readonly)
  3735. ### Sprite2D : Resource
  3736. Methods:
  3737. - void SetTexture(Texture2D* texture)
  3738. - void SetRectangle(const IntRect& rectangle)
  3739. - void SetHotSpot(const Vector2& hotSpot)
  3740. - void SetSpriteSheet(SpriteSheet2D* spriteSheet)
  3741. - Texture2D* GetTexture() const
  3742. - const IntRect& GetRectangle() const
  3743. - const Vector2& GetHotSpot() const
  3744. - SpriteSheet2D* GetSpriteSheet() const
  3745. Properties:
  3746. - Texture2D* texture
  3747. - IntRect rectangle
  3748. - Vector2 hotSpot
  3749. - SpriteSheet2D* spriteSheet
  3750. ### SpriteSheet2D : Resource
  3751. Methods:
  3752. - Texture2D* GetTexture() const
  3753. - Sprite2D* GetSprite(const String name) const
  3754. - void DefineSprite(const String name, const IntRect& rectangle)
  3755. - void DefineSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot)
  3756. - void UpdateSprite(const String name, const IntRect& rectangle)
  3757. - void UpdateSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot)
  3758. ### StaticModel : Drawable
  3759. Methods:
  3760. - void SetModel(Model* model)
  3761. - void SetMaterial(Material* material)
  3762. - bool SetMaterial(unsigned index, Material* material)
  3763. - void SetOcclusionLodLevel(unsigned level)
  3764. - void ApplyMaterialList(const String fileName = String::EMPTY)
  3765. - Model* GetModel() const
  3766. - unsigned GetNumGeometries() const
  3767. - Material* GetMaterial(unsigned index = 0) const
  3768. - unsigned GetOcclusionLodLevel() const
  3769. - bool IsInside(const Vector3& point) const
  3770. - bool IsInsideLocal(const Vector3& point) const
  3771. Properties:
  3772. - Model* model
  3773. - Material* material
  3774. - BoundingBox& boundingBox (readonly)
  3775. - unsigned numGeometries (readonly)
  3776. - unsigned occlusionLodLevel
  3777. ### StaticModelGeometryData
  3778. Properties:
  3779. - Vector3 center
  3780. - unsigned lodLevel
  3781. ### StaticModelGroup : StaticModel
  3782. Methods:
  3783. - void AddInstanceNode(Node* node)
  3784. - void RemoveInstanceNode(Node* node)
  3785. - void RemoveAllInstanceNodes()
  3786. - unsigned GetNumInstanceNodes() const
  3787. - Node* GetInstanceNode(unsigned index) const
  3788. Properties:
  3789. - unsigned numInstanceNodes (readonly)
  3790. ### StaticSprite2D : Drawable2D
  3791. Methods:
  3792. - void SetFlip(bool flipX, bool flipY)
  3793. - void SetFlipX(bool flipX)
  3794. - void SetFlipY(bool flipY)
  3795. - void SetColor(const Color& color)
  3796. - bool GetFlipX() const
  3797. - bool GetFlipY() const
  3798. - const Color& GetColor() const
  3799. Properties:
  3800. - bool flipX
  3801. - bool flipY
  3802. - Color& color
  3803. ### StringHash
  3804. Methods:
  3805. - StringHash() (GC)
  3806. - StringHash* new()
  3807. - StringHash(const StringHash& rhs) (GC)
  3808. - StringHash* new(const StringHash& rhs)
  3809. - StringHash(unsigned value) (GC)
  3810. - StringHash* new(unsigned value)
  3811. - StringHash(const String str) (GC)
  3812. - StringHash* new(const String str)
  3813. - void delete()
  3814. - StringHash operator+(const StringHash& rhs) const
  3815. - bool operator==(const StringHash& rhs) const
  3816. - bool operator<(const StringHash& rhs) const
  3817. - bool operatorbool() const
  3818. - unsigned Value() const
  3819. - String ToString() const
  3820. - unsigned ToHash() const
  3821. - unsigned Calculate(const char* str)
  3822. Properties:
  3823. - const StringHash ZERO
  3824. - unsigned value (readonly)
  3825. ### Technique : Resource
  3826. Methods:
  3827. - bool HasPass(const String type) const
  3828. - Pass* GetPass(const String type) const
  3829. - bool IsSM3() const
  3830. Properties:
  3831. - bool SM3 (readonly)
  3832. ### Terrain : Component
  3833. Methods:
  3834. - void SetPatchSize(int size)
  3835. - void SetSpacing(const Vector3& spacing)
  3836. - void SetSmoothing(bool enable)
  3837. - bool SetHeightMap(Image* image)
  3838. - void SetMaterial(Material* material)
  3839. - void SetDrawDistance(float distance)
  3840. - void SetShadowDistance(float distance)
  3841. - void SetLodBias(float bias)
  3842. - void SetViewMask(unsigned mask)
  3843. - void SetLightMask(unsigned mask)
  3844. - void SetShadowMask(unsigned mask)
  3845. - void SetZoneMask(unsigned mask)
  3846. - void SetMaxLights(unsigned num)
  3847. - void SetCastShadows(bool enable)
  3848. - void SetOccluder(bool enable)
  3849. - void SetOccludee(bool enable)
  3850. - int GetPatchSize() const
  3851. - const Vector3& GetSpacing() const
  3852. - const IntVector2& GetNumVertices() const
  3853. - const IntVector2& GetNumPatches() const
  3854. - bool GetSmoothing() const
  3855. - Image* GetHeightMap() const
  3856. - Material* GetMaterial() const
  3857. - TerrainPatch* GetPatch(unsigned index) const
  3858. - TerrainPatch* GetPatch(int x, int z) const
  3859. - float GetHeight(const Vector3& worldPosition) const
  3860. - Vector3 GetNormal(const Vector3& worldPosition) const
  3861. - SharedArrayPtr<float> GetHeightData() const
  3862. - float GetDrawDistance() const
  3863. - float GetShadowDistance() const
  3864. - float GetLodBias() const
  3865. - unsigned GetViewMask() const
  3866. - unsigned GetLightMask() const
  3867. - unsigned GetShadowMask() const
  3868. - unsigned GetZoneMask() const
  3869. - unsigned GetMaxLights() const
  3870. - bool IsVisible() const
  3871. - bool GetCastShadows() const
  3872. - bool IsOccluder() const
  3873. - bool IsOccludee() const
  3874. Properties:
  3875. - int patchSize
  3876. - Vector3& spacing
  3877. - IntVector2& numVertices (readonly)
  3878. - IntVector2& numPatches (readonly)
  3879. - bool smoothing
  3880. - Image* heightMap
  3881. - Material* material
  3882. - float drawDistance
  3883. - float shadowDistance
  3884. - float lodBias
  3885. - unsigned viewMask
  3886. - unsigned lightMask
  3887. - unsigned shadowMask
  3888. - unsigned zoneMask
  3889. - unsigned maxLights
  3890. - bool visible (readonly)
  3891. - bool castShadows
  3892. - bool occluder
  3893. - bool occludee
  3894. ### TerrainPatch : Drawable
  3895. Methods:
  3896. - void SetOwner(Terrain* terrain)
  3897. - void SetNeighbors(TerrainPatch* north, TerrainPatch* south, TerrainPatch* west, TerrainPatch* east)
  3898. - void SetMaterial(Material* material)
  3899. - void SetBoundingBox(const BoundingBox& box)
  3900. - void SetCoordinates(const IntVector2& coordinates)
  3901. - void SetOcclusionOffset(float offset)
  3902. - void ResetLod()
  3903. - Geometry* GetGeometry() const
  3904. - Geometry* GetMaxLodGeometry() const
  3905. - Geometry* GetMinLodGeometry() const
  3906. - VertexBuffer* GetVertexBuffer() const
  3907. - Terrain* GetOwner() const
  3908. - TerrainPatch* GetNorthPatch() const
  3909. - TerrainPatch* GetSouthPatch() const
  3910. - TerrainPatch* GetWestPatch() const
  3911. - TerrainPatch* GetEastPatch() const
  3912. - const IntVector2& GetCoordinates() const
  3913. - unsigned GetLodLevel() const
  3914. - float GetOcclusionOffset() const
  3915. Properties:
  3916. - Geometry* geometry (readonly)
  3917. - Geometry* maxLodGeometry (readonly)
  3918. - Geometry* minLodGeometry (readonly)
  3919. - VertexBuffer* vertexBuffer (readonly)
  3920. - Terrain* owner
  3921. - TerrainPatch* northPatch (readonly)
  3922. - TerrainPatch* southPatch (readonly)
  3923. - TerrainPatch* westPatch (readonly)
  3924. - TerrainPatch* eastPatch (readonly)
  3925. - BoundingBox& boundingBox
  3926. - IntVector2& coordinates
  3927. - unsigned lodLevel (readonly)
  3928. - float occlusionOffset
  3929. ### Text : UIElement
  3930. Methods:
  3931. - Text() (GC)
  3932. - Text* new()
  3933. - void delete()
  3934. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  3935. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  3936. - void SetText(const String text)
  3937. - void SetTextAlignment(HorizontalAlignment align)
  3938. - void SetRowSpacing(float spacing)
  3939. - void SetWordwrap(bool enable)
  3940. - void SetSelection(unsigned start, unsigned length = M_MAX_UNSIGNED)
  3941. - void ClearSelection()
  3942. - void SetSelectionColor(const Color& color)
  3943. - void SetHoverColor(const Color& color)
  3944. - void SetTextEffect(TextEffect textEffect)
  3945. - void SetEffectColor(const Color& effectColor)
  3946. - Font* GetFont() const
  3947. - int GetFontSize() const
  3948. - const String GetText() const
  3949. - HorizontalAlignment GetTextAlignment() const
  3950. - float GetRowSpacing() const
  3951. - bool GetWordwrap() const
  3952. - unsigned GetSelectionStart() const
  3953. - unsigned GetSelectionLength() const
  3954. - const Color& GetSelectionColor() const
  3955. - const Color& GetHoverColor() const
  3956. - TextEffect GetTextEffect() const
  3957. - const Color& GetEffectColor() const
  3958. - int GetRowHeight() const
  3959. - unsigned GetNumRows() const
  3960. - unsigned GetNumChars() const
  3961. - int GetRowWidth(unsigned index) const
  3962. - IntVector2 GetCharPosition(unsigned index)
  3963. - IntVector2 GetCharSize(unsigned index)
  3964. - void SetEffectDepthBias(float bias)
  3965. - float GetEffectDepthBias() const
  3966. Properties:
  3967. - Font* font
  3968. - int fontSize (readonly)
  3969. - String text
  3970. - HorizontalAlignment textAlignment
  3971. - float rowSpacing
  3972. - bool wordwrap
  3973. - unsigned selectionStart (readonly)
  3974. - unsigned selectionLength (readonly)
  3975. - Color& selectionColor
  3976. - Color& hoverColor
  3977. - TextEffect textEffect
  3978. - Color& effectColor
  3979. - int rowHeight (readonly)
  3980. - unsigned numRows (readonly)
  3981. - unsigned numChars (readonly)
  3982. ### Text3D : Drawable
  3983. Methods:
  3984. - Text3D() (GC)
  3985. - Text3D* new()
  3986. - void delete()
  3987. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  3988. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  3989. - void SetMaterial(Material* material)
  3990. - void SetText(const String text)
  3991. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  3992. - void SetHorizontalAlignment(HorizontalAlignment align)
  3993. - void SetVerticalAlignment(VerticalAlignment align)
  3994. - void SetTextAlignment(HorizontalAlignment align)
  3995. - void SetRowSpacing(float spacing)
  3996. - void SetWordwrap(bool enable)
  3997. - void SetTextEffect(TextEffect textEffect)
  3998. - void SetEffectColor(const Color& effectColor)
  3999. - void SetEffectDepthBias(float bias)
  4000. - void SetWidth(int width)
  4001. - void SetColor(const Color& color)
  4002. - void SetColor(Corner corner, const Color& color)
  4003. - void SetOpacity(float opacity)
  4004. - void SetFaceCamera(bool enable)
  4005. - Font* GetFont() const
  4006. - Material* GetMaterial() const
  4007. - int GetFontSize() const
  4008. - const String GetText() const
  4009. - HorizontalAlignment GetTextAlignment() const
  4010. - HorizontalAlignment GetHorizontalAlignment() const
  4011. - VerticalAlignment GetVerticalAlignment() const
  4012. - float GetRowSpacing() const
  4013. - bool GetWordwrap() const
  4014. - TextEffect GetTextEffect() const
  4015. - const Color& GetEffectColor() const
  4016. - float GetEffectDepthBias() const
  4017. - int GetWidth() const
  4018. - int GetRowHeight() const
  4019. - unsigned GetNumRows() const
  4020. - unsigned GetNumChars() const
  4021. - int GetRowWidth(unsigned index) const
  4022. - IntVector2 GetCharPosition(unsigned index)
  4023. - IntVector2 GetCharSize(unsigned index)
  4024. - const Color& GetColor(Corner corner) const
  4025. - float GetOpacity() const
  4026. - bool GetFaceCamera() const
  4027. Properties:
  4028. - Font* font
  4029. - Material* material
  4030. - int fontSize (readonly)
  4031. - String text
  4032. - HorizontalAlignment textAlignment
  4033. - HorizontalAlignment horizontalAlignment
  4034. - VerticalAlignment verticalAlignment
  4035. - float rowSpacing
  4036. - bool wordwrap
  4037. - TextEffect textEffect
  4038. - Color& effectColor
  4039. - float effectDepthBias
  4040. - int width
  4041. - Color& color
  4042. - int rowHeight (readonly)
  4043. - unsigned numRows (readonly)
  4044. - unsigned numChars (readonly)
  4045. - float opacity
  4046. - bool faceCamera
  4047. ### Texture : Resource
  4048. Methods:
  4049. - void SetNumLevels(unsigned levels)
  4050. - void SetFilterMode(TextureFilterMode filter)
  4051. - void SetAddressMode(TextureCoordinate coord, TextureAddressMode address)
  4052. - void SetBorderColor(const Color& color)
  4053. - void SetSRGB(bool enable)
  4054. - void SetBackupTexture(Texture* texture)
  4055. - void SetMipsToSkip(int quality, int mips)
  4056. - unsigned GetFormat() const
  4057. - bool IsCompressed() const
  4058. - unsigned GetLevels() const
  4059. - int GetWidth() const
  4060. - int GetHeight() const
  4061. - TextureFilterMode GetFilterMode() const
  4062. - TextureAddressMode GetAddressMode(TextureCoordinate coord) const
  4063. - const Color& GetBorderColor() const
  4064. - bool GetSRGB() const
  4065. - Texture* GetBackupTexture() const
  4066. - int GetMipsToSkip(int quality) const
  4067. - int GetLevelWidth(unsigned level) const
  4068. - int GetLevelHeight(unsigned level) const
  4069. - TextureUsage GetUsage() const
  4070. - unsigned GetDataSize(int width, int height) const
  4071. - unsigned GetRowDataSize(int width) const
  4072. Properties:
  4073. - unsigned format (readonly)
  4074. - bool compressed (readonly)
  4075. - unsigned levels (readonly)
  4076. - int width (readonly)
  4077. - int height (readonly)
  4078. - TextureFilterMode filterMode
  4079. - Color& borderColor
  4080. - bool sRGB
  4081. - Texture* backupTexture
  4082. - TextureUsage usage (readonly)
  4083. ### Texture2D : Texture
  4084. Methods:
  4085. - Texture2D() (GC)
  4086. - Texture2D* new()
  4087. - void delete()
  4088. - bool SetSize(int width, int height, unsigned format, TextureUsage usage = TEXTURE_STATIC)
  4089. - bool Load(Image* image, bool useAlpha = false)
  4090. - RenderSurface* GetRenderSurface() const
  4091. Properties:
  4092. - RenderSurface* renderSurface (readonly)
  4093. ### TextureCube : Texture
  4094. Methods:
  4095. - RenderSurface* GetRenderSurface(CubeMapFace face) const
  4096. ### TextureFrame
  4097. Methods:
  4098. - TextureFrame() (GC)
  4099. - TextureFrame* new()
  4100. - void delete()
  4101. Properties:
  4102. - Rect uv
  4103. - float time
  4104. ### Time : Object
  4105. Methods:
  4106. - unsigned GetFrameNumber() const
  4107. - float GetTimeStep() const
  4108. - unsigned GetTimerPeriod() const
  4109. - float GetElapsedTime()
  4110. - unsigned GetSystemTime()
  4111. - String GetTimeStamp()
  4112. - void Sleep(unsigned mSec)
  4113. Properties:
  4114. - unsigned frameNumber (readonly)
  4115. - float timeStep (readonly)
  4116. - unsigned timerPeriod (readonly)
  4117. - float elapsedTime (readonly)
  4118. ### ToolTip : UIElement
  4119. Methods:
  4120. - ToolTip() (GC)
  4121. - ToolTip* new()
  4122. - void delete()
  4123. - void SetDelay(float delay)
  4124. - float GetDelay() const
  4125. Properties:
  4126. - float delay
  4127. ### TouchState
  4128. Properties:
  4129. - int touchID
  4130. - IntVector2 position
  4131. - IntVector2 lastPosition
  4132. - IntVector2 delta
  4133. - float pressure
  4134. ### UI : Object
  4135. Methods:
  4136. - void SetCursor(Cursor* cursor)
  4137. - void SetFocusElement(UIElement* element, bool byKey = false)
  4138. - bool SetModalElement(UIElement* modalElement, bool enable)
  4139. - void Clear()
  4140. - void Update(float timeStep)
  4141. - void RenderUpdate()
  4142. - void Render()
  4143. - void DebugDraw(UIElement* element)
  4144. - UIElement* LoadLayout(File* source, XMLFile* styleFile = 0)
  4145. - UIElement* LoadLayout(const String fileName, XMLFile* styleFile = 0)
  4146. - UIElement* LoadLayout(XMLFile* file, XMLFile* styleFile = 0)
  4147. - bool SaveLayout(Serializer& dest, UIElement* element)
  4148. - void SetClipboardText(const String text)
  4149. - void SetDoubleClickInterval(float interval)
  4150. - void SetDragBeginInterval(float interval)
  4151. - void SetDragBeginDistance(int pixels)
  4152. - void SetDefaultToolTipDelay(float delay)
  4153. - void SetMaxFontTextureSize(int size)
  4154. - void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel)
  4155. - void SetUseSystemClipboard(bool enable)
  4156. - void SetUseScreenKeyboard(bool enable)
  4157. - void SetUseMutableGlyphs(bool enable)
  4158. - void SetForceAutoHint(bool enable)
  4159. - UIElement* GetRoot() const
  4160. - UIElement* GetRootModalElement() const
  4161. - Cursor* GetCursor() const
  4162. - IntVector2 GetCursorPosition() const
  4163. - UIElement* GetElementAt(const IntVector2& position, bool enabledOnly = true)
  4164. - UIElement* GetElementAt(int x, int y, bool enabledOnly = true)
  4165. - UIElement* GetFocusElement() const
  4166. - UIElement* GetFrontElement() const
  4167. - UIElement* GetDragElement() const
  4168. - const String GetClipboardText() const
  4169. - float GetDoubleClickInterval() const
  4170. - float GetDragBeginInterval() const
  4171. - int GetDragBeginDistance() const
  4172. - float GetDefaultToolTipDelay() const
  4173. - int GetMaxFontTextureSize() const
  4174. - bool IsNonFocusedMouseWheel() const
  4175. - bool GetUseSystemClipboard() const
  4176. - bool GetUseScreenKeyboard() const
  4177. - bool GetUseMutableGlyphs() const
  4178. - bool GetForceAutoHint() const
  4179. - bool HasModalElement() const
  4180. Properties:
  4181. - UIElement* root (readonly)
  4182. - UIElement* rootModalElement (readonly)
  4183. - Cursor* cursor
  4184. - IntVector2 cursorPosition (readonly)
  4185. - UIElement* focusElement (readonly)
  4186. - UIElement* frontElement (readonly)
  4187. - UIElement* dragElement (readonly)
  4188. - String clipboardText
  4189. - float doubleClickInterval
  4190. - float dragBeginInterval
  4191. - int dragBeginDistance
  4192. - float defaultToolTipDelay
  4193. - int maxFontTextureSize
  4194. - bool nonFocusedMouseWheel
  4195. - bool useSystemClipboard
  4196. - bool useScreenKeyboard
  4197. - bool useMutableGlyphs
  4198. - bool forceAutoHint
  4199. - bool modalElement (readonly)
  4200. ### UIElement : Serializable
  4201. Methods:
  4202. - UIElement() (GC)
  4203. - UIElement* new()
  4204. - void delete()
  4205. - const IntVector2& GetScreenPosition() const
  4206. - bool LoadXML(Deserializer& source)
  4207. - bool SaveXML(Serializer& dest) const
  4208. - bool LoadXML(const String fileName)
  4209. - bool SaveXML(const String fileName) const
  4210. - bool FilterAttributes(XMLElement& dest) const
  4211. - void SetName(const String name)
  4212. - void SetPosition(const IntVector2& position)
  4213. - void SetPosition(int x, int y)
  4214. - void SetSize(const IntVector2& size)
  4215. - void SetSize(int width, int height)
  4216. - void SetWidth(int width)
  4217. - void SetHeight(int height)
  4218. - void SetMinSize(const IntVector2& minSize)
  4219. - void SetMinSize(int width, int height)
  4220. - void SetMinWidth(int width)
  4221. - void SetMinHeight(int height)
  4222. - void SetMaxSize(const IntVector2& maxSize)
  4223. - void SetMaxSize(int width, int height)
  4224. - void SetMaxWidth(int width)
  4225. - void SetMaxHeight(int height)
  4226. - void SetFixedSize(const IntVector2& size)
  4227. - void SetFixedSize(int width, int height)
  4228. - void SetFixedWidth(int width)
  4229. - void SetFixedHeight(int height)
  4230. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4231. - void SetHorizontalAlignment(HorizontalAlignment align)
  4232. - void SetVerticalAlignment(VerticalAlignment align)
  4233. - void SetClipBorder(const IntRect& rect)
  4234. - void SetColor(const Color& color)
  4235. - void SetColor(Corner corner, const Color& color)
  4236. - void SetPriority(int priority)
  4237. - void SetOpacity(float opacity)
  4238. - void SetBringToFront(bool enable)
  4239. - void SetBringToBack(bool enable)
  4240. - void SetClipChildren(bool enable)
  4241. - void SetSortChildren(bool enable)
  4242. - void SetUseDerivedOpacity(bool enable)
  4243. - void SetEnabled(bool enable)
  4244. - void SetEditable(bool enable)
  4245. - void SetFocus(bool enable)
  4246. - void SetSelected(bool enable)
  4247. - void SetVisible(bool enable)
  4248. - void SetFocusMode(FocusMode mode)
  4249. - void SetDragDropMode(unsigned mode)
  4250. - bool SetStyle(const String styleName, XMLFile* file = 0)
  4251. - bool SetStyle(const XMLElement& element)
  4252. - bool SetStyleAuto(XMLFile* file = 0)
  4253. - void SetDefaultStyle(XMLFile* style)
  4254. - void SetLayout(LayoutMode mode, int spacing = 0)
  4255. - void SetLayout(LayoutMode mode, int spacing, const IntRect& border)
  4256. - void SetLayoutMode(LayoutMode mode)
  4257. - void SetLayoutSpacing(int spacing)
  4258. - void SetLayoutBorder(const IntRect& border)
  4259. - void SetIndent(int indent)
  4260. - void SetIndentSpacing(int indentSpacing)
  4261. - void UpdateLayout()
  4262. - void DisableLayoutUpdate()
  4263. - void EnableLayoutUpdate()
  4264. - void BringToFront()
  4265. - UIElement* CreateChild(const String type, const String name = String::EMPTY, unsigned index = M_MAX_UNSIGNED)
  4266. - void AddChild(UIElement* element)
  4267. - void InsertChild(unsigned index, UIElement* element)
  4268. - void RemoveChild(UIElement* element, unsigned index = 0)
  4269. - void RemoveChildAtIndex(unsigned index)
  4270. - void RemoveAllChildren()
  4271. - void Remove()
  4272. - unsigned FindChild(UIElement* element) const
  4273. - void SetParent(UIElement* parent, unsigned index = M_MAX_UNSIGNED)
  4274. - void SetVar(ShortStringHash key, const Variant& value)
  4275. - void SetInternal(bool enable)
  4276. - void SetTraversalMode(TraversalMode traversalMode)
  4277. - void SetElementEventSender(bool flag)
  4278. - const String GetName() const
  4279. - const IntVector2& GetPosition() const
  4280. - const IntVector2& GetSize() const
  4281. - int GetWidth() const
  4282. - int GetHeight() const
  4283. - const IntVector2& GetMinSize() const
  4284. - int GetMinWidth() const
  4285. - int GetMinHeight() const
  4286. - const IntVector2& GetMaxSize() const
  4287. - int GetMaxWidth() const
  4288. - int GetMaxHeight() const
  4289. - bool IsFixedSize() const
  4290. - bool IsFixedWidth() const
  4291. - bool IsFixedHeight() const
  4292. - const IntVector2& GetChildOffset() const
  4293. - HorizontalAlignment GetHorizontalAlignment() const
  4294. - VerticalAlignment GetVerticalAlignment() const
  4295. - const IntRect& GetClipBorder() const
  4296. - const Color& GetColor(Corner corner) const
  4297. - int GetPriority() const
  4298. - float GetOpacity() const
  4299. - float GetDerivedOpacity() const
  4300. - bool GetBringToFront() const
  4301. - bool GetBringToBack() const
  4302. - bool GetClipChildren() const
  4303. - bool GetSortChildren() const
  4304. - bool GetUseDerivedOpacity() const
  4305. - bool HasFocus() const
  4306. - bool IsEnabled() const
  4307. - bool IsEditable() const
  4308. - bool IsSelected() const
  4309. - bool IsVisible() const
  4310. - bool IsHovering() const
  4311. - bool IsInternal() const
  4312. - bool HasColorGradient() const
  4313. - FocusMode GetFocusMode() const
  4314. - unsigned GetDragDropMode() const
  4315. - const String GetAppliedStyle() const
  4316. - XMLFile* GetDefaultStyle(bool recursiveUp = true) const
  4317. - LayoutMode GetLayoutMode() const
  4318. - int GetLayoutSpacing() const
  4319. - const IntRect& GetLayoutBorder() const
  4320. - unsigned GetNumChildren(bool recursive = false) const
  4321. - UIElement* GetChild(const String name, bool recursive = false) const
  4322. - UIElement* GetChild(unsigned index) const
  4323. - UIElement* GetParent() const
  4324. - UIElement* GetRoot() const
  4325. - const Color& GetDerivedColor() const
  4326. - const Variant& GetVar(ShortStringHash key) const
  4327. - const VariantMap& GetVars() const
  4328. - IntVector2 ScreenToElement(const IntVector2& screenPosition)
  4329. - IntVector2 ElementToScreen(const IntVector2& position)
  4330. - bool IsInside(IntVector2 position, bool isScreen)
  4331. - bool IsInsideCombined(IntVector2 position, bool isScreen)
  4332. - IntRect GetCombinedScreenRect()
  4333. - void SortChildren()
  4334. - int GetLayoutMinSize() const
  4335. - int GetIndent() const
  4336. - int GetIndentSpacing() const
  4337. - int GetIndentWidth() const
  4338. - void SetChildOffset(const IntVector2& offset)
  4339. - void SetHovering(bool enable)
  4340. - const Color& GetColor() const
  4341. - TraversalMode GetTraversalMode() const
  4342. - bool IsElementEventSender() const
  4343. - UIElement* GetElementEventSender() const
  4344. Properties:
  4345. - IntVector2& screenPosition (readonly)
  4346. - String name
  4347. - IntVector2& position
  4348. - IntVector2 size
  4349. - int width
  4350. - int height
  4351. - IntVector2 minSize
  4352. - int minWidth
  4353. - int minHeight
  4354. - IntVector2 maxSize
  4355. - int maxWidth
  4356. - int maxHeight
  4357. - bool fixedSize (readonly)
  4358. - bool fixedWidth (readonly)
  4359. - bool fixedHeight (readonly)
  4360. - IntVector2& childOffset
  4361. - HorizontalAlignment horizontalAlignment
  4362. - VerticalAlignment verticalAlignment
  4363. - IntRect clipBorder
  4364. - Color& color
  4365. - int priority
  4366. - float opacity
  4367. - float derivedOpacity (readonly)
  4368. - bool bringToFront
  4369. - bool bringToBack
  4370. - bool clipChildren
  4371. - bool sortChildren
  4372. - bool useDerivedOpacity
  4373. - bool focus
  4374. - bool enabled
  4375. - bool editable
  4376. - bool selected
  4377. - bool visible
  4378. - bool hovering
  4379. - bool internal
  4380. - bool colorGradient (readonly)
  4381. - FocusMode focusMode
  4382. - unsigned dragDropMode
  4383. - String style
  4384. - XMLFile* defaultStyle
  4385. - LayoutMode layoutMode
  4386. - int layoutSpacing
  4387. - IntRect& layoutBorder
  4388. - unsigned numChildren (readonly)
  4389. - UIElement* parent
  4390. - UIElement* root (readonly)
  4391. - Color& derivedColor (readonly)
  4392. - IntRect combinedScreenRect (readonly)
  4393. - int layoutMinSize (readonly)
  4394. - int indent
  4395. - int indentSpacing
  4396. - int indentWidth (readonly)
  4397. - TraversalMode traversalMode
  4398. - bool elementEventSender
  4399. ### Variant
  4400. Methods:
  4401. - Variant() (GC)
  4402. - Variant* new()
  4403. - Variant(int value) (GC)
  4404. - Variant* new(int value)
  4405. - Variant(unsigned value) (GC)
  4406. - Variant* new(unsigned value)
  4407. - Variant(const StringHash& value) (GC)
  4408. - Variant* new(const StringHash& value)
  4409. - Variant(const ShortStringHash& value) (GC)
  4410. - Variant* new(const ShortStringHash& value)
  4411. - Variant(bool value) (GC)
  4412. - Variant* new(bool value)
  4413. - Variant(float value) (GC)
  4414. - Variant* new(float value)
  4415. - Variant(const Vector2& value) (GC)
  4416. - Variant* new(const Vector2& value)
  4417. - Variant(const Vector3& value) (GC)
  4418. - Variant* new(const Vector3& value)
  4419. - Variant(const Vector4& value) (GC)
  4420. - Variant* new(const Vector4& value)
  4421. - Variant(const Quaternion& value) (GC)
  4422. - Variant* new(const Quaternion& value)
  4423. - Variant(const Color& value) (GC)
  4424. - Variant* new(const Color& value)
  4425. - Variant(const String value) (GC)
  4426. - Variant* new(const String value)
  4427. - Variant(const char* value) (GC)
  4428. - Variant* new(const char* value)
  4429. - Variant(const ResourceRef& value) (GC)
  4430. - Variant* new(const ResourceRef& value)
  4431. - Variant(const ResourceRefList& value) (GC)
  4432. - Variant* new(const ResourceRefList& value)
  4433. - Variant(const IntRect& value) (GC)
  4434. - Variant* new(const IntRect& value)
  4435. - Variant(const IntVector2& value) (GC)
  4436. - Variant* new(const IntVector2& value)
  4437. - Variant(const Matrix3& value) (GC)
  4438. - Variant* new(const Matrix3& value)
  4439. - Variant(const Matrix3x4& value) (GC)
  4440. - Variant* new(const Matrix3x4& value)
  4441. - Variant(const Matrix4& value) (GC)
  4442. - Variant* new(const Matrix4& value)
  4443. - Variant(const String type, const String value) (GC)
  4444. - Variant* new(const String type, const String value)
  4445. - Variant(VariantType type, const String value) (GC)
  4446. - Variant* new(VariantType type, const String value)
  4447. - Variant(VariantType type, const char* value) (GC)
  4448. - Variant* new(VariantType type, const char* value)
  4449. - Variant(const Variant& value) (GC)
  4450. - Variant* new(const Variant& value)
  4451. - void delete()
  4452. - void Clear()
  4453. - bool operator==(const Variant& rhs) const
  4454. - bool operator==(int rhs) const
  4455. - bool operator==(unsigned rhs) const
  4456. - bool operator==(bool rhs) const
  4457. - bool operator==(float rhs) const
  4458. - bool operator==(const Vector2& rhs)
  4459. - bool operator==(const Vector3& rhs) const
  4460. - bool operator==(const Vector4& rhs) const
  4461. - bool operator==(const Quaternion& rhs) const
  4462. - bool operator==(const Color& rhs) const
  4463. - bool operator==(const String rhs) const
  4464. - bool operator==(const ResourceRef& rhs) const
  4465. - bool operator==(const ResourceRefList& rhs) const
  4466. - bool operator==(const IntRect& rhs) const
  4467. - bool operator==(const IntVector2& rhs) const
  4468. - bool operator==(const StringHash& rhs) const
  4469. - bool operator==(const ShortStringHash& rhs) const
  4470. - bool operator==(const Matrix3& rhs) const
  4471. - bool operator==(const Matrix3x4& rhs) const
  4472. - bool operator==(const Matrix4& rhs) const
  4473. - void SetInt(int value)
  4474. - void SetUint(unsigned value)
  4475. - void SetStringHash(const StringHash& value)
  4476. - void SetShortStringHash(const ShortStringHash& value)
  4477. - void SetBool(bool value)
  4478. - void SetFloat(float value)
  4479. - void SetVector2(const Vector2& value)
  4480. - void SetVector3(const Vector3& value)
  4481. - void SetVector4(const Vector4& value)
  4482. - void SetQuaternion(const Quaternion& value)
  4483. - void SetColor(const Color& value)
  4484. - void SetString(const String value)
  4485. - void SetBuffer(const VectorBuffer& value)
  4486. - void SetResourceRef(const ResourceRef& value)
  4487. - void SetResourceRefList(const ResourceRefList& value)
  4488. - void SetIntRect(const IntRect& value)
  4489. - void SetIntVector2(const IntVector2& value)
  4490. - void SetMatrix3(const Matrix3& value)
  4491. - void SetMatrix3x4(const Matrix3x4& value)
  4492. - void SetMatrix4(const Matrix4& value)
  4493. - int GetInt() const
  4494. - int GetUInt() const
  4495. - StringHash GetStringHash()
  4496. - ShortStringHash GetShortStringHash()
  4497. - bool GetBool() const
  4498. - float GetFloat() const
  4499. - const Vector2& GetVector2() const
  4500. - const Vector3& GetVector3() const
  4501. - const Vector4& GetVector4() const
  4502. - const Quaternion& GetQuaternion() const
  4503. - const Color& GetColor() const
  4504. - const String GetString() const
  4505. - VectorBuffer GetBuffer() const
  4506. - const ResourceRef& GetResourceRef() const
  4507. - const ResourceRefList& GetResourceRefList() const
  4508. - const IntRect& GetIntRect() const
  4509. - const IntVector2& GetIntVector2() const
  4510. - const Matrix3& GetMatrix3() const
  4511. - const Matrix3x4& GetMatrix3x4() const
  4512. - const Matrix4& GetMatrix4() const
  4513. - VariantType GetType() const
  4514. - String GetTypeName() const
  4515. - String ToString() const
  4516. - bool IsZero() const
  4517. - bool IsEmpty() const
  4518. Properties:
  4519. - VariantType type (readonly)
  4520. - String typeName (readonly)
  4521. - bool zero (readonly)
  4522. - bool empty (readonly)
  4523. ### VariantMap
  4524. Methods:
  4525. - VariantMap() (GC)
  4526. - VariantMap* new()
  4527. - void delete()
  4528. - void SetInt(const String key, int value)
  4529. - void SetUInt(const String key, unsigned value)
  4530. - void SetStringHash(const String key, const StringHash& value)
  4531. - void SetShortStringHash(const String key, const ShortStringHash& value)
  4532. - void SetBool(const String key, bool value)
  4533. - void SetFloat(const String key, float value)
  4534. - void SetVector2(const String key, const Vector2 value)
  4535. - void SetVector3(const String key, const Vector3 value)
  4536. - void SetVector4(const String key, const Vector4 value)
  4537. - void SetQuaternion(const String key, const Quaternion value)
  4538. - void SetColor(const String key, const Color value)
  4539. - void SetString(const String key, const String value)
  4540. - void SetBuffer(const String key, const VectorBuffer& value)
  4541. - void SetResourceRef(const String key, const ResourceRef value)
  4542. - void SetResourceRefList(const String key, const ResourceRefList value)
  4543. - void SetIntRect(const String key, const IntRect value)
  4544. - void SetIntVector2(const String key, const IntVector2 value)
  4545. - void SetPtr(const String key, void* value)
  4546. - void SetMatrix3(const String key, const Matrix3 value)
  4547. - void SetMatrix3x4(const String key, const Matrix3x4 value)
  4548. - void SetMatrix4(const String key, const Matrix4 value)
  4549. - int GetInt(const String key)
  4550. - int GetUInt(const String key)
  4551. - StringHash GetStringHash(const String key)
  4552. - ShortStringHash GetShortStringHash(const String key)
  4553. - bool GetBool(const String key)
  4554. - float GetFloat(const String key)
  4555. - const Vector2& GetVector2(const String key)
  4556. - const Vector3& GetVector3(const String key)
  4557. - const Vector4& GetVector4(const String key)
  4558. - const Quaternion& GetQuaternion(const String key)
  4559. - const Color& GetColor(const String key)
  4560. - const String GetString(const String key)
  4561. - VectorBuffer GetBuffer(const String key)
  4562. - const ResourceRef& GetResourceRef(const String key)
  4563. - const ResourceRefList& GetResourceRefList(const String key)
  4564. - const IntRect& GetIntRect(const String key)
  4565. - const IntVector2& GetIntVector2(const String key)
  4566. - const void* GetPtr(const String type, const String key)
  4567. - const Matrix3& GetMatrix3(const String key)
  4568. - const Matrix3x4& GetMatrix3x4(const String key)
  4569. - const Matrix4& GetMatrix4(const String key)
  4570. ### Vector2
  4571. Methods:
  4572. - Vector2() (GC)
  4573. - Vector2* new()
  4574. - Vector2(const Vector2& vector) (GC)
  4575. - Vector2* new(const Vector2& vector)
  4576. - Vector2(float x, float y) (GC)
  4577. - Vector2* new(float x, float y)
  4578. - void delete()
  4579. - bool operator==(const Vector2& rhs) const
  4580. - Vector2 operator+(const Vector2& rhs) const
  4581. - Vector2 operator-() const
  4582. - Vector2 operator-(const Vector2& rhs) const
  4583. - Vector2 operator*(float rhs) const
  4584. - Vector2 operator*(const Vector2& rhs) const
  4585. - Vector2 operator/(float rhs) const
  4586. - Vector2 operator/(const Vector2& rhs) const
  4587. - Vector2 operator/(const Vector2& rhs) const
  4588. - void Normalize()
  4589. - float Length() const
  4590. - float LengthSquared() const
  4591. - float DotProduct(const Vector2& rhs) const
  4592. - float AbsDotProduct(const Vector2& rhs) const
  4593. - Vector2 Abs() const
  4594. - Vector2 Lerp(const Vector2& rhs, float t) const
  4595. - bool Equals(const Vector2& rhs) const
  4596. - bool IsNaN() const
  4597. - Vector2 Normalized() const
  4598. - String ToString() const
  4599. Properties:
  4600. - float x
  4601. - float y
  4602. - const Vector2 ZERO
  4603. - const Vector2 LEFT
  4604. - const Vector2 RIGHT
  4605. - const Vector2 UP
  4606. - const Vector2 DOWN
  4607. - const Vector2 ONE
  4608. ### Vector3
  4609. Methods:
  4610. - Vector3() (GC)
  4611. - Vector3* new()
  4612. - Vector3(const Vector3& vector) (GC)
  4613. - Vector3* new(const Vector3& vector)
  4614. - Vector3(const Vector2& vector, float z) (GC)
  4615. - Vector3* new(const Vector2& vector, float z)
  4616. - Vector3(float x, float y, float z) (GC)
  4617. - Vector3* new(float x, float y, float z)
  4618. - void delete()
  4619. - bool operator==(const Vector3& rhs) const
  4620. - Vector3 operator+(const Vector3& rhs) const
  4621. - Vector3 operator-() const
  4622. - Vector3 operator-(const Vector3& rhs) const
  4623. - Vector3 operator*(float rhs) const
  4624. - Vector3 operator*(const Vector3& rhs) const
  4625. - Vector3 operator/(float rhs) const
  4626. - Vector3 operator/(const Vector3& rhs) const
  4627. - void Normalize()
  4628. - float Length() const
  4629. - float LengthSquared() const
  4630. - float DotProduct(const Vector3& rhs) const
  4631. - float AbsDotProduct(const Vector3& rhs) const
  4632. - Vector3 CrossProduct(const Vector3& rhs) const
  4633. - Vector3 Abs() const
  4634. - Vector3 Lerp(const Vector3& rhs, float t) const
  4635. - bool Equals(const Vector3& rhs) const
  4636. - bool IsNaN() const
  4637. - float Angle(const Vector3& rhs) const
  4638. - Vector3 Normalized() const
  4639. - String ToString() const
  4640. Properties:
  4641. - float x
  4642. - float y
  4643. - float z
  4644. - const Vector3 ZERO
  4645. - const Vector3 LEFT
  4646. - const Vector3 RIGHT
  4647. - const Vector3 UP
  4648. - const Vector3 DOWN
  4649. - const Vector3 FORWARD
  4650. - const Vector3 BACK
  4651. - const Vector3 ONE
  4652. ### Vector4
  4653. Methods:
  4654. - Vector4() (GC)
  4655. - Vector4* new()
  4656. - Vector4(const Vector4& vector) (GC)
  4657. - Vector4* new(const Vector4& vector)
  4658. - Vector4(const Vector3& vector, float w) (GC)
  4659. - Vector4* new(const Vector3& vector, float w)
  4660. - Vector4(float x, float y, float z, float w) (GC)
  4661. - Vector4* new(float x, float y, float z, float w)
  4662. - void delete()
  4663. - bool operator==(const Vector4& rhs) const
  4664. - Vector4 operator+(const Vector4& rhs) const
  4665. - Vector4 operator-() const
  4666. - Vector4 operator-(const Vector4& rhs) const
  4667. - Vector4 operator*(float rhs) const
  4668. - Vector4 operator*(const Vector4& rhs) const
  4669. - Vector4 operator/(float rhs) const
  4670. - Vector4 operator/(const Vector4& rhs) const
  4671. - Vector4 operator/(const Vector4& rhs) const
  4672. - float DotProduct(const Vector4& rhs) const
  4673. - float AbsDotProduct(const Vector4& rhs) const
  4674. - Vector4 Abs() const
  4675. - Vector4 Lerp(const Vector4& rhs, float t) const
  4676. - bool Equals(const Vector4& rhs) const
  4677. - bool IsNaN() const
  4678. - String ToString() const
  4679. Properties:
  4680. - float x
  4681. - float y
  4682. - float z
  4683. - float w
  4684. - const Vector4 ZERO
  4685. - const Vector4 ONE
  4686. ### VectorBuffer
  4687. Methods:
  4688. - VectorBuffer() (GC)
  4689. - VectorBuffer* new()
  4690. - VectorBuffer(Deserializer& source, unsigned size) (GC)
  4691. - VectorBuffer* new(Deserializer& source, unsigned size)
  4692. - void delete()
  4693. - void SetData(Deserializer& source, unsigned size)
  4694. - void Clear()
  4695. - void Resize(unsigned size)
  4696. - const void* GetData() const
  4697. - void* GetModifiableData()
  4698. - VectorBuffer Read(unsigned size)
  4699. - unsigned Seek(unsigned position)
  4700. - const String GetName() const
  4701. - unsigned GetChecksum()
  4702. - unsigned GetPosition() const
  4703. - unsigned GetSize() const
  4704. - bool IsEof() const
  4705. - int ReadInt()
  4706. - short ReadShort()
  4707. - char ReadByte()
  4708. - unsigned ReadUInt()
  4709. - short ReadUShort()
  4710. - char ReadUByte()
  4711. - bool ReadBool()
  4712. - float ReadFloat()
  4713. - IntRect ReadIntRect()
  4714. - IntVector2 ReadIntVector2()
  4715. - Rect ReadRect()
  4716. - Vector2 ReadVector2()
  4717. - Vector3 ReadVector3()
  4718. - Vector3 ReadPackedVector3(float maxAbsCoord)
  4719. - Vector4 ReadVector4()
  4720. - Quaternion ReadQuaternion()
  4721. - Quaternion ReadPackedQuaternion()
  4722. - Matrix3 ReadMatrix3()
  4723. - Matrix3x4 ReadMatrix3x4()
  4724. - Matrix4 ReadMatrix4()
  4725. - Color ReadColor()
  4726. - BoundingBox ReadBoundingBox()
  4727. - String ReadString()
  4728. - String ReadFileID()
  4729. - StringHash ReadStringHash()
  4730. - ShortStringHash ReadShortStringHash()
  4731. - VectorBuffer ReadBuffer()
  4732. - ResourceRef ReadResourceRef()
  4733. - ResourceRefList ReadResourceRefList()
  4734. - Variant ReadVariant()
  4735. - Variant ReadVariant(VariantType type)
  4736. - VariantVector ReadVariantVector()
  4737. - VariantMap ReadVariantMap()
  4738. - unsigned ReadVLE()
  4739. - unsigned ReadNetID()
  4740. - String ReadLine()
  4741. - unsigned Write(const VectorBuffer& buffer)
  4742. - bool WriteInt(int value)
  4743. - bool WriteShort(short value)
  4744. - bool WriteByte(char value)
  4745. - bool WriteUInt(unsigned value)
  4746. - bool WriteUShort(short value)
  4747. - bool WriteUByte(char value)
  4748. - bool WriteBool(bool value)
  4749. - bool WriteFloat(float value)
  4750. - bool WriteIntRect(const IntRect& value)
  4751. - bool WriteIntVector2(const IntVector2& value)
  4752. - bool WriteRect(const Rect& value)
  4753. - bool WriteVector2(const Vector2& value)
  4754. - bool WriteVector3(const Vector3& value)
  4755. - bool WritePackedVector3(const Vector3& value, float maxAbsCoord)
  4756. - bool WriteVector4(const Vector4& value)
  4757. - bool WriteQuaternion(const Quaternion& value)
  4758. - bool WritePackedQuaternion(const Quaternion& value)
  4759. - bool WriteMatrix3(const Matrix3& value)
  4760. - bool WriteMatrix3x4(const Matrix3x4& value)
  4761. - bool WriteMatrix4(const Matrix4& value)
  4762. - bool WriteColor(const Color& value)
  4763. - bool WriteBoundingBox(const BoundingBox& value)
  4764. - bool WriteString(const String value)
  4765. - bool WriteFileID(const String value)
  4766. - bool WriteStringHash(const StringHash& value)
  4767. - bool WriteShortStringHash(const ShortStringHash& value)
  4768. - bool WriteBuffer(const VectorBuffer& buffer)
  4769. - bool WriteResourceRef(const ResourceRef& value)
  4770. - bool WriteResourceRefList(const ResourceRefList& value)
  4771. - bool WriteVariant(const Variant& value)
  4772. - bool WriteVariantData(const Variant& value)
  4773. - bool WriteVariantVector(const VariantVector& value)
  4774. - bool WriteVariantMap(const VariantMap& value)
  4775. - bool WriteVLE(unsigned value)
  4776. - bool WriteNetID(unsigned value)
  4777. - bool WriteLine(const String value)
  4778. Properties:
  4779. - String name (readonly)
  4780. - unsigned checksum (readonly)
  4781. - unsigned position (readonly)
  4782. - unsigned size (readonly)
  4783. - bool eof (readonly)
  4784. ### View3D : Window
  4785. Methods:
  4786. - View3D() (GC)
  4787. - View3D* new()
  4788. - void delete()
  4789. - void SetView(Scene* scene, Camera* camera)
  4790. - void SetFormat(unsigned format)
  4791. - void SetAutoUpdate(bool enable)
  4792. - void QueueUpdate()
  4793. - unsigned GetFormat() const
  4794. - bool GetAutoUpdate() const
  4795. - Scene* GetScene() const
  4796. - Node* GetCameraNode() const
  4797. - Texture2D* GetRenderTexture() const
  4798. - Texture2D* GetDepthTexture() const
  4799. - Viewport* GetViewport() const
  4800. Properties:
  4801. - unsigned format
  4802. - bool autoUpdate
  4803. ### Viewport
  4804. Methods:
  4805. - Viewport() (GC)
  4806. - Viewport* new()
  4807. - Viewport(Scene* scene, Camera* camera, RenderPath* renderPath = 0) (GC)
  4808. - Viewport* new(Scene* scene, Camera* camera, RenderPath* renderPath = 0)
  4809. - Viewport(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0) (GC)
  4810. - Viewport* new(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0)
  4811. - void delete()
  4812. - void SetScene(Scene* scene)
  4813. - void SetCamera(Camera* camera)
  4814. - void SetRect(const IntRect& rect)
  4815. - void SetRenderPath(RenderPath* path)
  4816. - void SetRenderPath(XMLFile* file)
  4817. - Scene* GetScene() const
  4818. - Camera* GetCamera() const
  4819. - const IntRect& GetRect() const
  4820. - RenderPath* GetRenderPath() const
  4821. Properties:
  4822. - Scene* scene
  4823. - Camera* camera
  4824. - IntRect& rect
  4825. - RenderPath* renderPath
  4826. ### Window : BorderImage
  4827. Methods:
  4828. - Window() (GC)
  4829. - Window* new()
  4830. - void delete()
  4831. - void SetMovable(bool enable)
  4832. - void SetResizable(bool enable)
  4833. - void SetFixedWidthResizing(bool enable)
  4834. - void SetFixedHeightResizing(bool enable)
  4835. - void SetResizeBorder(const IntRect& rect)
  4836. - void SetModal(bool modal)
  4837. - void SetModalShadeColor(const Color& color)
  4838. - void SetModalFrameColor(const Color& color)
  4839. - void SetModalFrameSize(const IntVector2& size)
  4840. - bool IsMovable() const
  4841. - bool IsResizable() const
  4842. - bool GetFixedWidthResizing() const
  4843. - bool GetFixedHeightResizing() const
  4844. - const IntRect& GetResizeBorder() const
  4845. - bool IsModal() const
  4846. - const Color& GetModalShadeColor() const
  4847. - const Color& GetModalFrameColor() const
  4848. - const IntVector2& GetModalFrameSize() const
  4849. Properties:
  4850. - bool movable
  4851. - bool resizable
  4852. - bool fixedWidthResizing
  4853. - bool fixedHeightResizing
  4854. - IntRect& resizeBorder
  4855. - bool modal
  4856. - Color& modalShadeColor
  4857. - Color& modalFrameColor
  4858. - IntVector2& modalFrameSize
  4859. ### XMLElement
  4860. Methods:
  4861. - XMLElement CreateChild(const String name)
  4862. - bool RemoveChild(const XMLElement& element)
  4863. - bool RemoveChild(const String name)
  4864. - bool RemoveChildren(const String name = String::EMPTY)
  4865. - bool RemoveAttribute(const String name = String::EMPTY)
  4866. - bool SetValue(const String value)
  4867. - bool SetAttribute(const String name, const String value)
  4868. - bool SetBool(const String name, bool value)
  4869. - bool SetBoundingBox(const BoundingBox& value)
  4870. - bool SetColor(const String name, const Color& value)
  4871. - bool SetFloat(const String name, float value)
  4872. - bool SetUInt(const String name, unsigned value)
  4873. - bool SetInt(const String name, int value)
  4874. - bool SetIntRect(const String name, const IntRect& value)
  4875. - bool SetIntVector2(const String name, const IntVector2& value)
  4876. - bool SetRect(const String name, const Rect& value)
  4877. - bool SetQuaternion(const String name, const Quaternion& value)
  4878. - bool SetString(const String name, const String value)
  4879. - bool SetVariant(const Variant& value)
  4880. - bool SetVariantValue(const Variant& value)
  4881. - bool SetResourceRef(const ResourceRef& value)
  4882. - bool SetResourceRefList(const ResourceRefList& value)
  4883. - bool SetVector2(const String name, const Vector2& value)
  4884. - bool SetVector3(const String name, const Vector3& value)
  4885. - bool SetVector4(const String name, const Vector4& value)
  4886. - bool SetVectorVariant(const String name, const Variant& value)
  4887. - bool SetMatrix3(const String name, const Matrix3& value)
  4888. - bool SetMatrix3x4(const String name, const Matrix3x4& value)
  4889. - bool SetMatrix4(const String name, const Matrix4& value)
  4890. - bool IsNull() const
  4891. - bool NotNull() const
  4892. - bool operatorbool() const
  4893. - String GetName() const
  4894. - bool HasChild(const String name) const
  4895. - XMLElement GetChild(const String name = String::EMPTY) const
  4896. - XMLElement GetNext(const String name = String::EMPTY) const
  4897. - XMLElement GetParent() const
  4898. - unsigned GetNumAttributes() const
  4899. - bool HasAttribute(const String name) const
  4900. - bool GetBool(const String name) const
  4901. - BoundingBox GetBoundingBox() const
  4902. - String GetValue() const
  4903. - Color GetColor(const String name) const
  4904. - float GetFloat(const String name) const
  4905. - unsigned GetUInt(const String name) const
  4906. - int GetInt(const String name) const
  4907. - IntRect GetIntRect(const String name) const
  4908. - IntVector2 GetIntVector2(const String name) const
  4909. - Rect GetRect(const String name) const
  4910. - Quaternion GetQuaternion(const String name) const
  4911. - Variant GetVariant() const
  4912. - Variant GetVariantValue(VariantType type) const
  4913. - ResourceRef GetResourceRef() const
  4914. - ResourceRefList GetResourceRefList() const
  4915. - VariantMap GetVariantMap() const
  4916. - Vector2 GetVector2(const String name) const
  4917. - Vector3 GetVector3(const String name) const
  4918. - Vector4 GetVector4(const String name) const
  4919. - Vector4 GetVector(const String name) const
  4920. - Matrix3 GetMatrix3(const String name) const
  4921. - Matrix3x4 GetMatrix3x4(const String name) const
  4922. - Matrix4 GetMatrix4(const String name) const
  4923. - XMLFile* GetFile() const
  4924. Properties:
  4925. - const XMLElement EMPTY
  4926. - bool null (readonly)
  4927. - String name (readonly)
  4928. - String value (readonly)
  4929. - XMLElement parent (readonly)
  4930. - unsigned numAttributes (readonly)
  4931. - XMLFile* file (readonly)
  4932. ### XMLFile : Resource
  4933. Methods:
  4934. - XMLFile() (GC)
  4935. - XMLFile* new()
  4936. - void delete()
  4937. - XMLElement CreateRoot(const String name = String::EMPTY)
  4938. - XMLElement GetRoot(const String name = String::EMPTY)
  4939. - void Patch(XMLFile* patchFile)
  4940. - void Patch(XMLElement patchElement)
  4941. ### Zone : Drawable
  4942. Methods:
  4943. - void SetBoundingBox(const BoundingBox& box)
  4944. - void SetAmbientColor(const Color& color)
  4945. - void SetFogColor(const Color& color)
  4946. - void SetFogStart(float start)
  4947. - void SetFogEnd(float end)
  4948. - void SetFogHeight(float height)
  4949. - void SetFogHeightScale(float scale)
  4950. - void SetPriority(int priority)
  4951. - void SetHeightFog(bool enable)
  4952. - void SetOverride(bool enable)
  4953. - void SetAmbientGradient(bool enable)
  4954. - const Matrix3x4& GetInverseWorldTransform() const
  4955. - const Color& GetAmbientColor() const
  4956. - const Color& GetAmbientStartColor()
  4957. - const Color& GetAmbientEndColor()
  4958. - const Color& GetFogColor() const
  4959. - float GetFogStart() const
  4960. - float GetFogEnd() const
  4961. - float GetFogHeight() const
  4962. - float GetFogHeightScale() const
  4963. - int GetPriority() const
  4964. - bool GetHeightFog() const
  4965. - bool GetOverride() const
  4966. - bool GetAmbientGradient() const
  4967. - bool IsInside(const Vector3& point) const
  4968. Properties:
  4969. - BoundingBox& boundingBox
  4970. - Matrix3x4& inverseWorldTransform (readonly)
  4971. - Color& ambientColor
  4972. - Color& ambientStartColor (readonly)
  4973. - Color& ambientEndColor (readonly)
  4974. - Color& fogColor
  4975. - float fogStart
  4976. - float fogEnd
  4977. - float fogHeight
  4978. - float fogHeightScale
  4979. - int priority
  4980. - bool heightFog
  4981. - bool override
  4982. - bool ambientGradient
  4983. \section LuaScriptAPI_Enums Enumerations
  4984. ### BlendMode
  4985. - int BLEND_REPLACE
  4986. - int BLEND_ADD
  4987. - int BLEND_MULTIPLY
  4988. - int BLEND_ALPHA
  4989. - int BLEND_ADDALPHA
  4990. - int BLEND_PREMULALPHA
  4991. - int BLEND_INVDESTALPHA
  4992. - int BLEND_SUBTRACT
  4993. - int BLEND_SUBTRACTALPHA
  4994. - int MAX_BLENDMODES
  4995. ### BodyType2D
  4996. - int BT_STATIC
  4997. - int BT_DYNAMIC
  4998. - int BT_KINEMATIC
  4999. ### CollisionEventMode
  5000. - int COLLISION_NEVER
  5001. - int COLLISION_ACTIVE
  5002. - int COLLISION_ALWAYS
  5003. ### CompareMode
  5004. - int CMP_ALWAYS
  5005. - int CMP_EQUAL
  5006. - int CMP_NOTEQUAL
  5007. - int CMP_LESS
  5008. - int CMP_LESSEQUAL
  5009. - int CMP_GREATER
  5010. - int CMP_GREATEREQUAL
  5011. - int MAX_COMPAREMODES
  5012. ### CompressedFormat
  5013. - int CF_NONE
  5014. - int CF_DXT1
  5015. - int CF_DXT3
  5016. - int CF_DXT5
  5017. - int CF_ETC1
  5018. - int CF_PVRTC_RGB_2BPP
  5019. - int CF_PVRTC_RGBA_2BPP
  5020. - int CF_PVRTC_RGB_4BPP
  5021. - int CF_PVRTC_RGBA_4BPP
  5022. ### ConstraintType
  5023. - int CONSTRAINT_POINT
  5024. - int CONSTRAINT_HINGE
  5025. - int CONSTRAINT_SLIDER
  5026. - int CONSTRAINT_CONETWIST
  5027. ### Corner
  5028. - int C_TOPLEFT
  5029. - int C_TOPRIGHT
  5030. - int C_BOTTOMLEFT
  5031. - int C_BOTTOMRIGHT
  5032. - int MAX_UIELEMENT_CORNERS
  5033. ### CreateMode
  5034. - int REPLICATED
  5035. - int LOCAL
  5036. ### CubeMapFace
  5037. - int FACE_POSITIVE_X
  5038. - int FACE_NEGATIVE_X
  5039. - int FACE_POSITIVE_Y
  5040. - int FACE_NEGATIVE_Y
  5041. - int FACE_POSITIVE_Z
  5042. - int FACE_NEGATIVE_Z
  5043. - int MAX_CUBEMAP_FACES
  5044. ### CullMode
  5045. - int CULL_NONE
  5046. - int CULL_CCW
  5047. - int CULL_CW
  5048. - int MAX_CULLMODES
  5049. ### CursorShape
  5050. - int CS_NORMAL
  5051. - int CS_RESIZEVERTICAL
  5052. - int CS_RESIZEDIAGONAL_TOPRIGHT
  5053. - int CS_RESIZEHORIZONTAL
  5054. - int CS_RESIZEDIAGONAL_TOPLEFT
  5055. - int CS_ACCEPTDROP
  5056. - int CS_REJECTDROP
  5057. - int CS_BUSY
  5058. - int CS_MAX_SHAPES
  5059. ### CycleMode
  5060. - int CM_LOOP
  5061. - int CM_CLAMP
  5062. - int CM_PINGPONG
  5063. ### EmitterType
  5064. - int EMITTER_SPHERE
  5065. - int EMITTER_BOX
  5066. ### EmitterType2D
  5067. - int EMITTER_TYPE_GRAVITY
  5068. - int EMITTER_TYPE_RADIAL
  5069. ### FileMode
  5070. - int FILE_READ
  5071. - int FILE_WRITE
  5072. - int FILE_READWRITE
  5073. ### FillMode
  5074. - int FILL_SOLID
  5075. - int FILL_WIREFRAME
  5076. - int FILL_POINT
  5077. ### FocusMode
  5078. - int FM_NOTFOCUSABLE
  5079. - int FM_RESETFOCUS
  5080. - int FM_FOCUSABLE
  5081. - int FM_FOCUSABLE_DEFOCUSABLE
  5082. ### FrustumPlane
  5083. - int PLANE_NEAR
  5084. - int PLANE_LEFT
  5085. - int PLANE_RIGHT
  5086. - int PLANE_UP
  5087. - int PLANE_DOWN
  5088. - int PLANE_FAR
  5089. ### GeometryType
  5090. - int GEOM_STATIC
  5091. - int GEOM_SKINNED
  5092. - int GEOM_INSTANCED
  5093. - int GEOM_BILLBOARD
  5094. - int GEOM_STATIC_NOINSTANCING
  5095. - int MAX_GEOMETRYTYPES
  5096. ### HighlightMode
  5097. - int HM_NEVER
  5098. - int HM_FOCUS
  5099. - int HM_ALWAYS
  5100. ### HorizontalAlignment
  5101. - int HA_LEFT
  5102. - int HA_CENTER
  5103. - int HA_RIGHT
  5104. ### HttpRequestState
  5105. - int HTTP_INITIALIZING
  5106. - int HTTP_ERROR
  5107. - int HTTP_OPEN
  5108. - int HTTP_CLOSED
  5109. ### InterpolationMode
  5110. - int BEZIER_CURVE
  5111. ### Intersection
  5112. - int OUTSIDE
  5113. - int INTERSECTS
  5114. - int INSIDE
  5115. ### LayoutMode
  5116. - int LM_FREE
  5117. - int LM_HORIZONTAL
  5118. - int LM_VERTICAL
  5119. ### LightType
  5120. - int LIGHT_DIRECTIONAL
  5121. - int LIGHT_SPOT
  5122. - int LIGHT_POINT
  5123. ### LockState
  5124. - int LOCK_NONE
  5125. - int LOCK_HARDWARE
  5126. - int LOCK_SHADOW
  5127. - int LOCK_SCRATCH
  5128. ### Orientation
  5129. - int O_HORIZONTAL
  5130. - int O_VERTICAL
  5131. ### PassLightingMode
  5132. - int LIGHTING_UNLIT
  5133. - int LIGHTING_PERVERTEX
  5134. - int LIGHTING_PERPIXEL
  5135. ### PrimitiveType
  5136. - int TRIANGLE_LIST
  5137. - int LINE_LIST
  5138. ### RayQueryLevel
  5139. - int RAY_AABB
  5140. - int RAY_OBB
  5141. - int RAY_TRIANGLE
  5142. ### RenderSurfaceUpdateMode
  5143. - int SURFACE_MANUALUPDATE
  5144. - int SURFACE_UPDATEVISIBLE
  5145. - int SURFACE_UPDATEALWAYS
  5146. ### ShaderParameterGroup
  5147. - int SP_FRAME
  5148. - int SP_CAMERA
  5149. - int SP_VIEWPORT
  5150. - int SP_ZONE
  5151. - int SP_LIGHT
  5152. - int SP_VERTEXLIGHTS
  5153. - int SP_MATERIAL
  5154. - int SP_OBJECTTRANSFORM
  5155. - int MAX_SHADER_PARAMETER_GROUPS
  5156. ### ShaderType
  5157. - int VS
  5158. - int PS
  5159. ### ShapeType
  5160. - int SHAPE_BOX
  5161. - int SHAPE_SPHERE
  5162. - int SHAPE_STATICPLANE
  5163. - int SHAPE_CYLINDER
  5164. - int SHAPE_CAPSULE
  5165. - int SHAPE_CONE
  5166. - int SHAPE_TRIANGLEMESH
  5167. - int SHAPE_CONVEXHULL
  5168. - int SHAPE_TERRAIN
  5169. ### SoundType
  5170. - int SOUND_EFFECT
  5171. - int SOUND_AMBIENT
  5172. - int SOUND_VOICE
  5173. - int SOUND_MUSIC
  5174. - int SOUND_MASTER
  5175. - int MAX_SOUND_TYPES
  5176. ### StencilOp
  5177. - int OP_KEEP
  5178. - int OP_ZERO
  5179. - int OP_REF
  5180. - int OP_INCR
  5181. - int OP_DECR
  5182. ### TextEffect
  5183. - int TE_NONE
  5184. - int TE_SHADOW
  5185. - int TE_STROKE
  5186. ### TextureAddressMode
  5187. - int ADDRESS_WRAP
  5188. - int ADDRESS_MIRROR
  5189. - int ADDRESS_CLAMP
  5190. - int ADDRESS_BORDER
  5191. - int MAX_ADDRESSMODES
  5192. ### TextureCoordinate
  5193. - int COORD_U
  5194. - int COORD_V
  5195. - int COORD_W
  5196. - int MAX_COORDS
  5197. ### TextureFilterMode
  5198. - int FILTER_NEAREST
  5199. - int FILTER_BILINEAR
  5200. - int FILTER_TRILINEAR
  5201. - int FILTER_ANISOTROPIC
  5202. - int FILTER_DEFAULT
  5203. - int MAX_FILTERMODES
  5204. ### TextureUnit
  5205. - int TU_DIFFUSE
  5206. - int TU_ALBEDOBUFFER
  5207. - int TU_NORMAL
  5208. - int TU_NORMALBUFFER
  5209. - int TU_SPECULAR
  5210. - int TU_EMISSIVE
  5211. - int TU_ENVIRONMENT
  5212. - int MAX_MATERIAL_TEXTURE_UNITS
  5213. - int TU_LIGHTRAMP
  5214. - int TU_LIGHTSHAPE
  5215. - int TU_SHADOWMAP
  5216. - int TU_FACESELECT
  5217. - int TU_INDIRECTION
  5218. - int TU_DEPTHBUFFER
  5219. - int TU_LIGHTBUFFER
  5220. - int TU_VOLUMEMAP
  5221. - int MAX_TEXTURE_UNITS
  5222. ### TextureUsage
  5223. - int TEXTURE_STATIC
  5224. - int TEXTURE_DYNAMIC
  5225. - int TEXTURE_RENDERTARGET
  5226. - int TEXTURE_DEPTHSTENCIL
  5227. ### TraversalMode
  5228. - int TM_BREADTH_FIRST
  5229. - int TM_DEPTH_FIRST
  5230. ### VariantType
  5231. - int VAR_NONE
  5232. - int VAR_INT
  5233. - int VAR_BOOL
  5234. - int VAR_FLOAT
  5235. - int VAR_VECTOR2
  5236. - int VAR_VECTOR3
  5237. - int VAR_VECTOR4
  5238. - int VAR_QUATERNION
  5239. - int VAR_COLOR
  5240. - int VAR_STRING
  5241. - int VAR_BUFFER
  5242. - int VAR_VOIDPTR
  5243. - int VAR_RESOURCEREF
  5244. - int VAR_RESOURCEREFLIST
  5245. - int VAR_VARIANTVECTOR
  5246. - int VAR_VARIANTMAP
  5247. - int VAR_INTRECT
  5248. - int VAR_INTVECTOR2
  5249. - int VAR_PTR
  5250. - int VAR_MATRIX3
  5251. - int VAR_MATRIX3X4
  5252. - int VAR_MATRIX4
  5253. - int MAX_VAR_TYPES
  5254. ### VertexElement
  5255. - int ELEMENT_POSITION
  5256. - int ELEMENT_NORMAL
  5257. - int ELEMENT_COLOR
  5258. - int ELEMENT_TEXCOORD1
  5259. - int ELEMENT_TEXCOORD2
  5260. - int ELEMENT_CUBETEXCOORD1
  5261. - int ELEMENT_CUBETEXCOORD2
  5262. - int ELEMENT_TANGENT
  5263. - int ELEMENT_BLENDWEIGHTS
  5264. - int ELEMENT_BLENDINDICES
  5265. - int ELEMENT_INSTANCEMATRIX1
  5266. - int ELEMENT_INSTANCEMATRIX2
  5267. - int ELEMENT_INSTANCEMATRIX3
  5268. - int MAX_VERTEX_ELEMENTS
  5269. ### VerticalAlignment
  5270. - int VA_TOP
  5271. - int VA_CENTER
  5272. - int VA_BOTTOM
  5273. ### WindowDragMode
  5274. - int DRAG_NONE
  5275. - int DRAG_MOVE
  5276. - int DRAG_RESIZE_TOPLEFT
  5277. - int DRAG_RESIZE_TOP
  5278. - int DRAG_RESIZE_TOPRIGHT
  5279. - int DRAG_RESIZE_RIGHT
  5280. - int DRAG_RESIZE_BOTTOMRIGHT
  5281. - int DRAG_RESIZE_BOTTOM
  5282. - int DRAG_RESIZE_BOTTOMLEFT
  5283. - int DRAG_RESIZE_LEFT
  5284. \section LuaScriptAPI_GlobalFunctions Global functions
  5285. - float Abs(float value)
  5286. - String AddTrailingSlash(const String pathName)
  5287. - float Clamp(float value, float min, float max)
  5288. - bool Equals(float lhs, float rhs)
  5289. - void ErrorDialog(const String title, const String message)
  5290. - void ErrorExit(const String message = String::EMPTY, int exitCode = EXIT_FAILURE)
  5291. - const Vector<String>& GetArguments()
  5292. - Audio* GetAudio()
  5293. - ResourceCache* GetCache()
  5294. - Console* GetConsole()
  5295. - String GetConsoleInput()
  5296. - Context* GetContext()
  5297. - DebugHud* GetDebugHud()
  5298. - Engine* GetEngine()
  5299. - EventHandler* GetEventHandler() const
  5300. - Object* GetEventSender()
  5301. - bool GetExecuteConsoleCommands()
  5302. - String GetExtension(const String fullPath, bool lowercaseExtension = true)
  5303. - String GetFileName(const String fullPath)
  5304. - String GetFileNameAndExtension(const String fullPath, bool lowercaseExtension = false)
  5305. - FileSystem* GetFileSystem()
  5306. - Graphics* GetGraphics()
  5307. - Input* GetInput()
  5308. - String GetInternalPath(const String pathName)
  5309. - Log* GetLog()
  5310. - String GetNativePath(const String pathName)
  5311. - Network* GetNetwork()
  5312. - unsigned GetNumLogicalCPUs()
  5313. - unsigned GetNumPhysicalCPUs()
  5314. - String GetParentPath(const String pathName)
  5315. - String GetPath(const String fullPath)
  5316. - String GetPlatform()
  5317. - unsigned GetRandomSeed()
  5318. - Renderer* GetRenderer()
  5319. - Time* GetTime()
  5320. - UI* GetUI()
  5321. - bool IsAbsolutePath(const String pathName)
  5322. - bool IsAlpha(unsigned ch)
  5323. - bool IsDigit(unsigned ch)
  5324. - bool IsNaN(float value)
  5325. - bool IsPowerOfTwo(unsigned value)
  5326. - float Lerp(float lhs, float rhs, float t)
  5327. - float Max(float lhs, float rhs)
  5328. - float Min(float lhs, float rhs)
  5329. - unsigned NextPowerOfTwo(unsigned value)
  5330. - void OpenConsoleWindow()
  5331. - void PrintLine(const String str, bool error = false)
  5332. - int Rand()
  5333. - float RandStandardNormal()
  5334. - float Random(float range)
  5335. - float Random()
  5336. - float Random(float min, float max)
  5337. - int RandomInt(int range)
  5338. - int RandomInt(int min, int max)
  5339. - float RandomNormal(float meanValue, float variance)
  5340. - String RemoveTrailingSlash(const String pathName)
  5341. - String ReplaceExtension(const String fullPath, const String newExtension)
  5342. - unsigned SDBMHash(unsigned hash, char c)
  5343. - void SendEvent(const String eventName, VariantMap& eventData)
  5344. - void SetExecuteConsoleCommands(bool enable)
  5345. - void SetRandomSeed(unsigned seed)
  5346. - float Sign(float value)
  5347. - float SmoothStep(float lhs, float rhs, float t)
  5348. - void SubscribeToEvent(const String eventName, const String functionName)
  5349. - void SubscribeToEvent(void* sender, const String eventName, const String functionName)
  5350. - bool ToBool(const String source)
  5351. - Color ToColor(const String source)
  5352. - float ToFloat(const String source)
  5353. - int ToInt(const String source)
  5354. - IntRect ToIntRect(const String source)
  5355. - IntVector2 ToIntVector2(const String source)
  5356. - unsigned ToLower(unsigned ch)
  5357. - Matrix3 ToMatrix3(const String source)
  5358. - Matrix3x4 ToMatrix3x4(const String source)
  5359. - Matrix4 ToMatrix4(const String source)
  5360. - Quaternion ToQuaternion(const String source)
  5361. - Rect ToRect(const String source)
  5362. - String ToString(void* value)
  5363. - String ToStringHex(unsigned value)
  5364. - unsigned ToUInt(const String source)
  5365. - unsigned ToUpper(unsigned ch)
  5366. - Vector2 ToVector2(const String source)
  5367. - Vector3 ToVector3(const String source)
  5368. - Vector4 ToVector4(const String source, bool allowMissingCoords = false)
  5369. - void UnsubscribeFromAllEvents()
  5370. - void UnsubscribeFromEvent(void* sender, const String eventName, const String functionName = String::EMPTY)
  5371. - void UnsubscribeFromEvent(const String eventName, const String functionName = String::EMPTY)
  5372. - void UnsubscribeFromEvents(void* sender)
  5373. \section LuaScriptAPI_GlobalProperties Global properties
  5374. - Audio* audio (readonly)
  5375. - ResourceCache* cache (readonly)
  5376. - Console* console (readonly)
  5377. - DebugHud* debugHud (readonly)
  5378. - Engine* engine (readonly)
  5379. - FileSystem* fileSystem (readonly)
  5380. - Graphics* graphics (readonly)
  5381. - Input* input (readonly)
  5382. - Log* log (readonly)
  5383. - Network* network (readonly)
  5384. - Renderer* renderer (readonly)
  5385. - Time* time (readonly)
  5386. - UI* ui (readonly)
  5387. \section LuaScriptAPI_GlobalConstants Global constants
  5388. - float ANIMATION_LOD_BASESCALE
  5389. - char CHANNEL_POSITION
  5390. - char CHANNEL_ROTATION
  5391. - char CHANNEL_SCALE
  5392. - unsigned CLEAR_COLOR
  5393. - unsigned CLEAR_DEPTH
  5394. - unsigned CLEAR_STENCIL
  5395. - int CONTROLLER_AXIS_LEFTX
  5396. - int CONTROLLER_AXIS_LEFTY
  5397. - int CONTROLLER_AXIS_RIGHTX
  5398. - int CONTROLLER_AXIS_RIGHTY
  5399. - int CONTROLLER_AXIS_TRIGGERLEFT
  5400. - int CONTROLLER_AXIS_TRIGGERRIGHT
  5401. - int CONTROLLER_BUTTON_A
  5402. - int CONTROLLER_BUTTON_B
  5403. - int CONTROLLER_BUTTON_BACK
  5404. - int CONTROLLER_BUTTON_DPAD_DOWN
  5405. - int CONTROLLER_BUTTON_DPAD_LEFT
  5406. - int CONTROLLER_BUTTON_DPAD_RIGHT
  5407. - int CONTROLLER_BUTTON_DPAD_UP
  5408. - int CONTROLLER_BUTTON_GUIDE
  5409. - int CONTROLLER_BUTTON_LEFTSHOULDER
  5410. - int CONTROLLER_BUTTON_LEFTSTICK
  5411. - int CONTROLLER_BUTTON_RIGHTSHOULDER
  5412. - int CONTROLLER_BUTTON_RIGHTSTICK
  5413. - int CONTROLLER_BUTTON_START
  5414. - int CONTROLLER_BUTTON_X
  5415. - int CONTROLLER_BUTTON_Y
  5416. - unsigned DD_DISABLED
  5417. - unsigned DD_SOURCE
  5418. - unsigned DD_SOURCE_AND_TARGET
  5419. - unsigned DD_TARGET
  5420. - unsigned DEBUGHUD_SHOW_ALL
  5421. - unsigned DEBUGHUD_SHOW_MODE
  5422. - unsigned DEBUGHUD_SHOW_NONE
  5423. - unsigned DEBUGHUD_SHOW_PROFILER
  5424. - unsigned DEBUGHUD_SHOW_STATS
  5425. - unsigned DEFAULT_LIGHTMASK
  5426. - unsigned DEFAULT_SHADOWMASK
  5427. - unsigned DEFAULT_VIEWMASK
  5428. - unsigned DEFAULT_ZONEMASK
  5429. - unsigned DRAWABLE_ANY
  5430. - unsigned DRAWABLE_GEOMETRY
  5431. - unsigned DRAWABLE_LIGHT
  5432. - unsigned DRAWABLE_ZONE
  5433. - unsigned FIRST_LOCAL_ID
  5434. - unsigned FIRST_REPLICATED_ID
  5435. - int HAT_CENTER
  5436. - int HAT_DOWN
  5437. - int HAT_LEFT
  5438. - int HAT_RIGHT
  5439. - int HAT_UP
  5440. - int KEY_0
  5441. - int KEY_1
  5442. - int KEY_2
  5443. - int KEY_3
  5444. - int KEY_4
  5445. - int KEY_5
  5446. - int KEY_6
  5447. - int KEY_7
  5448. - int KEY_8
  5449. - int KEY_9
  5450. - int KEY_A
  5451. - int KEY_ALT
  5452. - int KEY_APPLICATION
  5453. - int KEY_B
  5454. - int KEY_BACKSPACE
  5455. - int KEY_C
  5456. - int KEY_CAPSLOCK
  5457. - int KEY_CTRL
  5458. - int KEY_D
  5459. - int KEY_DELETE
  5460. - int KEY_DOWN
  5461. - int KEY_E
  5462. - int KEY_END
  5463. - int KEY_ESC
  5464. - int KEY_F
  5465. - int KEY_F1
  5466. - int KEY_F10
  5467. - int KEY_F11
  5468. - int KEY_F12
  5469. - int KEY_F13
  5470. - int KEY_F14
  5471. - int KEY_F15
  5472. - int KEY_F16
  5473. - int KEY_F17
  5474. - int KEY_F18
  5475. - int KEY_F19
  5476. - int KEY_F2
  5477. - int KEY_F20
  5478. - int KEY_F21
  5479. - int KEY_F22
  5480. - int KEY_F23
  5481. - int KEY_F24
  5482. - int KEY_F3
  5483. - int KEY_F4
  5484. - int KEY_F5
  5485. - int KEY_F6
  5486. - int KEY_F7
  5487. - int KEY_F8
  5488. - int KEY_F9
  5489. - int KEY_G
  5490. - int KEY_GUI
  5491. - int KEY_H
  5492. - int KEY_HOME
  5493. - int KEY_I
  5494. - int KEY_INSERT
  5495. - int KEY_J
  5496. - int KEY_K
  5497. - int KEY_KP_0
  5498. - int KEY_KP_1
  5499. - int KEY_KP_2
  5500. - int KEY_KP_3
  5501. - int KEY_KP_4
  5502. - int KEY_KP_5
  5503. - int KEY_KP_6
  5504. - int KEY_KP_7
  5505. - int KEY_KP_8
  5506. - int KEY_KP_9
  5507. - int KEY_KP_DIVIDE
  5508. - int KEY_KP_ENTER
  5509. - int KEY_KP_MINUS
  5510. - int KEY_KP_MULTIPLY
  5511. - int KEY_KP_PERIOD
  5512. - int KEY_KP_PLUS
  5513. - int KEY_L
  5514. - int KEY_LALT
  5515. - int KEY_LCTRL
  5516. - int KEY_LEFT
  5517. - int KEY_LGUI
  5518. - int KEY_LSHIFT
  5519. - int KEY_M
  5520. - int KEY_N
  5521. - int KEY_NUMLOCKCLEAR
  5522. - int KEY_O
  5523. - int KEY_P
  5524. - int KEY_PAGEDOWN
  5525. - int KEY_PAGEUP
  5526. - int KEY_PAUSE
  5527. - int KEY_PRINTSCREEN
  5528. - int KEY_Q
  5529. - int KEY_R
  5530. - int KEY_RALT
  5531. - int KEY_RCTRL
  5532. - int KEY_RETURN
  5533. - int KEY_RETURN2
  5534. - int KEY_RGUI
  5535. - int KEY_RIGHT
  5536. - int KEY_RSHIFT
  5537. - int KEY_S
  5538. - int KEY_SCROLLLOCK
  5539. - int KEY_SELECT
  5540. - int KEY_SHIFT
  5541. - int KEY_SPACE
  5542. - int KEY_T
  5543. - int KEY_TAB
  5544. - int KEY_U
  5545. - int KEY_UP
  5546. - int KEY_V
  5547. - int KEY_W
  5548. - int KEY_X
  5549. - int KEY_Y
  5550. - int KEY_Z
  5551. - unsigned LAST_LOCAL_ID
  5552. - unsigned LAST_REPLICATED_ID
  5553. - int LOG_DEBUG
  5554. - int LOG_ERROR
  5555. - int LOG_INFO
  5556. - int LOG_NONE
  5557. - int LOG_WARNING
  5558. - int MAX_VERTEX_LIGHTS
  5559. - int MOUSEB_LEFT
  5560. - int MOUSEB_MIDDLE
  5561. - int MOUSEB_RIGHT
  5562. - float M_DEGTORAD
  5563. - float M_DEGTORAD_2
  5564. - float M_EPSILON
  5565. - float M_INFINITY
  5566. - float M_LARGE_EPSILON
  5567. - float M_LARGE_VALUE
  5568. - float M_MAX_FOV
  5569. - int M_MAX_INT
  5570. - unsigned M_MAX_UNSIGNED
  5571. - int M_MIN_INT
  5572. - float M_MIN_NEARCLIP
  5573. - unsigned M_MIN_UNSIGNED
  5574. - float M_PI
  5575. - float M_RADTODEG
  5576. - unsigned NUM_FRUSTUM_PLANES
  5577. - unsigned NUM_FRUSTUM_VERTICES
  5578. - float PIXEL_SIZE
  5579. - int QUALITY_HIGH
  5580. - int QUALITY_LOW
  5581. - int QUALITY_MAX
  5582. - int QUALITY_MEDIUM
  5583. - int QUAL_ALT
  5584. - int QUAL_ANY
  5585. - int QUAL_CTRL
  5586. - int QUAL_SHIFT
  5587. - int SCANCODE_0
  5588. - int SCANCODE_1
  5589. - int SCANCODE_2
  5590. - int SCANCODE_3
  5591. - int SCANCODE_4
  5592. - int SCANCODE_5
  5593. - int SCANCODE_6
  5594. - int SCANCODE_7
  5595. - int SCANCODE_8
  5596. - int SCANCODE_9
  5597. - int SCANCODE_A
  5598. - int SCANCODE_AC_BACK
  5599. - int SCANCODE_AC_BOOKMARKS
  5600. - int SCANCODE_AC_FORWARD
  5601. - int SCANCODE_AC_HOME
  5602. - int SCANCODE_AC_REFRESH
  5603. - int SCANCODE_AC_SEARCH
  5604. - int SCANCODE_AC_STOP
  5605. - int SCANCODE_AGAIN
  5606. - int SCANCODE_ALT
  5607. - int SCANCODE_ALTERASE
  5608. - int SCANCODE_APOSTROPHE
  5609. - int SCANCODE_APP1
  5610. - int SCANCODE_APP2
  5611. - int SCANCODE_APPLICATION
  5612. - int SCANCODE_AUDIOMUTE
  5613. - int SCANCODE_AUDIONEXT
  5614. - int SCANCODE_AUDIOPLAY
  5615. - int SCANCODE_AUDIOPREV
  5616. - int SCANCODE_AUDIOSTOP
  5617. - int SCANCODE_B
  5618. - int SCANCODE_BACKSLASH
  5619. - int SCANCODE_BACKSPACE
  5620. - int SCANCODE_BRIGHTNESSDOWN
  5621. - int SCANCODE_BRIGHTNESSUP
  5622. - int SCANCODE_C
  5623. - int SCANCODE_CALCULATOR
  5624. - int SCANCODE_CANCEL
  5625. - int SCANCODE_CAPSLOCK
  5626. - int SCANCODE_CLEAR
  5627. - int SCANCODE_CLEARAGAIN
  5628. - int SCANCODE_COMMA
  5629. - int SCANCODE_COMPUTER
  5630. - int SCANCODE_COPY
  5631. - int SCANCODE_CRSEL
  5632. - int SCANCODE_CTRL
  5633. - int SCANCODE_CURRENCYSUBUNIT
  5634. - int SCANCODE_CURRENCYUNIT
  5635. - int SCANCODE_CUT
  5636. - int SCANCODE_D
  5637. - int SCANCODE_DECIMALSEPARATOR
  5638. - int SCANCODE_DELETE
  5639. - int SCANCODE_DISPLAYSWITCH
  5640. - int SCANCODE_DOWN
  5641. - int SCANCODE_E
  5642. - int SCANCODE_EJECT
  5643. - int SCANCODE_END
  5644. - int SCANCODE_EQUALS
  5645. - int SCANCODE_ESCAPE
  5646. - int SCANCODE_EXECUTE
  5647. - int SCANCODE_EXSEL
  5648. - int SCANCODE_F
  5649. - int SCANCODE_F1
  5650. - int SCANCODE_F10
  5651. - int SCANCODE_F11
  5652. - int SCANCODE_F12
  5653. - int SCANCODE_F13
  5654. - int SCANCODE_F14
  5655. - int SCANCODE_F15
  5656. - int SCANCODE_F16
  5657. - int SCANCODE_F17
  5658. - int SCANCODE_F18
  5659. - int SCANCODE_F19
  5660. - int SCANCODE_F2
  5661. - int SCANCODE_F20
  5662. - int SCANCODE_F21
  5663. - int SCANCODE_F22
  5664. - int SCANCODE_F23
  5665. - int SCANCODE_F24
  5666. - int SCANCODE_F3
  5667. - int SCANCODE_F4
  5668. - int SCANCODE_F5
  5669. - int SCANCODE_F6
  5670. - int SCANCODE_F7
  5671. - int SCANCODE_F8
  5672. - int SCANCODE_F9
  5673. - int SCANCODE_FIND
  5674. - int SCANCODE_G
  5675. - int SCANCODE_GRAVE
  5676. - int SCANCODE_GUI
  5677. - int SCANCODE_H
  5678. - int SCANCODE_HELP
  5679. - int SCANCODE_HOME
  5680. - int SCANCODE_I
  5681. - int SCANCODE_INSERT
  5682. - int SCANCODE_INTERNATIONAL1
  5683. - int SCANCODE_INTERNATIONAL2
  5684. - int SCANCODE_INTERNATIONAL3
  5685. - int SCANCODE_INTERNATIONAL4
  5686. - int SCANCODE_INTERNATIONAL5
  5687. - int SCANCODE_INTERNATIONAL6
  5688. - int SCANCODE_INTERNATIONAL7
  5689. - int SCANCODE_INTERNATIONAL8
  5690. - int SCANCODE_INTERNATIONAL9
  5691. - int SCANCODE_J
  5692. - int SCANCODE_K
  5693. - int SCANCODE_KBDILLUMDOWN
  5694. - int SCANCODE_KBDILLUMTOGGLE
  5695. - int SCANCODE_KBDILLUMUP
  5696. - int SCANCODE_KP_0
  5697. - int SCANCODE_KP_00
  5698. - int SCANCODE_KP_000
  5699. - int SCANCODE_KP_1
  5700. - int SCANCODE_KP_2
  5701. - int SCANCODE_KP_3
  5702. - int SCANCODE_KP_4
  5703. - int SCANCODE_KP_5
  5704. - int SCANCODE_KP_6
  5705. - int SCANCODE_KP_7
  5706. - int SCANCODE_KP_8
  5707. - int SCANCODE_KP_9
  5708. - int SCANCODE_KP_A
  5709. - int SCANCODE_KP_AMPERSAND
  5710. - int SCANCODE_KP_AT
  5711. - int SCANCODE_KP_B
  5712. - int SCANCODE_KP_BACKSPACE
  5713. - int SCANCODE_KP_BINARY
  5714. - int SCANCODE_KP_C
  5715. - int SCANCODE_KP_CLEAR
  5716. - int SCANCODE_KP_CLEARENTRY
  5717. - int SCANCODE_KP_COLON
  5718. - int SCANCODE_KP_COMMA
  5719. - int SCANCODE_KP_D
  5720. - int SCANCODE_KP_DBLAMPERSAND
  5721. - int SCANCODE_KP_DBLVERTICALBAR
  5722. - int SCANCODE_KP_DECIMAL
  5723. - int SCANCODE_KP_DIVIDE
  5724. - int SCANCODE_KP_E
  5725. - int SCANCODE_KP_ENTER
  5726. - int SCANCODE_KP_EQUALS
  5727. - int SCANCODE_KP_EQUALSAS400
  5728. - int SCANCODE_KP_EXCLAM
  5729. - int SCANCODE_KP_F
  5730. - int SCANCODE_KP_GREATER
  5731. - int SCANCODE_KP_HASH
  5732. - int SCANCODE_KP_HEXADECIMAL
  5733. - int SCANCODE_KP_LEFTBRACE
  5734. - int SCANCODE_KP_LEFTPAREN
  5735. - int SCANCODE_KP_LESS
  5736. - int SCANCODE_KP_MEMADD
  5737. - int SCANCODE_KP_MEMCLEAR
  5738. - int SCANCODE_KP_MEMDIVIDE
  5739. - int SCANCODE_KP_MEMMULTIPLY
  5740. - int SCANCODE_KP_MEMRECALL
  5741. - int SCANCODE_KP_MEMSTORE
  5742. - int SCANCODE_KP_MEMSUBTRACT
  5743. - int SCANCODE_KP_MINUS
  5744. - int SCANCODE_KP_MULTIPLY
  5745. - int SCANCODE_KP_OCTAL
  5746. - int SCANCODE_KP_PERCENT
  5747. - int SCANCODE_KP_PERIOD
  5748. - int SCANCODE_KP_PLUS
  5749. - int SCANCODE_KP_PLUSMINUS
  5750. - int SCANCODE_KP_POWER
  5751. - int SCANCODE_KP_RIGHTBRACE
  5752. - int SCANCODE_KP_RIGHTPAREN
  5753. - int SCANCODE_KP_SPACE
  5754. - int SCANCODE_KP_TAB
  5755. - int SCANCODE_KP_VERTICALBAR
  5756. - int SCANCODE_KP_XOR
  5757. - int SCANCODE_L
  5758. - int SCANCODE_LALT
  5759. - int SCANCODE_LANG1
  5760. - int SCANCODE_LANG2
  5761. - int SCANCODE_LANG3
  5762. - int SCANCODE_LANG4
  5763. - int SCANCODE_LANG5
  5764. - int SCANCODE_LANG6
  5765. - int SCANCODE_LANG7
  5766. - int SCANCODE_LANG8
  5767. - int SCANCODE_LANG9
  5768. - int SCANCODE_LCTRL
  5769. - int SCANCODE_LEFT
  5770. - int SCANCODE_LEFTBRACKET
  5771. - int SCANCODE_LGUI
  5772. - int SCANCODE_LSHIFT
  5773. - int SCANCODE_M
  5774. - int SCANCODE_MAIL
  5775. - int SCANCODE_MEDIASELECT
  5776. - int SCANCODE_MENU
  5777. - int SCANCODE_MINUS
  5778. - int SCANCODE_MODE
  5779. - int SCANCODE_MUTE
  5780. - int SCANCODE_N
  5781. - int SCANCODE_NONUSBACKSLASH
  5782. - int SCANCODE_NONUSHASH
  5783. - int SCANCODE_NUMLOCKCLEAR
  5784. - int SCANCODE_O
  5785. - int SCANCODE_OPER
  5786. - int SCANCODE_OUT
  5787. - int SCANCODE_P
  5788. - int SCANCODE_PAGEDOWN
  5789. - int SCANCODE_PAGEUP
  5790. - int SCANCODE_PASTE
  5791. - int SCANCODE_PAUSE
  5792. - int SCANCODE_PERIOD
  5793. - int SCANCODE_POWER
  5794. - int SCANCODE_PRINTSCREEN
  5795. - int SCANCODE_PRIOR
  5796. - int SCANCODE_Q
  5797. - int SCANCODE_R
  5798. - int SCANCODE_RALT
  5799. - int SCANCODE_RCTRL
  5800. - int SCANCODE_RETURN
  5801. - int SCANCODE_RETURN2
  5802. - int SCANCODE_RGUI
  5803. - int SCANCODE_RIGHT
  5804. - int SCANCODE_RIGHTBRACKET
  5805. - int SCANCODE_RSHIFT
  5806. - int SCANCODE_S
  5807. - int SCANCODE_SCROLLLOCK
  5808. - int SCANCODE_SELECT
  5809. - int SCANCODE_SEMICOLON
  5810. - int SCANCODE_SEPARATOR
  5811. - int SCANCODE_SHIFT
  5812. - int SCANCODE_SLASH
  5813. - int SCANCODE_SLEEP
  5814. - int SCANCODE_SPACE
  5815. - int SCANCODE_STOP
  5816. - int SCANCODE_SYSREQ
  5817. - int SCANCODE_T
  5818. - int SCANCODE_TAB
  5819. - int SCANCODE_THOUSANDSSEPARATOR
  5820. - int SCANCODE_U
  5821. - int SCANCODE_UNDO
  5822. - int SCANCODE_UNKNOWN
  5823. - int SCANCODE_UP
  5824. - int SCANCODE_V
  5825. - int SCANCODE_VOLUMEDOWN
  5826. - int SCANCODE_VOLUMEUP
  5827. - int SCANCODE_W
  5828. - int SCANCODE_WWW
  5829. - int SCANCODE_X
  5830. - int SCANCODE_Y
  5831. - int SCANCODE_Z
  5832. - unsigned SCAN_DIRS
  5833. - unsigned SCAN_FILES
  5834. - unsigned SCAN_HIDDEN
  5835. - int SHADOWQUALITY_HIGH_16BIT
  5836. - int SHADOWQUALITY_HIGH_24BIT
  5837. - int SHADOWQUALITY_LOW_16BIT
  5838. - int SHADOWQUALITY_LOW_24BIT
  5839. - unsigned VO_DISABLE_OCCLUSION
  5840. - unsigned VO_DISABLE_SHADOWS
  5841. - unsigned VO_LOW_MATERIAL_QUALITY
  5842. - unsigned VO_NONE
  5843. */
  5844. }