pool_arrays.gen.go 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696
  1. // Copyright © 2019 - 2020 Oscar Campos <oscar.campos@thepimpam.com>
  2. // Copyright © 2017 - William Edwards
  3. //
  4. // Licensed under the Apache License, Version 2.0 (the "License");
  5. // you may not use this file except in compliance with the License.
  6. // You may obtain a copy of the License at
  7. //
  8. // http://www.apache.org/licenses/LICENSE-2.0
  9. //
  10. // Unless required by applicable law or agreed to in writing, software
  11. // distributed under the License is distributed on an "AS IS" BASIS,
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. // See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. package gdnative
  16. // ==================================================================
  17. // This file was autogenerated by PimPam GDNative-Go binding tools
  18. // Please do not modify this file, any change will be lost
  19. // ==================================================================
  20. /*
  21. #include "gdnative.gen.h"
  22. #include <gdnative/pool_arrays.h>
  23. // Include all headers for now. TODO: Look up all the required
  24. // headers we need to import based on the method arguments and return types.
  25. #include <gdnative/aabb.h>
  26. #include <gdnative/array.h>
  27. #include <gdnative/basis.h>
  28. #include <gdnative/color.h>
  29. #include <gdnative/dictionary.h>
  30. #include <gdnative/gdnative.h>
  31. #include <gdnative/node_path.h>
  32. #include <gdnative/plane.h>
  33. #include <gdnative/pool_arrays.h>
  34. #include <gdnative/quat.h>
  35. #include <gdnative/rect2.h>
  36. #include <gdnative/rid.h>
  37. #include <gdnative/string.h>
  38. #include <gdnative/string_name.h>
  39. #include <gdnative/transform.h>
  40. #include <gdnative/transform2d.h>
  41. #include <gdnative/variant.h>
  42. #include <gdnative/vector2.h>
  43. #include <gdnative/vector3.h>
  44. #include <gdnative_api_struct.gen.h>
  45. */
  46. import "C"
  47. import "unsafe"
  48. // NewEmptyPoolArrayReadAccess will return a pointer to an empty
  49. // initialized PoolArrayReadAccess. This is primarily used in
  50. // conjunction with MethodBindPtrCall.
  51. func NewEmptyPoolArrayReadAccess() Pointer {
  52. var obj C.godot_pool_array_read_access
  53. return Pointer{base: unsafe.Pointer(&obj)}
  54. }
  55. // NewPointerFromPoolArrayReadAccess will return an unsafe pointer to the given
  56. // object. This is primarily used in conjunction with MethodBindPtrCall.
  57. func NewPointerFromPoolArrayReadAccess(obj PoolArrayReadAccess) Pointer {
  58. return Pointer{base: unsafe.Pointer(obj.getBase())}
  59. }
  60. // NewPoolArrayReadAccessFromPointer will return a PoolArrayReadAccess from the
  61. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  62. func NewPoolArrayReadAccessFromPointer(ptr Pointer) PoolArrayReadAccess {
  63. return PoolArrayReadAccess{base: (*C.godot_pool_array_read_access)(ptr.getBase())}
  64. }
  65. // PoolArrayReadAccess data structure wrapper
  66. type PoolArrayReadAccess struct {
  67. base *C.godot_pool_array_read_access
  68. }
  69. // returns the wrapped C base data type for this type
  70. func (gdt PoolArrayReadAccess) getBase() *C.godot_pool_array_read_access {
  71. return gdt.base
  72. }
  73. // NewEmptyPoolByteArrayReadAccess will return a pointer to an empty
  74. // initialized PoolByteArrayReadAccess. This is primarily used in
  75. // conjunction with MethodBindPtrCall.
  76. func NewEmptyPoolByteArrayReadAccess() Pointer {
  77. var obj C.godot_pool_byte_array_read_access
  78. return Pointer{base: unsafe.Pointer(&obj)}
  79. }
  80. // NewPointerFromPoolByteArrayReadAccess will return an unsafe pointer to the given
  81. // object. This is primarily used in conjunction with MethodBindPtrCall.
  82. func NewPointerFromPoolByteArrayReadAccess(obj PoolByteArrayReadAccess) Pointer {
  83. return Pointer{base: unsafe.Pointer(obj.getBase())}
  84. }
  85. // NewPoolByteArrayReadAccessFromPointer will return a PoolByteArrayReadAccess from the
  86. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  87. func NewPoolByteArrayReadAccessFromPointer(ptr Pointer) PoolByteArrayReadAccess {
  88. obj := (*C.godot_pool_byte_array_read_access)(ptr.getBase())
  89. return PoolByteArrayReadAccess{base: obj}
  90. }
  91. type PoolByteArrayReadAccess struct {
  92. base *C.godot_pool_byte_array_read_access
  93. }
  94. func (gdt PoolByteArrayReadAccess) getBase() *C.godot_pool_byte_array_read_access {
  95. return gdt.base
  96. }
  97. // NewEmptyPoolIntArrayReadAccess will return a pointer to an empty
  98. // initialized PoolIntArrayReadAccess. This is primarily used in
  99. // conjunction with MethodBindPtrCall.
  100. func NewEmptyPoolIntArrayReadAccess() Pointer {
  101. var obj C.godot_pool_int_array_read_access
  102. return Pointer{base: unsafe.Pointer(&obj)}
  103. }
  104. // NewPointerFromPoolIntArrayReadAccess will return an unsafe pointer to the given
  105. // object. This is primarily used in conjunction with MethodBindPtrCall.
  106. func NewPointerFromPoolIntArrayReadAccess(obj PoolIntArrayReadAccess) Pointer {
  107. return Pointer{base: unsafe.Pointer(obj.getBase())}
  108. }
  109. // NewPoolIntArrayReadAccessFromPointer will return a PoolIntArrayReadAccess from the
  110. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  111. func NewPoolIntArrayReadAccessFromPointer(ptr Pointer) PoolIntArrayReadAccess {
  112. obj := (*C.godot_pool_int_array_read_access)(ptr.getBase())
  113. return PoolIntArrayReadAccess{base: obj}
  114. }
  115. type PoolIntArrayReadAccess struct {
  116. base *C.godot_pool_int_array_read_access
  117. }
  118. func (gdt PoolIntArrayReadAccess) getBase() *C.godot_pool_int_array_read_access {
  119. return gdt.base
  120. }
  121. // NewEmptyPoolRealArrayReadAccess will return a pointer to an empty
  122. // initialized PoolRealArrayReadAccess. This is primarily used in
  123. // conjunction with MethodBindPtrCall.
  124. func NewEmptyPoolRealArrayReadAccess() Pointer {
  125. var obj C.godot_pool_real_array_read_access
  126. return Pointer{base: unsafe.Pointer(&obj)}
  127. }
  128. // NewPointerFromPoolRealArrayReadAccess will return an unsafe pointer to the given
  129. // object. This is primarily used in conjunction with MethodBindPtrCall.
  130. func NewPointerFromPoolRealArrayReadAccess(obj PoolRealArrayReadAccess) Pointer {
  131. return Pointer{base: unsafe.Pointer(obj.getBase())}
  132. }
  133. // NewPoolRealArrayReadAccessFromPointer will return a PoolRealArrayReadAccess from the
  134. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  135. func NewPoolRealArrayReadAccessFromPointer(ptr Pointer) PoolRealArrayReadAccess {
  136. obj := (*C.godot_pool_real_array_read_access)(ptr.getBase())
  137. return PoolRealArrayReadAccess{base: obj}
  138. }
  139. type PoolRealArrayReadAccess struct {
  140. base *C.godot_pool_real_array_read_access
  141. }
  142. func (gdt PoolRealArrayReadAccess) getBase() *C.godot_pool_real_array_read_access {
  143. return gdt.base
  144. }
  145. // NewEmptyPoolStringArrayReadAccess will return a pointer to an empty
  146. // initialized PoolStringArrayReadAccess. This is primarily used in
  147. // conjunction with MethodBindPtrCall.
  148. func NewEmptyPoolStringArrayReadAccess() Pointer {
  149. var obj C.godot_pool_string_array_read_access
  150. return Pointer{base: unsafe.Pointer(&obj)}
  151. }
  152. // NewPointerFromPoolStringArrayReadAccess will return an unsafe pointer to the given
  153. // object. This is primarily used in conjunction with MethodBindPtrCall.
  154. func NewPointerFromPoolStringArrayReadAccess(obj PoolStringArrayReadAccess) Pointer {
  155. return Pointer{base: unsafe.Pointer(obj.getBase())}
  156. }
  157. // NewPoolStringArrayReadAccessFromPointer will return a PoolStringArrayReadAccess from the
  158. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  159. func NewPoolStringArrayReadAccessFromPointer(ptr Pointer) PoolStringArrayReadAccess {
  160. obj := (*C.godot_pool_string_array_read_access)(ptr.getBase())
  161. return PoolStringArrayReadAccess{base: obj}
  162. }
  163. type PoolStringArrayReadAccess struct {
  164. base *C.godot_pool_string_array_read_access
  165. }
  166. func (gdt PoolStringArrayReadAccess) getBase() *C.godot_pool_string_array_read_access {
  167. return gdt.base
  168. }
  169. // NewEmptyPoolVector2ArrayReadAccess will return a pointer to an empty
  170. // initialized PoolVector2ArrayReadAccess. This is primarily used in
  171. // conjunction with MethodBindPtrCall.
  172. func NewEmptyPoolVector2ArrayReadAccess() Pointer {
  173. var obj C.godot_pool_vector2_array_read_access
  174. return Pointer{base: unsafe.Pointer(&obj)}
  175. }
  176. // NewPointerFromPoolVector2ArrayReadAccess will return an unsafe pointer to the given
  177. // object. This is primarily used in conjunction with MethodBindPtrCall.
  178. func NewPointerFromPoolVector2ArrayReadAccess(obj PoolVector2ArrayReadAccess) Pointer {
  179. return Pointer{base: unsafe.Pointer(obj.getBase())}
  180. }
  181. // NewPoolVector2ArrayReadAccessFromPointer will return a PoolVector2ArrayReadAccess from the
  182. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  183. func NewPoolVector2ArrayReadAccessFromPointer(ptr Pointer) PoolVector2ArrayReadAccess {
  184. obj := (*C.godot_pool_vector2_array_read_access)(ptr.getBase())
  185. return PoolVector2ArrayReadAccess{base: obj}
  186. }
  187. type PoolVector2ArrayReadAccess struct {
  188. base *C.godot_pool_vector2_array_read_access
  189. }
  190. func (gdt PoolVector2ArrayReadAccess) getBase() *C.godot_pool_vector2_array_read_access {
  191. return gdt.base
  192. }
  193. // NewEmptyPoolVector3ArrayReadAccess will return a pointer to an empty
  194. // initialized PoolVector3ArrayReadAccess. This is primarily used in
  195. // conjunction with MethodBindPtrCall.
  196. func NewEmptyPoolVector3ArrayReadAccess() Pointer {
  197. var obj C.godot_pool_vector3_array_read_access
  198. return Pointer{base: unsafe.Pointer(&obj)}
  199. }
  200. // NewPointerFromPoolVector3ArrayReadAccess will return an unsafe pointer to the given
  201. // object. This is primarily used in conjunction with MethodBindPtrCall.
  202. func NewPointerFromPoolVector3ArrayReadAccess(obj PoolVector3ArrayReadAccess) Pointer {
  203. return Pointer{base: unsafe.Pointer(obj.getBase())}
  204. }
  205. // NewPoolVector3ArrayReadAccessFromPointer will return a PoolVector3ArrayReadAccess from the
  206. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  207. func NewPoolVector3ArrayReadAccessFromPointer(ptr Pointer) PoolVector3ArrayReadAccess {
  208. obj := (*C.godot_pool_vector3_array_read_access)(ptr.getBase())
  209. return PoolVector3ArrayReadAccess{base: obj}
  210. }
  211. type PoolVector3ArrayReadAccess struct {
  212. base *C.godot_pool_vector3_array_read_access
  213. }
  214. func (gdt PoolVector3ArrayReadAccess) getBase() *C.godot_pool_vector3_array_read_access {
  215. return gdt.base
  216. }
  217. // NewEmptyPoolColorArrayReadAccess will return a pointer to an empty
  218. // initialized PoolColorArrayReadAccess. This is primarily used in
  219. // conjunction with MethodBindPtrCall.
  220. func NewEmptyPoolColorArrayReadAccess() Pointer {
  221. var obj C.godot_pool_color_array_read_access
  222. return Pointer{base: unsafe.Pointer(&obj)}
  223. }
  224. // NewPointerFromPoolColorArrayReadAccess will return an unsafe pointer to the given
  225. // object. This is primarily used in conjunction with MethodBindPtrCall.
  226. func NewPointerFromPoolColorArrayReadAccess(obj PoolColorArrayReadAccess) Pointer {
  227. return Pointer{base: unsafe.Pointer(obj.getBase())}
  228. }
  229. // NewPoolColorArrayReadAccessFromPointer will return a PoolColorArrayReadAccess from the
  230. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  231. func NewPoolColorArrayReadAccessFromPointer(ptr Pointer) PoolColorArrayReadAccess {
  232. obj := (*C.godot_pool_color_array_read_access)(ptr.getBase())
  233. return PoolColorArrayReadAccess{base: obj}
  234. }
  235. type PoolColorArrayReadAccess struct {
  236. base *C.godot_pool_color_array_read_access
  237. }
  238. func (gdt PoolColorArrayReadAccess) getBase() *C.godot_pool_color_array_read_access {
  239. return gdt.base
  240. }
  241. // NewEmptyPoolArrayWriteAccess will return a pointer to an empty
  242. // initialized PoolArrayWriteAccess. This is primarily used in
  243. // conjunction with MethodBindPtrCall.
  244. func NewEmptyPoolArrayWriteAccess() Pointer {
  245. var obj C.godot_pool_array_write_access
  246. return Pointer{base: unsafe.Pointer(&obj)}
  247. }
  248. // NewPointerFromPoolArrayWriteAccess will return an unsafe pointer to the given
  249. // object. This is primarily used in conjunction with MethodBindPtrCall.
  250. func NewPointerFromPoolArrayWriteAccess(obj PoolArrayWriteAccess) Pointer {
  251. return Pointer{base: unsafe.Pointer(obj.getBase())}
  252. }
  253. // NewPoolArrayWriteAccessFromPointer will return a PoolArrayWriteAccess from the
  254. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  255. func NewPoolArrayWriteAccessFromPointer(ptr Pointer) PoolArrayWriteAccess {
  256. return PoolArrayWriteAccess{base: (*C.godot_pool_array_write_access)(ptr.getBase())}
  257. }
  258. // PoolArrayWriteAccess data structure wrapper
  259. type PoolArrayWriteAccess struct {
  260. base *C.godot_pool_array_write_access
  261. }
  262. // returns the wrapped C base data type for this type
  263. func (gdt PoolArrayWriteAccess) getBase() *C.godot_pool_array_write_access {
  264. return gdt.base
  265. }
  266. // NewEmptyPoolByteArrayWriteAccess will return a pointer to an empty
  267. // initialized PoolByteArrayWriteAccess. This is primarily used in
  268. // conjunction with MethodBindPtrCall.
  269. func NewEmptyPoolByteArrayWriteAccess() Pointer {
  270. var obj C.godot_pool_byte_array_write_access
  271. return Pointer{base: unsafe.Pointer(&obj)}
  272. }
  273. // NewPointerFromPoolByteArrayWriteAccess will return an unsafe pointer to the given
  274. // object. This is primarily used in conjunction with MethodBindPtrCall.
  275. func NewPointerFromPoolByteArrayWriteAccess(obj PoolByteArrayWriteAccess) Pointer {
  276. return Pointer{base: unsafe.Pointer(obj.getBase())}
  277. }
  278. // NewPoolByteArrayWriteAccessFromPointer will return a PoolByteArrayWriteAccess from the
  279. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  280. func NewPoolByteArrayWriteAccessFromPointer(ptr Pointer) PoolByteArrayWriteAccess {
  281. obj := (*C.godot_pool_byte_array_write_access)(ptr.getBase())
  282. return PoolByteArrayWriteAccess{base: obj}
  283. }
  284. type PoolByteArrayWriteAccess struct {
  285. base *C.godot_pool_byte_array_write_access
  286. }
  287. func (gdt PoolByteArrayWriteAccess) getBase() *C.godot_pool_byte_array_write_access {
  288. return gdt.base
  289. }
  290. // NewEmptyPoolIntArrayWriteAccess will return a pointer to an empty
  291. // initialized PoolIntArrayWriteAccess. This is primarily used in
  292. // conjunction with MethodBindPtrCall.
  293. func NewEmptyPoolIntArrayWriteAccess() Pointer {
  294. var obj C.godot_pool_int_array_write_access
  295. return Pointer{base: unsafe.Pointer(&obj)}
  296. }
  297. // NewPointerFromPoolIntArrayWriteAccess will return an unsafe pointer to the given
  298. // object. This is primarily used in conjunction with MethodBindPtrCall.
  299. func NewPointerFromPoolIntArrayWriteAccess(obj PoolIntArrayWriteAccess) Pointer {
  300. return Pointer{base: unsafe.Pointer(obj.getBase())}
  301. }
  302. // NewPoolIntArrayWriteAccessFromPointer will return a PoolIntArrayWriteAccess from the
  303. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  304. func NewPoolIntArrayWriteAccessFromPointer(ptr Pointer) PoolIntArrayWriteAccess {
  305. obj := (*C.godot_pool_int_array_write_access)(ptr.getBase())
  306. return PoolIntArrayWriteAccess{base: obj}
  307. }
  308. type PoolIntArrayWriteAccess struct {
  309. base *C.godot_pool_int_array_write_access
  310. }
  311. func (gdt PoolIntArrayWriteAccess) getBase() *C.godot_pool_int_array_write_access {
  312. return gdt.base
  313. }
  314. // NewEmptyPoolRealArrayWriteAccess will return a pointer to an empty
  315. // initialized PoolRealArrayWriteAccess. This is primarily used in
  316. // conjunction with MethodBindPtrCall.
  317. func NewEmptyPoolRealArrayWriteAccess() Pointer {
  318. var obj C.godot_pool_real_array_write_access
  319. return Pointer{base: unsafe.Pointer(&obj)}
  320. }
  321. // NewPointerFromPoolRealArrayWriteAccess will return an unsafe pointer to the given
  322. // object. This is primarily used in conjunction with MethodBindPtrCall.
  323. func NewPointerFromPoolRealArrayWriteAccess(obj PoolRealArrayWriteAccess) Pointer {
  324. return Pointer{base: unsafe.Pointer(obj.getBase())}
  325. }
  326. // NewPoolRealArrayWriteAccessFromPointer will return a PoolRealArrayWriteAccess from the
  327. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  328. func NewPoolRealArrayWriteAccessFromPointer(ptr Pointer) PoolRealArrayWriteAccess {
  329. obj := (*C.godot_pool_real_array_write_access)(ptr.getBase())
  330. return PoolRealArrayWriteAccess{base: obj}
  331. }
  332. type PoolRealArrayWriteAccess struct {
  333. base *C.godot_pool_real_array_write_access
  334. }
  335. func (gdt PoolRealArrayWriteAccess) getBase() *C.godot_pool_real_array_write_access {
  336. return gdt.base
  337. }
  338. // NewEmptyPoolStringArrayWriteAccess will return a pointer to an empty
  339. // initialized PoolStringArrayWriteAccess. This is primarily used in
  340. // conjunction with MethodBindPtrCall.
  341. func NewEmptyPoolStringArrayWriteAccess() Pointer {
  342. var obj C.godot_pool_string_array_write_access
  343. return Pointer{base: unsafe.Pointer(&obj)}
  344. }
  345. // NewPointerFromPoolStringArrayWriteAccess will return an unsafe pointer to the given
  346. // object. This is primarily used in conjunction with MethodBindPtrCall.
  347. func NewPointerFromPoolStringArrayWriteAccess(obj PoolStringArrayWriteAccess) Pointer {
  348. return Pointer{base: unsafe.Pointer(obj.getBase())}
  349. }
  350. // NewPoolStringArrayWriteAccessFromPointer will return a PoolStringArrayWriteAccess from the
  351. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  352. func NewPoolStringArrayWriteAccessFromPointer(ptr Pointer) PoolStringArrayWriteAccess {
  353. obj := (*C.godot_pool_string_array_write_access)(ptr.getBase())
  354. return PoolStringArrayWriteAccess{base: obj}
  355. }
  356. type PoolStringArrayWriteAccess struct {
  357. base *C.godot_pool_string_array_write_access
  358. }
  359. func (gdt PoolStringArrayWriteAccess) getBase() *C.godot_pool_string_array_write_access {
  360. return gdt.base
  361. }
  362. // NewEmptyPoolVector2ArrayWriteAccess will return a pointer to an empty
  363. // initialized PoolVector2ArrayWriteAccess. This is primarily used in
  364. // conjunction with MethodBindPtrCall.
  365. func NewEmptyPoolVector2ArrayWriteAccess() Pointer {
  366. var obj C.godot_pool_vector2_array_write_access
  367. return Pointer{base: unsafe.Pointer(&obj)}
  368. }
  369. // NewPointerFromPoolVector2ArrayWriteAccess will return an unsafe pointer to the given
  370. // object. This is primarily used in conjunction with MethodBindPtrCall.
  371. func NewPointerFromPoolVector2ArrayWriteAccess(obj PoolVector2ArrayWriteAccess) Pointer {
  372. return Pointer{base: unsafe.Pointer(obj.getBase())}
  373. }
  374. // NewPoolVector2ArrayWriteAccessFromPointer will return a PoolVector2ArrayWriteAccess from the
  375. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  376. func NewPoolVector2ArrayWriteAccessFromPointer(ptr Pointer) PoolVector2ArrayWriteAccess {
  377. obj := (*C.godot_pool_vector2_array_write_access)(ptr.getBase())
  378. return PoolVector2ArrayWriteAccess{base: obj}
  379. }
  380. type PoolVector2ArrayWriteAccess struct {
  381. base *C.godot_pool_vector2_array_write_access
  382. }
  383. func (gdt PoolVector2ArrayWriteAccess) getBase() *C.godot_pool_vector2_array_write_access {
  384. return gdt.base
  385. }
  386. // NewEmptyPoolVector3ArrayWriteAccess will return a pointer to an empty
  387. // initialized PoolVector3ArrayWriteAccess. This is primarily used in
  388. // conjunction with MethodBindPtrCall.
  389. func NewEmptyPoolVector3ArrayWriteAccess() Pointer {
  390. var obj C.godot_pool_vector3_array_write_access
  391. return Pointer{base: unsafe.Pointer(&obj)}
  392. }
  393. // NewPointerFromPoolVector3ArrayWriteAccess will return an unsafe pointer to the given
  394. // object. This is primarily used in conjunction with MethodBindPtrCall.
  395. func NewPointerFromPoolVector3ArrayWriteAccess(obj PoolVector3ArrayWriteAccess) Pointer {
  396. return Pointer{base: unsafe.Pointer(obj.getBase())}
  397. }
  398. // NewPoolVector3ArrayWriteAccessFromPointer will return a PoolVector3ArrayWriteAccess from the
  399. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  400. func NewPoolVector3ArrayWriteAccessFromPointer(ptr Pointer) PoolVector3ArrayWriteAccess {
  401. obj := (*C.godot_pool_vector3_array_write_access)(ptr.getBase())
  402. return PoolVector3ArrayWriteAccess{base: obj}
  403. }
  404. type PoolVector3ArrayWriteAccess struct {
  405. base *C.godot_pool_vector3_array_write_access
  406. }
  407. func (gdt PoolVector3ArrayWriteAccess) getBase() *C.godot_pool_vector3_array_write_access {
  408. return gdt.base
  409. }
  410. // NewEmptyPoolColorArrayWriteAccess will return a pointer to an empty
  411. // initialized PoolColorArrayWriteAccess. This is primarily used in
  412. // conjunction with MethodBindPtrCall.
  413. func NewEmptyPoolColorArrayWriteAccess() Pointer {
  414. var obj C.godot_pool_color_array_write_access
  415. return Pointer{base: unsafe.Pointer(&obj)}
  416. }
  417. // NewPointerFromPoolColorArrayWriteAccess will return an unsafe pointer to the given
  418. // object. This is primarily used in conjunction with MethodBindPtrCall.
  419. func NewPointerFromPoolColorArrayWriteAccess(obj PoolColorArrayWriteAccess) Pointer {
  420. return Pointer{base: unsafe.Pointer(obj.getBase())}
  421. }
  422. // NewPoolColorArrayWriteAccessFromPointer will return a PoolColorArrayWriteAccess from the
  423. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  424. func NewPoolColorArrayWriteAccessFromPointer(ptr Pointer) PoolColorArrayWriteAccess {
  425. obj := (*C.godot_pool_color_array_write_access)(ptr.getBase())
  426. return PoolColorArrayWriteAccess{base: obj}
  427. }
  428. type PoolColorArrayWriteAccess struct {
  429. base *C.godot_pool_color_array_write_access
  430. }
  431. func (gdt PoolColorArrayWriteAccess) getBase() *C.godot_pool_color_array_write_access {
  432. return gdt.base
  433. }
  434. // NewEmptyPoolByteArray will return a pointer to an empty
  435. // initialized PoolByteArray. This is primarily used in
  436. // conjunction with MethodBindPtrCall.
  437. func NewEmptyPoolByteArray() Pointer {
  438. var obj C.godot_pool_byte_array
  439. return Pointer{base: unsafe.Pointer(&obj)}
  440. }
  441. // NewPointerFromPoolByteArray will return an unsafe pointer to the given
  442. // object. This is primarily used in conjunction with MethodBindPtrCall.
  443. func NewPointerFromPoolByteArray(obj PoolByteArray) Pointer {
  444. return Pointer{base: unsafe.Pointer(obj.getBase())}
  445. }
  446. // NewPoolByteArrayFromPointer will return a PoolByteArray from the
  447. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  448. func NewPoolByteArrayFromPointer(ptr Pointer) PoolByteArray {
  449. return PoolByteArray{base: (*C.godot_pool_byte_array)(ptr.getBase())}
  450. }
  451. // PoolByteArray data structure wrapper
  452. type PoolByteArray struct {
  453. base *C.godot_pool_byte_array
  454. }
  455. // returns the wrapped C base data type for this type
  456. func (gdt PoolByteArray) getBase() *C.godot_pool_byte_array {
  457. return gdt.base
  458. }
  459. // NewPoolByteArray godot_pool_byte_array_new [[godot_pool_byte_array * r_dest]] void
  460. func NewPoolByteArray() PoolByteArray {
  461. var dest C.godot_pool_byte_array
  462. C.go_godot_pool_byte_array_new(GDNative.api, &dest)
  463. return PoolByteArray{base: &dest}
  464. }
  465. // NewPoolByteArrayCopy godot_pool_byte_array_new_copy [[godot_pool_byte_array * r_dest] [const godot_pool_byte_array * p_src]] void
  466. func NewPoolByteArrayCopy(src PoolByteArray) PoolByteArray {
  467. var dest C.godot_pool_byte_array
  468. arg1 := src.getBase()
  469. C.go_godot_pool_byte_array_new_copy(GDNative.api, &dest, arg1)
  470. return PoolByteArray{base: &dest}
  471. }
  472. // NewPoolByteArrayWithArray godot_pool_byte_array_new_with_array [[godot_pool_byte_array * r_dest] [const godot_array * p_a]] void
  473. func NewPoolByteArrayWithArray(a Array) PoolByteArray {
  474. var dest C.godot_pool_byte_array
  475. arg1 := a.getBase()
  476. C.go_godot_pool_byte_array_new_with_array(GDNative.api, &dest, arg1)
  477. return PoolByteArray{base: &dest}
  478. }
  479. // Append godot_pool_byte_array_append [[godot_pool_byte_array * p_self] [const uint8_t p_data]] void
  480. func (gdt *PoolByteArray) Append(data Uint8T) {
  481. arg0 := gdt.getBase()
  482. arg1 := data.getBase()
  483. C.go_godot_pool_byte_array_append(GDNative.api, arg0, arg1)
  484. }
  485. // AppendArray godot_pool_byte_array_append_array [[godot_pool_byte_array * p_self] [const godot_pool_byte_array * p_array]] void
  486. func (gdt *PoolByteArray) AppendArray(array PoolByteArray) {
  487. arg0 := gdt.getBase()
  488. arg1 := array.getBase()
  489. C.go_godot_pool_byte_array_append_array(GDNative.api, arg0, arg1)
  490. }
  491. // Insert godot_pool_byte_array_insert [[godot_pool_byte_array * p_self] [const godot_int p_idx] [const uint8_t p_data]] godot_error
  492. func (gdt *PoolByteArray) Insert(idx Int, data Uint8T) Error {
  493. arg0 := gdt.getBase()
  494. arg1 := idx.getBase()
  495. arg2 := data.getBase()
  496. ret := C.go_godot_pool_byte_array_insert(GDNative.api, arg0, arg1, arg2)
  497. return Error(ret)
  498. }
  499. // Invert godot_pool_byte_array_invert [[godot_pool_byte_array * p_self]] void
  500. func (gdt *PoolByteArray) Invert() {
  501. arg0 := gdt.getBase()
  502. C.go_godot_pool_byte_array_invert(GDNative.api, arg0)
  503. }
  504. // PushBack godot_pool_byte_array_push_back [[godot_pool_byte_array * p_self] [const uint8_t p_data]] void
  505. func (gdt *PoolByteArray) PushBack(data Uint8T) {
  506. arg0 := gdt.getBase()
  507. arg1 := data.getBase()
  508. C.go_godot_pool_byte_array_push_back(GDNative.api, arg0, arg1)
  509. }
  510. // Remove godot_pool_byte_array_remove [[godot_pool_byte_array * p_self] [const godot_int p_idx]] void
  511. func (gdt *PoolByteArray) Remove(idx Int) {
  512. arg0 := gdt.getBase()
  513. arg1 := idx.getBase()
  514. C.go_godot_pool_byte_array_remove(GDNative.api, arg0, arg1)
  515. }
  516. // Resize godot_pool_byte_array_resize [[godot_pool_byte_array * p_self] [const godot_int p_size]] void
  517. func (gdt *PoolByteArray) Resize(size Int) {
  518. arg0 := gdt.getBase()
  519. arg1 := size.getBase()
  520. C.go_godot_pool_byte_array_resize(GDNative.api, arg0, arg1)
  521. }
  522. // Read godot_pool_byte_array_read [[const godot_pool_byte_array * p_self]] godot_pool_byte_array_read_access *
  523. func (gdt *PoolByteArray) Read() PoolByteArrayReadAccess {
  524. arg0 := gdt.getBase()
  525. ret := C.go_godot_pool_byte_array_read(GDNative.api, arg0)
  526. return PoolByteArrayReadAccess{base: ret}
  527. }
  528. // Write godot_pool_byte_array_write [[godot_pool_byte_array * p_self]] godot_pool_byte_array_write_access *
  529. func (gdt *PoolByteArray) Write() PoolByteArrayWriteAccess {
  530. arg0 := gdt.getBase()
  531. ret := C.go_godot_pool_byte_array_write(GDNative.api, arg0)
  532. return PoolByteArrayWriteAccess{base: ret}
  533. }
  534. // Set godot_pool_byte_array_set [[godot_pool_byte_array * p_self] [const godot_int p_idx] [const uint8_t p_data]] void
  535. func (gdt *PoolByteArray) Set(idx Int, data Uint8T) {
  536. arg0 := gdt.getBase()
  537. arg1 := idx.getBase()
  538. arg2 := data.getBase()
  539. C.go_godot_pool_byte_array_set(GDNative.api, arg0, arg1, arg2)
  540. }
  541. // Get godot_pool_byte_array_get [[const godot_pool_byte_array * p_self] [const godot_int p_idx]] uint8_t
  542. func (gdt *PoolByteArray) Get(idx Int) Uint8T {
  543. arg0 := gdt.getBase()
  544. arg1 := idx.getBase()
  545. ret := C.go_godot_pool_byte_array_get(GDNative.api, arg0, arg1)
  546. return Uint8T(ret)
  547. }
  548. // Size godot_pool_byte_array_size [[const godot_pool_byte_array * p_self]] godot_int
  549. func (gdt *PoolByteArray) Size() Int {
  550. arg0 := gdt.getBase()
  551. ret := C.go_godot_pool_byte_array_size(GDNative.api, arg0)
  552. return Int(ret)
  553. }
  554. // Destroy godot_pool_byte_array_destroy [[godot_pool_byte_array * p_self]] void
  555. func (gdt *PoolByteArray) Destroy() {
  556. arg0 := gdt.getBase()
  557. C.go_godot_pool_byte_array_destroy(GDNative.api, arg0)
  558. }
  559. // NewEmptyPoolIntArray will return a pointer to an empty
  560. // initialized PoolIntArray. This is primarily used in
  561. // conjunction with MethodBindPtrCall.
  562. func NewEmptyPoolIntArray() Pointer {
  563. var obj C.godot_pool_int_array
  564. return Pointer{base: unsafe.Pointer(&obj)}
  565. }
  566. // NewPointerFromPoolIntArray will return an unsafe pointer to the given
  567. // object. This is primarily used in conjunction with MethodBindPtrCall.
  568. func NewPointerFromPoolIntArray(obj PoolIntArray) Pointer {
  569. return Pointer{base: unsafe.Pointer(obj.getBase())}
  570. }
  571. // NewPoolIntArrayFromPointer will return a PoolIntArray from the
  572. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  573. func NewPoolIntArrayFromPointer(ptr Pointer) PoolIntArray {
  574. return PoolIntArray{base: (*C.godot_pool_int_array)(ptr.getBase())}
  575. }
  576. // PoolIntArray data structure wrapper
  577. type PoolIntArray struct {
  578. base *C.godot_pool_int_array
  579. }
  580. // returns the wrapped C base data type for this type
  581. func (gdt PoolIntArray) getBase() *C.godot_pool_int_array {
  582. return gdt.base
  583. }
  584. // NewPoolIntArray godot_pool_int_array_new [[godot_pool_int_array * r_dest]] void
  585. func NewPoolIntArray() PoolIntArray {
  586. var dest C.godot_pool_int_array
  587. C.go_godot_pool_int_array_new(GDNative.api, &dest)
  588. return PoolIntArray{base: &dest}
  589. }
  590. // NewPoolIntArrayCopy godot_pool_int_array_new_copy [[godot_pool_int_array * r_dest] [const godot_pool_int_array * p_src]] void
  591. func NewPoolIntArrayCopy(src PoolIntArray) PoolIntArray {
  592. var dest C.godot_pool_int_array
  593. arg1 := src.getBase()
  594. C.go_godot_pool_int_array_new_copy(GDNative.api, &dest, arg1)
  595. return PoolIntArray{base: &dest}
  596. }
  597. // NewPoolIntArrayWithArray godot_pool_int_array_new_with_array [[godot_pool_int_array * r_dest] [const godot_array * p_a]] void
  598. func NewPoolIntArrayWithArray(a Array) PoolIntArray {
  599. var dest C.godot_pool_int_array
  600. arg1 := a.getBase()
  601. C.go_godot_pool_int_array_new_with_array(GDNative.api, &dest, arg1)
  602. return PoolIntArray{base: &dest}
  603. }
  604. // Append godot_pool_int_array_append [[godot_pool_int_array * p_self] [const godot_int p_data]] void
  605. func (gdt *PoolIntArray) Append(data Int) {
  606. arg0 := gdt.getBase()
  607. arg1 := data.getBase()
  608. C.go_godot_pool_int_array_append(GDNative.api, arg0, arg1)
  609. }
  610. // AppendArray godot_pool_int_array_append_array [[godot_pool_int_array * p_self] [const godot_pool_int_array * p_array]] void
  611. func (gdt *PoolIntArray) AppendArray(array PoolIntArray) {
  612. arg0 := gdt.getBase()
  613. arg1 := array.getBase()
  614. C.go_godot_pool_int_array_append_array(GDNative.api, arg0, arg1)
  615. }
  616. // Insert godot_pool_int_array_insert [[godot_pool_int_array * p_self] [const godot_int p_idx] [const godot_int p_data]] godot_error
  617. func (gdt *PoolIntArray) Insert(idx Int, data Int) Error {
  618. arg0 := gdt.getBase()
  619. arg1 := idx.getBase()
  620. arg2 := data.getBase()
  621. ret := C.go_godot_pool_int_array_insert(GDNative.api, arg0, arg1, arg2)
  622. return Error(ret)
  623. }
  624. // Invert godot_pool_int_array_invert [[godot_pool_int_array * p_self]] void
  625. func (gdt *PoolIntArray) Invert() {
  626. arg0 := gdt.getBase()
  627. C.go_godot_pool_int_array_invert(GDNative.api, arg0)
  628. }
  629. // PushBack godot_pool_int_array_push_back [[godot_pool_int_array * p_self] [const godot_int p_data]] void
  630. func (gdt *PoolIntArray) PushBack(data Int) {
  631. arg0 := gdt.getBase()
  632. arg1 := data.getBase()
  633. C.go_godot_pool_int_array_push_back(GDNative.api, arg0, arg1)
  634. }
  635. // Remove godot_pool_int_array_remove [[godot_pool_int_array * p_self] [const godot_int p_idx]] void
  636. func (gdt *PoolIntArray) Remove(idx Int) {
  637. arg0 := gdt.getBase()
  638. arg1 := idx.getBase()
  639. C.go_godot_pool_int_array_remove(GDNative.api, arg0, arg1)
  640. }
  641. // Resize godot_pool_int_array_resize [[godot_pool_int_array * p_self] [const godot_int p_size]] void
  642. func (gdt *PoolIntArray) Resize(size Int) {
  643. arg0 := gdt.getBase()
  644. arg1 := size.getBase()
  645. C.go_godot_pool_int_array_resize(GDNative.api, arg0, arg1)
  646. }
  647. // Read godot_pool_int_array_read [[const godot_pool_int_array * p_self]] godot_pool_int_array_read_access *
  648. func (gdt *PoolIntArray) Read() PoolIntArrayReadAccess {
  649. arg0 := gdt.getBase()
  650. ret := C.go_godot_pool_int_array_read(GDNative.api, arg0)
  651. return PoolIntArrayReadAccess{base: ret}
  652. }
  653. // Write godot_pool_int_array_write [[godot_pool_int_array * p_self]] godot_pool_int_array_write_access *
  654. func (gdt *PoolIntArray) Write() PoolIntArrayWriteAccess {
  655. arg0 := gdt.getBase()
  656. ret := C.go_godot_pool_int_array_write(GDNative.api, arg0)
  657. return PoolIntArrayWriteAccess{base: ret}
  658. }
  659. // Set godot_pool_int_array_set [[godot_pool_int_array * p_self] [const godot_int p_idx] [const godot_int p_data]] void
  660. func (gdt *PoolIntArray) Set(idx Int, data Int) {
  661. arg0 := gdt.getBase()
  662. arg1 := idx.getBase()
  663. arg2 := data.getBase()
  664. C.go_godot_pool_int_array_set(GDNative.api, arg0, arg1, arg2)
  665. }
  666. // Get godot_pool_int_array_get [[const godot_pool_int_array * p_self] [const godot_int p_idx]] godot_int
  667. func (gdt *PoolIntArray) Get(idx Int) Int {
  668. arg0 := gdt.getBase()
  669. arg1 := idx.getBase()
  670. ret := C.go_godot_pool_int_array_get(GDNative.api, arg0, arg1)
  671. return Int(ret)
  672. }
  673. // Size godot_pool_int_array_size [[const godot_pool_int_array * p_self]] godot_int
  674. func (gdt *PoolIntArray) Size() Int {
  675. arg0 := gdt.getBase()
  676. ret := C.go_godot_pool_int_array_size(GDNative.api, arg0)
  677. return Int(ret)
  678. }
  679. // Destroy godot_pool_int_array_destroy [[godot_pool_int_array * p_self]] void
  680. func (gdt *PoolIntArray) Destroy() {
  681. arg0 := gdt.getBase()
  682. C.go_godot_pool_int_array_destroy(GDNative.api, arg0)
  683. }
  684. // NewEmptyPoolRealArray will return a pointer to an empty
  685. // initialized PoolRealArray. This is primarily used in
  686. // conjunction with MethodBindPtrCall.
  687. func NewEmptyPoolRealArray() Pointer {
  688. var obj C.godot_pool_real_array
  689. return Pointer{base: unsafe.Pointer(&obj)}
  690. }
  691. // NewPointerFromPoolRealArray will return an unsafe pointer to the given
  692. // object. This is primarily used in conjunction with MethodBindPtrCall.
  693. func NewPointerFromPoolRealArray(obj PoolRealArray) Pointer {
  694. return Pointer{base: unsafe.Pointer(obj.getBase())}
  695. }
  696. // NewPoolRealArrayFromPointer will return a PoolRealArray from the
  697. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  698. func NewPoolRealArrayFromPointer(ptr Pointer) PoolRealArray {
  699. return PoolRealArray{base: (*C.godot_pool_real_array)(ptr.getBase())}
  700. }
  701. // PoolRealArray data structure wrapper
  702. type PoolRealArray struct {
  703. base *C.godot_pool_real_array
  704. }
  705. // returns the wrapped C base data type for this type
  706. func (gdt PoolRealArray) getBase() *C.godot_pool_real_array {
  707. return gdt.base
  708. }
  709. // NewPoolRealArray godot_pool_real_array_new [[godot_pool_real_array * r_dest]] void
  710. func NewPoolRealArray() PoolRealArray {
  711. var dest C.godot_pool_real_array
  712. C.go_godot_pool_real_array_new(GDNative.api, &dest)
  713. return PoolRealArray{base: &dest}
  714. }
  715. // NewPoolRealArrayCopy godot_pool_real_array_new_copy [[godot_pool_real_array * r_dest] [const godot_pool_real_array * p_src]] void
  716. func NewPoolRealArrayCopy(src PoolRealArray) PoolRealArray {
  717. var dest C.godot_pool_real_array
  718. arg1 := src.getBase()
  719. C.go_godot_pool_real_array_new_copy(GDNative.api, &dest, arg1)
  720. return PoolRealArray{base: &dest}
  721. }
  722. // NewPoolRealArrayWithArray godot_pool_real_array_new_with_array [[godot_pool_real_array * r_dest] [const godot_array * p_a]] void
  723. func NewPoolRealArrayWithArray(a Array) PoolRealArray {
  724. var dest C.godot_pool_real_array
  725. arg1 := a.getBase()
  726. C.go_godot_pool_real_array_new_with_array(GDNative.api, &dest, arg1)
  727. return PoolRealArray{base: &dest}
  728. }
  729. // Append godot_pool_real_array_append [[godot_pool_real_array * p_self] [const godot_real p_data]] void
  730. func (gdt *PoolRealArray) Append(data Real) {
  731. arg0 := gdt.getBase()
  732. arg1 := data.getBase()
  733. C.go_godot_pool_real_array_append(GDNative.api, arg0, arg1)
  734. }
  735. // AppendArray godot_pool_real_array_append_array [[godot_pool_real_array * p_self] [const godot_pool_real_array * p_array]] void
  736. func (gdt *PoolRealArray) AppendArray(array PoolRealArray) {
  737. arg0 := gdt.getBase()
  738. arg1 := array.getBase()
  739. C.go_godot_pool_real_array_append_array(GDNative.api, arg0, arg1)
  740. }
  741. // Insert godot_pool_real_array_insert [[godot_pool_real_array * p_self] [const godot_int p_idx] [const godot_real p_data]] godot_error
  742. func (gdt *PoolRealArray) Insert(idx Int, data Real) Error {
  743. arg0 := gdt.getBase()
  744. arg1 := idx.getBase()
  745. arg2 := data.getBase()
  746. ret := C.go_godot_pool_real_array_insert(GDNative.api, arg0, arg1, arg2)
  747. return Error(ret)
  748. }
  749. // Invert godot_pool_real_array_invert [[godot_pool_real_array * p_self]] void
  750. func (gdt *PoolRealArray) Invert() {
  751. arg0 := gdt.getBase()
  752. C.go_godot_pool_real_array_invert(GDNative.api, arg0)
  753. }
  754. // PushBack godot_pool_real_array_push_back [[godot_pool_real_array * p_self] [const godot_real p_data]] void
  755. func (gdt *PoolRealArray) PushBack(data Real) {
  756. arg0 := gdt.getBase()
  757. arg1 := data.getBase()
  758. C.go_godot_pool_real_array_push_back(GDNative.api, arg0, arg1)
  759. }
  760. // Remove godot_pool_real_array_remove [[godot_pool_real_array * p_self] [const godot_int p_idx]] void
  761. func (gdt *PoolRealArray) Remove(idx Int) {
  762. arg0 := gdt.getBase()
  763. arg1 := idx.getBase()
  764. C.go_godot_pool_real_array_remove(GDNative.api, arg0, arg1)
  765. }
  766. // Resize godot_pool_real_array_resize [[godot_pool_real_array * p_self] [const godot_int p_size]] void
  767. func (gdt *PoolRealArray) Resize(size Int) {
  768. arg0 := gdt.getBase()
  769. arg1 := size.getBase()
  770. C.go_godot_pool_real_array_resize(GDNative.api, arg0, arg1)
  771. }
  772. // Read godot_pool_real_array_read [[const godot_pool_real_array * p_self]] godot_pool_real_array_read_access *
  773. func (gdt *PoolRealArray) Read() PoolRealArrayReadAccess {
  774. arg0 := gdt.getBase()
  775. ret := C.go_godot_pool_real_array_read(GDNative.api, arg0)
  776. return PoolRealArrayReadAccess{base: ret}
  777. }
  778. // Write godot_pool_real_array_write [[godot_pool_real_array * p_self]] godot_pool_real_array_write_access *
  779. func (gdt *PoolRealArray) Write() PoolRealArrayWriteAccess {
  780. arg0 := gdt.getBase()
  781. ret := C.go_godot_pool_real_array_write(GDNative.api, arg0)
  782. return PoolRealArrayWriteAccess{base: ret}
  783. }
  784. // Set godot_pool_real_array_set [[godot_pool_real_array * p_self] [const godot_int p_idx] [const godot_real p_data]] void
  785. func (gdt *PoolRealArray) Set(idx Int, data Real) {
  786. arg0 := gdt.getBase()
  787. arg1 := idx.getBase()
  788. arg2 := data.getBase()
  789. C.go_godot_pool_real_array_set(GDNative.api, arg0, arg1, arg2)
  790. }
  791. // Get godot_pool_real_array_get [[const godot_pool_real_array * p_self] [const godot_int p_idx]] godot_real
  792. func (gdt *PoolRealArray) Get(idx Int) Real {
  793. arg0 := gdt.getBase()
  794. arg1 := idx.getBase()
  795. ret := C.go_godot_pool_real_array_get(GDNative.api, arg0, arg1)
  796. return Real(ret)
  797. }
  798. // Size godot_pool_real_array_size [[const godot_pool_real_array * p_self]] godot_int
  799. func (gdt *PoolRealArray) Size() Int {
  800. arg0 := gdt.getBase()
  801. ret := C.go_godot_pool_real_array_size(GDNative.api, arg0)
  802. return Int(ret)
  803. }
  804. // Destroy godot_pool_real_array_destroy [[godot_pool_real_array * p_self]] void
  805. func (gdt *PoolRealArray) Destroy() {
  806. arg0 := gdt.getBase()
  807. C.go_godot_pool_real_array_destroy(GDNative.api, arg0)
  808. }
  809. // NewEmptyPoolStringArray will return a pointer to an empty
  810. // initialized PoolStringArray. This is primarily used in
  811. // conjunction with MethodBindPtrCall.
  812. func NewEmptyPoolStringArray() Pointer {
  813. var obj C.godot_pool_string_array
  814. return Pointer{base: unsafe.Pointer(&obj)}
  815. }
  816. // NewPointerFromPoolStringArray will return an unsafe pointer to the given
  817. // object. This is primarily used in conjunction with MethodBindPtrCall.
  818. func NewPointerFromPoolStringArray(obj PoolStringArray) Pointer {
  819. return Pointer{base: unsafe.Pointer(obj.getBase())}
  820. }
  821. // NewPoolStringArrayFromPointer will return a PoolStringArray from the
  822. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  823. func NewPoolStringArrayFromPointer(ptr Pointer) PoolStringArray {
  824. return PoolStringArray{base: (*C.godot_pool_string_array)(ptr.getBase())}
  825. }
  826. // PoolStringArray data structure wrapper
  827. type PoolStringArray struct {
  828. base *C.godot_pool_string_array
  829. }
  830. // returns the wrapped C base data type for this type
  831. func (gdt PoolStringArray) getBase() *C.godot_pool_string_array {
  832. return gdt.base
  833. }
  834. // NewPoolStringArray godot_pool_string_array_new [[godot_pool_string_array * r_dest]] void
  835. func NewPoolStringArray() PoolStringArray {
  836. var dest C.godot_pool_string_array
  837. C.go_godot_pool_string_array_new(GDNative.api, &dest)
  838. return PoolStringArray{base: &dest}
  839. }
  840. // NewPoolStringArrayCopy godot_pool_string_array_new_copy [[godot_pool_string_array * r_dest] [const godot_pool_string_array * p_src]] void
  841. func NewPoolStringArrayCopy(src PoolStringArray) PoolStringArray {
  842. var dest C.godot_pool_string_array
  843. arg1 := src.getBase()
  844. C.go_godot_pool_string_array_new_copy(GDNative.api, &dest, arg1)
  845. return PoolStringArray{base: &dest}
  846. }
  847. // NewPoolStringArrayWithArray godot_pool_string_array_new_with_array [[godot_pool_string_array * r_dest] [const godot_array * p_a]] void
  848. func NewPoolStringArrayWithArray(a Array) PoolStringArray {
  849. var dest C.godot_pool_string_array
  850. arg1 := a.getBase()
  851. C.go_godot_pool_string_array_new_with_array(GDNative.api, &dest, arg1)
  852. return PoolStringArray{base: &dest}
  853. }
  854. // Append godot_pool_string_array_append [[godot_pool_string_array * p_self] [const godot_string * p_data]] void
  855. func (gdt *PoolStringArray) Append(data String) {
  856. arg0 := gdt.getBase()
  857. arg1 := data.getBase()
  858. C.go_godot_pool_string_array_append(GDNative.api, arg0, arg1)
  859. }
  860. // AppendArray godot_pool_string_array_append_array [[godot_pool_string_array * p_self] [const godot_pool_string_array * p_array]] void
  861. func (gdt *PoolStringArray) AppendArray(array PoolStringArray) {
  862. arg0 := gdt.getBase()
  863. arg1 := array.getBase()
  864. C.go_godot_pool_string_array_append_array(GDNative.api, arg0, arg1)
  865. }
  866. // Insert godot_pool_string_array_insert [[godot_pool_string_array * p_self] [const godot_int p_idx] [const godot_string * p_data]] godot_error
  867. func (gdt *PoolStringArray) Insert(idx Int, data String) Error {
  868. arg0 := gdt.getBase()
  869. arg1 := idx.getBase()
  870. arg2 := data.getBase()
  871. ret := C.go_godot_pool_string_array_insert(GDNative.api, arg0, arg1, arg2)
  872. return Error(ret)
  873. }
  874. // Invert godot_pool_string_array_invert [[godot_pool_string_array * p_self]] void
  875. func (gdt *PoolStringArray) Invert() {
  876. arg0 := gdt.getBase()
  877. C.go_godot_pool_string_array_invert(GDNative.api, arg0)
  878. }
  879. // PushBack godot_pool_string_array_push_back [[godot_pool_string_array * p_self] [const godot_string * p_data]] void
  880. func (gdt *PoolStringArray) PushBack(data String) {
  881. arg0 := gdt.getBase()
  882. arg1 := data.getBase()
  883. C.go_godot_pool_string_array_push_back(GDNative.api, arg0, arg1)
  884. }
  885. // Remove godot_pool_string_array_remove [[godot_pool_string_array * p_self] [const godot_int p_idx]] void
  886. func (gdt *PoolStringArray) Remove(idx Int) {
  887. arg0 := gdt.getBase()
  888. arg1 := idx.getBase()
  889. C.go_godot_pool_string_array_remove(GDNative.api, arg0, arg1)
  890. }
  891. // Resize godot_pool_string_array_resize [[godot_pool_string_array * p_self] [const godot_int p_size]] void
  892. func (gdt *PoolStringArray) Resize(size Int) {
  893. arg0 := gdt.getBase()
  894. arg1 := size.getBase()
  895. C.go_godot_pool_string_array_resize(GDNative.api, arg0, arg1)
  896. }
  897. // Read godot_pool_string_array_read [[const godot_pool_string_array * p_self]] godot_pool_string_array_read_access *
  898. func (gdt *PoolStringArray) Read() PoolStringArrayReadAccess {
  899. arg0 := gdt.getBase()
  900. ret := C.go_godot_pool_string_array_read(GDNative.api, arg0)
  901. return PoolStringArrayReadAccess{base: ret}
  902. }
  903. // Write godot_pool_string_array_write [[godot_pool_string_array * p_self]] godot_pool_string_array_write_access *
  904. func (gdt *PoolStringArray) Write() PoolStringArrayWriteAccess {
  905. arg0 := gdt.getBase()
  906. ret := C.go_godot_pool_string_array_write(GDNative.api, arg0)
  907. return PoolStringArrayWriteAccess{base: ret}
  908. }
  909. // Set godot_pool_string_array_set [[godot_pool_string_array * p_self] [const godot_int p_idx] [const godot_string * p_data]] void
  910. func (gdt *PoolStringArray) Set(idx Int, data String) {
  911. arg0 := gdt.getBase()
  912. arg1 := idx.getBase()
  913. arg2 := data.getBase()
  914. C.go_godot_pool_string_array_set(GDNative.api, arg0, arg1, arg2)
  915. }
  916. // Get godot_pool_string_array_get [[const godot_pool_string_array * p_self] [const godot_int p_idx]] godot_string
  917. func (gdt *PoolStringArray) Get(idx Int) String {
  918. arg0 := gdt.getBase()
  919. arg1 := idx.getBase()
  920. ret := C.go_godot_pool_string_array_get(GDNative.api, arg0, arg1)
  921. utfStr := C.go_godot_string_utf8(GDNative.api, &ret)
  922. char := C.go_godot_char_string_get_data(GDNative.api, &utfStr)
  923. goStr := C.GoString(char)
  924. C.go_godot_char_string_destroy(GDNative.api, &utfStr)
  925. return String(goStr)
  926. }
  927. // Size godot_pool_string_array_size [[const godot_pool_string_array * p_self]] godot_int
  928. func (gdt *PoolStringArray) Size() Int {
  929. arg0 := gdt.getBase()
  930. ret := C.go_godot_pool_string_array_size(GDNative.api, arg0)
  931. return Int(ret)
  932. }
  933. // Destroy godot_pool_string_array_destroy [[godot_pool_string_array * p_self]] void
  934. func (gdt *PoolStringArray) Destroy() {
  935. arg0 := gdt.getBase()
  936. C.go_godot_pool_string_array_destroy(GDNative.api, arg0)
  937. }
  938. // NewEmptyPoolVector2Array will return a pointer to an empty
  939. // initialized PoolVector2Array. This is primarily used in
  940. // conjunction with MethodBindPtrCall.
  941. func NewEmptyPoolVector2Array() Pointer {
  942. var obj C.godot_pool_vector2_array
  943. return Pointer{base: unsafe.Pointer(&obj)}
  944. }
  945. // NewPointerFromPoolVector2Array will return an unsafe pointer to the given
  946. // object. This is primarily used in conjunction with MethodBindPtrCall.
  947. func NewPointerFromPoolVector2Array(obj PoolVector2Array) Pointer {
  948. return Pointer{base: unsafe.Pointer(obj.getBase())}
  949. }
  950. // NewPoolVector2ArrayFromPointer will return a PoolVector2Array from the
  951. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  952. func NewPoolVector2ArrayFromPointer(ptr Pointer) PoolVector2Array {
  953. return PoolVector2Array{base: (*C.godot_pool_vector2_array)(ptr.getBase())}
  954. }
  955. // PoolVector2Array data structure wrapper
  956. type PoolVector2Array struct {
  957. base *C.godot_pool_vector2_array
  958. }
  959. // returns the wrapped C base data type for this type
  960. func (gdt PoolVector2Array) getBase() *C.godot_pool_vector2_array {
  961. return gdt.base
  962. }
  963. // NewPoolVector2Array godot_pool_vector2_array_new [[godot_pool_vector2_array * r_dest]] void
  964. func NewPoolVector2Array() PoolVector2Array {
  965. var dest C.godot_pool_vector2_array
  966. C.go_godot_pool_vector2_array_new(GDNative.api, &dest)
  967. return PoolVector2Array{base: &dest}
  968. }
  969. // NewPoolVector2ArrayCopy godot_pool_vector2_array_new_copy [[godot_pool_vector2_array * r_dest] [const godot_pool_vector2_array * p_src]] void
  970. func NewPoolVector2ArrayCopy(src PoolVector2Array) PoolVector2Array {
  971. var dest C.godot_pool_vector2_array
  972. arg1 := src.getBase()
  973. C.go_godot_pool_vector2_array_new_copy(GDNative.api, &dest, arg1)
  974. return PoolVector2Array{base: &dest}
  975. }
  976. // NewPoolVector2ArrayWithArray godot_pool_vector2_array_new_with_array [[godot_pool_vector2_array * r_dest] [const godot_array * p_a]] void
  977. func NewPoolVector2ArrayWithArray(a Array) PoolVector2Array {
  978. var dest C.godot_pool_vector2_array
  979. arg1 := a.getBase()
  980. C.go_godot_pool_vector2_array_new_with_array(GDNative.api, &dest, arg1)
  981. return PoolVector2Array{base: &dest}
  982. }
  983. // Append godot_pool_vector2_array_append [[godot_pool_vector2_array * p_self] [const godot_vector2 * p_data]] void
  984. func (gdt *PoolVector2Array) Append(data Vector2) {
  985. arg0 := gdt.getBase()
  986. arg1 := data.getBase()
  987. C.go_godot_pool_vector2_array_append(GDNative.api, arg0, arg1)
  988. }
  989. // AppendArray godot_pool_vector2_array_append_array [[godot_pool_vector2_array * p_self] [const godot_pool_vector2_array * p_array]] void
  990. func (gdt *PoolVector2Array) AppendArray(array PoolVector2Array) {
  991. arg0 := gdt.getBase()
  992. arg1 := array.getBase()
  993. C.go_godot_pool_vector2_array_append_array(GDNative.api, arg0, arg1)
  994. }
  995. // Insert godot_pool_vector2_array_insert [[godot_pool_vector2_array * p_self] [const godot_int p_idx] [const godot_vector2 * p_data]] godot_error
  996. func (gdt *PoolVector2Array) Insert(idx Int, data Vector2) Error {
  997. arg0 := gdt.getBase()
  998. arg1 := idx.getBase()
  999. arg2 := data.getBase()
  1000. ret := C.go_godot_pool_vector2_array_insert(GDNative.api, arg0, arg1, arg2)
  1001. return Error(ret)
  1002. }
  1003. // Invert godot_pool_vector2_array_invert [[godot_pool_vector2_array * p_self]] void
  1004. func (gdt *PoolVector2Array) Invert() {
  1005. arg0 := gdt.getBase()
  1006. C.go_godot_pool_vector2_array_invert(GDNative.api, arg0)
  1007. }
  1008. // PushBack godot_pool_vector2_array_push_back [[godot_pool_vector2_array * p_self] [const godot_vector2 * p_data]] void
  1009. func (gdt *PoolVector2Array) PushBack(data Vector2) {
  1010. arg0 := gdt.getBase()
  1011. arg1 := data.getBase()
  1012. C.go_godot_pool_vector2_array_push_back(GDNative.api, arg0, arg1)
  1013. }
  1014. // Remove godot_pool_vector2_array_remove [[godot_pool_vector2_array * p_self] [const godot_int p_idx]] void
  1015. func (gdt *PoolVector2Array) Remove(idx Int) {
  1016. arg0 := gdt.getBase()
  1017. arg1 := idx.getBase()
  1018. C.go_godot_pool_vector2_array_remove(GDNative.api, arg0, arg1)
  1019. }
  1020. // Resize godot_pool_vector2_array_resize [[godot_pool_vector2_array * p_self] [const godot_int p_size]] void
  1021. func (gdt *PoolVector2Array) Resize(size Int) {
  1022. arg0 := gdt.getBase()
  1023. arg1 := size.getBase()
  1024. C.go_godot_pool_vector2_array_resize(GDNative.api, arg0, arg1)
  1025. }
  1026. // Read godot_pool_vector2_array_read [[const godot_pool_vector2_array * p_self]] godot_pool_vector2_array_read_access *
  1027. func (gdt *PoolVector2Array) Read() PoolVector2ArrayReadAccess {
  1028. arg0 := gdt.getBase()
  1029. ret := C.go_godot_pool_vector2_array_read(GDNative.api, arg0)
  1030. return PoolVector2ArrayReadAccess{base: ret}
  1031. }
  1032. // Write godot_pool_vector2_array_write [[godot_pool_vector2_array * p_self]] godot_pool_vector2_array_write_access *
  1033. func (gdt *PoolVector2Array) Write() PoolVector2ArrayWriteAccess {
  1034. arg0 := gdt.getBase()
  1035. ret := C.go_godot_pool_vector2_array_write(GDNative.api, arg0)
  1036. return PoolVector2ArrayWriteAccess{base: ret}
  1037. }
  1038. // Set godot_pool_vector2_array_set [[godot_pool_vector2_array * p_self] [const godot_int p_idx] [const godot_vector2 * p_data]] void
  1039. func (gdt *PoolVector2Array) Set(idx Int, data Vector2) {
  1040. arg0 := gdt.getBase()
  1041. arg1 := idx.getBase()
  1042. arg2 := data.getBase()
  1043. C.go_godot_pool_vector2_array_set(GDNative.api, arg0, arg1, arg2)
  1044. }
  1045. // Get godot_pool_vector2_array_get [[const godot_pool_vector2_array * p_self] [const godot_int p_idx]] godot_vector2
  1046. func (gdt *PoolVector2Array) Get(idx Int) Vector2 {
  1047. arg0 := gdt.getBase()
  1048. arg1 := idx.getBase()
  1049. ret := C.go_godot_pool_vector2_array_get(GDNative.api, arg0, arg1)
  1050. return Vector2{base: &ret}
  1051. }
  1052. // Size godot_pool_vector2_array_size [[const godot_pool_vector2_array * p_self]] godot_int
  1053. func (gdt *PoolVector2Array) Size() Int {
  1054. arg0 := gdt.getBase()
  1055. ret := C.go_godot_pool_vector2_array_size(GDNative.api, arg0)
  1056. return Int(ret)
  1057. }
  1058. // Destroy godot_pool_vector2_array_destroy [[godot_pool_vector2_array * p_self]] void
  1059. func (gdt *PoolVector2Array) Destroy() {
  1060. arg0 := gdt.getBase()
  1061. C.go_godot_pool_vector2_array_destroy(GDNative.api, arg0)
  1062. }
  1063. // NewEmptyPoolVector3Array will return a pointer to an empty
  1064. // initialized PoolVector3Array. This is primarily used in
  1065. // conjunction with MethodBindPtrCall.
  1066. func NewEmptyPoolVector3Array() Pointer {
  1067. var obj C.godot_pool_vector3_array
  1068. return Pointer{base: unsafe.Pointer(&obj)}
  1069. }
  1070. // NewPointerFromPoolVector3Array will return an unsafe pointer to the given
  1071. // object. This is primarily used in conjunction with MethodBindPtrCall.
  1072. func NewPointerFromPoolVector3Array(obj PoolVector3Array) Pointer {
  1073. return Pointer{base: unsafe.Pointer(obj.getBase())}
  1074. }
  1075. // NewPoolVector3ArrayFromPointer will return a PoolVector3Array from the
  1076. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  1077. func NewPoolVector3ArrayFromPointer(ptr Pointer) PoolVector3Array {
  1078. return PoolVector3Array{base: (*C.godot_pool_vector3_array)(ptr.getBase())}
  1079. }
  1080. // PoolVector3Array data structure wrapper
  1081. type PoolVector3Array struct {
  1082. base *C.godot_pool_vector3_array
  1083. }
  1084. // returns the wrapped C base data type for this type
  1085. func (gdt PoolVector3Array) getBase() *C.godot_pool_vector3_array {
  1086. return gdt.base
  1087. }
  1088. // NewPoolVector3Array godot_pool_vector3_array_new [[godot_pool_vector3_array * r_dest]] void
  1089. func NewPoolVector3Array() PoolVector3Array {
  1090. var dest C.godot_pool_vector3_array
  1091. C.go_godot_pool_vector3_array_new(GDNative.api, &dest)
  1092. return PoolVector3Array{base: &dest}
  1093. }
  1094. // NewPoolVector3ArrayCopy godot_pool_vector3_array_new_copy [[godot_pool_vector3_array * r_dest] [const godot_pool_vector3_array * p_src]] void
  1095. func NewPoolVector3ArrayCopy(src PoolVector3Array) PoolVector3Array {
  1096. var dest C.godot_pool_vector3_array
  1097. arg1 := src.getBase()
  1098. C.go_godot_pool_vector3_array_new_copy(GDNative.api, &dest, arg1)
  1099. return PoolVector3Array{base: &dest}
  1100. }
  1101. // NewPoolVector3ArrayWithArray godot_pool_vector3_array_new_with_array [[godot_pool_vector3_array * r_dest] [const godot_array * p_a]] void
  1102. func NewPoolVector3ArrayWithArray(a Array) PoolVector3Array {
  1103. var dest C.godot_pool_vector3_array
  1104. arg1 := a.getBase()
  1105. C.go_godot_pool_vector3_array_new_with_array(GDNative.api, &dest, arg1)
  1106. return PoolVector3Array{base: &dest}
  1107. }
  1108. // Append godot_pool_vector3_array_append [[godot_pool_vector3_array * p_self] [const godot_vector3 * p_data]] void
  1109. func (gdt *PoolVector3Array) Append(data Vector3) {
  1110. arg0 := gdt.getBase()
  1111. arg1 := data.getBase()
  1112. C.go_godot_pool_vector3_array_append(GDNative.api, arg0, arg1)
  1113. }
  1114. // AppendArray godot_pool_vector3_array_append_array [[godot_pool_vector3_array * p_self] [const godot_pool_vector3_array * p_array]] void
  1115. func (gdt *PoolVector3Array) AppendArray(array PoolVector3Array) {
  1116. arg0 := gdt.getBase()
  1117. arg1 := array.getBase()
  1118. C.go_godot_pool_vector3_array_append_array(GDNative.api, arg0, arg1)
  1119. }
  1120. // Insert godot_pool_vector3_array_insert [[godot_pool_vector3_array * p_self] [const godot_int p_idx] [const godot_vector3 * p_data]] godot_error
  1121. func (gdt *PoolVector3Array) Insert(idx Int, data Vector3) Error {
  1122. arg0 := gdt.getBase()
  1123. arg1 := idx.getBase()
  1124. arg2 := data.getBase()
  1125. ret := C.go_godot_pool_vector3_array_insert(GDNative.api, arg0, arg1, arg2)
  1126. return Error(ret)
  1127. }
  1128. // Invert godot_pool_vector3_array_invert [[godot_pool_vector3_array * p_self]] void
  1129. func (gdt *PoolVector3Array) Invert() {
  1130. arg0 := gdt.getBase()
  1131. C.go_godot_pool_vector3_array_invert(GDNative.api, arg0)
  1132. }
  1133. // PushBack godot_pool_vector3_array_push_back [[godot_pool_vector3_array * p_self] [const godot_vector3 * p_data]] void
  1134. func (gdt *PoolVector3Array) PushBack(data Vector3) {
  1135. arg0 := gdt.getBase()
  1136. arg1 := data.getBase()
  1137. C.go_godot_pool_vector3_array_push_back(GDNative.api, arg0, arg1)
  1138. }
  1139. // Remove godot_pool_vector3_array_remove [[godot_pool_vector3_array * p_self] [const godot_int p_idx]] void
  1140. func (gdt *PoolVector3Array) Remove(idx Int) {
  1141. arg0 := gdt.getBase()
  1142. arg1 := idx.getBase()
  1143. C.go_godot_pool_vector3_array_remove(GDNative.api, arg0, arg1)
  1144. }
  1145. // Resize godot_pool_vector3_array_resize [[godot_pool_vector3_array * p_self] [const godot_int p_size]] void
  1146. func (gdt *PoolVector3Array) Resize(size Int) {
  1147. arg0 := gdt.getBase()
  1148. arg1 := size.getBase()
  1149. C.go_godot_pool_vector3_array_resize(GDNative.api, arg0, arg1)
  1150. }
  1151. // Read godot_pool_vector3_array_read [[const godot_pool_vector3_array * p_self]] godot_pool_vector3_array_read_access *
  1152. func (gdt *PoolVector3Array) Read() PoolVector3ArrayReadAccess {
  1153. arg0 := gdt.getBase()
  1154. ret := C.go_godot_pool_vector3_array_read(GDNative.api, arg0)
  1155. return PoolVector3ArrayReadAccess{base: ret}
  1156. }
  1157. // Write godot_pool_vector3_array_write [[godot_pool_vector3_array * p_self]] godot_pool_vector3_array_write_access *
  1158. func (gdt *PoolVector3Array) Write() PoolVector3ArrayWriteAccess {
  1159. arg0 := gdt.getBase()
  1160. ret := C.go_godot_pool_vector3_array_write(GDNative.api, arg0)
  1161. return PoolVector3ArrayWriteAccess{base: ret}
  1162. }
  1163. // Set godot_pool_vector3_array_set [[godot_pool_vector3_array * p_self] [const godot_int p_idx] [const godot_vector3 * p_data]] void
  1164. func (gdt *PoolVector3Array) Set(idx Int, data Vector3) {
  1165. arg0 := gdt.getBase()
  1166. arg1 := idx.getBase()
  1167. arg2 := data.getBase()
  1168. C.go_godot_pool_vector3_array_set(GDNative.api, arg0, arg1, arg2)
  1169. }
  1170. // Get godot_pool_vector3_array_get [[const godot_pool_vector3_array * p_self] [const godot_int p_idx]] godot_vector3
  1171. func (gdt *PoolVector3Array) Get(idx Int) Vector3 {
  1172. arg0 := gdt.getBase()
  1173. arg1 := idx.getBase()
  1174. ret := C.go_godot_pool_vector3_array_get(GDNative.api, arg0, arg1)
  1175. return Vector3{base: &ret}
  1176. }
  1177. // Size godot_pool_vector3_array_size [[const godot_pool_vector3_array * p_self]] godot_int
  1178. func (gdt *PoolVector3Array) Size() Int {
  1179. arg0 := gdt.getBase()
  1180. ret := C.go_godot_pool_vector3_array_size(GDNative.api, arg0)
  1181. return Int(ret)
  1182. }
  1183. // Destroy godot_pool_vector3_array_destroy [[godot_pool_vector3_array * p_self]] void
  1184. func (gdt *PoolVector3Array) Destroy() {
  1185. arg0 := gdt.getBase()
  1186. C.go_godot_pool_vector3_array_destroy(GDNative.api, arg0)
  1187. }
  1188. // NewEmptyPoolColorArray will return a pointer to an empty
  1189. // initialized PoolColorArray. This is primarily used in
  1190. // conjunction with MethodBindPtrCall.
  1191. func NewEmptyPoolColorArray() Pointer {
  1192. var obj C.godot_pool_color_array
  1193. return Pointer{base: unsafe.Pointer(&obj)}
  1194. }
  1195. // NewPointerFromPoolColorArray will return an unsafe pointer to the given
  1196. // object. This is primarily used in conjunction with MethodBindPtrCall.
  1197. func NewPointerFromPoolColorArray(obj PoolColorArray) Pointer {
  1198. return Pointer{base: unsafe.Pointer(obj.getBase())}
  1199. }
  1200. // NewPoolColorArrayFromPointer will return a PoolColorArray from the
  1201. // given unsafe pointer. This is primarily used in conjunction with MethodBindPtrCall.
  1202. func NewPoolColorArrayFromPointer(ptr Pointer) PoolColorArray {
  1203. return PoolColorArray{base: (*C.godot_pool_color_array)(ptr.getBase())}
  1204. }
  1205. // PoolColorArray data structure wrapper
  1206. type PoolColorArray struct {
  1207. base *C.godot_pool_color_array
  1208. }
  1209. // returns the wrapped C base data type for this type
  1210. func (gdt PoolColorArray) getBase() *C.godot_pool_color_array {
  1211. return gdt.base
  1212. }
  1213. // NewPoolColorArray godot_pool_color_array_new [[godot_pool_color_array * r_dest]] void
  1214. func NewPoolColorArray() PoolColorArray {
  1215. var dest C.godot_pool_color_array
  1216. C.go_godot_pool_color_array_new(GDNative.api, &dest)
  1217. return PoolColorArray{base: &dest}
  1218. }
  1219. // NewPoolColorArrayCopy godot_pool_color_array_new_copy [[godot_pool_color_array * r_dest] [const godot_pool_color_array * p_src]] void
  1220. func NewPoolColorArrayCopy(src PoolColorArray) PoolColorArray {
  1221. var dest C.godot_pool_color_array
  1222. arg1 := src.getBase()
  1223. C.go_godot_pool_color_array_new_copy(GDNative.api, &dest, arg1)
  1224. return PoolColorArray{base: &dest}
  1225. }
  1226. // NewPoolColorArrayWithArray godot_pool_color_array_new_with_array [[godot_pool_color_array * r_dest] [const godot_array * p_a]] void
  1227. func NewPoolColorArrayWithArray(a Array) PoolColorArray {
  1228. var dest C.godot_pool_color_array
  1229. arg1 := a.getBase()
  1230. C.go_godot_pool_color_array_new_with_array(GDNative.api, &dest, arg1)
  1231. return PoolColorArray{base: &dest}
  1232. }
  1233. // Append godot_pool_color_array_append [[godot_pool_color_array * p_self] [const godot_color * p_data]] void
  1234. func (gdt *PoolColorArray) Append(data Color) {
  1235. arg0 := gdt.getBase()
  1236. arg1 := data.getBase()
  1237. C.go_godot_pool_color_array_append(GDNative.api, arg0, arg1)
  1238. }
  1239. // AppendArray godot_pool_color_array_append_array [[godot_pool_color_array * p_self] [const godot_pool_color_array * p_array]] void
  1240. func (gdt *PoolColorArray) AppendArray(array PoolColorArray) {
  1241. arg0 := gdt.getBase()
  1242. arg1 := array.getBase()
  1243. C.go_godot_pool_color_array_append_array(GDNative.api, arg0, arg1)
  1244. }
  1245. // Insert godot_pool_color_array_insert [[godot_pool_color_array * p_self] [const godot_int p_idx] [const godot_color * p_data]] godot_error
  1246. func (gdt *PoolColorArray) Insert(idx Int, data Color) Error {
  1247. arg0 := gdt.getBase()
  1248. arg1 := idx.getBase()
  1249. arg2 := data.getBase()
  1250. ret := C.go_godot_pool_color_array_insert(GDNative.api, arg0, arg1, arg2)
  1251. return Error(ret)
  1252. }
  1253. // Invert godot_pool_color_array_invert [[godot_pool_color_array * p_self]] void
  1254. func (gdt *PoolColorArray) Invert() {
  1255. arg0 := gdt.getBase()
  1256. C.go_godot_pool_color_array_invert(GDNative.api, arg0)
  1257. }
  1258. // PushBack godot_pool_color_array_push_back [[godot_pool_color_array * p_self] [const godot_color * p_data]] void
  1259. func (gdt *PoolColorArray) PushBack(data Color) {
  1260. arg0 := gdt.getBase()
  1261. arg1 := data.getBase()
  1262. C.go_godot_pool_color_array_push_back(GDNative.api, arg0, arg1)
  1263. }
  1264. // Remove godot_pool_color_array_remove [[godot_pool_color_array * p_self] [const godot_int p_idx]] void
  1265. func (gdt *PoolColorArray) Remove(idx Int) {
  1266. arg0 := gdt.getBase()
  1267. arg1 := idx.getBase()
  1268. C.go_godot_pool_color_array_remove(GDNative.api, arg0, arg1)
  1269. }
  1270. // Resize godot_pool_color_array_resize [[godot_pool_color_array * p_self] [const godot_int p_size]] void
  1271. func (gdt *PoolColorArray) Resize(size Int) {
  1272. arg0 := gdt.getBase()
  1273. arg1 := size.getBase()
  1274. C.go_godot_pool_color_array_resize(GDNative.api, arg0, arg1)
  1275. }
  1276. // Read godot_pool_color_array_read [[const godot_pool_color_array * p_self]] godot_pool_color_array_read_access *
  1277. func (gdt *PoolColorArray) Read() PoolColorArrayReadAccess {
  1278. arg0 := gdt.getBase()
  1279. ret := C.go_godot_pool_color_array_read(GDNative.api, arg0)
  1280. return PoolColorArrayReadAccess{base: ret}
  1281. }
  1282. // Write godot_pool_color_array_write [[godot_pool_color_array * p_self]] godot_pool_color_array_write_access *
  1283. func (gdt *PoolColorArray) Write() PoolColorArrayWriteAccess {
  1284. arg0 := gdt.getBase()
  1285. ret := C.go_godot_pool_color_array_write(GDNative.api, arg0)
  1286. return PoolColorArrayWriteAccess{base: ret}
  1287. }
  1288. // Set godot_pool_color_array_set [[godot_pool_color_array * p_self] [const godot_int p_idx] [const godot_color * p_data]] void
  1289. func (gdt *PoolColorArray) Set(idx Int, data Color) {
  1290. arg0 := gdt.getBase()
  1291. arg1 := idx.getBase()
  1292. arg2 := data.getBase()
  1293. C.go_godot_pool_color_array_set(GDNative.api, arg0, arg1, arg2)
  1294. }
  1295. // Get godot_pool_color_array_get [[const godot_pool_color_array * p_self] [const godot_int p_idx]] godot_color
  1296. func (gdt *PoolColorArray) Get(idx Int) Color {
  1297. arg0 := gdt.getBase()
  1298. arg1 := idx.getBase()
  1299. ret := C.go_godot_pool_color_array_get(GDNative.api, arg0, arg1)
  1300. return Color{base: &ret}
  1301. }
  1302. // Size godot_pool_color_array_size [[const godot_pool_color_array * p_self]] godot_int
  1303. func (gdt *PoolColorArray) Size() Int {
  1304. arg0 := gdt.getBase()
  1305. ret := C.go_godot_pool_color_array_size(GDNative.api, arg0)
  1306. return Int(ret)
  1307. }
  1308. // Destroy godot_pool_color_array_destroy [[godot_pool_color_array * p_self]] void
  1309. func (gdt *PoolColorArray) Destroy() {
  1310. arg0 := gdt.getBase()
  1311. C.go_godot_pool_color_array_destroy(GDNative.api, arg0)
  1312. }