MeshDataTool.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="MeshDataTool" inherits="Reference" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <demos>
  10. </demos>
  11. <methods>
  12. <method name="clear">
  13. <return type="void">
  14. </return>
  15. <description>
  16. </description>
  17. </method>
  18. <method name="commit_to_surface">
  19. <return type="int" enum="Error">
  20. </return>
  21. <argument index="0" name="mesh" type="ArrayMesh">
  22. </argument>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="create_from_surface">
  27. <return type="int" enum="Error">
  28. </return>
  29. <argument index="0" name="mesh" type="ArrayMesh">
  30. </argument>
  31. <argument index="1" name="surface" type="int">
  32. </argument>
  33. <description>
  34. </description>
  35. </method>
  36. <method name="get_edge_count" qualifiers="const">
  37. <return type="int">
  38. </return>
  39. <description>
  40. </description>
  41. </method>
  42. <method name="get_edge_faces" qualifiers="const">
  43. <return type="PoolIntArray">
  44. </return>
  45. <argument index="0" name="idx" type="int">
  46. </argument>
  47. <description>
  48. </description>
  49. </method>
  50. <method name="get_edge_meta" qualifiers="const">
  51. <return type="Variant">
  52. </return>
  53. <argument index="0" name="idx" type="int">
  54. </argument>
  55. <description>
  56. </description>
  57. </method>
  58. <method name="get_edge_vertex" qualifiers="const">
  59. <return type="int">
  60. </return>
  61. <argument index="0" name="idx" type="int">
  62. </argument>
  63. <argument index="1" name="vertex" type="int">
  64. </argument>
  65. <description>
  66. </description>
  67. </method>
  68. <method name="get_face_count" qualifiers="const">
  69. <return type="int">
  70. </return>
  71. <description>
  72. </description>
  73. </method>
  74. <method name="get_face_edge" qualifiers="const">
  75. <return type="int">
  76. </return>
  77. <argument index="0" name="idx" type="int">
  78. </argument>
  79. <argument index="1" name="edge" type="int">
  80. </argument>
  81. <description>
  82. </description>
  83. </method>
  84. <method name="get_face_meta" qualifiers="const">
  85. <return type="Variant">
  86. </return>
  87. <argument index="0" name="idx" type="int">
  88. </argument>
  89. <description>
  90. </description>
  91. </method>
  92. <method name="get_face_normal" qualifiers="const">
  93. <return type="Vector3">
  94. </return>
  95. <argument index="0" name="idx" type="int">
  96. </argument>
  97. <description>
  98. </description>
  99. </method>
  100. <method name="get_face_vertex" qualifiers="const">
  101. <return type="int">
  102. </return>
  103. <argument index="0" name="idx" type="int">
  104. </argument>
  105. <argument index="1" name="vertex" type="int">
  106. </argument>
  107. <description>
  108. </description>
  109. </method>
  110. <method name="get_format" qualifiers="const">
  111. <return type="int">
  112. </return>
  113. <description>
  114. </description>
  115. </method>
  116. <method name="get_material" qualifiers="const">
  117. <return type="Material">
  118. </return>
  119. <description>
  120. </description>
  121. </method>
  122. <method name="get_vertex" qualifiers="const">
  123. <return type="Vector3">
  124. </return>
  125. <argument index="0" name="idx" type="int">
  126. </argument>
  127. <description>
  128. </description>
  129. </method>
  130. <method name="get_vertex_bones" qualifiers="const">
  131. <return type="PoolIntArray">
  132. </return>
  133. <argument index="0" name="idx" type="int">
  134. </argument>
  135. <description>
  136. </description>
  137. </method>
  138. <method name="get_vertex_color" qualifiers="const">
  139. <return type="Color">
  140. </return>
  141. <argument index="0" name="idx" type="int">
  142. </argument>
  143. <description>
  144. </description>
  145. </method>
  146. <method name="get_vertex_count" qualifiers="const">
  147. <return type="int">
  148. </return>
  149. <description>
  150. </description>
  151. </method>
  152. <method name="get_vertex_edges" qualifiers="const">
  153. <return type="PoolIntArray">
  154. </return>
  155. <argument index="0" name="idx" type="int">
  156. </argument>
  157. <description>
  158. </description>
  159. </method>
  160. <method name="get_vertex_faces" qualifiers="const">
  161. <return type="PoolIntArray">
  162. </return>
  163. <argument index="0" name="idx" type="int">
  164. </argument>
  165. <description>
  166. </description>
  167. </method>
  168. <method name="get_vertex_meta" qualifiers="const">
  169. <return type="Variant">
  170. </return>
  171. <argument index="0" name="idx" type="int">
  172. </argument>
  173. <description>
  174. </description>
  175. </method>
  176. <method name="get_vertex_normal" qualifiers="const">
  177. <return type="Vector3">
  178. </return>
  179. <argument index="0" name="idx" type="int">
  180. </argument>
  181. <description>
  182. </description>
  183. </method>
  184. <method name="get_vertex_tangent" qualifiers="const">
  185. <return type="Plane">
  186. </return>
  187. <argument index="0" name="idx" type="int">
  188. </argument>
  189. <description>
  190. </description>
  191. </method>
  192. <method name="get_vertex_uv" qualifiers="const">
  193. <return type="Vector2">
  194. </return>
  195. <argument index="0" name="idx" type="int">
  196. </argument>
  197. <description>
  198. </description>
  199. </method>
  200. <method name="get_vertex_uv2" qualifiers="const">
  201. <return type="Vector2">
  202. </return>
  203. <argument index="0" name="idx" type="int">
  204. </argument>
  205. <description>
  206. </description>
  207. </method>
  208. <method name="get_vertex_weights" qualifiers="const">
  209. <return type="PoolRealArray">
  210. </return>
  211. <argument index="0" name="idx" type="int">
  212. </argument>
  213. <description>
  214. </description>
  215. </method>
  216. <method name="set_edge_meta">
  217. <return type="void">
  218. </return>
  219. <argument index="0" name="idx" type="int">
  220. </argument>
  221. <argument index="1" name="meta" type="Variant">
  222. </argument>
  223. <description>
  224. </description>
  225. </method>
  226. <method name="set_face_meta">
  227. <return type="void">
  228. </return>
  229. <argument index="0" name="idx" type="int">
  230. </argument>
  231. <argument index="1" name="meta" type="Variant">
  232. </argument>
  233. <description>
  234. </description>
  235. </method>
  236. <method name="set_material">
  237. <return type="void">
  238. </return>
  239. <argument index="0" name="material" type="Material">
  240. </argument>
  241. <description>
  242. </description>
  243. </method>
  244. <method name="set_vertex">
  245. <return type="void">
  246. </return>
  247. <argument index="0" name="idx" type="int">
  248. </argument>
  249. <argument index="1" name="vertex" type="Vector3">
  250. </argument>
  251. <description>
  252. </description>
  253. </method>
  254. <method name="set_vertex_bones">
  255. <return type="void">
  256. </return>
  257. <argument index="0" name="idx" type="int">
  258. </argument>
  259. <argument index="1" name="bones" type="PoolIntArray">
  260. </argument>
  261. <description>
  262. </description>
  263. </method>
  264. <method name="set_vertex_color">
  265. <return type="void">
  266. </return>
  267. <argument index="0" name="idx" type="int">
  268. </argument>
  269. <argument index="1" name="color" type="Color">
  270. </argument>
  271. <description>
  272. </description>
  273. </method>
  274. <method name="set_vertex_meta">
  275. <return type="void">
  276. </return>
  277. <argument index="0" name="idx" type="int">
  278. </argument>
  279. <argument index="1" name="meta" type="Variant">
  280. </argument>
  281. <description>
  282. </description>
  283. </method>
  284. <method name="set_vertex_normal">
  285. <return type="void">
  286. </return>
  287. <argument index="0" name="idx" type="int">
  288. </argument>
  289. <argument index="1" name="normal" type="Vector3">
  290. </argument>
  291. <description>
  292. </description>
  293. </method>
  294. <method name="set_vertex_tangent">
  295. <return type="void">
  296. </return>
  297. <argument index="0" name="idx" type="int">
  298. </argument>
  299. <argument index="1" name="tangent" type="Plane">
  300. </argument>
  301. <description>
  302. </description>
  303. </method>
  304. <method name="set_vertex_uv">
  305. <return type="void">
  306. </return>
  307. <argument index="0" name="idx" type="int">
  308. </argument>
  309. <argument index="1" name="uv" type="Vector2">
  310. </argument>
  311. <description>
  312. </description>
  313. </method>
  314. <method name="set_vertex_uv2">
  315. <return type="void">
  316. </return>
  317. <argument index="0" name="idx" type="int">
  318. </argument>
  319. <argument index="1" name="uv2" type="Vector2">
  320. </argument>
  321. <description>
  322. </description>
  323. </method>
  324. <method name="set_vertex_weights">
  325. <return type="void">
  326. </return>
  327. <argument index="0" name="idx" type="int">
  328. </argument>
  329. <argument index="1" name="weights" type="PoolRealArray">
  330. </argument>
  331. <description>
  332. </description>
  333. </method>
  334. </methods>
  335. <constants>
  336. </constants>
  337. </class>