LuaScriptAPI.dox 142 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702
  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. - void* GetPtr() const
  851. - const ResourceRef& GetResourceRef() const
  852. - const ResourceRefList& GetResourceRefList() const
  853. - const IntRect& GetIntRect() const
  854. - const IntVector2& GetIntVector2() const
  855. - VariantType GetType() const
  856. - String GetTypeName() const
  857. - String ToString() const
  858. - bool IsZero() const
  859. - bool IsEmpty() const
  860. Properties:<br>
  861. - VariantType type (readonly)
  862. - String typeName (readonly)
  863. - bool zero (readonly)
  864. - bool empty (readonly)
  865. VariantMap
  866. Methods:<br>
  867. - VariantMap()
  868. - ~VariantMap()
  869. - void SetInt(const String key, int value)
  870. - void SetBool(const String key, bool value)
  871. - void SetFloat(const String key, float value)
  872. - void SetVector2(const String key, const Vector2 value)
  873. - void SetVector3(const String key, const Vector3 value)
  874. - void SetVector4(const String key, const Vector4 value)
  875. - void SetQuaternion(const String key, const Quaternion value)
  876. - void SetColor(const String key, const Color value)
  877. - void SetString(const String key, const String value)
  878. - void SetPtr(const String key, void* value)
  879. - void SetResourceRef(const String key, const ResourceRef value)
  880. - void SetResourceRefList(const String key, const ResourceRefList value)
  881. - void SetIntRect(const String key, const IntRect value)
  882. - void SetIntVector2(const String key, const IntVector2 value)
  883. - void SetCamera(const String key, Camera* camera)
  884. - void SetConnection(const String key, Connection* connection)
  885. - void SetNode(const String key, Node* node)
  886. - void SetPhysicsWorld(const String key, PhysicsWorld* physicsworld)
  887. - void SetRigidBody(const String key, RigidBody* rigidbody)
  888. - void SetScene(const String key, Scene* scene)
  889. - void SetUIElement(const String key, UIElement* element)
  890. - int GetInt(const String key)
  891. - bool GetBool(const String key)
  892. - float GetFloat(const String key)
  893. - const GetVector2(const String key)
  894. - const GetVector3(const String key)
  895. - const GetVector4(const String key)
  896. - const GetQuaternion(const String key)
  897. - const GetColor(const String key)
  898. - const GetString(const String key)
  899. - const GetPtr(const String key)
  900. - const GetResourceRef(const String key)
  901. - const GetResourceRefList(const String key)
  902. - const GetIntRect(const String key)
  903. - const GetIntVector2(const String key)
  904. - Camera* GetCamera(const String key)
  905. - Connection* GetConnection(const String key)
  906. - Node* GetNode(const String key)
  907. - PhysicsWorld* GetPhysicsWorld(const String key)
  908. - RigidBody* GetRigidBody(const String key)
  909. - Scene* GetScene(const String key)
  910. - UIElement* GetUIElement(const String key)
  911. Console : Object
  912. Methods:<br>
  913. - void SetDefaultStyle(XMLFile* style)
  914. - void SetVisible(bool enable)
  915. - void Toggle()
  916. - void SetNumRows(unsigned rows)
  917. - void SetNumHistoryRows(unsigned rows)
  918. - void UpdateElements()
  919. - XMLFile* GetDefaultStyle() const
  920. - BorderImage* GetBackground() const
  921. - LineEdit* GetLineEdit() const
  922. - bool IsVisible() const
  923. - unsigned GetNumRows() const
  924. - unsigned GetNumHistoryRows() const
  925. - unsigned GetHistoryPosition() const
  926. - const String& GetHistoryRow(unsigned index) const
  927. Properties:<br>
  928. - XMLFile* defaultStyle
  929. - BorderImage* background (readonly)
  930. - LineEdit* lineEdit (readonly)
  931. - bool visible
  932. - unsigned numRows
  933. - unsigned numHistoryRows
  934. - unsigned historyPosition (readonly)
  935. DebugHud : Object
  936. Methods:<br>
  937. - void SetDefaultStyle(XMLFile* style)
  938. - void SetMode(unsigned mode)
  939. - void SetProfilerMaxDepth(unsigned depth)
  940. - void SetProfilerInterval(float interval)
  941. - void SetUseRendererStats(bool enable)
  942. - void Toggle(unsigned mode)
  943. - void ToggleAll()
  944. - XMLFile* GetDefaultStyle() const
  945. - Text* GetStatsText() const
  946. - Text* GetModeText() const
  947. - Text* GetProfilerText() const
  948. - unsigned GetMode() const
  949. - unsigned GetProfilerMaxDepth() const
  950. - float GetProfilerInterval() const
  951. - bool GetUseRendererStats() const
  952. - void SetAppStats(const String label, const Variant stats)
  953. - void SetAppStats(const String label, const String stats)
  954. - bool ResetAppStats(const String label)
  955. - void ClearAppStats()
  956. Properties:<br>
  957. - XMLFile* defaultStyle
  958. - Text* statsText (readonly)
  959. - Text* modeText (readonly)
  960. - Text* profilerText (readonly)
  961. - unsigned mode
  962. - unsigned profilerMaxDepth
  963. - float profilerInterval
  964. - bool useRendererStats
  965. Engine : Object
  966. Methods:<br>
  967. - void RunFrame()
  968. - Console* CreateConsole()
  969. - DebugHud* CreateDebugHud()
  970. - void SetMinFps(int fps)
  971. - void SetMaxFps(int fps)
  972. - void SetMaxInactiveFps(int fps)
  973. - void SetPauseMinimized(bool enable)
  974. - void SetAutoExit(bool enable)
  975. - void Exit()
  976. - void DumpProfiler()
  977. - void DumpResources()
  978. - void DumpMemory()
  979. - int GetMinFps() const
  980. - int GetMaxFps() const
  981. - int GetMaxInactiveFps() const
  982. - bool GetPauseMinimized() const
  983. - bool GetAutoExit() const
  984. - bool IsInitialized() const
  985. - bool IsExiting() const
  986. - bool IsHeadless() const
  987. Properties:<br>
  988. - int minFps
  989. - int maxFps
  990. - int maxInactiveFps
  991. - bool pauseMinimized
  992. - bool autoExit
  993. - bool initialized (readonly)
  994. - bool exiting (readonly)
  995. - bool headless (readonly)
  996. AnimatedModel : StaticModel
  997. Methods:<br>
  998. - void SetModel(Model* model, bool createBones = true)
  999. - AnimationState* AddAnimationState(Animation* animation)
  1000. - void RemoveAnimationState(Animation* animation)
  1001. - void RemoveAnimationState(const String animationName)
  1002. - void RemoveAnimationState(StringHash animationNameHash)
  1003. - void RemoveAnimationState(AnimationState* state)
  1004. - void RemoveAnimationState(unsigned index)
  1005. - void RemoveAllAnimationStates()
  1006. - void SetAnimationLodBias(float bias)
  1007. - void SetInvisibleLodFactor(float factor)
  1008. - void SetMorphWeight(unsigned index, float weight)
  1009. - void SetMorphWeight(const String name, float weight)
  1010. - void SetMorphWeight(StringHash nameHash, float weight)
  1011. - void ResetMorphWeights()
  1012. - Skeleton& GetSkeleton()
  1013. - unsigned GetNumAnimationStates() const
  1014. - AnimationState* GetAnimationState(Animation* animation) const
  1015. - AnimationState* GetAnimationState(const String animationName) const
  1016. - AnimationState* GetAnimationState(const StringHash animationNameHash) const
  1017. - AnimationState* GetAnimationState(unsigned index) const
  1018. - float GetAnimationLodBias() const
  1019. - float GetInvisibleLodFactor() const
  1020. - unsigned GetNumMorphs() const
  1021. - float GetMorphWeight(unsigned index) const
  1022. - float GetMorphWeight(const String name) const
  1023. - float GetMorphWeight(StringHash nameHash) const
  1024. - bool IsMaster() const
  1025. Properties:<br>
  1026. - Skeleton& skeleton (readonly)
  1027. - unsigned numAnimationStates (readonly)
  1028. - float animationLodBias
  1029. - float invisibleLodFactor
  1030. - unsigned numMorphs (readonly)
  1031. - bool master (readonly)
  1032. AnimationKeyFrame
  1033. Methods:<br>
  1034. - float time
  1035. - Vector3 position
  1036. - Quaternion rotation
  1037. - Vector3 scale
  1038. AnimationTrack
  1039. Methods:<br>
  1040. - void GetKeyFrameIndex(float time, unsigned& index) const
  1041. - String name
  1042. - StringHash nameHash
  1043. - unsigned channelMas
  1044. - Vector<AnimationKeyFrame> keyFrames
  1045. AnimationTriggerPoint
  1046. Methods:<br>
  1047. - AnimationTriggerPoint()
  1048. - float time
  1049. - Variant data
  1050. Animation : Resource
  1051. Methods:<br>
  1052. - const String& GetAnimationName() const
  1053. - StringHash GetAnimationNameHash() const
  1054. - float GetLength() const
  1055. - unsigned GetNumTracks() const
  1056. - const AnimationTrack* GetTrack(unsigned index) const
  1057. - const AnimationTrack* GetTrack(const String name) const
  1058. - const AnimationTrack* GetTrack(StringHash nameHash) const
  1059. - unsigned GetNumTriggers() const
  1060. Properties:<br>
  1061. - String& animationName (readonly)
  1062. - StringHash animationNameHash (readonly)
  1063. - float length (readonly)
  1064. - unsigned numTracks (readonly)
  1065. - unsigned numTriggers (readonly)
  1066. AnimationControl
  1067. Methods:<br>
  1068. - AnimationControl()
  1069. - StringHash hash_
  1070. - float speed_
  1071. - float targetWeight_
  1072. - float fadeTime_
  1073. - float autoFadeTime_
  1074. - float setTimeTtl_
  1075. - float setWeightTtl_
  1076. - unsigned short setTime_
  1077. - unsigned char setWeight_
  1078. - unsigned char setTimeRev_
  1079. - unsigned char setWeightRev_
  1080. AnimationController : Component
  1081. Methods:<br>
  1082. - bool Play(const String name, unsigned char layer, bool looped, float fadeInTime = 0.0f)
  1083. - bool PlayExclusive(const String name, unsigned char layer, bool looped, float fadeTime = 0.0f)
  1084. - bool Stop(const String name, float fadeOutTime = 0.0f)
  1085. - void StopLayer(unsigned char layer, float fadeOutTime = 0.0f)
  1086. - void StopAll(float fadeTime = 0.0f)
  1087. - bool Fade(const String name, float targetWeight, float fadeTime)
  1088. - bool FadeOthers(const String name, float targetWeight, float fadeTime)
  1089. - bool SetLayer(const String name, unsigned char layer)
  1090. - bool SetStartBone(const String name, const String startBoneName)
  1091. - bool SetTime(const String name, float time)
  1092. - bool SetWeight(const String name, float weight)
  1093. - bool SetLooped(const String name, bool enable)
  1094. - bool SetSpeed(const String name, float speed)
  1095. - bool SetAutoFade(const String name, float fadeOutTime)
  1096. - bool IsPlaying(const String name) const
  1097. - bool IsFadingIn(const String name) const
  1098. - bool IsFadingOut(const String name) const
  1099. - unsigned char GetLayer(const String name) const
  1100. - Bone* GetStartBone(const String name) const
  1101. - const String& GetStartBoneName(const String name) const
  1102. - float GetTime(const String name) const
  1103. - float GetWeight(const String name) const
  1104. - bool IsLooped(const String name) const
  1105. - float GetLength(const String name) const
  1106. - float GetSpeed(const String name) const
  1107. - float GetFadeTarget(const String name) const
  1108. - float GetFadeTime(const String name) const
  1109. - float GetAutoFade(const String name) const
  1110. AnimationState
  1111. Methods:<br>
  1112. - AnimationState(AnimatedModel* model, Animation* animation)
  1113. - AnimationState(Node* node, Animation* animation)
  1114. - ~AnimationState()
  1115. - void SetStartBone(Bone* bone)
  1116. - void SetLooped(bool looped)
  1117. - void SetWeight(float weight)
  1118. - void SetTime(float time)
  1119. - void SetBoneWeight(unsigned index, float weight)
  1120. - void SetBoneWeight(const String name, float weight)
  1121. - void SetBoneWeight(StringHash nameHash, float weight)
  1122. - void AddWeight(float delta)
  1123. - void AddTime(float delta)
  1124. - void SetLayer(unsigned char layer)
  1125. - Animation* GetAnimation() const
  1126. - Bone* GetStartBone() const
  1127. - float GetBoneWeight(unsigned index) const
  1128. - float GetBoneWeight(const String name) const
  1129. - float GetBoneWeight(StringHash nameHash) const
  1130. - unsigned GetTrackIndex(const String name) const
  1131. - unsigned GetTrackIndex(StringHash nameHash) const
  1132. - bool IsEnabled() const
  1133. - bool IsLooped() const
  1134. - float GetWeight() const
  1135. - float GetTime() const
  1136. - float GetLength() const
  1137. - unsigned char GetLayer() const
  1138. Properties:<br>
  1139. - Animation* animation (readonly)
  1140. - Bone* startBone
  1141. - bool enabled (readonly)
  1142. - bool looped
  1143. - float weight
  1144. - float time
  1145. - float length (readonly)
  1146. - unsigned char layer
  1147. Billboard
  1148. Methods:<br>
  1149. - Vector3 position
  1150. - Vector2 size
  1151. - Rect uv
  1152. - Color color
  1153. - float rotation
  1154. - bool enabled
  1155. - float sortDistance
  1156. BillboardSet : Drawable
  1157. Methods:<br>
  1158. - void SetMaterial(Material* material)
  1159. - void SetNumBillboards(unsigned num)
  1160. - void SetRelative(bool enable)
  1161. - void SetScaled(bool enable)
  1162. - void SetSorted(bool enable)
  1163. - void SetAnimationLodBias(float bias)
  1164. - void Commit()
  1165. - Material* GetMaterial() const
  1166. - unsigned GetNumBillboards() const
  1167. - Billboard* GetBillboard(unsigned index)
  1168. - bool IsRelative() const
  1169. - bool IsScaled() const
  1170. - bool IsSorted() const
  1171. - float GetAnimationLodBias() const
  1172. Properties:<br>
  1173. - Material* material
  1174. - unsigned numBillboards
  1175. - bool relative
  1176. - bool scaled
  1177. - bool sorted
  1178. - float animationLodBias
  1179. Camera : Component
  1180. Methods:<br>
  1181. - void SetNearClip(float nearClip)
  1182. - void SetFarClip(float farClip)
  1183. - void SetFov(float fov)
  1184. - void SetOrthoSize(float orthoSize)
  1185. - void SetOrthoSize(const Vector2& orthoSize)
  1186. - void SetAspectRatio(float aspectRatio)
  1187. - void SetFillMode(FillMode mode)
  1188. - void SetZoom(float zoom)
  1189. - void SetLodBias(float bias)
  1190. - void SetViewMask(unsigned mask)
  1191. - void SetViewOverrideFlags(unsigned flags)
  1192. - void SetOrthographic(bool enable)
  1193. - void SetAutoAspectRatio(bool enable)
  1194. - void SetProjectionOffset(const Vector2& offset)
  1195. - float GetFarClip() const
  1196. - float GetNearClip() const
  1197. - float GetFov() const
  1198. - float GetOrthoSize() const
  1199. - float GetAspectRatio() const
  1200. - float GetZoom() const
  1201. - float GetLodBias() const
  1202. - unsigned GetViewMask() const
  1203. - unsigned GetViewOverrideFlags() const
  1204. - FillMode GetFillMode() const
  1205. - bool IsOrthographic() const
  1206. - bool GetAutoAspectRatio() const
  1207. - const Frustum& GetFrustum() const
  1208. - const Matrix4& GetProjection() const
  1209. - Matrix4 GetProjection(bool apiSpecific) const
  1210. - const Matrix3x4& GetView() const
  1211. - void GetFrustumSize(Vector3& near, Vector3& far) const
  1212. - float GetHalfViewSize() const
  1213. - Frustum GetSplitFrustum(float nearClip, float farClip) const
  1214. - Frustum GetViewSpaceFrustum() const
  1215. - Frustum GetViewSpaceSplitFrustum(float nearClip, float farClip) const
  1216. - Ray GetScreenRay(float x, float y) const
  1217. - Vector2 WorldToScreenPoint(const Vector3& worldPos) const
  1218. - Vector3 ScreenToWorldPoint(const Vector3& screenPos) const
  1219. - Vector3 GetForwardVector() const
  1220. - Vector3 GetRightVector() const
  1221. - Vector3 GetUpVector() const
  1222. - const Vector2& GetProjectionOffset() const
  1223. - float GetDistance(const Vector3& worldPos) const
  1224. - float GetDistanceSquared(const Vector3& worldPos) const
  1225. - float GetLodDistance(float distance, float scale, float bias) const
  1226. - bool IsProjectionValid() const
  1227. Properties:<br>
  1228. - float farClip
  1229. - float nearClip
  1230. - float fov
  1231. - float orthoSize
  1232. - float aspectRatio
  1233. - float zoom
  1234. - float lodBias
  1235. - unsigned viewMask
  1236. - unsigned viewOverrideFlags
  1237. - FillMode fillMode
  1238. - bool orthographic
  1239. - bool autoAspectRatio
  1240. - Frustum& frustum (readonly)
  1241. - Matrix4& projection (readonly)
  1242. - Matrix3x4& view (readonly)
  1243. - float halfViewSize (readonly)
  1244. - Frustum viewSpaceFrustum (readonly)
  1245. - Vector3 forwardVector (readonly)
  1246. - Vector3 rightVector (readonly)
  1247. - Vector3 upVector (readonly)
  1248. - Vector2& projectionOffset
  1249. - bool projectionValid (readonly)
  1250. DebugRenderer : Component
  1251. Methods:<br>
  1252. - void SetView(Camera* camera)
  1253. - void AddLine(const Vector3& start, const Vector3& end, const Color& color, bool depthTest = true)
  1254. - void AddLine(const Vector3& start, const Vector3& end, unsigned color, bool depthTest = true)
  1255. - void AddNode(Node* node, float scale = 1.0f, bool depthTest = true)
  1256. - void AddBoundingBox(const BoundingBox& box, const Color& color, bool depthTest = true)
  1257. - void AddBoundingBox(const BoundingBox& box, const Matrix3x4& transform, const Color& color, bool depthTest = true)
  1258. - void AddFrustum(const Frustum& frustum, const Color& color, bool depthTest = true)
  1259. - void AddPolyhedron(const Polyhedron& poly, const Color& color, bool depthTest = true)
  1260. - void AddSphere(const Sphere& sphere, const Color& color, bool depthTest = true)
  1261. - void AddSkeleton(const Skeleton& skeleton, const Color& color, bool depthTest = true)
  1262. - 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)
  1263. - void Render()
  1264. - const Matrix3x4& GetView() const
  1265. - const Matrix4& GetProjection() const
  1266. - const Frustum& GetFrustum() const
  1267. - bool IsInside(const BoundingBox& box) const
  1268. Properties:<br>
  1269. - Matrix3x4& view (readonly)
  1270. - Matrix4& projection (readonly)
  1271. - Frustum& frustum (readonly)
  1272. DecalSet : Drawable
  1273. Methods:<br>
  1274. - void SetMaterial(Material* material)
  1275. - void SetMaxVertices(unsigned num)
  1276. - void SetMaxIndices(unsigned num)
  1277. - 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)
  1278. - void RemoveDecals(unsigned num)
  1279. - void RemoveAllDecals()
  1280. - Material* GetMaterial() const
  1281. - unsigned GetNumDecals() const
  1282. - unsigned GetNumVertices() const
  1283. - unsigned GetNumIndices() const
  1284. - unsigned GetMaxVertices() const
  1285. - unsigned GetMaxIndices() const
  1286. Properties:<br>
  1287. - Material* material
  1288. - unsigned numDecals (readonly)
  1289. - unsigned numVertices (readonly)
  1290. - unsigned numIndices (readonly)
  1291. - unsigned maxVertices
  1292. - unsigned maxIndices
  1293. Drawable : Component
  1294. Methods:<br>
  1295. - void SetDrawDistance(float distance)
  1296. - void SetShadowDistance(float distance)
  1297. - void SetLodBias(float bias)
  1298. - void SetViewMask(unsigned mask)
  1299. - void SetLightMask(unsigned mask)
  1300. - void SetShadowMask(unsigned mask)
  1301. - void SetZoneMask(unsigned mask)
  1302. - void SetMaxLights(unsigned num)
  1303. - void SetCastShadows(bool enable)
  1304. - void SetOccluder(bool enable)
  1305. - void SetOccludee(bool enable)
  1306. - void MarkForUpdate()
  1307. - const BoundingBox& GetBoundingBox() const
  1308. - const BoundingBox& GetWorldBoundingBox()
  1309. - unsigned char GetDrawableFlags() const
  1310. - float GetDrawDistance() const
  1311. - float GetShadowDistance() const
  1312. - float GetLodBias() const
  1313. - unsigned GetViewMask() const
  1314. - unsigned GetLightMask() const
  1315. - unsigned GetShadowMask() const
  1316. - unsigned GetZoneMask() const
  1317. - unsigned GetMaxLights() const
  1318. - bool GetCastShadows() const
  1319. - bool IsOccluder() const
  1320. - bool IsOccludee() const
  1321. - void SetZone(Zone* zone, bool temporary = false)
  1322. - void SetSortValue(float value)
  1323. - void SetMinMaxZ(float minZ, float maxZ)
  1324. - void MarkInView(const FrameInfo& frame, bool mainView = true)
  1325. - void ClearLights()
  1326. - void AddLight(Light* light)
  1327. - void AddVertexLight(Light* light)
  1328. - void LimitLights()
  1329. - void LimitVertexLights()
  1330. - void SetBasePass(unsigned batchIndex)
  1331. - Octant* GetOctant() const
  1332. - Zone* GetZone() const
  1333. - Zone* GetLastZone() const
  1334. - bool IsZoneDirty() const
  1335. - float GetDistance() const
  1336. - float GetLodDistance() const
  1337. - float GetSortValue() const
  1338. - bool IsInView(unsigned frameNumber) const
  1339. - bool IsInView(const FrameInfo& frame, bool mainView = true) const
  1340. - bool HasBasePass(unsigned batchIndex) const
  1341. - Light* GetFirstLight() const
  1342. - float GetMinZ() const
  1343. - float GetMaxZ() const
  1344. Properties:<br>
  1345. - BoundingBox& worldBoundingBox (readonly)
  1346. - unsigned char drawableFlags (readonly)
  1347. - float drawDistance
  1348. - float shadowDistance
  1349. - float lodBias
  1350. - unsigned viewMask
  1351. - unsigned lightMask
  1352. - unsigned shadowMask
  1353. - unsigned zoneMask
  1354. - unsigned maxLights
  1355. - bool castShadows
  1356. - bool occluder
  1357. - bool occludee
  1358. - Octant* octant (readonly)
  1359. - Zone* zone
  1360. - Zone* lastZone (readonly)
  1361. - bool zoneDirty (readonly)
  1362. - float distance (readonly)
  1363. - float lodDistance (readonly)
  1364. - float sortValue
  1365. - Light* firstLight (readonly)
  1366. - float minZ (readonly)
  1367. - float maxZ (readonly)
  1368. Graphics : Object
  1369. Methods:<br>
  1370. - void SetWindowTitle(const String windowTitle)
  1371. - bool SetMode(int width, int height, bool fullscreen, bool resizable, bool vsync, bool tripleBuffer, int multiSample)
  1372. - bool SetMode(int width, int height)
  1373. - void SetSRGB(bool enable)
  1374. - bool ToggleFullscreen()
  1375. - void Close()
  1376. - bool TakeScreenShot(Image& destImage)
  1377. - bool IsInitialized() const
  1378. - void* GetExternalWindow() const
  1379. - const String& GetWindowTitle() const
  1380. - int GetWidth() const
  1381. - int GetHeight() const
  1382. - int GetMultiSample() const
  1383. - bool GetFullscreen() const
  1384. - bool GetResizable() const
  1385. - bool GetVSync() const
  1386. - bool GetTripleBuffer() const
  1387. - bool GetSRGB() const
  1388. - bool IsDeviceLost() const
  1389. - unsigned GetNumPrimitives() const
  1390. - unsigned GetNumBatches() const
  1391. - unsigned GetDummyColorFormat() const
  1392. - unsigned GetShadowMapFormat() const
  1393. - unsigned GetHiresShadowMapFormat() const
  1394. - bool GetSM3Support() const
  1395. - bool GetInstancingSupport() const
  1396. - bool GetLightPrepassSupport() const
  1397. - bool GetDeferredSupport() const
  1398. - bool GetHardwareShadowSupport() const
  1399. - bool GetStreamOffsetSupport() const
  1400. - bool GetSRGBSupport() const
  1401. - bool GetSRGBWriteSupport() const
  1402. Properties:<br>
  1403. - bool initialized (readonly)
  1404. - const String windowTitle
  1405. - int width (readonly)
  1406. - int height (readonly)
  1407. - int multiSample (readonly)
  1408. - bool fullscreen (readonly)
  1409. - bool resizable (readonly)
  1410. - bool vSync (readonly)
  1411. - bool tripleBuffer (readonly)
  1412. - bool sRGB
  1413. - bool deviceLost (readonly)
  1414. - unsigned numPrimitives (readonly)
  1415. - unsigned numBatches (readonly)
  1416. - unsigned dummyColorFormat (readonly)
  1417. - unsigned shadowMapFormat (readonly)
  1418. - unsigned hiresShadowMapFormat (readonly)
  1419. - bool sM3Support (readonly)
  1420. - bool instancingSupport (readonly)
  1421. - bool lightPrepassSupport (readonly)
  1422. - bool deferredSupport (readonly)
  1423. - bool hardwareShadowSupport (readonly)
  1424. - bool streamOffsetSupport (readonly)
  1425. - bool sRGBSupport (readonly)
  1426. - bool sRGBWriteSupport (readonly)
  1427. BiasParameters
  1428. Methods:<br>
  1429. - BiasParameters()
  1430. - BiasParameters(float constantBias, float slopeScaledBias)
  1431. CascadeParameters
  1432. Methods:<br>
  1433. - CascadeParameters()
  1434. - CascadeParameters(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f)
  1435. FocusParameters
  1436. Methods:<br>
  1437. - FocusParameters()
  1438. - FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
  1439. Light : Drawable
  1440. Methods:<br>
  1441. - void SetLightType(LightType type)
  1442. - void SetPerVertex(bool enable)
  1443. - void SetColor(const Color& color)
  1444. - void SetSpecularIntensity(float intensity)
  1445. - void SetRange(float range)
  1446. - void SetFov(float fov)
  1447. - void SetAspectRatio(float aspectRatio)
  1448. - void SetFadeDistance(float distance)
  1449. - void SetShadowFadeDistance(float distance)
  1450. - void SetShadowBias(const BiasParameters& parameters)
  1451. - void SetShadowCascade(const CascadeParameters& parameters)
  1452. - void SetShadowFocus(const FocusParameters& parameters)
  1453. - void SetShadowIntensity(float intensity)
  1454. - void SetShadowResolution(float resolution)
  1455. - void SetShadowNearFarRatio(float nearFarRatio)
  1456. - void SetRampTexture(Texture* texture)
  1457. - void SetShapeTexture(Texture* texture)
  1458. - LightType GetLightType() const
  1459. - bool GetPerVertex() const
  1460. - const Color& GetColor() const
  1461. - float GetSpecularIntensity() const
  1462. - float GetRange() const
  1463. - float GetFov() const
  1464. - float GetAspectRatio() const
  1465. - float GetFadeDistance() const
  1466. - float GetShadowFadeDistance() const
  1467. - const BiasParameters& GetShadowBias() const
  1468. - const CascadeParameters& GetShadowCascade() const
  1469. - const FocusParameters& GetShadowFocus() const
  1470. - float GetShadowIntensity() const
  1471. - float GetShadowResolution() const
  1472. - float GetShadowNearFarRatio() const
  1473. - Texture* GetRampTexture() const
  1474. - Texture* GetShapeTexture() const
  1475. - Frustum GetFrustum() const
  1476. Properties:<br>
  1477. - LightType lightType
  1478. - bool perVertex
  1479. - Color& color
  1480. - float specularIntensity
  1481. - float range
  1482. - float fov
  1483. - float aspectRatio
  1484. - float fadeDistance
  1485. - float shadowFadeDistance
  1486. - BiasParameters& shadowBias
  1487. - CascadeParameters& shadowCascade
  1488. - FocusParameters& shadowFocus
  1489. - float shadowIntensity
  1490. - float shadowResolution
  1491. - float shadowNearFarRatio
  1492. - Texture* rampTexture
  1493. - Texture* shapeTexture
  1494. - Frustum frustum (readonly)
  1495. Material : Resource
  1496. Methods:<br>
  1497. - unsigned GetNumTechniques() const
  1498. - Technique* GetTechnique(unsigned index) const
  1499. - Pass* GetPass(unsigned index, StringHash passType) const
  1500. - Pass* GetPass(unsigned index, const String passType) const
  1501. - Texture* GetTexture(TextureUnit unit) const
  1502. - CullMode GetCullMode() const
  1503. - CullMode GetShadowCullMode() const
  1504. - const BiasParameters& GetDepthBias() const
  1505. - unsigned GetAuxViewFrameNumber() const
  1506. - bool GetOcclusion() const
  1507. - bool GetSpecular() const
  1508. Properties:<br>
  1509. - CullMode cullMode (readonly)
  1510. - CullMode shadowCullMode (readonly)
  1511. - unsigned auxViewFrameNumber (readonly)
  1512. - bool occlusion (readonly)
  1513. - bool specular (readonly)
  1514. Model : Resource
  1515. Methods:<br>
  1516. - const BoundingBox& GetBoundingBox() const
  1517. - Skeleton& GetSkeleton()
  1518. - unsigned GetNumGeometries() const
  1519. - unsigned GetNumGeometryLodLevels(unsigned index) const
  1520. - Geometry* GetGeometry(unsigned index, unsigned lodLevel) const
  1521. - unsigned GetNumMorphs() const
  1522. - const ModelMorph* GetMorph(unsigned index) const
  1523. - const ModelMorph* GetMorph(const String name) const
  1524. - const ModelMorph* GetMorph(StringHash nameHash) const
  1525. - unsigned GetMorphRangeStart(unsigned bufferIndex) const
  1526. - unsigned GetMorphRangeCount(unsigned bufferIndex) const
  1527. Properties:<br>
  1528. - BoundingBox& boundingBox (readonly)
  1529. - Skeleton skeleton (readonly)
  1530. - unsigned numGeometries (readonly)
  1531. - unsigned numMorphs (readonly)
  1532. Octree : Component
  1533. Methods:<br>
  1534. - void SetSize(const BoundingBox& box, unsigned numLevels)
  1535. - void Update(const FrameInfo& frame)
  1536. - void AddManualDrawable(Drawable* drawable)
  1537. - void RemoveManualDrawable(Drawable* drawable)
  1538. - RayQueryResult RaycastSingle(const Ray& ray, RayQueryLevel level, float maxDistance, unsigned char drawableFlags) const
  1539. - unsigned GetNumLevels() const
  1540. - void QueueUpdate(Drawable* drawable)
  1541. - void DrawDebugGeometry(bool depthTest)
  1542. Properties:<br>
  1543. - unsigned numLevels (readonly)
  1544. RayQueryResult
  1545. Methods:<br>
  1546. - Drawable* drawable
  1547. - Node* node
  1548. - float distance
  1549. - unsigned subObject
  1550. Particle
  1551. Methods:<br>
  1552. - Vector3 velocity_
  1553. - Vector2 size_
  1554. - float timer_
  1555. - float timeToLive_
  1556. - float scale_
  1557. - float rotationSpeed_
  1558. - unsigned colorIndex_
  1559. - unsigned texIndex_
  1560. ColorFrame
  1561. Methods:<br>
  1562. - ColorFrame()
  1563. - ColorFrame(const Color& color)
  1564. - ColorFrame(const Color& color, float time)
  1565. - Color Interpolate(const ColorFrame& next, float time)
  1566. - Color color
  1567. - float time
  1568. TextureFrame
  1569. Methods:<br>
  1570. - TextureFrame()
  1571. - Rect uv
  1572. - float time
  1573. ParticleEmitter : BillboardSet
  1574. Methods:<br>
  1575. - bool Load(XMLFile* file)
  1576. - void SetNumParticles(unsigned num)
  1577. - void SetEmissionRate(float rate)
  1578. - void SetMinEmissionRate(float rate)
  1579. - void SetMaxEmissionRate(float rate)
  1580. - void SetEmitterType(EmitterType type)
  1581. - void SetEmitterSize(const Vector3& size)
  1582. - void SetActiveTime(float time)
  1583. - void SetInactiveTime(float time)
  1584. - void SetEmitting(bool enable, bool resetPeriod = false)
  1585. - void SetUpdateInvisible(bool enable)
  1586. - void SetTimeToLive(float time)
  1587. - void SetMinTimeToLive(float time)
  1588. - void SetMaxTimeToLive(float time)
  1589. - void SetParticleSize(const Vector2& size)
  1590. - void SetMinParticleSize(const Vector2& size)
  1591. - void SetMaxParticleSize(const Vector2& size)
  1592. - void SetMinDirection(const Vector3& direction)
  1593. - void SetMaxDirection(const Vector3& direction)
  1594. - void SetVelocity(float velocity)
  1595. - void SetMinVelocity(float velocity)
  1596. - void SetMaxVelocity(float velocity)
  1597. - void SetRotation(float rotation)
  1598. - void SetMinRotation(float rotation)
  1599. - void SetMaxRotation(float rotation)
  1600. - void SetRotationSpeed(float speed)
  1601. - void SetMinRotationSpeed(float speed)
  1602. - void SetMaxRotationSpeed(float speed)
  1603. - void SetConstantForce(const Vector3& force)
  1604. - void SetDampingForce(float force)
  1605. - void SetSizeAdd(float sizeAdd)
  1606. - void SetSizeMul(float sizeMul)
  1607. - void SetColor(const Color& color)
  1608. - void SetNumColors(unsigned num)
  1609. - void SetNumTextureFrames(unsigned num)
  1610. - unsigned GetNumParticles() const
  1611. - bool IsEmitting() const
  1612. - bool GetUpdateInvisible() const
  1613. - float GetMinEmissionRate() const
  1614. - float GetMaxEmissionRate() const
  1615. - EmitterType GetEmitterType() const
  1616. - const Vector3& GetEmitterSize() const
  1617. - float GetActiveTime() const
  1618. - float GetInactiveTime() const
  1619. - float GetMinTimeToLive() const
  1620. - float GetMaxTimeToLive() const
  1621. - const Vector2& GetMinParticleSize() const
  1622. - const Vector2& GetMaxParticleSize() const
  1623. - const Vector3& GetMinDirection() const
  1624. - const Vector3& GetMaxDirection() const
  1625. - float GetMinVelocity() const
  1626. - float GetMaxVelocity() const
  1627. - float GetMinRotation() const
  1628. - float GetMaxRotation() const
  1629. - float GetMinRotationSpeed() const
  1630. - float GetMaxRotationSpeed() const
  1631. - const Vector3& GetConstantForce() const
  1632. - float GetDampingForce() const
  1633. - float GetSizeAdd() const
  1634. - float GetSizeMul() const
  1635. - unsigned GetNumColors() const
  1636. - ColorFrame* GetColor(unsigned index)
  1637. - unsigned GetNumTextureFrames() const
  1638. - TextureFrame* GetTextureFrame(unsigned index)
  1639. Properties:<br>
  1640. - unsigned numParticles
  1641. - bool emitting
  1642. - bool updateInvisible
  1643. - float minEmissionRate
  1644. - float maxEmissionRate
  1645. - EmitterType emitterType
  1646. - Vector3& emitterSize
  1647. - float activeTime
  1648. - float inactiveTime
  1649. - float minTimeToLive
  1650. - float maxTimeToLive
  1651. - Vector2& minParticleSize
  1652. - Vector2& maxParticleSize
  1653. - Vector3& minDirection
  1654. - Vector3& maxDirection
  1655. - float minVelocity
  1656. - float maxVelocity
  1657. - float minRotation
  1658. - float maxRotation
  1659. - float minRotationSpeed
  1660. - float maxRotationSpeed
  1661. - Vector3& constantForce
  1662. - float dampingForce
  1663. - float sizeAdd
  1664. - float sizeMul
  1665. - unsigned numColors
  1666. - unsigned numTextureFrames
  1667. Renderer
  1668. Methods:<br>
  1669. - void SetNumViewports(unsigned num)
  1670. - void SetViewport(unsigned index, Viewport* viewport)
  1671. - void SetDefaultRenderPath(RenderPath* renderPath)
  1672. - void SetDefaultRenderPath(XMLFile* file)
  1673. - void SetSpecularLighting(bool enable)
  1674. - void SetTextureAnisotropy(int level)
  1675. - void SetTextureFilterMode(TextureFilterMode mode)
  1676. - void SetTextureQuality(int quality)
  1677. - void SetMaterialQuality(int quality)
  1678. - void SetDrawShadows(bool enable)
  1679. - void SetShadowMapSize(int size)
  1680. - void SetShadowQuality(int quality)
  1681. - void SetReuseShadowMaps(bool enable)
  1682. - void SetMaxShadowMaps(int shadowMaps)
  1683. - void SetMaxShadowCascades(int cascades)
  1684. - void SetDynamicInstancing(bool enable)
  1685. - void SetMinInstances(int instances)
  1686. - void SetMaxInstanceTriangles(int triangles)
  1687. - void SetMaxSortedInstances(int instances)
  1688. - void SetMaxOccluderTriangles(int triangles)
  1689. - void SetOcclusionBufferSize(int size)
  1690. - void SetOccluderSizeThreshold(float screenSize)
  1691. - void ReloadShaders()
  1692. - unsigned GetNumViewports() const
  1693. - Viewport* GetViewport(unsigned index) const
  1694. - RenderPath* GetDefaultRenderPath() const
  1695. - bool GetSpecularLighting() const
  1696. - bool GetDrawShadows() const
  1697. - int GetTextureAnisotropy() const
  1698. - TextureFilterMode GetTextureFilterMode() const
  1699. - int GetTextureQuality() const
  1700. - int GetMaterialQuality() const
  1701. - int GetShadowMapSize() const
  1702. - int GetShadowQuality() const
  1703. - bool GetReuseShadowMaps() const
  1704. - int GetMaxShadowMaps() const
  1705. - int GetMaxShadowCascades() const
  1706. - bool GetDynamicInstancing() const
  1707. - int GetMinInstances() const
  1708. - int GetMaxInstanceTriangles() const
  1709. - int GetMaxSortedInstances() const
  1710. - int GetMaxOccluderTriangles() const
  1711. - int GetOcclusionBufferSize() const
  1712. - float GetOccluderSizeThreshold() const
  1713. - unsigned GetNumViews() const
  1714. - unsigned GetNumPrimitives() const
  1715. - unsigned GetNumBatches() const
  1716. - unsigned GetNumGeometries(bool allViews = false) const
  1717. - unsigned GetNumLights(bool allViews = false) const
  1718. - unsigned GetNumShadowMaps(bool allViews = false) const
  1719. - unsigned GetNumOccluders(bool allViews = false) const
  1720. - Zone* GetDefaultZone() const
  1721. - Light* GetQuadDirLight() const
  1722. - Material* GetDefaultMaterial() const
  1723. - Texture2D* GetDefaultLightRamp() const
  1724. - Texture2D* GetDefaultLightSpot() const
  1725. - TextureCube* GetFaceSelectCubeMap() const
  1726. - TextureCube* GetIndirectionCubeMap() const
  1727. - VertexBuffer* GetInstancingBuffer() const
  1728. - ShaderVariation* GetVertexShader(const String name, bool checkExists = false) const
  1729. - ShaderVariation* GetPixelShader(const String name, bool checkExists = false) const
  1730. - ShaderVariation* GetStencilVS() const
  1731. - ShaderVariation* GetStencilPS() const
  1732. - const FrameInfo& GetFrameInfo()
  1733. - void DrawDebugGeometry(bool depthTest)
  1734. Properties:<br>
  1735. - unsigned numViewports
  1736. - RenderPath* defaultRenderPath
  1737. - bool specularLighting
  1738. - bool drawShadows
  1739. - int textureAnisotropy
  1740. - TextureFilterMode textureFilterMode
  1741. - int textureQuality
  1742. - int materialQuality
  1743. - int shadowMapSize
  1744. - int shadowQuality
  1745. - bool reuseShadowMaps
  1746. - int maxShadowMaps
  1747. - int maxShadowCascades
  1748. - bool dynamicInstancing
  1749. - int minInstances
  1750. - int maxInstanceTriangles
  1751. - int maxSortedInstances
  1752. - int maxOccluderTriangles
  1753. - int occlusionBufferSize
  1754. - float occluderSizeThreshold
  1755. - unsigned numViews (readonly)
  1756. - unsigned numPrimitives (readonly)
  1757. - unsigned numBatches (readonly)
  1758. - Zone* defaultZone (readonly)
  1759. - Light* quadDirLight (readonly)
  1760. - Material* defaultMaterial (readonly)
  1761. - Texture2D* defaultLightRamp (readonly)
  1762. - Texture2D* defaultLightSpot (readonly)
  1763. - TextureCube* faceSelectCubeMap (readonly)
  1764. - TextureCube* indirectionCubeMap (readonly)
  1765. - VertexBuffer* instancingBuffer (readonly)
  1766. - ShaderVariation* stencilVS (readonly)
  1767. - ShaderVariation* stencilPS (readonly)
  1768. RenderPath
  1769. Methods:<br>
  1770. - RenderPath* Clone()
  1771. - bool Load(XMLFile* file)
  1772. - bool Append(XMLFile* file)
  1773. - void SetEnabled(const String tag, bool active)
  1774. - void ToggleEnabled(const String tag)
  1775. - void SetRenderTarget(unsigned index, const RenderTargetInfo& info)
  1776. - void AddRenderTarget(const RenderTargetInfo& info)
  1777. - void RemoveRenderTarget(unsigned index)
  1778. - void RemoveRenderTarget(const String name)
  1779. - void RemoveRenderTargets(const String tag)
  1780. - void SetCommand(unsigned index, const RenderPathCommand& command)
  1781. - void AddCommand(const RenderPathCommand& command)
  1782. - void InsertCommand(unsigned index, const RenderPathCommand& command)
  1783. - void RemoveCommand(unsigned index)
  1784. - void RemoveCommands(const String tag)
  1785. - void SetShaderParameter(const String name, const Variant& value)
  1786. - unsigned GetNumRenderTargets() const
  1787. - unsigned GetNumCommands() const
  1788. - const Variant& GetShaderParameter(const String name) const
  1789. RenderSurface
  1790. Methods:<br>
  1791. - RenderSurface(Texture* parentTexture)
  1792. - ~RenderSurface()
  1793. - void SetNumViewports(unsigned num)
  1794. - void SetViewport(unsigned index, Viewport* viewport)
  1795. - void SetUpdateMode(RenderSurfaceUpdateMode mode)
  1796. - void SetLinkedRenderTarget(RenderSurface* renderTarget)
  1797. - void SetLinkedDepthStencil(RenderSurface* depthStencil)
  1798. - void QueueUpdate()
  1799. - void Release()
  1800. - Texture* GetParentTexture() const
  1801. - int GetWidth() const
  1802. - int GetHeight() const
  1803. - TextureUsage GetUsage() const
  1804. - unsigned GetNumViewports() const
  1805. - Viewport* GetViewport(unsigned index) const
  1806. - RenderSurfaceUpdateMode GetUpdateMode() const
  1807. - RenderSurface* GetLinkedRenderTarget() const
  1808. - RenderSurface* GetLinkedDepthStencil() const
  1809. Properties:<br>
  1810. - Texture* parentTexture (readonly)
  1811. - int width (readonly)
  1812. - int height (readonly)
  1813. - TextureUsage usage (readonly)
  1814. - unsigned numViewports
  1815. - RenderSurfaceUpdateMode updateMode
  1816. - RenderSurface* linkedRenderTarget
  1817. - RenderSurface* linkedDepthStencil
  1818. Bone
  1819. Methods:<br>
  1820. - Bone()
  1821. - String name
  1822. - StringHash nameHash
  1823. - unsigned parentIndex
  1824. - Vector3 initialPosition
  1825. - Quaternion initialRotation
  1826. - Vector3 initialScale
  1827. - Matrix3x4 offsetMatrix
  1828. - bool animated
  1829. - unsigned collisionMask
  1830. - float radius
  1831. - BoundingBox boundingBox
  1832. - Node* node
  1833. Skeleton
  1834. Methods:<br>
  1835. - unsigned GetNumBones() const
  1836. - Bone* GetRootBone()
  1837. - Bone* GetBone(unsigned index)
  1838. Properties:<br>
  1839. - unsigned numBones (readonly)
  1840. - Bone* rootBone (readonly)
  1841. Skybox : StaticModel
  1842. Methods:<br>
  1843. StaticModelGeometryData
  1844. Methods:<br>
  1845. - Vector3 center
  1846. - unsigned lodLevel
  1847. StaticModel : Drawable
  1848. Methods:<br>
  1849. - void SetModel(Model* model)
  1850. - void SetMaterial(Material* material)
  1851. - bool SetMaterial(unsigned index, Material* material)
  1852. - void SetOcclusionLodLevel(unsigned level)
  1853. - Model* GetModel() const
  1854. - unsigned GetNumGeometries() const
  1855. - Material* GetMaterial(unsigned index = 0) const
  1856. - unsigned GetOcclusionLodLevel() const
  1857. - bool IsInside(const Vector3& point) const
  1858. - bool IsInsideLocal(const Vector3& point) const
  1859. Properties:<br>
  1860. - Model* model
  1861. - Material* material
  1862. - BoundingBox& boundingBox (readonly)
  1863. - unsigned numGeometries (readonly)
  1864. - unsigned occlusionLodLevel
  1865. Pass : RefCounted
  1866. Methods:<br>
  1867. Technique : Resource
  1868. Methods:<br>
  1869. - bool HasPass(const String type) const
  1870. - Pass* GetPass(const String type) const
  1871. - bool IsSM3() const
  1872. Properties:<br>
  1873. - bool SM3 (readonly)
  1874. Terrain : Component
  1875. Methods:<br>
  1876. - void SetPatchSize(int size)
  1877. - void SetSpacing(const Vector3& spacing)
  1878. - void SetSmoothing(bool enable)
  1879. - bool SetHeightMap(Image* image)
  1880. - void SetMaterial(Material* material)
  1881. - void SetDrawDistance(float distance)
  1882. - void SetShadowDistance(float distance)
  1883. - void SetLodBias(float bias)
  1884. - void SetViewMask(unsigned mask)
  1885. - void SetLightMask(unsigned mask)
  1886. - void SetShadowMask(unsigned mask)
  1887. - void SetZoneMask(unsigned mask)
  1888. - void SetMaxLights(unsigned num)
  1889. - void SetCastShadows(bool enable)
  1890. - void SetOccluder(bool enable)
  1891. - void SetOccludee(bool enable)
  1892. - int GetPatchSize() const
  1893. - const Vector3& GetSpacing() const
  1894. - const IntVector2& GetNumVertices() const
  1895. - const IntVector2& GetNumPatches() const
  1896. - bool GetSmoothing() const
  1897. - Image* GetHeightMap() const
  1898. - Material* GetMaterial() const
  1899. - TerrainPatch* GetPatch(unsigned index) const
  1900. - TerrainPatch* GetPatch(int x, int z) const
  1901. - float GetHeight(const Vector3& worldPosition) const
  1902. - Vector3 GetNormal(const Vector3& worldPosition) const
  1903. - SharedArrayPtr<float> GetHeightData() const
  1904. - float GetDrawDistance() const
  1905. - float GetShadowDistance() const
  1906. - float GetLodBias() const
  1907. - unsigned GetViewMask() const
  1908. - unsigned GetLightMask() const
  1909. - unsigned GetShadowMask() const
  1910. - unsigned GetZoneMask() const
  1911. - unsigned GetMaxLights() const
  1912. - bool IsVisible() const
  1913. - bool GetCastShadows() const
  1914. - bool IsOccluder() const
  1915. - bool IsOccludee() const
  1916. Properties:<br>
  1917. - int patchSize
  1918. - Vector3& spacing
  1919. - IntVector2& numVertices (readonly)
  1920. - IntVector2& numPatches (readonly)
  1921. - bool smoothing
  1922. - Image* heightMap
  1923. - Material* material
  1924. - float drawDistance
  1925. - float shadowDistance
  1926. - float lodBias
  1927. - unsigned viewMask
  1928. - unsigned lightMask
  1929. - unsigned shadowMask
  1930. - unsigned zoneMask
  1931. - unsigned maxLights
  1932. - bool visible (readonly)
  1933. - bool castShadows
  1934. - bool occluder
  1935. - bool occludee
  1936. TerrainPatch : Drawable
  1937. Methods:<br>
  1938. - void SetOwner(Terrain* terrain)
  1939. - void SetNeighbors(TerrainPatch* north, TerrainPatch* south, TerrainPatch* west, TerrainPatch* east)
  1940. - void SetMaterial(Material* material)
  1941. - void SetBoundingBox(const BoundingBox& box)
  1942. - void SetCoordinates(const IntVector2& coordinates)
  1943. - void SetOcclusionOffset(float offset)
  1944. - void ResetLod()
  1945. - Geometry* GetGeometry() const
  1946. - Geometry* GetMaxLodGeometry() const
  1947. - Geometry* GetMinLodGeometry() const
  1948. - VertexBuffer* GetVertexBuffer() const
  1949. - Terrain* GetOwner() const
  1950. - TerrainPatch* GetNorthPatch() const
  1951. - TerrainPatch* GetSouthPatch() const
  1952. - TerrainPatch* GetWestPatch() const
  1953. - TerrainPatch* GetEastPatch() const
  1954. - const IntVector2& GetCoordinates() const
  1955. - unsigned GetLodLevel() const
  1956. - float GetOcclusionOffset() const
  1957. Properties:<br>
  1958. - Geometry* geometry (readonly)
  1959. - Geometry* maxLodGeometry (readonly)
  1960. - Geometry* minLodGeometry (readonly)
  1961. - VertexBuffer* vertexBuffer (readonly)
  1962. - Terrain* owner
  1963. - TerrainPatch* northPatch (readonly)
  1964. - TerrainPatch* southPatch (readonly)
  1965. - TerrainPatch* westPatch (readonly)
  1966. - TerrainPatch* eastPatch (readonly)
  1967. - BoundingBox& boundingBox
  1968. - IntVector2& coordinates
  1969. - unsigned lodLevel (readonly)
  1970. - float occlusionOffset
  1971. Texture : Resource
  1972. Methods:<br>
  1973. - void SetNumLevels(unsigned levels)
  1974. - void SetFilterMode(TextureFilterMode filter)
  1975. - void SetAddressMode(TextureCoordinate coord, TextureAddressMode address)
  1976. - void SetBorderColor(const Color& color)
  1977. - void SetSRGB(bool enable)
  1978. - void SetBackupTexture(Texture* texture)
  1979. - void SetMipsToSkip(int quality, int mips)
  1980. - unsigned GetFormat() const
  1981. - bool IsCompressed() const
  1982. - unsigned GetLevels() const
  1983. - int GetWidth() const
  1984. - int GetHeight() const
  1985. - TextureFilterMode GetFilterMode() const
  1986. - TextureAddressMode GetAddressMode(TextureCoordinate coord) const
  1987. - const Color& GetBorderColor() const
  1988. - bool GetSRGB() const
  1989. - Texture* GetBackupTexture() const
  1990. - int GetMipsToSkip(int quality) const
  1991. - int GetLevelWidth(unsigned level) const
  1992. - int GetLevelHeight(unsigned level) const
  1993. - TextureUsage GetUsage() const
  1994. - unsigned GetDataSize(int width, int height) const
  1995. - unsigned GetRowDataSize(int width) const
  1996. Properties:<br>
  1997. - unsigned format (readonly)
  1998. - bool compressed (readonly)
  1999. - unsigned levels (readonly)
  2000. - int width (readonly)
  2001. - int height (readonly)
  2002. - TextureFilterMode filterMode
  2003. - Color& borderColor
  2004. - bool sRGB
  2005. - Texture* backupTexture
  2006. - TextureUsage usage (readonly)
  2007. Texture2D : Texture
  2008. Methods:<br>
  2009. - RenderSurface* GetRenderSurface() const
  2010. TextureCube : Texture
  2011. Methods:<br>
  2012. - RenderSurface* GetRenderSurface(CubeMapFace face) const
  2013. Viewport
  2014. Methods:<br>
  2015. - Viewport(Context* context)
  2016. - Viewport(Context* context, Scene* scene, Camera* camera, RenderPath* renderPath = 0)
  2017. - Viewport(Context* context, Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = 0)
  2018. - ~Viewport()
  2019. - void SetScene(Scene* scene)
  2020. - void SetCamera(Camera* camera)
  2021. - void SetRect(const IntRect& rect)
  2022. - void SetRenderPath(RenderPath* path)
  2023. - void SetRenderPath(XMLFile* file)
  2024. - Scene* GetScene() const
  2025. - Camera* GetCamera() const
  2026. - const IntRect& GetRect() const
  2027. - RenderPath* GetRenderPath() const
  2028. Properties:<br>
  2029. - Scene* scene
  2030. - Camera* camera
  2031. - IntRect& rect
  2032. - RenderPath* renderPath
  2033. Zone : Drawable
  2034. Methods:<br>
  2035. - void SetBoundingBox(const BoundingBox& box)
  2036. - void SetAmbientColor(const Color& color)
  2037. - void SetFogColor(const Color& color)
  2038. - void SetFogStart(float start)
  2039. - void SetFogEnd(float end)
  2040. - void SetPriority(int priority)
  2041. - void SetOverride(bool enable)
  2042. - void SetAmbientGradient(bool enable)
  2043. - const Matrix3x4& GetInverseWorldTransform() const
  2044. - const Color& GetAmbientColor() const
  2045. - const Color& GetAmbientStartColor()
  2046. - const Color& GetAmbientEndColor()
  2047. - const Color& GetFogColor() const
  2048. - float GetFogStart() const
  2049. - float GetFogEnd() const
  2050. - int GetPriority() const
  2051. - bool GetOverride() const
  2052. - bool GetAmbientGradient() const
  2053. - bool IsInside(const Vector3& point) const
  2054. Properties:<br>
  2055. - BoundingBox& boundingBox
  2056. - Matrix3x4& inverseWorldTransform (readonly)
  2057. - Color& ambientColor
  2058. - Color& ambientStartColor (readonly)
  2059. - Color& ambientEndColor (readonly)
  2060. - Color& fogColor
  2061. - float fogStart
  2062. - float fogEnd
  2063. - int priority
  2064. - bool override
  2065. - bool ambientGradient
  2066. TouchState
  2067. Methods:<br>
  2068. - int touchID
  2069. - IntVector2 position
  2070. - IntVector2 lastPosition
  2071. - IntVector2 delta
  2072. - float pressure
  2073. JoystickState
  2074. Methods:<br>
  2075. - unsigned GetNumButtons() const
  2076. - unsigned GetNumAxes() const
  2077. - unsigned GetNumHats() const
  2078. - bool GetButtonDown(unsigned index) const
  2079. - bool GetButtonPress(unsigned index) const
  2080. - float GetAxisPosition(unsigned index) const
  2081. - int GetHatPosition(unsigned index) const
  2082. Properties:<br>
  2083. - unsigned numButtons (readonly)
  2084. - unsigned numAxes (readonly)
  2085. - unsigned numHats (readonly)
  2086. Input : Object
  2087. Methods:<br>
  2088. - void SetMouseVisible(bool enable)
  2089. - bool OpenJoystick(unsigned index)
  2090. - void CloseJoystick(unsigned index)
  2091. - bool DetectJoysticks()
  2092. - bool GetKeyDown(int key) const
  2093. - bool GetKeyPress(int key) const
  2094. - bool GetMouseButtonDown(int button) const
  2095. - bool GetMouseButtonPress(int button) const
  2096. - bool GetQualifierDown(int qualifier) const
  2097. - bool GetQualifierPress(int qualifier) const
  2098. - int GetQualifiers() const
  2099. - IntVector2 GetMousePosition() const
  2100. - const IntVector2& GetMouseMove() const
  2101. - int GetMouseMoveX() const
  2102. - int GetMouseMoveY() const
  2103. - int GetMouseMoveWheel() const
  2104. - unsigned GetNumTouches() const
  2105. - TouchState* GetTouch(unsigned index) const
  2106. - unsigned GetNumJoysticks() const
  2107. - const String& GetJoystickName(unsigned index) const
  2108. - JoystickState* GetJoystick(unsigned index)
  2109. - bool GetToggleFullscreen() const
  2110. - bool IsMouseVisible() const
  2111. - bool HasFocus()
  2112. - bool IsMinimized() const
  2113. Properties:<br>
  2114. - int qualifiers (readonly)
  2115. - IntVector2 mousePosition (readonly)
  2116. - IntVector2& mouseMove (readonly)
  2117. - int mouseMoveX (readonly)
  2118. - int mouseMoveY (readonly)
  2119. - int mouseMoveWheel (readonly)
  2120. - unsigned numTouches (readonly)
  2121. - unsigned numJoysticks (readonly)
  2122. - bool toggleFullscreen (readonly)
  2123. - bool mouseVisible
  2124. - bool focus (readonly)
  2125. - bool minimized (readonly)
  2126. Deserializer
  2127. Methods:<br>
  2128. - virtual unsigned Seek(unsigned position)
  2129. - virtual const String& GetName() const
  2130. - virtual unsigned GetChecksum()
  2131. - unsigned GetPosition() const
  2132. - unsigned GetSize() const
  2133. - bool IsEof() const
  2134. - int ReadInt()
  2135. - short ReadShort()
  2136. - signed char ReadByte()
  2137. - unsigned ReadUInt()
  2138. - unsigned short ReadUShort()
  2139. - unsigned char ReadUByte()
  2140. - bool ReadBool()
  2141. - float ReadFloat()
  2142. - IntRect ReadIntRect()
  2143. - IntVector2 ReadIntVector2()
  2144. - Rect ReadRect()
  2145. - Vector2 ReadVector2()
  2146. - Vector3 ReadVector3()
  2147. - Vector3 ReadPackedVector3(float maxAbsCoord)
  2148. - Vector4 ReadVector4()
  2149. - Quaternion ReadQuaternion()
  2150. - Quaternion ReadPackedQuaternion()
  2151. - Color ReadColor()
  2152. - BoundingBox ReadBoundingBox()
  2153. - String ReadString()
  2154. - String ReadFileID()
  2155. - StringHash ReadStringHash()
  2156. - ShortStringHash ReadShortStringHash()
  2157. - ResourceRef ReadResourceRef()
  2158. - ResourceRefList ReadResourceRefList()
  2159. - Variant ReadVariant()
  2160. - Variant ReadVariant(VariantType type)
  2161. - VariantVector ReadVariantVector()
  2162. - VariantMap ReadVariantMap()
  2163. - unsigned ReadVLE()
  2164. - unsigned ReadNetID()
  2165. - String ReadLine()
  2166. Properties:<br>
  2167. - String& name (readonly)
  2168. - unsigned checksum (readonly)
  2169. - unsigned position (readonly)
  2170. - unsigned size (readonly)
  2171. - bool eof (readonly)
  2172. File : Deserializer
  2173. Methods:<br>
  2174. - File(Context* context)
  2175. - File(Context* context, const String fileName, FileMode mode = FILE_READ)
  2176. - File(Context* context, PackageFile* package, const String fileName)
  2177. - virtual ~File()
  2178. - virtual unsigned Read(void* dest, unsigned size)
  2179. - virtual unsigned Seek(unsigned position)
  2180. - virtual unsigned Write(const void* data, unsigned size)
  2181. - virtual const String& GetName() const
  2182. - virtual unsigned GetChecksum()
  2183. - bool Open(const String fileName, FileMode mode = FILE_READ)
  2184. - bool Open(PackageFile* package, const String fileName)
  2185. - void Close()
  2186. - void Flush()
  2187. - void SetName(const String name)
  2188. - FileMode GetMode() const
  2189. - bool IsOpen() const
  2190. - void* GetHandle() const
  2191. - bool IsPackaged() const
  2192. Properties:<br>
  2193. - String& name (readonly)
  2194. - unsigned checksum (readonly)
  2195. - FileMode mode (readonly)
  2196. - bool open (readonly)
  2197. - bool packaged (readonly)
  2198. FileSystem : Object
  2199. Methods:<br>
  2200. - bool SetCurrentDir(const String pathName)
  2201. - bool CreateDir(const String pathName)
  2202. - int SystemCommand(const String commandLine)
  2203. - bool SystemOpen(const String fileName, const String mode = String::EMPTY)
  2204. - bool Copy(const String srcFileName, const String destFileName)
  2205. - bool Rename(const String srcFileName, const String destFileName)
  2206. - bool Delete(const String fileName)
  2207. - void RegisterPath(const String pathName)
  2208. - String GetCurrentDir() const
  2209. - bool HasRegisteredPaths() const
  2210. - bool CheckAccess(const String pathName) const
  2211. - unsigned GetLastModifiedTime(const String fileName) const
  2212. - bool FileExists(const String fileName) const
  2213. - bool DirExists(const String pathName) const
  2214. - Vector<String> ScanDir(const String pathName, const String filter, unsigned flags, bool recursive) const
  2215. - String GetProgramDir() const
  2216. - String GetUserDocumentsDir() const
  2217. Log : Object
  2218. Methods:<br>
  2219. - void SetLevel(int level)
  2220. - void SetTimeStamp(bool enable)
  2221. - void SetQuiet(bool quiet)
  2222. - int GetLevel() const
  2223. - bool GetTimeStamp() const
  2224. - String GetLastMessage() const
  2225. - bool IsQuiet() const
  2226. - static void Write(int level, const String message)
  2227. - static void WriteRaw(const String message, bool error = false)
  2228. Properties:<br>
  2229. - int level
  2230. - bool timeStamp
  2231. - bool quiet
  2232. PackageEntry
  2233. Methods:<br>
  2234. - unsigned offset
  2235. - unsigned size
  2236. - unsigned checksum
  2237. PackageFile : Object
  2238. Methods:<br>
  2239. - PackageFile(Context* context)
  2240. - PackageFile(Context* context, const String fileName)
  2241. - virtual ~PackageFile()
  2242. - bool Open(const String fileName)
  2243. - bool Exists(const String fileName) const
  2244. - const PackageEntry* GetEntry(const String fileName) const
  2245. - const HashMap<String, PackageEntry>& GetEntries() const
  2246. - const String& GetName() const
  2247. - StringHash GetNameHash() const
  2248. - unsigned GetNumFiles() const
  2249. - unsigned GetTotalSize() const
  2250. - unsigned GetChecksum() const
  2251. Properties:<br>
  2252. - String& name (readonly)
  2253. - StringHash nameHash (readonly)
  2254. - unsigned numFiles (readonly)
  2255. - unsigned totalSize (readonly)
  2256. - unsigned checksum (readonly)
  2257. Serializer
  2258. Methods:<br>
  2259. - bool WriteInt(int value)
  2260. - bool WriteShort(short value)
  2261. - bool WriteByte(signed char value)
  2262. - bool WriteUInt(unsigned value)
  2263. - bool WriteUShort(unsigned short value)
  2264. - bool WriteUByte(unsigned char value)
  2265. - bool WriteBool(bool value)
  2266. - bool WriteFloat(float value)
  2267. - bool WriteIntRect(const IntRect value)
  2268. - bool WriteIntVector2(const IntVector2 value)
  2269. - bool WriteRect(const Rect value)
  2270. - bool WriteVector2(const Vector2 value)
  2271. - bool WriteVector3(const Vector3 value)
  2272. - bool WritePackedVector3(const Vector3 value, float maxAbsCoord)
  2273. - bool WriteVector4(const Vector4 value)
  2274. - bool WriteQuaternion(const Quaternion value)
  2275. - bool WritePackedQuaternion(const Quaternion value)
  2276. - bool WriteColor(const Color value)
  2277. - bool WriteBoundingBox(const BoundingBox value)
  2278. - bool WriteString(const String value)
  2279. - bool WriteFileID(const String value)
  2280. - bool WriteStringHash(const StringHash value)
  2281. - bool WriteShortStringHash(const ShortStringHash value)
  2282. - bool WriteResourceRef(const ResourceRef value)
  2283. - bool WriteResourceRefList(const ResourceRefList value)
  2284. - bool WriteVariant(const Variant value)
  2285. - bool WriteVariantData(const Variant value)
  2286. - bool WriteVariantVector(const VariantVector value)
  2287. - bool WriteVariantMap(const VariantMap value)
  2288. - bool WriteVLE(unsigned value)
  2289. - bool WriteNetID(unsigned value)
  2290. - bool WriteLine(const String value)
  2291. LuaScriptInstance : Component
  2292. Methods:<br>
  2293. - bool CreateObject(const String objectType)
  2294. - bool CreateObject(const String fileName, const String objectType)
  2295. - void SubscribeToEvent(const String eventName, const String functionName)
  2296. - void UnsubscribeFromEvent(const String eventName)
  2297. - void UnsubscribeFromAllEvents()
  2298. - void SubscribeToEvent(void* object, const String eventName, const String functionName)
  2299. - void UnsubscribeFromEvent(void* object, const String eventName)
  2300. - void UnsubscribeFromEvents(void* object)
  2301. BoundingBox
  2302. Methods:<br>
  2303. - BoundingBox()
  2304. - BoundingBox(const BoundingBox& box)
  2305. - BoundingBox(const Rect& rect)
  2306. - BoundingBox(const Vector3& min, const Vector3& max)
  2307. - BoundingBox(float min, float max)
  2308. - BoundingBox(const Frustum& frustum)
  2309. - BoundingBox(const Polyhedron& poly)
  2310. - BoundingBox(const Sphere& sphere)
  2311. - bool operator == (const BoundingBox& rhs) const
  2312. - void Define(const BoundingBox& box)
  2313. - void Define(const Rect& rect)
  2314. - void Define(const Vector3& min, const Vector3& max)
  2315. - void Define(float min, float max)
  2316. - void Define(const Vector3& point)
  2317. - void Define(const Frustum& frustum)
  2318. - void Define(const Polyhedron& poly)
  2319. - void Define(const Sphere& sphere)
  2320. - void Merge(const Vector3& point)
  2321. - void Merge(const BoundingBox& box)
  2322. - void Merge(const Frustum& frustum)
  2323. - void Merge(const Polyhedron& poly)
  2324. - void Merge(const Sphere& sphere)
  2325. - void Clip(const BoundingBox& box)
  2326. - void Transform(const Matrix3& transform)
  2327. - void Transform(const Matrix3x4& transform)
  2328. - void Clear()
  2329. - Vector3 Center() const
  2330. - Vector3 Size() const
  2331. - Vector3 HalfSize() const
  2332. - BoundingBox Transformed(const Matrix3& transform) const
  2333. - BoundingBox Transformed(const Matrix3x4& transform) const
  2334. - Rect Projected(const Matrix4& projection) const
  2335. - Intersection IsInside(const Vector3& point) const
  2336. - Intersection IsInside(const BoundingBox& box) const
  2337. - Intersection IsInsideFast(const BoundingBox& box) const
  2338. - Intersection IsInside(const Sphere& sphere) const
  2339. - Intersection IsInsideFast(const Sphere& sphere) const
  2340. - String ToString() const
  2341. - Vector3 min
  2342. - Vector3 max
  2343. - bool defined
  2344. Properties:<br>
  2345. - Vector3 center (readonly)
  2346. - Vector3 size (readonly)
  2347. - Vector3 halfSize (readonly)
  2348. Color
  2349. Methods:<br>
  2350. - Color()
  2351. - Color(const Color& color)
  2352. - Color(const Color& color, float a)
  2353. - Color(float r, float g, float b)
  2354. - Color(float r, float g, float b, float a)
  2355. - bool operator == (const Color& rhs) const
  2356. - Color operator * (float rhs) const
  2357. - Color operator + (const Color& rhs)
  2358. - unsigned ToUInt() const
  2359. - Vector3 ToHSL() const
  2360. - Vector3 ToHSV() const
  2361. - void FromHSL(float h, float s, float l, float a)
  2362. - void FromHSV(float h, float s, float v, float a)
  2363. - Vector3 ToVector3() const
  2364. - Vector4 ToVector4() const
  2365. - float SumRGB() const
  2366. - float Average() const
  2367. - float Luma() const
  2368. - float Chroma() const
  2369. - float Hue() const
  2370. - float SaturationHSL() const
  2371. - float SaturationHSV() const
  2372. - float Value() const
  2373. - float Lightness() const
  2374. - float MaxRGB() const
  2375. - float MinRGB() const
  2376. - float Range() const
  2377. - void Clip(bool clipAlpha = false)
  2378. - void Invert(bool invertAlpha = false)
  2379. - Color Lerp(const Color& rhs, float t) const
  2380. - String ToString() const
  2381. - float r
  2382. - float g
  2383. - float b
  2384. - float a
  2385. - static const Color WHITE
  2386. - static const Color GRAY
  2387. - static const Color BLACK
  2388. - static const Color RED
  2389. - static const Color GREEN
  2390. - static const Color BLUE
  2391. - static const Color CYAN
  2392. - static const Color MAGENTA
  2393. - static const Color YELLOW
  2394. - static const Color TRANSPARENT
  2395. Frustum
  2396. Methods:<br>
  2397. - Frustum()
  2398. - Frustum(const Frustum& frustum)
  2399. - void Define(float fov, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform = Matrix3x4::IDENTITY)
  2400. - void Define(const Vector3& near, const Vector3& far, const Matrix3x4& transform = Matrix3x4::IDENTITY)
  2401. - void Define(const BoundingBox& box, const Matrix3x4& transform = Matrix3x4::IDENTITY)
  2402. - void DefineOrtho(float orthoSize, float aspectRatio, float zoom, float nearZ, float farZ, const Matrix3x4& transform = Matrix3x4::IDENTITY)
  2403. - void Transform(const Matrix3& transform)
  2404. - void Transform(const Matrix3x4& transform)
  2405. - Intersection IsInside(const Vector3& point) const
  2406. - Intersection IsInside(const Sphere& sphere) const
  2407. - Intersection IsInsideFast(const Sphere& sphere) const
  2408. - Intersection IsInside(const BoundingBox& box) const
  2409. - Intersection IsInsideFast(const BoundingBox& box) const
  2410. - float Distance(const Vector3& point) const
  2411. - Frustum Transformed(const Matrix3& transform) const
  2412. - Frustum Transformed(const Matrix3x4& transform) const
  2413. - Rect Projected(const Matrix4& transform) const
  2414. - void UpdatePlanes()
  2415. Matrix3
  2416. Methods:<br>
  2417. - Matrix3()
  2418. - Matrix3(const Matrix3& matrix)
  2419. - Matrix3(float v00, float v01, float v02,
  2420. - float v10, float v11, float v12,
  2421. - float v20, float v21, float v22)
  2422. - bool operator == (const Matrix3& rhs) const
  2423. - Vector3 operator * (const Vector3& rhs) const
  2424. - Matrix3 operator + (const Matrix3& rhs) const
  2425. - Matrix3 operator - (const Matrix3& rhs) const
  2426. - Matrix3 operator * (float rhs) const
  2427. - Matrix3 operator * (const Matrix3& rhs) const
  2428. - void SetScale(const Vector3& scale)
  2429. - void SetScale(float scale)
  2430. - Vector3 Scale() const
  2431. - Matrix3 Transpose() const
  2432. - Matrix3 Scaled(const Vector3& scale) const
  2433. - bool Equals(const Matrix3& rhs) const
  2434. - Matrix3 Inverse() const
  2435. - float m00
  2436. - float m01
  2437. - float m02
  2438. - float m10
  2439. - float m11
  2440. - float m12
  2441. - float m20
  2442. - float m21
  2443. - float m22
  2444. - static const Matrix3 ZERO
  2445. - static const Matrix3 IDENTITY
  2446. Matrix3x4
  2447. Methods:<br>
  2448. - Matrix3x4()
  2449. - Matrix3x4(const Matrix3x4& matrix)
  2450. - Matrix3x4(const Matrix3& matrix)
  2451. - Matrix3x4(const Matrix4& matrix)
  2452. - Matrix3x4(float v00, float v01, float v02, float v03,
  2453. - float v10, float v11, float v12, float v13,
  2454. - float v20, float v21, float v22, float v23)
  2455. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, float scale)
  2456. - Matrix3x4(const Vector3& translation, const Quaternion& rotation, const Vector3& scale)
  2457. - bool operator == (const Matrix3x4& rhs) const
  2458. - Vector3 operator * (const Vector3& rhs) const
  2459. - Vector3 operator * (const Vector4& rhs) const
  2460. - Matrix3x4 operator + (const Matrix3x4& rhs) const
  2461. - Matrix3x4 operator - (const Matrix3x4& rhs) const
  2462. - Matrix3x4 operator * (float rhs) const
  2463. - Matrix3x4 operator * (const Matrix3x4& rhs) const
  2464. - Matrix4 operator * (const Matrix4& rhs) const
  2465. - void SetTranslation(const Vector3& translation)
  2466. - void SetRotation(const Matrix3& rotation)
  2467. - void SetScale(const Vector3& scale)
  2468. - void SetScale(float scale)
  2469. - Matrix3 ToMatrix3() const
  2470. - Matrix3 RotationMatrix() const
  2471. - Vector3 Translation() const
  2472. - Quaternion Rotation() const
  2473. - Vector3 Scale() const
  2474. - bool Equals(const Matrix3x4& rhs) const
  2475. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2476. - Matrix3x4 Inverse() const
  2477. - float m00
  2478. - float m01
  2479. - float m02
  2480. - float m03
  2481. - float m10
  2482. - float m11
  2483. - float m12
  2484. - float m13
  2485. - float m20
  2486. - float m21
  2487. - float m22
  2488. - float m23
  2489. - static const Matrix3x4 ZERO
  2490. - static const Matrix3x4 IDENTITY
  2491. Matrix4
  2492. Methods:<br>
  2493. - Matrix4()
  2494. - Matrix4(const Matrix4& matrix)
  2495. - Matrix4(const Matrix3& matrix)
  2496. - Matrix4(float v00, float v01, float v02, float v03,
  2497. - float v10, float v11, float v12, float v13,
  2498. - float v20, float v21, float v22, float v23,
  2499. - float v30, float v31, float v32, float v33)
  2500. - bool operator == (const Matrix4& rhs) const
  2501. - Vector3 operator * (const Vector3& rhs) const
  2502. - Vector4 operator * (const Vector4& rhs) const
  2503. - Matrix4 operator + (const Matrix4& rhs) const
  2504. - Matrix4 operator - (const Matrix4& rhs) const
  2505. - Matrix4 operator * (float rhs) const
  2506. - Matrix4 operator * (const Matrix4& rhs) const
  2507. - void SetTranslation(const Vector3& translation)
  2508. - void SetRotation(const Matrix3& rotation)
  2509. - void SetScale(const Vector3& scale)
  2510. - void SetScale(float scale)
  2511. - Matrix3 ToMatrix3() const
  2512. - Matrix3 RotationMatrix() const
  2513. - Vector3 Translation() const
  2514. - Quaternion Rotation() const
  2515. - Vector3 Scale() const
  2516. - Matrix4 Transpose() const
  2517. - bool Equals(const Matrix4& rhs) const
  2518. - void Decompose(Vector3& translation, Quaternion& rotation, Vector3& scale) const
  2519. - Matrix4 Inverse() const
  2520. - float m00
  2521. - float m01
  2522. - float m02
  2523. - float m03
  2524. - float m10
  2525. - float m11
  2526. - float m12
  2527. - float m13
  2528. - float m20
  2529. - float m21
  2530. - float m22
  2531. - float m23
  2532. - float m30
  2533. - float m31
  2534. - float m32
  2535. - float m33
  2536. - static const Matrix4 ZERO
  2537. - static const Matrix4 IDENTITY
  2538. Plane
  2539. Methods:<br>
  2540. - Plane()
  2541. - Plane(const Plane& plane)
  2542. - Plane(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  2543. - Plane(const Vector3& normal, const Vector3& point)
  2544. - void Define(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  2545. - void Define(const Vector3& normal, const Vector3& point)
  2546. - float Distance(const Vector3& point) const
  2547. - Vector3 normal
  2548. - Vector3 absNormal
  2549. - float intercept
  2550. Polyhedron
  2551. Methods:<br>
  2552. - Polyhedron()
  2553. - Polyhedron(const Polyhedron& polyhedron)
  2554. - Polyhedron(const BoundingBox& box)
  2555. - Polyhedron(const Frustum& frustum)
  2556. - ~Polyhedron()
  2557. - void Define(const BoundingBox& box)
  2558. - void Define(const Frustum& frustum)
  2559. - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2)
  2560. - void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2, const Vector3& v3)
  2561. - void Clip(const Plane& plane)
  2562. - void Clip(const BoundingBox& box)
  2563. - void Clip(const Frustum& box)
  2564. - void Clear()
  2565. - void Transform(const Matrix3& transform)
  2566. - void Transform(const Matrix3x4& transform)
  2567. - Polyhedron Transformed(const Matrix3& transform) const
  2568. - Polyhedron Transformed(const Matrix3x4& transform) const
  2569. - bool Empty() const
  2570. Properties:<br>
  2571. - bool empty (readonly)
  2572. Quaternion
  2573. Methods:<br>
  2574. - Quaternion()
  2575. - Quaternion(const Quaternion& quat)
  2576. - Quaternion(float w, float x, float y, float z)
  2577. - Quaternion(float angle, const Vector3& axis)
  2578. - Quaternion(float x, float y, float z)
  2579. - Quaternion(const Vector3& start, const Vector3& end)
  2580. - Quaternion(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  2581. - Quaternion(const Matrix3& matrix)
  2582. - bool operator == (const Quaternion& rhs) const
  2583. - Quaternion operator * (float rhs) const
  2584. - Quaternion operator - () const
  2585. - bool operator == (const Quaternion& rhs) const
  2586. - Quaternion operator * (float rhs) const
  2587. - Quaternion operator - () const
  2588. - Quaternion operator + (const Quaternion& rhs) const
  2589. - Quaternion operator - (const Quaternion& rhs) const
  2590. - Quaternion operator * (const Quaternion& rhs) const
  2591. - Vector3 operator * (const Vector3& rhs) const
  2592. - void FromAngleAxis(float angle, const Vector3& axis)
  2593. - void FromEulerAngles(float x, float y, float z)
  2594. - void FromRotationTo(const Vector3& start, const Vector3& end)
  2595. - void FromAxes(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  2596. - void FromRotationMatrix(const Matrix3& matrix)
  2597. - void Normalize()
  2598. - Quaternion Normalized() const
  2599. - Quaternion Inverse() const
  2600. - float LengthSquared() const
  2601. - float DotProduct(const Quaternion& rhs) const
  2602. - bool Equals(const Quaternion& rhs) const
  2603. - Quaternion Conjugate() const
  2604. - Vector3 EulerAngles() const
  2605. - float YawAngle() const
  2606. - float PitchAngle() const
  2607. - float RollAngle() const
  2608. - Matrix3 RotationMatrix() const
  2609. - Quaternion Slerp(Quaternion rhs, float t) const
  2610. - String ToString() const
  2611. - float w
  2612. - float x
  2613. - float y
  2614. - float z
  2615. - static const Quaternion IDENTITY
  2616. Ray
  2617. Methods:<br>
  2618. - Ray()
  2619. - Ray(const Vector3& origin, const Vector3& direction)
  2620. - Ray(const Ray& ray)
  2621. - bool operator == (const Ray& rhs) const
  2622. - void Define(const Vector3& origin, const Vector3& direction)
  2623. - Vector3 Project(const Vector3& point) const
  2624. - float Distance(const Vector3& point) const
  2625. - Vector3 ClosestPoint(const Ray& ray) const
  2626. - float HitDistance(const Plane& plane) const
  2627. - float HitDistance(const BoundingBox& box) const
  2628. - float HitDistance(const Frustum& frustum, bool solidInside = true) const
  2629. - float HitDistance(const Sphere& sphere) const
  2630. - float HitDistance(const Vector3& v0, const Vector3& v1, const Vector3& v2) const
  2631. - Ray Transformed(const Matrix3x4& transform) const
  2632. - Vector3 origin
  2633. - Vector3 direction
  2634. Rect
  2635. Methods:<br>
  2636. - Rect()
  2637. - Rect(const Rect& rect)
  2638. - Rect(const Vector2& min, const Vector2& max)
  2639. - Rect(float left, float top, float right, float bottom)
  2640. - Rect(const Vector4& vector)
  2641. - bool operator == (const Rect& rhs) const
  2642. - void Define(const Rect& rect)
  2643. - void Define(const Vector2& min, const Vector2& max)
  2644. - void Define(const Vector2& point)
  2645. - void Merge(const Vector2& point)
  2646. - void Merge(const Rect& rect)
  2647. - void Clear()
  2648. - void Clip(const Rect& rect)
  2649. - Vector2 Center() const
  2650. - Vector2 Size() const
  2651. - Vector2 HalfSize() const
  2652. - bool Equals(const Rect& rhs) const
  2653. - Vector4 ToVector4() const
  2654. - String ToString() const
  2655. - Vector2 min
  2656. - Vector2 max
  2657. - static const Rect FULL
  2658. - static const Rect POSITIVE
  2659. - static const Rect ZERO
  2660. Properties:<br>
  2661. - Vector2 center (readonly)
  2662. - Vector2 size (readonly)
  2663. - Vector2 halfSize (readonly)
  2664. IntRect
  2665. Methods:<br>
  2666. - IntRect()
  2667. - IntRect(int left, int top, int right, int bottom)
  2668. - bool operator == (const IntRect& rhs) const
  2669. - IntVector2 Size() const
  2670. - int Width() const
  2671. - int Height() const
  2672. - int left
  2673. - int top
  2674. - int right
  2675. - int bottom
  2676. - static const IntRect ZERO
  2677. Properties:<br>
  2678. - IntVector2 size (readonly)
  2679. - int width (readonly)
  2680. - int height (readonly)
  2681. Sphere
  2682. Methods:<br>
  2683. - Sphere()
  2684. - Sphere(const Sphere& sphere)
  2685. - Sphere(const Vector3& center, float radius)
  2686. - Sphere(const BoundingBox& box)
  2687. - Sphere(const Frustum& frustum)
  2688. - Sphere(const Polyhedron& poly)
  2689. - bool operator == (const Sphere& rhs) const
  2690. - void Define(const Sphere& sphere)
  2691. - void Define(const Vector3& center, float radius)
  2692. - void Define(const BoundingBox& box)
  2693. - void Define(const Frustum& frustum)
  2694. - void Define(const Polyhedron& poly)
  2695. - void Merge(const Vector3& point)
  2696. - void Merge(const BoundingBox& box)
  2697. - void Merge(const Frustum& frustum)
  2698. - void Merge(const Polyhedron& poly)
  2699. - void Merge(const Sphere& sphere)
  2700. - void Clear()
  2701. - Intersection IsInside(const Vector3& point) const
  2702. - Intersection IsInside(const Sphere& sphere) const
  2703. - Intersection IsInsideFast(const Sphere& sphere) const
  2704. - Intersection IsInside(const BoundingBox& box) const
  2705. - Intersection IsInsideFast(const BoundingBox& box) const
  2706. - float Distance(const Vector3& point) const
  2707. - Vector3 center
  2708. - float radius
  2709. - bool defined
  2710. StringHash
  2711. Methods:<br>
  2712. - StringHash()
  2713. - StringHash(const StringHash& rhs)
  2714. - explicit StringHash(unsigned value)
  2715. - StringHash(const String str)
  2716. - StringHash operator + (const StringHash& rhs) const
  2717. - bool operator == (const StringHash& rhs) const
  2718. - bool operator < (const StringHash& rhs) const
  2719. - operator bool () const
  2720. - unsigned Value() const
  2721. - String ToString() const
  2722. - unsigned ToHash() const
  2723. - static unsigned Calculate(const char* str)
  2724. - static const StringHash ZERO
  2725. Properties:<br>
  2726. - unsigned value (readonly)
  2727. ShortStringHash
  2728. Methods:<br>
  2729. - ShortStringHash()
  2730. - ShortStringHash(const ShortStringHash& rhs)
  2731. - explicit ShortStringHash(const StringHash& rhs)
  2732. - explicit ShortStringHash(unsigned short value)
  2733. - ShortStringHash(const String str)
  2734. - ShortStringHash operator + (const ShortStringHash& rhs) const
  2735. - bool operator == (const ShortStringHash& rhs) const
  2736. - bool operator < (const ShortStringHash& rhs) const
  2737. - unsigned short Value() const
  2738. - static unsigned short Calculate(const char* str)
  2739. - static const ShortStringHash ZERO
  2740. Properties:<br>
  2741. - unsigned short value (readonly)
  2742. Vector2
  2743. Methods:<br>
  2744. - Vector2()
  2745. - Vector2(const Vector2& vector)
  2746. - Vector2(float x, float y)
  2747. - Vector2(const float* data)
  2748. - bool operator == (const Vector2& rhs) const
  2749. - Vector2 operator + (const Vector2& rhs) const
  2750. - Vector2 operator - () const
  2751. - Vector2 operator - (const Vector2& rhs) const
  2752. - Vector2 operator * (float rhs) const
  2753. - Vector2 operator * (const Vector2& rhs) const
  2754. - Vector2 operator / (float rhs) const
  2755. - Vector2 operator / (const Vector2& rhs) const
  2756. - Vector2 operator / (const Vector2& rhs) const
  2757. - void Normalize()
  2758. - float Length() const
  2759. - float LengthSquared() const
  2760. - float DotProduct(const Vector2& rhs) const
  2761. - float AbsDotProduct(const Vector2& rhs) const
  2762. - Vector2 Abs() const
  2763. - Vector2 Lerp(const Vector2& rhs, float t) const
  2764. - bool Equals(const Vector2& rhs) const
  2765. - Vector2 Normalized() const
  2766. - String ToString() const
  2767. - float x
  2768. - float y
  2769. - static const Vector2 ZERO
  2770. - static const Vector2 LEFT
  2771. - static const Vector2 RIGHT
  2772. - static const Vector2 UP
  2773. - static const Vector2 DOWN
  2774. - static const Vector2 ONE
  2775. IntVector2
  2776. Methods:<br>
  2777. - IntVector2()
  2778. - IntVector2(int x, int y)
  2779. - IntVector2(const int* data)
  2780. - IntVector2(const IntVector2& rhs)
  2781. - bool operator == (const IntVector2& rhs) const
  2782. - IntVector2 operator + (const IntVector2& rhs) const
  2783. - IntVector2 operator - () const
  2784. - IntVector2 operator - (const IntVector2& rhs) const
  2785. - IntVector2 operator * (int rhs) const
  2786. - IntVector2 operator / (int rhs) const
  2787. - IntVector2 operator / (int rhs) const
  2788. - String ToString() const
  2789. - int x
  2790. - int y
  2791. - static const IntVector2 ZERO
  2792. Vector3
  2793. Methods:<br>
  2794. - Vector3()
  2795. - Vector3(const Vector3& vector)
  2796. - Vector3(const Vector2& vector, float z)
  2797. - Vector3(float x, float y, float z)
  2798. - bool operator == (const Vector3& rhs) const
  2799. - Vector3 operator + (const Vector3& rhs) const
  2800. - Vector3 operator - () const
  2801. - Vector3 operator - (const Vector3& rhs) const
  2802. - Vector3 operator * (float rhs) const
  2803. - Vector3 operator * (const Vector3& rhs) const
  2804. - Vector3 operator / (float rhs) const
  2805. - Vector3 operator / (const Vector3& rhs) const
  2806. - Vector3 operator / (const Vector3& rhs) const
  2807. - void Normalize()
  2808. - float Length() const
  2809. - float LengthSquared() const
  2810. - float DotProduct(const Vector3& rhs) const
  2811. - float AbsDotProduct(const Vector3& rhs) const
  2812. - Vector3 CrossProduct(const Vector3& rhs) const
  2813. - Vector3 Abs() const
  2814. - Vector3 Lerp(const Vector3& rhs, float t) const
  2815. - bool Equals(const Vector3& rhs) const
  2816. - Vector3 Normalized() const
  2817. - String ToString() const
  2818. - float x
  2819. - float y
  2820. - float z
  2821. - static const Vector3 ZERO
  2822. - static const Vector3 LEFT
  2823. - static const Vector3 RIGHT
  2824. - static const Vector3 UP
  2825. - static const Vector3 DOWN
  2826. - static const Vector3 FORWARD
  2827. - static const Vector3 BACK
  2828. - static const Vector3 ONE
  2829. Vector4
  2830. Methods:<br>
  2831. - Vector4()
  2832. - Vector4(const Vector4& vector)
  2833. - Vector4(const Vector3& vector, float w)
  2834. - Vector4(float x, float y, float z, float w)
  2835. - bool operator == (const Vector4& rhs) const
  2836. - Vector4 operator + (const Vector4& rhs) const
  2837. - Vector4 operator - () const
  2838. - Vector4 operator - (const Vector4& rhs) const
  2839. - Vector4 operator * (float rhs) const
  2840. - Vector4 operator * (const Vector4& rhs) const
  2841. - Vector4 operator / (float rhs) const
  2842. - Vector4 operator / (const Vector4& rhs) const
  2843. - Vector4 operator / (const Vector4& rhs) const
  2844. - float DotProduct(const Vector4& rhs) const
  2845. - float AbsDotProduct(const Vector4& rhs) const
  2846. - Vector4 Abs() const
  2847. - Vector4 Lerp(const Vector4& rhs, float t) const
  2848. - bool Equals(const Vector4& rhs) const
  2849. - String ToString() const
  2850. - float x
  2851. - float y
  2852. - float z
  2853. - float w
  2854. - static const Vector4 ZERO
  2855. - static const Vector4 ONE
  2856. Navigable : Component
  2857. Methods:<br>
  2858. - void SetRecursive(bool enable)
  2859. - bool IsRecursive() const
  2860. Properties:<br>
  2861. - bool recursive
  2862. NavigationGeometryInfo
  2863. Methods:<br>
  2864. - Component* component
  2865. - unsigned lodLevel
  2866. - Matrix3x4 transform
  2867. - BoundingBox boundingBox
  2868. NavigationMesh : Component
  2869. Methods:<br>
  2870. - void SetTileSize(int size)
  2871. - void SetCellSize(float size)
  2872. - void SetCellHeight(float height)
  2873. - void SetAgentHeight(float height)
  2874. - void SetAgentRadius(float radius)
  2875. - void SetAgentMaxClimb(float maxClimb)
  2876. - void SetAgentMaxSlope(float maxSlope)
  2877. - void SetRegionMinSize(float size)
  2878. - void SetRegionMergeSize(float size)
  2879. - void SetEdgeMaxLength(float length)
  2880. - void SetEdgeMaxError(float error)
  2881. - void SetDetailSampleDistance(float distance)
  2882. - void SetDetailSampleMaxError(float error)
  2883. - void SetPadding(const Vector3& padding)
  2884. - bool Build()
  2885. - bool Build(const BoundingBox& boundingBox)
  2886. - PODVector<Vector3> FindPath(const Vector3& start, const Vector3& end, const Vector3& extents = Vector3::ONE)
  2887. - Vector3 GetRandomPoint()
  2888. - Vector3 GetRandomPointInCircle(const Vector3& center, float radius, const Vector3& extents = Vector3::ONE)
  2889. - float GetDistanceToWall(const Vector3& point, float radius, const Vector3& extents = Vector3::ONE)
  2890. - Vector3 Raycast(const Vector3& start, const Vector3& end, const Vector3& extents = Vector3::ONE)
  2891. - void DrawDebugGeometry(bool depthTest)
  2892. - int GetTileSize() const
  2893. - float GetCellSize() const
  2894. - float GetCellHeight() const
  2895. - float GetAgentHeight() const
  2896. - float GetAgentRadius() const
  2897. - float GetAgentMaxClimb() const
  2898. - float GetAgentMaxSlope() const
  2899. - float GetRegionMinSize() const
  2900. - float GetRegionMergeSize() const
  2901. - float GetEdgeMaxLength() const
  2902. - float GetEdgeMaxError() const
  2903. - float GetDetailSampleDistance() const
  2904. - float GetDetailSampleMaxError() const
  2905. - const Vector3& GetPadding() const
  2906. - bool IsInitialized() const
  2907. - const BoundingBox& GetBoundingBox() const
  2908. - BoundingBox GetWorldBoundingBox() const
  2909. - IntVector2 GetNumTiles() const
  2910. Properties:<br>
  2911. - int tileSize
  2912. - float cellSize
  2913. - float cellHeight
  2914. - float agentHeight
  2915. - float agentRadius
  2916. - float agentMaxClimb
  2917. - float agentMaxSlope
  2918. - float regionMinSize
  2919. - float regionMergeSize
  2920. - float edgeMaxLength
  2921. - float edgeMaxError
  2922. - float detailSampleDistance
  2923. - float detailSampleMaxError
  2924. - Vector3& padding
  2925. - bool initialized (readonly)
  2926. - BoundingBox& boundingBox (readonly)
  2927. - BoundingBox worldBoundingBox (readonly)
  2928. - IntVector2 numTiles (readonly)
  2929. OffMeshConnection : Component
  2930. Methods:<br>
  2931. - void SetEndPoint(Node* node)
  2932. - void SetRadius(float radius)
  2933. - void SetBidirectional(bool enabled)
  2934. - Node* GetEndPoint() const
  2935. - float GetRadius() const
  2936. - bool IsBidirectional() const
  2937. Properties:<br>
  2938. - Node* endPoint
  2939. - float radius
  2940. - bool bidirectional
  2941. RemoteEvent
  2942. Methods:<br>
  2943. - unsigned senderID
  2944. - StringHash eventType
  2945. - VariantMap eventData
  2946. - bool inOrder
  2947. Connection : Object
  2948. Methods:<br>
  2949. - void SendMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  2950. - void SendMessage(int msgID, bool reliable, bool inOrder, const unsigned char* data, unsigned numBytes, unsigned contentID = 0)
  2951. - void SendRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
  2952. - void SendRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
  2953. - void SendRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
  2954. - void SendRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
  2955. - void SetScene(Scene* newScene)
  2956. - void SetIdentity(const VariantMap& identity)
  2957. - void SetControls(const Controls& newControls)
  2958. - void SetPosition(const Vector3& position)
  2959. - void SetConnectPending(bool connectPending)
  2960. - void SetLogStatistics(bool enable)
  2961. - void Disconnect(int waitMSec = 0)
  2962. - void SendServerUpdate()
  2963. - void SendClientUpdate()
  2964. - void SendRemoteEvents()
  2965. - void SendPackages()
  2966. - void ProcessPendingLatestData()
  2967. - bool ProcessMessage(int msgID, MemoryBuffer& msg)
  2968. - const VariantMap& GetIdentity() const
  2969. - Scene* GetScene() const
  2970. - const Controls& GetControls() const
  2971. - const Vector3& GetPosition() const
  2972. - bool IsClient() const
  2973. - bool IsConnected() const
  2974. - bool IsConnectPending() const
  2975. - bool IsSceneLoaded() const
  2976. - bool GetLogStatistics() const
  2977. - String GetAddress() const
  2978. - unsigned short GetPort() const
  2979. - String ToString() const
  2980. - unsigned GetNumDownloads() const
  2981. - const String& GetDownloadName() const
  2982. - float GetDownloadProgress() const
  2983. Properties:<br>
  2984. - VariantMap& identity
  2985. - Scene* scene
  2986. - Controls& controls
  2987. - Vector3& position
  2988. - bool client (readonly)
  2989. - bool connected (readonly)
  2990. - bool connectPending
  2991. - bool sceneLoaded (readonly)
  2992. - bool logStatistics
  2993. - String address (readonly)
  2994. - unsigned short port (readonly)
  2995. - unsigned numDownloads (readonly)
  2996. - String& downloadName (readonly)
  2997. - float downloadProgress (readonly)
  2998. Controls
  2999. Methods:<br>
  3000. - void Reset()
  3001. - void Set(unsigned buttons, bool down = true)
  3002. - bool IsDown(unsigned button) const
  3003. - bool IsPressed(unsigned button, const Controls& previousControls) const
  3004. - unsigned buttons
  3005. - float yaw
  3006. - float pitch
  3007. - VariantMap extraData
  3008. Network
  3009. Methods:<br>
  3010. - bool Connect(const String address, unsigned short port, Scene* scene, const VariantMap& identity = Variant::emptyVariantMap)
  3011. - void Disconnect(int waitMSec = 0)
  3012. - bool StartServer(unsigned short port)
  3013. - void StopServer()
  3014. - void BroadcastMessage(int msgID, bool reliable, bool inOrder, const VectorBuffer& msg, unsigned contentID = 0)
  3015. - void BroadcastRemoteEvent(StringHash eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
  3016. - void BroadcastRemoteEvent(const String eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
  3017. - void BroadcastRemoteEvent(Scene* scene, StringHash eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
  3018. - void BroadcastRemoteEvent(Scene* scene, const String eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
  3019. - void BroadcastRemoteEvent(Node* node, StringHash eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
  3020. - void BroadcastRemoteEvent(Node* node, const String eventType, bool inOrder, const VariantMap& eventData = Variant::emptyVariantMap)
  3021. - void SetUpdateFps(int fps)
  3022. - void RegisterRemoteEvent(StringHash eventType)
  3023. - void RegisterRemoteEvent(const String eventType)
  3024. - void UnregisterRemoteEvent(StringHash eventType)
  3025. - void UnregisterRemoteEvent(const String eventType)
  3026. - void UnregisterAllRemoteEvents()
  3027. - void SetPackageCacheDir(const String path)
  3028. - int GetUpdateFps() const
  3029. - Connection* GetServerConnection() const
  3030. - bool IsServerRunning() const
  3031. - bool CheckRemoteEvent(StringHash eventType) const
  3032. - const String& GetPackageCacheDir() const
  3033. Properties:<br>
  3034. - int updateFps
  3035. - Connection* serverConnection (readonly)
  3036. - bool serverRunning (readonly)
  3037. - String& packageCacheDir
  3038. NetworkPriority : Component
  3039. Methods:<br>
  3040. - void SetBasePriority(float priority)
  3041. - void SetDistanceFactor(float factor)
  3042. - void SetMinPriority(float priority)
  3043. - void SetAlwaysUpdateOwner(bool enable)
  3044. - float GetBasePriority() const
  3045. - float GetDistanceFactor() const
  3046. - float GetMinPriority() const
  3047. - bool GetAlwaysUpdateOwner() const
  3048. - bool CheckUpdate(float distance, float& accumulator)
  3049. Properties:<br>
  3050. - float basePriority
  3051. - float distanceFactor
  3052. - float minPriority
  3053. - bool alwaysUpdateOwner
  3054. CollisionShape : Component
  3055. Methods:<br>
  3056. - void SetBox(const Vector3& size, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
  3057. - void SetSphere(float diameter, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
  3058. - void SetStaticPlane(const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
  3059. - void SetCylinder(float diameter, float height, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
  3060. - void SetCapsule(float diameter, float height, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
  3061. - void SetCone(float diameter, float height, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
  3062. - void SetTriangleMesh(Model* model, unsigned lodLevel = 0, const Vector3& scale = Vector3::ONE, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
  3063. - void SetConvexHull(Model* model, unsigned lodLevel = 0, const Vector3& scale = Vector3::ONE, const Vector3& position = Vector3::ZERO, const Quaternion& rotation = Quaternion::IDENTITY)
  3064. - void SetTerrain()
  3065. - void SetShapeType(ShapeType type)
  3066. - void SetSize(const Vector3& size)
  3067. - void SetPosition(const Vector3& position)
  3068. - void SetRotation(const Quaternion& rotation)
  3069. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  3070. - void SetMargin(float margin)
  3071. - void SetModel(Model* model)
  3072. - void SetLodLevel(unsigned lodLevel)
  3073. - PhysicsWorld* GetPhysicsWorld() const
  3074. - ShapeType GetShapeType() const
  3075. - const Vector3& GetSize() const
  3076. - const Vector3& GetPosition() const
  3077. - const Quaternion& GetRotation() const
  3078. - float GetMargin() const
  3079. - Model* GetModel() const
  3080. - unsigned GetLodLevel() const
  3081. - BoundingBox GetWorldBoundingBox() const
  3082. - void NotifyRigidBody(bool updateMass = true)
  3083. - void SetModelAttr(ResourceRef value)
  3084. - ResourceRef GetModelAttr() const
  3085. - void ReleaseShape()
  3086. Properties:<br>
  3087. - PhysicsWorld* physicsWorld (readonly)
  3088. - ShapeType shapeType
  3089. - Vector3& size
  3090. - Vector3& position
  3091. - Quaternion& rotation
  3092. - float margin
  3093. - Model* model
  3094. - unsigned lodLevel
  3095. - tolua_readonlyBoundingBox worldBoundingBox
  3096. - ResourceRef modelAttr
  3097. Constraint : Component
  3098. Methods:<br>
  3099. - void SetConstraintType(ConstraintType type)
  3100. - void SetOtherBody(RigidBody* body)
  3101. - void SetPosition(const Vector3& position)
  3102. - void SetRotation(const Quaternion& rotation)
  3103. - void SetAxis(const Vector3& axis)
  3104. - void SetOtherPosition(const Vector3& position)
  3105. - void SetOtherRotation(const Quaternion& rotation)
  3106. - void SetOtherAxis(const Vector3& axis)
  3107. - void SetWorldPosition(const Vector3& position)
  3108. - void SetHighLimit(const Vector2& limit)
  3109. - void SetLowLimit(const Vector2& limit)
  3110. - void SetERP(float erp)
  3111. - void SetCFM(float cfm)
  3112. - void SetDisableCollision(bool disable)
  3113. - PhysicsWorld* GetPhysicsWorld() const
  3114. - ConstraintType GetConstraintType() const
  3115. - RigidBody* GetOwnBody() const
  3116. - RigidBody* GetOtherBody() const
  3117. - const Vector3& GetPosition() const
  3118. - const Quaternion& GetRotation() const
  3119. - const Vector3& GetOtherPosition() const
  3120. - const Quaternion& GetOtherRotation() const
  3121. - Vector3 GetWorldPosition() const
  3122. - const Vector2& GetHighLimit() const
  3123. - const Vector2& GetLowLimit() const
  3124. - float GetERP() const
  3125. - float GetCFM() const
  3126. - bool GetDisableCollision() const
  3127. - void ReleaseConstraint()
  3128. - void ApplyFrames()
  3129. Properties:<br>
  3130. - PhysicsWorld* physicsWorld (readonly)
  3131. - ConstraintType constraintType
  3132. - RigidBody* ownBody (readonly)
  3133. - RigidBody* otherBody
  3134. - Vector3& position
  3135. - Quaternion& rotation
  3136. - Vector3& otherPosition
  3137. - Quaternion& otherRotation
  3138. - Vector3 worldPosition
  3139. - Vector2& highLimit
  3140. - Vector2& lowLimit
  3141. - float ERP
  3142. - float CFM
  3143. - bool disableCollision
  3144. PhysicsRaycastResult
  3145. Methods:<br>
  3146. - PhysicsRaycastResult()
  3147. - Vector3 position
  3148. - Vector3 normal
  3149. - float distance
  3150. - RigidBody* body
  3151. DelayedWorldTransform
  3152. Methods:<br>
  3153. - RigidBody* rigidBody
  3154. - RigidBody* parentRigidBody
  3155. - Vector3 worldPosition
  3156. - Quaternion worldRotation
  3157. PhysicsWorld : Component
  3158. Methods:<br>
  3159. - void Update(float timeStep)
  3160. - void UpdateCollisions()
  3161. - void SetFps(int fps)
  3162. - void SetGravity(Vector3 gravity)
  3163. - void SetNumIterations(int num)
  3164. - void SetInterpolation(bool enable)
  3165. - void SetInternalEdge(bool enable)
  3166. - void SetSplitImpulse(bool enable)
  3167. - void SetMaxNetworkAngularVelocity(float velocity)
  3168. - PhysicsRaycastResult RaycastSingle(const Ray& ray, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  3169. - / void SphereCast(PhysicsRaycastResult& result, const Ray& ray, float radius, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  3170. - PhysicsRaycastResult SphereCast(const Ray& ray, float radius, float maxDistance, unsigned collisionMask = M_MAX_UNSIGNED)
  3171. - Vector3 GetGravity() const
  3172. - int GetNumIterations() const
  3173. - bool GetInterpolation() const
  3174. - bool GetInternalEdge() const
  3175. - bool GetSplitImpulse() const
  3176. - int GetFps() const
  3177. - float GetMaxNetworkAngularVelocity() const
  3178. - void AddRigidBody(RigidBody* body)
  3179. - void RemoveRigidBody(RigidBody* body)
  3180. - void AddCollisionShape(CollisionShape* shape)
  3181. - void RemoveCollisionShape(CollisionShape* shape)
  3182. - void AddConstraint(Constraint* joint)
  3183. - void RemoveConstraint(Constraint* joint)
  3184. - void AddDelayedWorldTransform(const DelayedWorldTransform& transform)
  3185. - void DrawDebugGeometry(bool depthTest)
  3186. - void SetDebugRenderer(DebugRenderer* debug)
  3187. - void SetDebugDepthTest(bool enable)
  3188. - void CleanupGeometryCache()
  3189. - void SetApplyingTransforms(bool enable)
  3190. - bool IsApplyingTransforms() const
  3191. Properties:<br>
  3192. - Vector3 gravity
  3193. - int numIterations
  3194. - bool interpolation
  3195. - bool internalEdge
  3196. - bool splitImpulse
  3197. - int fps
  3198. - float maxNetworkAngularVelocity
  3199. - bool applyingTransforms
  3200. RigidBody : Component
  3201. Methods:<br>
  3202. - void SetMass(float mass)
  3203. - void SetPosition(Vector3 position)
  3204. - void SetRotation(Quaternion rotation)
  3205. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  3206. - void SetLinearVelocity(Vector3 velocity)
  3207. - void SetLinearFactor(Vector3 factor)
  3208. - void SetLinearRestThreshold(float threshold)
  3209. - void SetLinearDamping(float damping)
  3210. - void SetAngularVelocity(Vector3 angularVelocity)
  3211. - void SetAngularFactor(Vector3 factor)
  3212. - void SetAngularRestThreshold(float threshold)
  3213. - void SetAngularDamping(float factor)
  3214. - void SetFriction(float friction)
  3215. - void SetRollingFriction(float friction)
  3216. - void SetRestitution(float restitution)
  3217. - void SetContactProcessingThreshold(float threshold)
  3218. - void SetCcdRadius(float radius)
  3219. - void SetCcdMotionThreshold(float threshold)
  3220. - void SetUseGravity(bool enable)
  3221. - void SetGravityOverride(const Vector3& gravity)
  3222. - void SetKinematic(bool enable)
  3223. - void SetPhantom(bool enable)
  3224. - void SetCollisionLayer(unsigned layer)
  3225. - void SetCollisionMask(unsigned mask)
  3226. - void SetCollisionLayerAndMask(unsigned layer, unsigned mask)
  3227. - void SetCollisionEventMode(CollisionEventMode mode)
  3228. - void ApplyForce(const Vector3& force)
  3229. - void ApplyForce(const Vector3& force, const Vector3& position)
  3230. - void ApplyTorque(const Vector3& torque)
  3231. - void ApplyImpulse(const Vector3& impulse)
  3232. - void ApplyImpulse(const Vector3& impulse, const Vector3& position)
  3233. - void ApplyTorqueImpulse(const Vector3& torque)
  3234. - void ResetForces()
  3235. - void Activate()
  3236. - void ReAddBodyToWorld()
  3237. - PhysicsWorld* GetPhysicsWorld() const
  3238. - float GetMass() const
  3239. - Vector3 GetPosition() const
  3240. - Quaternion GetRotation() const
  3241. - Vector3 GetLinearVelocity() const
  3242. - Vector3 GetLinearFactor() const
  3243. - Vector3 GetVelocityAtPoint(const Vector3& position) const
  3244. - float GetLinearRestThreshold() const
  3245. - float GetLinearDamping() const
  3246. - Vector3 GetAngularVelocity() const
  3247. - Vector3 GetAngularFactor() const
  3248. - float GetAngularRestThreshold() const
  3249. - float GetAngularDamping() const
  3250. - float GetFriction() const
  3251. - float GetRollingFriction() const
  3252. - float GetRestitution() const
  3253. - float GetContactProcessingThreshold() const
  3254. - float GetCcdRadius() const
  3255. - float GetCcdMotionThreshold() const
  3256. - bool GetUseGravity() const
  3257. - const Vector3& GetGravityOverride() const
  3258. - const Vector3& GetCenterOfMass() const
  3259. - bool IsKinematic() const
  3260. - bool IsPhantom() const
  3261. - bool IsActive() const
  3262. - unsigned GetCollisionLayer() const
  3263. - unsigned GetCollisionMask() const
  3264. - CollisionEventMode GetCollisionEventMode() const
  3265. - void ApplyWorldTransform(const Vector3& newWorldPosition, const Quaternion& newWorldRotation)
  3266. - void UpdateMass()
  3267. - void UpdateGravity()
  3268. - void AddConstraint(Constraint* constraint)
  3269. - void RemoveConstraint(Constraint* constraint)
  3270. - void ReleaseBody()
  3271. Properties:<br>
  3272. - PhysicsWorld* physicsWorld (readonly)
  3273. - float mass
  3274. - Vector3 position
  3275. - Quaternion rotation
  3276. - Vector3 linearVelocity
  3277. - Vector3 linearFactor
  3278. - float linearRestThreshold
  3279. - float linearDamping
  3280. - Vector3 angularVelocity
  3281. - Vector3 angularFactor
  3282. - float angularRestThreshold
  3283. - float angularDamping
  3284. - float friction
  3285. - float rollingFriction
  3286. - float restitution
  3287. - float contactProcessingThreshold
  3288. - float ccdRadius
  3289. - float ccdMotionThreshold
  3290. - bool useGravity
  3291. - Vector3& gravityOverride
  3292. - Vector3& centerOfMass (readonly)
  3293. - bool kinematic
  3294. - bool phantom
  3295. - bool active (readonly)
  3296. - unsigned collisionLayer
  3297. - unsigned collisionMask
  3298. - CollisionEventMode collisionEventMode
  3299. Image : Resource
  3300. Methods:<br>
  3301. - void FlipVertical()
  3302. - bool SaveBMP(const String fileName)
  3303. - bool SavePNG(const String fileName)
  3304. - bool SaveTGA(const String fileName)
  3305. - bool SaveJPG(const String fileName, int quality)
  3306. - int GetWidth() const
  3307. - int GetHeight() const
  3308. - unsigned GetComponents() const
  3309. - bool IsCompressed() const
  3310. - CompressedFormat GetCompressedFormat() const
  3311. - unsigned GetNumCompressedLevels() const
  3312. - CompressedLevel GetCompressedLevel(unsigned index) const
  3313. Properties:<br>
  3314. - int width (readonly)
  3315. - int height (readonly)
  3316. - unsigned components (readonly)
  3317. - bool compressed (readonly)
  3318. - CompressedFormat compressedFormat (readonly)
  3319. - unsigned numCompressedLevels (readonly)
  3320. Resource
  3321. Methods:<br>
  3322. - const String& GetName() const
  3323. - StringHash GetNameHash() const
  3324. - unsigned GetMemoryUse() const
  3325. Properties:<br>
  3326. - String& name (readonly)
  3327. - StringHash nameHash (readonly)
  3328. - unsigned memoryUse (readonly)
  3329. ResourceCache
  3330. Methods:<br>
  3331. - void ReleaseAllResources(bool force = false)
  3332. - bool ReloadResource(Resource* resource)
  3333. - void SetMemoryBudget(ShortStringHash type, unsigned budget)
  3334. - void SetMemoryBudget(const String type, unsigned budget)
  3335. - void SetAutoReloadResources(bool enable)
  3336. - Resource* GetResource(const String type, const String name)
  3337. - bool Exists(const String name) const
  3338. - bool Exists(StringHash nameHash) const
  3339. - unsigned GetMemoryBudget(ShortStringHash type) const
  3340. - unsigned GetMemoryUse(ShortStringHash type) const
  3341. - unsigned GetTotalMemoryUse() const
  3342. - const String& GetResourceName(StringHash nameHash) const
  3343. - String GetResourceFileName(const String name) const
  3344. - bool GetAutoReloadResources() const
  3345. Properties:<br>
  3346. - unsigned totalMemoryUse (readonly)
  3347. - bool autoReloadResources (readonly)
  3348. XMLElement
  3349. Methods:<br>
  3350. - bool IsNull() const
  3351. - bool NotNull() const
  3352. - operator bool () const
  3353. - String GetName() const
  3354. - bool HasChild(const String name) const
  3355. - XMLElement GetChild(const String name = String::EMPTY) const
  3356. - XMLElement GetNext(const String name = String::EMPTY) const
  3357. - XMLElement GetParent() const
  3358. - unsigned GetNumAttributes() const
  3359. - bool HasAttribute(const String name) const
  3360. - bool GetBool(const String name) const
  3361. - BoundingBox GetBoundingBox() const
  3362. - Color GetColor(const String name) const
  3363. - float GetFloat(const String name) const
  3364. - unsigned GetUInt(const String name) const
  3365. - int GetInt(const String name) const
  3366. - IntRect GetIntRect(const String name) const
  3367. - IntVector2 GetIntVector2(const String name) const
  3368. - Rect GetRect(const String name) const
  3369. - Quaternion GetQuaternion(const String name) const
  3370. - Variant GetVariant() const
  3371. - Variant GetVariantValue(VariantType type) const
  3372. - ResourceRef GetResourceRef() const
  3373. - ResourceRefList GetResourceRefList() const
  3374. - VariantMap GetVariantMap() const
  3375. - Vector2 GetVector2(const String name) const
  3376. - Vector3 GetVector3(const String name) const
  3377. - Vector4 GetVector4(const String name) const
  3378. - Vector4 GetVector(const String name) const
  3379. - XMLFile* GetFile() const
  3380. - static const XMLElement EMPTY
  3381. Properties:<br>
  3382. - bool null (readonly)
  3383. - String name (readonly)
  3384. - XMLElement parent (readonly)
  3385. - unsigned numAttributes (readonly)
  3386. - XMLFile* file (readonly)
  3387. XMLFile : Resource
  3388. Methods:<br>
  3389. - XMLElement GetRoot(const String name = String::EMPTY)
  3390. Component : Serializable
  3391. Methods:<br>
  3392. - void SetEnabled(bool enable)
  3393. - void Remove()
  3394. - unsigned GetID() const
  3395. - Node* GetNode() const
  3396. - Scene* GetScene() const
  3397. - bool IsEnabled() const
  3398. - bool IsEnabledEffective() const
  3399. -
  3400. - Component* GetComponent(ShortStringHash type) const
  3401. - Component* GetComponent(const String type) const
  3402. Node : Serializable
  3403. Methods:<br>
  3404. - Node(Context* context)
  3405. - virtual ~Node()
  3406. - bool SaveXML(File* dest) const
  3407. - void SetName(const String name)
  3408. - void SetPosition(const Vector3& position)
  3409. - void SetPositionXYZ(float x, float y, float z)
  3410. - void SetRotation(const Quaternion& rotation)
  3411. - void SetRotationXYZ(float x, float y, float z)
  3412. - void SetDirection(const Vector3& direction)
  3413. - void SetDirectionXYZ(float x, float y, float z)
  3414. - void SetScale(float scale)
  3415. - void SetScale(const Vector3& scale)
  3416. - void SetScaleXYZ(float x, float y, float z)
  3417. - void SetTransform(const Vector3& position, const Quaternion& rotation)
  3418. - void SetTransform(const Vector3& position, const Quaternion& rotation, float scale)
  3419. - void SetTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  3420. - void SetWorldPosition(const Vector3& position)
  3421. - void SetWorldPositionXYZ(float x, float y, float z)
  3422. - void SetWorldRotation(const Quaternion& rotation)
  3423. - void SetWorldRotationXYZ(float x, float y, float z)
  3424. - void SetWorldDirection(const Vector3& direction)
  3425. - void SetWorldDirectionXYZ(float x, float y, float z)
  3426. - void SetWorldScale(float scale)
  3427. - void SetWorldScale(const Vector3& scale)
  3428. - void SetWorldScaleXYZ(float x, float y, float z)
  3429. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation)
  3430. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, float scale)
  3431. - void SetWorldTransform(const Vector3& position, const Quaternion& rotation, const Vector3& scale)
  3432. - void Translate(const Vector3& delta)
  3433. - void TranslateXYZ(float x, float y, float z)
  3434. - void TranslateRelative(const Vector3& delta)
  3435. - void TranslateRelativeXYZ(float x, float y, float z)
  3436. - void Rotate(const Quaternion& delta, bool fixedAxis = false)
  3437. - void RotateXYZ(float x, float y, float z, bool fixedAxis = false)
  3438. - void Pitch(float angle, bool fixedAxis = false)
  3439. - void Yaw(float angle, bool fixedAxis = false)
  3440. - void Roll(float angle, bool fixedAxis = false)
  3441. - void LookAt(const Vector3& target, const Vector3& upAxis = Vector3::UP)
  3442. - void LookAtXYZ(float x, float y, float z, float upX = 0.0f, float upY = 1.0f, float upZ = 0.0f)
  3443. - void Scale(float scale)
  3444. - void Scale(const Vector3& scale)
  3445. - void ScaleXYZ(float x, float y, float z)
  3446. - void SetEnabled(bool enable)
  3447. - void SetEnabled(bool enable, bool recursive)
  3448. - void SetOwner(Connection* owner)
  3449. - void MarkDirty()
  3450. - Node* CreateChild(const String name = String::EMPTY, CreateMode mode = REPLICATED, unsigned id = 0)
  3451. - void AddChild(Node* node)
  3452. - void RemoveChild(Node* node)
  3453. - void RemoveAllChildren()
  3454. - void RemoveChildren(bool removeReplicated, bool removeLocal, bool recursive)
  3455. - void RemoveComponent(Component* component)
  3456. - void RemoveComponent(ShortStringHash type)
  3457. - void RemoveComponent(const String type)
  3458. - void RemoveAllComponents()
  3459. - void RemoveComponents(bool removeReplicated, bool removeLocal)
  3460. - Node* Clone(CreateMode mode = REPLICATED)
  3461. - void Remove()
  3462. - void SetParent(Node* parent)
  3463. - void SetVar(ShortStringHash key, const Variant& value)
  3464. - void AddListener(Component* component)
  3465. - void RemoveListener(Component* component)
  3466. - Component* CreateComponent(const String type, CreateMode mode = REPLICATED, unsigned id = 0)
  3467. - unsigned GetID() const
  3468. - const String& GetName() const
  3469. - StringHash GetNameHash() const
  3470. - Node* GetParent() const
  3471. - Scene* GetScene() const
  3472. - bool IsEnabled() const
  3473. - Connection* GetOwner() const
  3474. - const Vector3& GetPosition() const
  3475. - void GetPositionXYZ(float* x = 0.0f, float* y = 0.0f, float* z = 0.0f) const
  3476. - const Quaternion& GetRotation() const
  3477. - void GetRotationXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
  3478. - void GetRotationWXYZ(float* *w = 0.0f, float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
  3479. - Vector3 GetDirection() const
  3480. - void GetDirectionXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
  3481. - const Vector3& GetScale() const
  3482. - void GetScaleXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
  3483. - Matrix3x4 GetTransform() const
  3484. - Vector3 GetWorldPosition() const
  3485. - void GetWorldPositionXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
  3486. - Quaternion GetWorldRotation() const
  3487. - void GetWorldRotationXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
  3488. - void GetWorldRotationWXYZ(float* *w = 0.0f, float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
  3489. - Vector3 GetWorldDirection() const
  3490. - void GetWorldDirectionXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
  3491. - Vector3 GetWorldScale() const
  3492. - void GetWorldScaleXYZ(float* *x = 0.0f, float* *y = 0.0f, float* *z = 0.0f) const
  3493. - const Matrix3x4& GetWorldTransform() const
  3494. - Vector3 LocalToWorld(const Vector3& position) const
  3495. - Vector3 LocalToWorld(const Vector4& vector) const
  3496. - Vector3 WorldToLocal(const Vector3& position) const
  3497. - Vector3 WorldToLocal(const Vector4& vector) const
  3498. - bool IsDirty() const
  3499. - unsigned GetNumChildren(bool recursive = false) const
  3500. - Node* GetChild(unsigned index) const
  3501. - Node* GetChild(const String name, bool recursive = false) const
  3502. - Node* GetChild(StringHash nameHash, bool recursive = false) const
  3503. - unsigned GetNumComponents() const
  3504. - unsigned GetNumNetworkComponents() const
  3505. - bool HasComponent(ShortStringHash type) const
  3506. - bool HasComponent(const String type) const
  3507. - const Variant& GetVar(ShortStringHash key) const
  3508. - const VariantMap& GetVars() const
  3509. - Component* GetComponent(const String type) const
  3510. - void SetID(unsigned id)
  3511. - void SetScene(Scene* scene)
  3512. - void ResetScene()
  3513. - bool Load(Deserializer& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  3514. - bool LoadXML(const XMLElement& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  3515. - Node* CreateChild(unsigned id, CreateMode mode)
  3516. - void AddComponent(Component* component, unsigned id, CreateMode mode)
  3517. Properties:<br>
  3518. - unsigned ID
  3519. - String& name
  3520. - StringHash nameHash (readonly)
  3521. - Node* parent
  3522. - Scene* scene
  3523. - bool enabled
  3524. - Connection* owner
  3525. - Vector3& position
  3526. - Quaternion& rotation
  3527. - Vector3 direction
  3528. - Vector3& scale
  3529. - Matrix3x4 transform (readonly)
  3530. - Vector3 worldPosition
  3531. - Quaternion worldRotation
  3532. - Vector3 worldDirection
  3533. - Vector3 worldScale
  3534. - Matrix3x4& worldTransform (readonly)
  3535. - bool dirty (readonly)
  3536. - unsigned numComponents (readonly)
  3537. - unsigned numNetworkComponents (readonly)
  3538. Scene : Node
  3539. Methods:<br>
  3540. - Scene(Context* context)
  3541. - virtual ~Scene()
  3542. - bool LoadXML(File* source)
  3543. - bool SaveXML(File* dest) const
  3544. - bool LoadAsync(File* file)
  3545. - bool LoadAsyncXML(File* file)
  3546. - void StopAsyncLoading()
  3547. - void Clear(bool clearReplicated = true, bool clearLocal = true)
  3548. - void SetUpdateEnabled(bool enable)
  3549. - void SetTimeScale(float scale)
  3550. - void SetElapsedTime(float time)
  3551. - void SetSmoothingConstant(float constant)
  3552. - void SetSnapThreshold(float threshold)
  3553. - bool IsUpdateEnabled() const
  3554. - bool IsAsyncLoading() const
  3555. - float GetAsyncProgress() const
  3556. - const String& GetFileName() const
  3557. - unsigned GetChecksum() const
  3558. - float GetTimeScale() const
  3559. - float GetElapsedTime() const
  3560. - float GetSmoothingConstant() const
  3561. - float GetSnapThreshold() const
  3562. - const String& GetVarName(ShortStringHash hash) const
  3563. - void Update(float timeStep)
  3564. - void BeginThreadedUpdate()
  3565. - void EndThreadedUpdate()
  3566. - void DelayedMarkedDirty(Component* component)
  3567. - bool IsThreadedUpdate() const
  3568. - unsigned GetFreeNodeID(CreateMode mode)
  3569. - unsigned GetFreeComponentID(CreateMode mode)
  3570. - void NodeAdded(Node* node)
  3571. - void NodeRemoved(Node* node)
  3572. - void ComponentAdded(Component* component)
  3573. - void ComponentRemoved(Component* component)
  3574. - void SetVarNamesAttr(String value)
  3575. - String GetVarNamesAttr() const
  3576. - void PrepareNetworkUpdate()
  3577. - void CleanupConnection(Connection* connection)
  3578. - void MarkNetworkUpdate(Node* node)
  3579. - void MarkNetworkUpdate(Component* component)
  3580. - void MarkReplicationDirty(Node* node)
  3581. Properties:<br>
  3582. - bool updateEnabled
  3583. - bool asyncLoading (readonly)
  3584. - float asyncProgress (readonly)
  3585. - const String fileName
  3586. - unsigned checksum (readonly)
  3587. - float timeScale
  3588. - float elapsedTime
  3589. - float smoothingConstant
  3590. - float snapThreshold
  3591. - bool threadedUpdate (readonly)
  3592. - String varNamesAttr
  3593. Serializable : Object
  3594. Methods:<br>
  3595. - void SetTemporary(bool enable)
  3596. - bool IsTemporary() const
  3597. Properties:<br>
  3598. - bool temporary
  3599. BorderImage : UIElement
  3600. Methods:<br>
  3601. - BorderImage(Context* context)
  3602. - virtual ~BorderImage()
  3603. - void SetTexture(Texture* texture)
  3604. - void SetImageRect(const IntRect& rect)
  3605. - void SetFullImageRect()
  3606. - void SetBorder(const IntRect& rect)
  3607. - void SetHoverOffset(const IntVector2& offset)
  3608. - void SetHoverOffset(int x, int y)
  3609. - void SetBlendMode(BlendMode mode)
  3610. - void SetTiled(bool enable)
  3611. - Texture* GetTexture() const
  3612. - const IntRect& GetImageRect() const
  3613. - const IntRect& GetBorder() const
  3614. - const IntVector2& GetHoverOffset() const
  3615. - BlendMode GetBlendMode() const
  3616. - bool IsTiled() const
  3617. - void SetTextureAttr(ResourceRef value)
  3618. - ResourceRef GetTextureAttr() const
  3619. Properties:<br>
  3620. - Texture* texture
  3621. - IntRect& imageRect
  3622. - IntRect& border
  3623. - IntVector2& hoverOffset
  3624. - BlendMode blendMode
  3625. - bool tiled
  3626. - ResourceRef textureAttr
  3627. Button : BorderImage
  3628. Methods:<br>
  3629. - Button(Context* context)
  3630. - virtual ~Button()
  3631. - void SetPressedOffset(const IntVector2& offset)
  3632. - void SetPressedOffset(int x, int y)
  3633. - void SetPressedChildOffset(const IntVector2& offset)
  3634. - void SetPressedChildOffset(int x, int y)
  3635. - void SetRepeat(float delay, float rate)
  3636. - void SetRepeatDelay(float delay)
  3637. - void SetRepeatRate(float rate)
  3638. - const IntVector2& GetPressedOffset() const
  3639. - const IntVector2& GetPressedChildOffset() const
  3640. - float GetRepeatDelay() const
  3641. - float GetRepeatRate() const
  3642. - bool IsPressed() const
  3643. Properties:<br>
  3644. - IntVector2& pressedOffset
  3645. - IntVector2& pressedChildOffset
  3646. - float repeatDelay
  3647. - float repeatRate
  3648. - bool pressed (readonly)
  3649. CheckBox : BorderImage
  3650. Methods:<br>
  3651. - CheckBox(Context* context)
  3652. - virtual ~CheckBox()
  3653. - void SetChecked(bool enable)
  3654. - void SetCheckedOffset(const IntVector2& rect)
  3655. - void SetCheckedOffset(int x, int y)
  3656. - bool IsChecked() const
  3657. - const IntVector2& GetCheckedOffset() const
  3658. Properties:<br>
  3659. - bool checked
  3660. - IntVector2& checkedOffset
  3661. Cursor : BorderImage
  3662. Methods:<br>
  3663. - Cursor(Context* context)
  3664. - virtual ~Cursor()
  3665. - void DefineShape(CursorShape shape, Image* image, const IntRect& imageRect, const IntVector2& hotSpot)
  3666. - void SetShape(CursorShape shape)
  3667. - void SetUseSystemShapes(bool enable)
  3668. - CursorShape GetShape() const
  3669. - bool GetUseSystemShapes() const
  3670. Properties:<br>
  3671. - CursorShape shape
  3672. - bool useSystemShapes
  3673. DropDownList : Menu
  3674. Methods:<br>
  3675. - DropDownList(Context* context)
  3676. - ~DropDownList()
  3677. - void AddItem(UIElement* item)
  3678. - void InsertItem(unsigned index, UIElement* item)
  3679. - void RemoveItem(UIElement* item)
  3680. - void RemoveItem(unsigned index)
  3681. - void RemoveAllItems()
  3682. - void SetSelection(unsigned index)
  3683. - void SetPlaceholderText(const String text)
  3684. - void SetResizePopup(bool enable)
  3685. -
  3686. - unsigned GetNumItems() const
  3687. - UIElement* GetItem(unsigned index) const
  3688. - unsigned GetSelection() const
  3689. - UIElement* GetSelectedItem() const
  3690. - ListView* GetListView() const
  3691. - UIElement* GetPlaceholder() const
  3692. - const String& GetPlaceholderText() const
  3693. - bool GetResizePopup() const
  3694. - void SetSelectionAttr(unsigned index)
  3695. Properties:<br>
  3696. - unsigned numItems (readonly)
  3697. - unsigned selection
  3698. - UIElement* selectedItem (readonly)
  3699. - ListView* listView (readonly)
  3700. - UIElement* placeholder (readonly)
  3701. - String& placeholderText
  3702. - bool resizePopup
  3703. FileSelectorEntry
  3704. Methods:<br>
  3705. - String name
  3706. - bool directory
  3707. FileSelector : Object
  3708. Methods:<br>
  3709. - FileSelector(Context* context)
  3710. - virtual ~FileSelector()
  3711. - void SetDefaultStyle(XMLFile* style)
  3712. - void SetTitle(const String text)
  3713. - void SetButtonTexts(const String okText, const String cancelText)
  3714. - void SetPath(const String path)
  3715. - void SetFileName(const String fileName)
  3716. - void SetDirectoryMode(bool enable)
  3717. - void UpdateElements()
  3718. - XMLFile* GetDefaultStyle() const
  3719. - Window* GetWindow() const
  3720. - Text* GetTitleText() const
  3721. - ListView* GetFileList() const
  3722. - LineEdit* GetPathEdit() const
  3723. - LineEdit* GetFileNameEdit() const
  3724. - DropDownList* GetFilterList() const
  3725. - Button* GetOKButton() const
  3726. - Button* GetCancelButton() const
  3727. - Button* GetCloseButton() const
  3728. - const String& GetTitle() const
  3729. - const String& GetPath() const
  3730. - const String& GetFileName() const
  3731. - const String& GetFilter() const
  3732. - unsigned GetFilterIndex() const
  3733. - bool GetDirectoryMode() const
  3734. Properties:<br>
  3735. - XMLFile* defaultStyle
  3736. - Window* window (readonly)
  3737. - Text* titleText (readonly)
  3738. - ListView* fileList (readonly)
  3739. - LineEdit* pathEdit (readonly)
  3740. - LineEdit* fileNameEdit (readonly)
  3741. - DropDownList* filterList (readonly)
  3742. - Button* OKButton (readonly)
  3743. - Button* cancelButton (readonly)
  3744. - Button* closeButton (readonly)
  3745. - String& title
  3746. - String& path
  3747. - String& fileName
  3748. - String& filter (readonly)
  3749. - unsigned filterIndex (readonly)
  3750. - bool directoryMode
  3751. Font : Resource
  3752. Methods:<br>
  3753. LineEdit : BorderImage
  3754. Methods:<br>
  3755. - LineEdit(Context* context)
  3756. - virtual ~LineEdit()
  3757. - void SetText(const String text)
  3758. - void SetCursorPosition(unsigned position)
  3759. - void SetCursorBlinkRate(float rate)
  3760. - void SetMaxLength(unsigned length)
  3761. - void SetEchoCharacter(unsigned c)
  3762. - void SetCursorMovable(bool enable)
  3763. - void SetTextSelectable(bool enable)
  3764. - void SetTextCopyable(bool enable)
  3765. - const String& GetText() const
  3766. - unsigned GetCursorPosition() const
  3767. - float GetCursorBlinkRate() const
  3768. - unsigned GetMaxLength() const
  3769. - unsigned GetEchoCharacter() const
  3770. - bool IsCursorMovable() const
  3771. - bool IsTextSelectable() const
  3772. - bool IsTextCopyable() const
  3773. - Text* GetTextElement() const
  3774. - BorderImage* GetCursor() const
  3775. Properties:<br>
  3776. - String& text
  3777. - unsigned cursorPosition
  3778. - float cursorBlinkRate
  3779. - unsigned maxLength
  3780. - unsigned echoCharacter
  3781. - bool cursorMovable
  3782. - bool textSelectable
  3783. - bool textCopyable
  3784. - Text* textElement (readonly)
  3785. - BorderImage* cursor (readonly)
  3786. ListView : ScrollView
  3787. Methods:<br>
  3788. - ListView(Context* context)
  3789. - virtual ~ListView()
  3790. - void AddItem(UIElement* item)
  3791. - void InsertItem(unsigned index, UIElement* item, UIElement* parentItem = 0)
  3792. - void RemoveItem(UIElement* item, unsigned index = 0)
  3793. - void RemoveItem(unsigned index)
  3794. - void RemoveAllItems()
  3795. - void SetSelection(unsigned index)
  3796. - void AddSelection(unsigned index)
  3797. - void RemoveSelection(unsigned index)
  3798. - void ToggleSelection(unsigned index)
  3799. - void ChangeSelection(int delta, bool additive = false)
  3800. - void ClearSelection()
  3801. - void SetHighlightMode(HighlightMode mode)
  3802. - void SetMultiselect(bool enable)
  3803. - void SetHierarchyMode(bool enable)
  3804. - void SetBaseIndent(int baseIndent)
  3805. - void SetClearSelectionOnDefocus(bool enable)
  3806. - void Expand(unsigned index, bool enable, bool recursive = false)
  3807. - void ToggleExpand(unsigned index, bool recursive = false)
  3808. - unsigned GetNumItems() const
  3809. - UIElement* GetItem(unsigned index) const
  3810. - unsigned FindItem(UIElement* item) const
  3811. - unsigned GetSelection() const
  3812. - UIElement* GetSelectedItem() const
  3813. - bool IsSelected(unsigned index) const
  3814. - bool IsExpanded(unsigned index) const
  3815. - HighlightMode GetHighlightMode() const
  3816. - bool GetMultiselect() const
  3817. - bool GetClearSelectionOnDefocus() const
  3818. - bool GetHierarchyMode() const
  3819. - int GetBaseIndent() const
  3820. Properties:<br>
  3821. - unsigned numItems (readonly)
  3822. - unsigned selection
  3823. - UIElement* selectedItem (readonly)
  3824. - HighlightMode highlightMode
  3825. - bool multiselect
  3826. - bool clearSelectionOnDefocus
  3827. - bool hierarchyMode
  3828. - int baseIndent
  3829. Menu : Button
  3830. Methods:<br>
  3831. - Menu(Context* context)
  3832. - virtual ~Menu()
  3833. - void SetPopup(UIElement* element)
  3834. - void SetPopupOffset(const IntVector2& offset)
  3835. - void SetPopupOffset(int x, int y)
  3836. - void ShowPopup(bool enable)
  3837. - void SetAccelerator(int key, int qualifiers)
  3838. - UIElement* GetPopup() const
  3839. - const IntVector2& GetPopupOffset() const
  3840. - bool GetShowPopup() const
  3841. - int GetAcceleratorKey() const
  3842. - int GetAcceleratorQualifiers() const
  3843. Properties:<br>
  3844. - UIElement* popup
  3845. - IntVector2& popupOffset
  3846. - bool showPopup
  3847. - int acceleratorKey (readonly)
  3848. - int acceleratorQualifiers (readonly)
  3849. ScrollBar : UIElement
  3850. Methods:<br>
  3851. - ScrollBar(Context* context)
  3852. - virtual ~ScrollBar()
  3853. - void SetOrientation(Orientation orientation)
  3854. - void SetRange(float range)
  3855. - void SetValue(float value)
  3856. - void ChangeValue(float delta)
  3857. - void SetScrollStep(float step)
  3858. - void SetStepFactor(float factor)
  3859. - void StepBack()
  3860. - void StepForward()
  3861. - Orientation GetOrientation() const
  3862. - float GetRange() const
  3863. - float GetValue() const
  3864. - float GetScrollStep() const
  3865. - float GetStepFactor() const
  3866. - float GetEffectiveScrollStep() const
  3867. - Button* GetBackButton() const
  3868. - Button* GetForwardButton() const
  3869. - Slider* GetSlider() const
  3870. Properties:<br>
  3871. - Orientation orientation
  3872. - float range
  3873. - float value
  3874. - float scrollStep
  3875. - float stepFactor
  3876. - float effectiveScrollStep (readonly)
  3877. - Button* backButton (readonly)
  3878. - Button* forwardButton (readonly)
  3879. - Slider* slider (readonly)
  3880. ScrollView : UIElement
  3881. Methods:<br>
  3882. - ScrollView(Context* context)
  3883. - virtual ~ScrollView()
  3884. - void SetContentElement(UIElement* element)
  3885. - void SetViewPosition(const IntVector2& position)
  3886. - void SetViewPosition(int x, int y)
  3887. - void SetScrollBarsVisible(bool horizontal, bool vertical)
  3888. - void SetScrollBarsAutoVisible(bool enable)
  3889. - void SetScrollStep(float step)
  3890. - void SetPageStep(float step)
  3891. - const IntVector2& GetViewPosition() const
  3892. - UIElement* GetContentElement() const
  3893. - ScrollBar* GetHorizontalScrollBar() const
  3894. - ScrollBar* GetVerticalScrollBar() const
  3895. - BorderImage* GetScrollPanel() const
  3896. - bool GetScrollBarsAutoVisible() const
  3897. - float GetScrollStep() const
  3898. - float GetPageStep() const
  3899. - void SetViewPositionAttr(const IntVector2& value)
  3900. Properties:<br>
  3901. - IntVector2& viewPosition
  3902. - UIElement* contentElement
  3903. - ScrollBar* horizontalScrollBar (readonly)
  3904. - ScrollBar* verticalScrollBar (readonly)
  3905. - BorderImage* scrollPanel (readonly)
  3906. - bool scrollBarsAutoVisible
  3907. - float scrollStep
  3908. - float pageStep
  3909. Slider : BorderImage
  3910. Methods:<br>
  3911. - Slider(Context* context)
  3912. - virtual ~Slider()
  3913. - void SetOrientation(Orientation orientation)
  3914. - void SetRange(float range)
  3915. - void SetValue(float value)
  3916. - void ChangeValue(float delta)
  3917. - void SetRepeatRate(float rate)
  3918. - Orientation GetOrientation() const
  3919. - float GetRange() const
  3920. - float GetValue() const
  3921. - BorderImage* GetKnob() const
  3922. - float GetRepeatRate() const
  3923. Properties:<br>
  3924. - Orientation orientation
  3925. - float range
  3926. - float value
  3927. - BorderImage* knob (readonly)
  3928. - float repeatRate
  3929. Sprite : UIElement
  3930. Methods:<br>
  3931. - Sprite(Context* context)
  3932. - virtual ~Sprite()
  3933. - void SetPosition(const Vector2& position)
  3934. - void SetPosition(float x, float y)
  3935. - void SetHotSpot(const IntVector2& hotSpot)
  3936. - void SetHotSpot(int x, int y)
  3937. - void SetScale(const Vector2& scale)
  3938. - void SetScale(float x, float y)
  3939. - void SetScale(float scale)
  3940. - void SetRotation(float angle)
  3941. - void SetTexture(Texture* texture)
  3942. - void SetImageRect(const IntRect& rect)
  3943. - void SetFullImageRect()
  3944. - void SetBlendMode(BlendMode mode)
  3945. - const Vector2& GetPosition() const
  3946. - const IntVector2& GetHotSpot() const
  3947. - const Vector2& GetScale() const
  3948. - float GetRotation() const
  3949. - Texture* GetTexture() const
  3950. - const IntRect& GetImageRect() const
  3951. - BlendMode GetBlendMode() const
  3952. - void SetTextureAttr(ResourceRef value)
  3953. - ResourceRef GetTextureAttr() const
  3954. - const Matrix3x4& GetTransform() const
  3955. Properties:<br>
  3956. - Vector2& position
  3957. - IntVector2& hotSpot
  3958. - Vector2& scale
  3959. - float rotation
  3960. - Texture* texture
  3961. - IntRect& imageRect
  3962. - BlendMode blendMode
  3963. - ResourceRef textureAttr
  3964. - Matrix3x4& transform (readonly)
  3965. Text : UIElement
  3966. Methods:<br>
  3967. - Text(Context* context)
  3968. - virtual ~Text()
  3969. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  3970. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  3971. - void SetText(const String text)
  3972. - void SetTextAlignment(HorizontalAlignment align)
  3973. - void SetRowSpacing(float spacing)
  3974. - void SetWordwrap(bool enable)
  3975. - void SetSelection(unsigned start, unsigned length = M_MAX_UNSIGNED)
  3976. - void ClearSelection()
  3977. - void SetSelectionColor(const Color& color)
  3978. - void SetHoverColor(const Color& color)
  3979. - Font* GetFont() const
  3980. - int GetFontSize() const
  3981. - const String& GetText() const
  3982. - HorizontalAlignment GetTextAlignment() const
  3983. - float GetRowSpacing() const
  3984. - bool GetWordwrap() const
  3985. - unsigned GetSelectionStart() const
  3986. - unsigned GetSelectionLength() const
  3987. - const Color& GetSelectionColor() const
  3988. - const Color& GetHoverColor() const
  3989. - int GetRowHeight() const
  3990. - unsigned GetNumRows() const
  3991. - void SetFontAttr(ResourceRef value)
  3992. - ResourceRef GetFontAttr() const
  3993. Properties:<br>
  3994. - Font* font
  3995. - int fontSize (readonly)
  3996. - String& text
  3997. - HorizontalAlignment textAlignment
  3998. - float rowSpacing
  3999. - bool wordwrap
  4000. - unsigned selectionStart (readonly)
  4001. - unsigned selectionLength (readonly)
  4002. - Color& selectionColor
  4003. - Color& hoverColor
  4004. - int rowHeight (readonly)
  4005. - unsigned numRows (readonly)
  4006. - ResourceRef fontAttr
  4007. Text3D : Drawable
  4008. Methods:<br>
  4009. - Text3D(Context* context)
  4010. - ~Text3D()
  4011. - bool SetFont(const String fontName, int size = DEFAULT_FONT_SIZE)
  4012. - bool SetFont(Font* font, int size = DEFAULT_FONT_SIZE)
  4013. - bool SetFont(Font* font)
  4014. - void SetMaterial(Material* material)
  4015. - void SetText(const String text)
  4016. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4017. - void SetHorizontalAlignment(HorizontalAlignment align)
  4018. - void SetVerticalAlignment(VerticalAlignment align)
  4019. - void SetTextAlignment(HorizontalAlignment align)
  4020. - void SetRowSpacing(float spacing)
  4021. - void SetWordwrap(bool enable)
  4022. - void SetWidth(int width)
  4023. - void SetColor(const Color& color)
  4024. - void SetColor(Corner corner, const Color& color)
  4025. - void SetOpacity(float opacity)
  4026. - void SetFaceCamera(bool enable)
  4027. - Font* GetFont() const
  4028. - Material* GetMaterial() const
  4029. - int GetFontSize() const
  4030. - const String& GetText() const
  4031. - HorizontalAlignment GetTextAlignment() const
  4032. - HorizontalAlignment GetHorizontalAlignment() const
  4033. - VerticalAlignment GetVerticalAlignment() const
  4034. - float GetRowSpacing() const
  4035. - bool GetWordwrap() const
  4036. - int GetWidth() const
  4037. - int GetRowHeight() const
  4038. - unsigned GetNumRows() const
  4039. - const Color& GetColor(Corner corner) const
  4040. - float GetOpacity() const
  4041. - bool GetFaceCamera() const
  4042. - void SetFontAttr(ResourceRef value)
  4043. - ResourceRef GetFontAttr() const
  4044. - void SetMaterialAttr(ResourceRef value)
  4045. - ResourceRef GetMaterialAttr() const
  4046. - const Color& GetColorAttr() const
  4047. Properties:<br>
  4048. - Font* font
  4049. - Material* material
  4050. - int fontSize (readonly)
  4051. - String& text
  4052. - HorizontalAlignment textAlignment
  4053. - HorizontalAlignment horizontalAlignment
  4054. - VerticalAlignment verticalAlignment
  4055. - float rowSpacing
  4056. - bool wordwrap
  4057. - int width
  4058. - int rowHeight (readonly)
  4059. - unsigned numRows (readonly)
  4060. - float opacity
  4061. - bool faceCamera
  4062. - ResourceRef fontAttr
  4063. - ResourceRef materialAttr
  4064. - Color& colorAttr (readonly)
  4065. UI : Object
  4066. Methods:<br>
  4067. - void SetCursor(Cursor* cursor)
  4068. - void SetFocusElement(UIElement* element)
  4069. - bool SetModalElement(UIElement* modalElement, bool enable)
  4070. - void Clear()
  4071. - void Update(float timeStep)
  4072. - void RenderUpdate()
  4073. - void Render()
  4074. - void DebugDraw(UIElement* element)
  4075. - bool SaveLayout(Serializer& dest, UIElement* element)
  4076. - void SetClipBoardText(const String text)
  4077. - void SetDoubleClickInterval(float interval)
  4078. - void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel)
  4079. - UIElement* GetRoot() const
  4080. - UIElement* GetRootModalElement() const
  4081. - Cursor* GetCursor() const
  4082. - UIElement* GetElementAt(const IntVector2& position, bool enabledOnly = true)
  4083. - UIElement* GetElementAt(int x, int y, bool enabledOnly = true)
  4084. - UIElement* GetFocusElement() const
  4085. - UIElement* GetFrontElement() const
  4086. - IntVector2 GetCursorPosition() const
  4087. - const String& GetClipBoardText() const
  4088. - float GetDoubleClickInterval() const
  4089. - bool IsNonFocusedMouseWheel() const
  4090. - bool HasModalElement() const
  4091. Properties:<br>
  4092. - UIElement* root (readonly)
  4093. - UIElement* rootModalElement (readonly)
  4094. - Cursor* cursor
  4095. - UIElement* focusElement (readonly)
  4096. - UIElement* frontElement (readonly)
  4097. - IntVector2 cursorPosition (readonly)
  4098. - String& clipBoardText
  4099. - float doubleClickInterval
  4100. - bool nonFocusedMouseWheel (readonly)
  4101. - bool modalElement (readonly)
  4102. UIElement : Serializable
  4103. Methods:<br>
  4104. - UIElement(Context* context)
  4105. - virtual ~UIElement()
  4106. - virtual const IntVector2& GetScreenPosition() const
  4107. - bool LoadXML(Deserializer& source)
  4108. - bool SaveXML(Serializer& dest) const
  4109. - bool FilterAttributes(XMLElement& dest) const
  4110. - void SetName(const String name)
  4111. - void SetPosition(const IntVector2& position)
  4112. - void SetPosition(int x, int y)
  4113. - void SetSize(const IntVector2& size)
  4114. - void SetSize(int width, int height)
  4115. - void SetWidth(int width)
  4116. - void SetHeight(int height)
  4117. - void SetMinSize(const IntVector2& minSize)
  4118. - void SetMinSize(int width, int height)
  4119. - void SetMinWidth(int width)
  4120. - void SetMinHeight(int height)
  4121. - void SetMaxSize(const IntVector2& maxSize)
  4122. - void SetMaxSize(int width, int height)
  4123. - void SetMaxWidth(int width)
  4124. - void SetMaxHeight(int height)
  4125. - void SetFixedSize(const IntVector2& size)
  4126. - void SetFixedSize(int width, int height)
  4127. - void SetFixedWidth(int width)
  4128. - void SetFixedHeight(int height)
  4129. - void SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign)
  4130. - void SetHorizontalAlignment(HorizontalAlignment align)
  4131. - void SetVerticalAlignment(VerticalAlignment align)
  4132. - void SetClipBorder(const IntRect& rect)
  4133. - void SetColor(const Color& color)
  4134. - void SetColor(Corner corner, const Color& color)
  4135. - void SetPriority(int priority)
  4136. - void SetOpacity(float opacity)
  4137. - void SetBringToFront(bool enable)
  4138. - void SetBringToBack(bool enable)
  4139. - void SetClipChildren(bool enable)
  4140. - void SetSortChildren(bool enable)
  4141. - void SetUseDerivedOpacity(bool enable)
  4142. - void SetEnabled(bool enable)
  4143. - void SetFocus(bool enable)
  4144. - void SetSelected(bool enable)
  4145. - void SetVisible(bool enable)
  4146. - void SetFocusMode(FocusMode mode)
  4147. - void SetDragDropMode(unsigned mode)
  4148. - bool SetStyle(const String styleName, XMLFile* file = 0)
  4149. - bool SetStyle(const XMLElement& element)
  4150. - bool SetStyleAuto(XMLFile* file = 0)
  4151. - void SetDefaultStyle(XMLFile* style)
  4152. - void SetLayout(LayoutMode mode, int spacing = 0, const IntRect& border = IntRect::ZERO)
  4153. - void SetLayoutMode(LayoutMode mode)
  4154. - void SetLayoutSpacing(int spacing)
  4155. - void SetLayoutBorder(const IntRect& border)
  4156. - void SetIndent(int indent)
  4157. - void SetIndentSpacing(int indentSpacing)
  4158. - void UpdateLayout()
  4159. - void DisableLayoutUpdate()
  4160. - void EnableLayoutUpdate()
  4161. - void BringToFront()
  4162. - UIElement* CreateChild(const String type, const String name = String::EMPTY, unsigned index = M_MAX_UNSIGNED)
  4163. - void AddChild(UIElement* element)
  4164. - void InsertChild(unsigned index, UIElement* element)
  4165. - void RemoveChild(UIElement* element, unsigned index = 0)
  4166. - void RemoveChild(unsigned index)
  4167. - void RemoveAllChildren()
  4168. - void Remove()
  4169. - unsigned FindChild(UIElement* element) const
  4170. - void SetParent(UIElement* parent, unsigned index = M_MAX_UNSIGNED)
  4171. - void SetInternal(bool enable)
  4172. - void SetTraversalMode(TraversalMode traversalMode)
  4173. - void SetElementEventSender(bool flag)
  4174. - const String& GetName() const
  4175. - const IntVector2& GetPosition() const
  4176. - const IntVector2& GetSize() const
  4177. - int GetWidth() const
  4178. - int GetHeight() const
  4179. - const IntVector2& GetMinSize() const
  4180. - int GetMinWidth() const
  4181. - int GetMinHeight() const
  4182. - const IntVector2& GetMaxSize() const
  4183. - int GetMaxWidth() const
  4184. - int GetMaxHeight() const
  4185. - bool IsFixedSize() const
  4186. - bool IsFixedWidth() const
  4187. - bool IsFixedHeight() const
  4188. - const IntVector2& GetChildOffset() const
  4189. - HorizontalAlignment GetHorizontalAlignment() const
  4190. - VerticalAlignment GetVerticalAlignment() const
  4191. - const IntRect& GetClipBorder() const
  4192. - const Color& GetColor(Corner corner) const
  4193. - int GetPriority() const
  4194. - float GetOpacity() const
  4195. - float GetDerivedOpacity() const
  4196. - bool GetBringToFront() const
  4197. - bool GetBringToBack() const
  4198. - bool GetClipChildren() const
  4199. - bool GetSortChildren() const
  4200. - bool GetUseDerivedOpacity() const
  4201. - bool HasFocus() const
  4202. - bool IsEnabled() const
  4203. - bool IsSelected() const
  4204. - bool IsVisible() const
  4205. - bool IsHovering() const
  4206. - bool IsInternal() const
  4207. - bool HasColorGradient() const
  4208. - FocusMode GetFocusMode() const
  4209. - unsigned GetDragDropMode() const
  4210. - const String& GetAppliedStyle() const
  4211. - XMLFile* GetDefaultStyle(bool recursiveUp = true) const
  4212. - LayoutMode GetLayoutMode() const
  4213. - int GetLayoutSpacing() const
  4214. - const IntRect& GetLayoutBorder() const
  4215. - unsigned GetNumChildren(bool recursive = false) const
  4216. - UIElement* GetChild(unsigned index) const
  4217. - UIElement* GetChild(const String name, bool recursive = false) const
  4218. - UIElement* GetParent() const
  4219. - UIElement* GetRoot() const
  4220. - const Color& GetDerivedColor() const
  4221. - IntVector2 ScreenToElement(const IntVector2& screenPosition)
  4222. - IntVector2 ElementToScreen(const IntVector2& position)
  4223. - bool IsInside(IntVector2 position, bool isScreen)
  4224. - bool IsInsideCombined(IntVector2 position, bool isScreen)
  4225. - IntRect GetCombinedScreenRect()
  4226. - void SortChildren()
  4227. - int GetLayoutMinSize() const
  4228. - int GetIndent() const
  4229. - int GetIndentSpacing() const
  4230. - int GetIndentWidth() const
  4231. - void SetChildOffset(const IntVector2& offset)
  4232. - void SetHovering(bool enable)
  4233. - const Color& GetColorAttr() const
  4234. - TraversalMode GetTraversalMode() const
  4235. - bool IsElementEventSender() const
  4236. - UIElement* GetElementEventSender() const
  4237. Properties:<br>
  4238. - IntVector2& screenPosition (readonly)
  4239. - String& name
  4240. - IntVector2& position
  4241. - IntVector2 size
  4242. - int width
  4243. - int height
  4244. - IntVector2 minSize
  4245. - int minWidth
  4246. - int minHeight
  4247. - IntVector2 maxSize
  4248. - int maxWidth
  4249. - int maxHeight
  4250. - bool fixedSize (readonly)
  4251. - bool fixedWidth (readonly)
  4252. - bool fixedHeight (readonly)
  4253. - IntVector2& childOffset
  4254. - HorizontalAlignment horizontalAlignment
  4255. - VerticalAlignment verticalAlignment
  4256. - IntRect clipBorder
  4257. - int priority
  4258. - float opacity
  4259. - float derivedOpacity (readonly)
  4260. - bool bringToFront
  4261. - bool bringToBack
  4262. - bool clipChildren
  4263. - bool sortChildren
  4264. - bool useDerivedOpacity
  4265. - bool focus
  4266. - bool enabled
  4267. - bool selected
  4268. - bool visible
  4269. - bool hovering
  4270. - bool internal
  4271. - bool colorGradient (readonly)
  4272. - FocusMode focusMode
  4273. - unsigned dragDropMode
  4274. - String& style
  4275. - XMLFile* defaultStyle
  4276. - LayoutMode layoutMode
  4277. - int layoutSpacing
  4278. - IntRect& layoutBorder
  4279. - unsigned numChildren (readonly)
  4280. - UIElement* parent
  4281. - UIElement* root (readonly)
  4282. - Color& derivedColor (readonly)
  4283. - IntRect combinedScreenRect (readonly)
  4284. - int layoutMinSize (readonly)
  4285. - int indent
  4286. - int indentSpacing
  4287. - int indentWidth (readonly)
  4288. - Color& colorAttr
  4289. - TraversalMode traversalMode
  4290. - bool elementEventSender
  4291. View3D : Window
  4292. Methods:<br>
  4293. - View3D(Context* context)
  4294. - ~View3D()
  4295. - void SetView(Scene* scene, Camera* camera)
  4296. - void SetFormat(unsigned format)
  4297. - void SetAutoUpdate(bool enable)
  4298. - void QueueUpdate()
  4299. - unsigned GetFormat() const
  4300. - bool GetAutoUpdate() const
  4301. - Scene* GetScene() const
  4302. - Node* GetCameraNode() const
  4303. - Texture2D* GetRenderTexture() const
  4304. - Viewport* GetViewport() const
  4305. Properties:<br>
  4306. - unsigned format
  4307. - bool autoUpdate
  4308. Window : BorderImage
  4309. Methods:<br>
  4310. - Window(Context* context)
  4311. - virtual ~Window()
  4312. - void SetMovable(bool enable)
  4313. - void SetResizable(bool enable)
  4314. - void SetFixedWidthResizing(bool enable)
  4315. - void SetFixedHeightResizing(bool enable)
  4316. - void SetResizeBorder(const IntRect& rect)
  4317. - void SetModal(bool modal)
  4318. - void SetModalShadeColor(const Color& color)
  4319. - void SetModalFrameColor(const Color& color)
  4320. - void SetModalFrameSize(const IntVector2& size)
  4321. - bool IsMovable() const
  4322. - bool IsResizable() const
  4323. - bool GetFixedWidthResizing() const
  4324. - bool GetFixedHeightResizing() const
  4325. - const IntRect& GetResizeBorder() const
  4326. - bool IsModal() const
  4327. - const Color& GetModalShadeColor() const
  4328. - const Color& GetModalFrameColor() const
  4329. - const IntVector2& GetModalFrameSize() const
  4330. Properties:<br>
  4331. - bool movable
  4332. - bool resizable
  4333. - bool fixedWidthResizing
  4334. - bool fixedHeightResizing
  4335. - IntRect& resizeBorder
  4336. - bool modal
  4337. - Color& modalShadeColor
  4338. - Color& modalFrameColor
  4339. - IntVector2& modalFrameSize
  4340. */
  4341. }