LuaScriptAPI.dox 186 KB

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