LuaScriptAPI.dox 186 KB

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