2
0

LuaScriptAPI.dox 189 KB

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