2
0

LuaScriptAPI.dox 186 KB

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