LuaScriptAPI.dox 164 KB

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