LuaScriptAPI.dox 141 KB

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