├── .gitignore ├── LICENSE ├── README.md ├── config.nims ├── coronation ├── .gitignore ├── README.md ├── config.nims ├── coronation.nimble └── src │ ├── config.nims │ ├── coronation.nim │ └── coronation │ ├── build.nim │ ├── config.nim │ ├── operators │ ├── arguments.nim │ ├── builtinclasses │ │ ├── constructors.nim │ │ ├── methods.nim │ │ └── operators.nim │ ├── classes │ │ ├── methods.nim │ │ └── properties.nim │ ├── classindex.nim │ ├── constants.nim │ ├── enums.nim │ ├── functions.nim │ ├── structs.nim │ ├── utilityfuncs.nim │ └── variantHook.nim │ ├── submodules │ ├── filesystem │ │ ├── Directory.nim │ │ ├── NimSource.nim │ │ ├── ProjectRoot.nim │ │ ├── Textfile.nim │ │ ├── VirtualDirectory.nim │ │ ├── VirtualFile.nim │ │ └── sdk.nim │ ├── semanticstrings.nim │ └── wordropes.nim │ ├── types │ └── json.nim │ └── utils.nim ├── gdext.nimble ├── nimble.svg ├── src ├── gdext.nim ├── gdext │ ├── appearances.nim │ ├── arraytools.nim │ ├── bridge.nim │ ├── buildconf.nim │ ├── builtinindex.nim │ ├── classes │ │ ├── README.md │ │ ├── gdacceptdialog.nim │ │ ├── gdaescontext.nim │ │ ├── gdanimatablebody2d.nim │ │ ├── gdanimatablebody3d.nim │ │ ├── gdanimatedsprite2d.nim │ │ ├── gdanimatedsprite3d.nim │ │ ├── gdanimatedtexture.nim │ │ ├── gdanimation.nim │ │ ├── gdanimationlibrary.nim │ │ ├── gdanimationmixer.nim │ │ ├── gdanimationnode.nim │ │ ├── gdanimationnodeadd2.nim │ │ ├── gdanimationnodeadd3.nim │ │ ├── gdanimationnodeanimation.nim │ │ ├── gdanimationnodeblend2.nim │ │ ├── gdanimationnodeblend3.nim │ │ ├── gdanimationnodeblendspace1d.nim │ │ ├── gdanimationnodeblendspace2d.nim │ │ ├── gdanimationnodeblendtree.nim │ │ ├── gdanimationnodeextension.nim │ │ ├── gdanimationnodeoneshot.nim │ │ ├── gdanimationnodeoutput.nim │ │ ├── gdanimationnodestatemachine.nim │ │ ├── gdanimationnodestatemachineplayback.nim │ │ ├── gdanimationnodestatemachinetransition.nim │ │ ├── gdanimationnodesub2.nim │ │ ├── gdanimationnodesync.nim │ │ ├── gdanimationnodetimescale.nim │ │ ├── gdanimationnodetimeseek.nim │ │ ├── gdanimationnodetransition.nim │ │ ├── gdanimationplayer.nim │ │ ├── gdanimationrootnode.nim │ │ ├── gdanimationtree.nim │ │ ├── gdarea2d.nim │ │ ├── gdarea3d.nim │ │ ├── gdarraymesh.nim │ │ ├── gdarrayoccluder3d.nim │ │ ├── gdaspectratiocontainer.nim │ │ ├── gdastar2d.nim │ │ ├── gdastar3d.nim │ │ ├── gdastargrid2d.nim │ │ ├── gdatlastexture.nim │ │ ├── gdaudiobuslayout.nim │ │ ├── gdaudioeffect.nim │ │ ├── gdaudioeffectamplify.nim │ │ ├── gdaudioeffectbandlimitfilter.nim │ │ ├── gdaudioeffectbandpassfilter.nim │ │ ├── gdaudioeffectcapture.nim │ │ ├── gdaudioeffectchorus.nim │ │ ├── gdaudioeffectcompressor.nim │ │ ├── gdaudioeffectdelay.nim │ │ ├── gdaudioeffectdistortion.nim │ │ ├── gdaudioeffecteq.nim │ │ ├── gdaudioeffecteq10.nim │ │ ├── gdaudioeffecteq21.nim │ │ ├── gdaudioeffecteq6.nim │ │ ├── gdaudioeffectfilter.nim │ │ ├── gdaudioeffecthardlimiter.nim │ │ ├── gdaudioeffecthighpassfilter.nim │ │ ├── gdaudioeffecthighshelffilter.nim │ │ ├── gdaudioeffectinstance.nim │ │ ├── gdaudioeffectlimiter.nim │ │ ├── gdaudioeffectlowpassfilter.nim │ │ ├── gdaudioeffectlowshelffilter.nim │ │ ├── gdaudioeffectnotchfilter.nim │ │ ├── gdaudioeffectpanner.nim │ │ ├── gdaudioeffectphaser.nim │ │ ├── gdaudioeffectpitchshift.nim │ │ ├── gdaudioeffectrecord.nim │ │ ├── gdaudioeffectreverb.nim │ │ ├── gdaudioeffectspectrumanalyzer.nim │ │ ├── gdaudioeffectspectrumanalyzerinstance.nim │ │ ├── gdaudioeffectstereoenhance.nim │ │ ├── gdaudiolistener2d.nim │ │ ├── gdaudiolistener3d.nim │ │ ├── gdaudiosample.nim │ │ ├── gdaudiosampleplayback.nim │ │ ├── gdaudioserver.nim │ │ ├── gdaudiostream.nim │ │ ├── gdaudiostreamgenerator.nim │ │ ├── gdaudiostreamgeneratorplayback.nim │ │ ├── gdaudiostreaminteractive.nim │ │ ├── gdaudiostreammicrophone.nim │ │ ├── gdaudiostreammp3.nim │ │ ├── gdaudiostreamoggvorbis.nim │ │ ├── gdaudiostreamplayback.nim │ │ ├── gdaudiostreamplaybackinteractive.nim │ │ ├── gdaudiostreamplaybackoggvorbis.nim │ │ ├── gdaudiostreamplaybackplaylist.nim │ │ ├── gdaudiostreamplaybackpolyphonic.nim │ │ ├── gdaudiostreamplaybackresampled.nim │ │ ├── gdaudiostreamplaybacksynchronized.nim │ │ ├── gdaudiostreamplayer.nim │ │ ├── gdaudiostreamplayer2d.nim │ │ ├── gdaudiostreamplayer3d.nim │ │ ├── gdaudiostreamplaylist.nim │ │ ├── gdaudiostreampolyphonic.nim │ │ ├── gdaudiostreamrandomizer.nim │ │ ├── gdaudiostreamsynchronized.nim │ │ ├── gdaudiostreamwav.nim │ │ ├── gdbackbuffercopy.nim │ │ ├── gdbasebutton.nim │ │ ├── gdbasematerial3d.nim │ │ ├── gdbitmap.nim │ │ ├── gdbone2d.nim │ │ ├── gdboneattachment3d.nim │ │ ├── gdbonemap.nim │ │ ├── gdboxcontainer.nim │ │ ├── gdboxmesh.nim │ │ ├── gdboxoccluder3d.nim │ │ ├── gdboxshape3d.nim │ │ ├── gdbutton.nim │ │ ├── gdbuttongroup.nim │ │ ├── gdcallbacktweener.nim │ │ ├── gdcamera2d.nim │ │ ├── gdcamera3d.nim │ │ ├── gdcameraattributes.nim │ │ ├── gdcameraattributesphysical.nim │ │ ├── gdcameraattributespractical.nim │ │ ├── gdcamerafeed.nim │ │ ├── gdcameraserver.nim │ │ ├── gdcameratexture.nim │ │ ├── gdcanvasgroup.nim │ │ ├── gdcanvasitem.nim │ │ ├── gdcanvasitemmaterial.nim │ │ ├── gdcanvaslayer.nim │ │ ├── gdcanvasmodulate.nim │ │ ├── gdcanvastexture.nim │ │ ├── gdcapsulemesh.nim │ │ ├── gdcapsuleshape2d.nim │ │ ├── gdcapsuleshape3d.nim │ │ ├── gdcentercontainer.nim │ │ ├── gdcharacterbody2d.nim │ │ ├── gdcharacterbody3d.nim │ │ ├── gdcharfxtransform.nim │ │ ├── gdcheckbox.nim │ │ ├── gdcheckbutton.nim │ │ ├── gdcircleshape2d.nim │ │ ├── gdclassdb.nim │ │ ├── gdcodeedit.nim │ │ ├── gdcodehighlighter.nim │ │ ├── gdcollisionobject2d.nim │ │ ├── gdcollisionobject3d.nim │ │ ├── gdcollisionpolygon2d.nim │ │ ├── gdcollisionpolygon3d.nim │ │ ├── gdcollisionshape2d.nim │ │ ├── gdcollisionshape3d.nim │ │ ├── gdcolorpalette.nim │ │ ├── gdcolorpicker.nim │ │ ├── gdcolorpickerbutton.nim │ │ ├── gdcolorrect.nim │ │ ├── gdcompositor.nim │ │ ├── gdcompositoreffect.nim │ │ ├── gdcompressedcubemap.nim │ │ ├── gdcompressedcubemaparray.nim │ │ ├── gdcompressedtexture2d.nim │ │ ├── gdcompressedtexture2darray.nim │ │ ├── gdcompressedtexture3d.nim │ │ ├── gdcompressedtexturelayered.nim │ │ ├── gdconcavepolygonshape2d.nim │ │ ├── gdconcavepolygonshape3d.nim │ │ ├── gdconetwistjoint3d.nim │ │ ├── gdconfigfile.nim │ │ ├── gdconfirmationdialog.nim │ │ ├── gdcontainer.nim │ │ ├── gdcontrol.nim │ │ ├── gdconvexpolygonshape2d.nim │ │ ├── gdconvexpolygonshape3d.nim │ │ ├── gdcpuparticles2d.nim │ │ ├── gdcpuparticles3d.nim │ │ ├── gdcrypto.nim │ │ ├── gdcryptokey.nim │ │ ├── gdcsgbox3d.nim │ │ ├── gdcsgcombiner3d.nim │ │ ├── gdcsgcylinder3d.nim │ │ ├── gdcsgmesh3d.nim │ │ ├── gdcsgpolygon3d.nim │ │ ├── gdcsgprimitive3d.nim │ │ ├── gdcsgshape3d.nim │ │ ├── gdcsgsphere3d.nim │ │ ├── gdcsgtorus3d.nim │ │ ├── gdcubemap.nim │ │ ├── gdcubemaparray.nim │ │ ├── gdcurve.nim │ │ ├── gdcurve2d.nim │ │ ├── gdcurve3d.nim │ │ ├── gdcurvetexture.nim │ │ ├── gdcurvexyztexture.nim │ │ ├── gdcylindermesh.nim │ │ ├── gdcylindershape3d.nim │ │ ├── gddampedspringjoint2d.nim │ │ ├── gddecal.nim │ │ ├── gddiraccess.nim │ │ ├── gddirectionallight2d.nim │ │ ├── gddirectionallight3d.nim │ │ ├── gddisplayserver.nim │ │ ├── gddtlsserver.nim │ │ ├── gdeditorcommandpalette.nim │ │ ├── gdeditorcontextmenuplugin.nim │ │ ├── gdeditordebuggerplugin.nim │ │ ├── gdeditordebuggersession.nim │ │ ├── gdeditorexportplatform.nim │ │ ├── gdeditorexportplatformandroid.nim │ │ ├── gdeditorexportplatformextension.nim │ │ ├── gdeditorexportplatformios.nim │ │ ├── gdeditorexportplatformlinuxbsd.nim │ │ ├── gdeditorexportplatformmacos.nim │ │ ├── gdeditorexportplatformpc.nim │ │ ├── gdeditorexportplatformweb.nim │ │ ├── gdeditorexportplatformwindows.nim │ │ ├── gdeditorexportplugin.nim │ │ ├── gdeditorexportpreset.nim │ │ ├── gdeditorfeatureprofile.nim │ │ ├── gdeditorfiledialog.nim │ │ ├── gdeditorfilesystem.nim │ │ ├── gdeditorfilesystemdirectory.nim │ │ ├── gdeditorfilesystemimportformatsupportquery.nim │ │ ├── gdeditorimportplugin.nim │ │ ├── gdeditorinspector.nim │ │ ├── gdeditorinspectorplugin.nim │ │ ├── gdeditorinterface.nim │ │ ├── gdeditornode3dgizmo.nim │ │ ├── gdeditornode3dgizmoplugin.nim │ │ ├── gdeditorpaths.nim │ │ ├── gdeditorplugin.nim │ │ ├── gdeditorproperty.nim │ │ ├── gdeditorresourceconversionplugin.nim │ │ ├── gdeditorresourcepicker.nim │ │ ├── gdeditorresourcepreview.nim │ │ ├── gdeditorresourcepreviewgenerator.nim │ │ ├── gdeditorresourcetooltipplugin.nim │ │ ├── gdeditorsceneformatimporter.nim │ │ ├── gdeditorsceneformatimporterblend.nim │ │ ├── gdeditorsceneformatimporterfbx2gltf.nim │ │ ├── gdeditorsceneformatimportergltf.nim │ │ ├── gdeditorsceneformatimporterufbx.nim │ │ ├── gdeditorscenepostimport.nim │ │ ├── gdeditorscenepostimportplugin.nim │ │ ├── gdeditorscript.nim │ │ ├── gdeditorscriptpicker.nim │ │ ├── gdeditorselection.nim │ │ ├── gdeditorsettings.nim │ │ ├── gdeditorspinslider.nim │ │ ├── gdeditorsyntaxhighlighter.nim │ │ ├── gdeditortoaster.nim │ │ ├── gdeditortranslationparserplugin.nim │ │ ├── gdeditorundoredomanager.nim │ │ ├── gdeditorvcsinterface.nim │ │ ├── gdencodedobjectasid.nim │ │ ├── gdenetconnection.nim │ │ ├── gdenetmultiplayerpeer.nim │ │ ├── gdenetpacketpeer.nim │ │ ├── gdengine.nim │ │ ├── gdenginedebugger.nim │ │ ├── gdengineprofiler.nim │ │ ├── gdenvironment.nim │ │ ├── gdexpression.nim │ │ ├── gdexternaltexture.nim │ │ ├── gdfastnoiselite.nim │ │ ├── gdfbxdocument.nim │ │ ├── gdfbxstate.nim │ │ ├── gdfileaccess.nim │ │ ├── gdfiledialog.nim │ │ ├── gdfilesystemdock.nim │ │ ├── gdflowcontainer.nim │ │ ├── gdfogmaterial.nim │ │ ├── gdfogvolume.nim │ │ ├── gdfont.nim │ │ ├── gdfontfile.nim │ │ ├── gdfontvariation.nim │ │ ├── gdframebuffercacherd.nim │ │ ├── gdgdextension.nim │ │ ├── gdgdextensionmanager.nim │ │ ├── gdgdscript.nim │ │ ├── gdgdscriptsyntaxhighlighter.nim │ │ ├── gdgeneric6dofjoint3d.nim │ │ ├── gdgeometry2d.nim │ │ ├── gdgeometry3d.nim │ │ ├── gdgeometryinstance3d.nim │ │ ├── gdgltfaccessor.nim │ │ ├── gdgltfanimation.nim │ │ ├── gdgltfbufferview.nim │ │ ├── gdgltfcamera.nim │ │ ├── gdgltfdocument.nim │ │ ├── gdgltfdocumentextension.nim │ │ ├── gdgltfdocumentextensionconvertimportermesh.nim │ │ ├── gdgltflight.nim │ │ ├── gdgltfmesh.nim │ │ ├── gdgltfnode.nim │ │ ├── gdgltfobjectmodelproperty.nim │ │ ├── gdgltfphysicsbody.nim │ │ ├── gdgltfphysicsshape.nim │ │ ├── gdgltfskeleton.nim │ │ ├── gdgltfskin.nim │ │ ├── gdgltfspecgloss.nim │ │ ├── gdgltfstate.nim │ │ ├── gdgltftexture.nim │ │ ├── gdgltftexturesampler.nim │ │ ├── gdgodotthread.nim │ │ ├── gdgpuparticles2d.nim │ │ ├── gdgpuparticles3d.nim │ │ ├── gdgpuparticlesattractor3d.nim │ │ ├── gdgpuparticlesattractorbox3d.nim │ │ ├── gdgpuparticlesattractorsphere3d.nim │ │ ├── gdgpuparticlesattractorvectorfield3d.nim │ │ ├── gdgpuparticlescollision3d.nim │ │ ├── gdgpuparticlescollisionbox3d.nim │ │ ├── gdgpuparticlescollisionheightfield3d.nim │ │ ├── gdgpuparticlescollisionsdf3d.nim │ │ ├── gdgpuparticlescollisionsphere3d.nim │ │ ├── gdgradient.nim │ │ ├── gdgradienttexture1d.nim │ │ ├── gdgradienttexture2d.nim │ │ ├── gdgraphedit.nim │ │ ├── gdgraphelement.nim │ │ ├── gdgraphframe.nim │ │ ├── gdgraphnode.nim │ │ ├── gdgridcontainer.nim │ │ ├── gdgridmap.nim │ │ ├── gdgridmapeditorplugin.nim │ │ ├── gdgroovejoint2d.nim │ │ ├── gdhashingcontext.nim │ │ ├── gdhboxcontainer.nim │ │ ├── gdheightmapshape3d.nim │ │ ├── gdhflowcontainer.nim │ │ ├── gdhingejoint3d.nim │ │ ├── gdhmaccontext.nim │ │ ├── gdhscrollbar.nim │ │ ├── gdhseparator.nim │ │ ├── gdhslider.nim │ │ ├── gdhsplitcontainer.nim │ │ ├── gdhttpclient.nim │ │ ├── gdhttprequest.nim │ │ ├── gdimage.nim │ │ ├── gdimageformatloader.nim │ │ ├── gdimageformatloaderextension.nim │ │ ├── gdimagetexture.nim │ │ ├── gdimagetexture3d.nim │ │ ├── gdimagetexturelayered.nim │ │ ├── gdimmediatemesh.nim │ │ ├── gdimportermesh.nim │ │ ├── gdimportermeshinstance3d.nim │ │ ├── gdinput.nim │ │ ├── gdinputevent.nim │ │ ├── gdinputeventaction.nim │ │ ├── gdinputeventfromwindow.nim │ │ ├── gdinputeventgesture.nim │ │ ├── gdinputeventjoypadbutton.nim │ │ ├── gdinputeventjoypadmotion.nim │ │ ├── gdinputeventkey.nim │ │ ├── gdinputeventmagnifygesture.nim │ │ ├── gdinputeventmidi.nim │ │ ├── gdinputeventmouse.nim │ │ ├── gdinputeventmousebutton.nim │ │ ├── gdinputeventmousemotion.nim │ │ ├── gdinputeventpangesture.nim │ │ ├── gdinputeventscreendrag.nim │ │ ├── gdinputeventscreentouch.nim │ │ ├── gdinputeventshortcut.nim │ │ ├── gdinputeventwithmodifiers.nim │ │ ├── gdinputmap.nim │ │ ├── gdinstanceplaceholder.nim │ │ ├── gdintervaltweener.nim │ │ ├── gdip.nim │ │ ├── gditemlist.nim │ │ ├── gdjavaclass.nim │ │ ├── gdjavaclasswrapper.nim │ │ ├── gdjavaobject.nim │ │ ├── gdjavascriptbridge.nim │ │ ├── gdjavascriptobject.nim │ │ ├── gdjnisingleton.nim │ │ ├── gdjoint2d.nim │ │ ├── gdjoint3d.nim │ │ ├── gdjson.nim │ │ ├── gdjsonrpc.nim │ │ ├── gdkinematiccollision2d.nim │ │ ├── gdkinematiccollision3d.nim │ │ ├── gdlabel.nim │ │ ├── gdlabel3d.nim │ │ ├── gdlabelsettings.nim │ │ ├── gdlight2d.nim │ │ ├── gdlight3d.nim │ │ ├── gdlightmapgi.nim │ │ ├── gdlightmapgidata.nim │ │ ├── gdlightmapper.nim │ │ ├── gdlightmapperrd.nim │ │ ├── gdlightmapprobe.nim │ │ ├── gdlightoccluder2d.nim │ │ ├── gdline2d.nim │ │ ├── gdlineedit.nim │ │ ├── gdlinkbutton.nim │ │ ├── gdlookatmodifier3d.nim │ │ ├── gdmainloop.nim │ │ ├── gdmargincontainer.nim │ │ ├── gdmarker2d.nim │ │ ├── gdmarker3d.nim │ │ ├── gdmarshalls.nim │ │ ├── gdmaterial.nim │ │ ├── gdmenubar.nim │ │ ├── gdmenubutton.nim │ │ ├── gdmesh.nim │ │ ├── gdmeshconvexdecompositionsettings.nim │ │ ├── gdmeshdatatool.nim │ │ ├── gdmeshinstance2d.nim │ │ ├── gdmeshinstance3d.nim │ │ ├── gdmeshlibrary.nim │ │ ├── gdmeshtexture.nim │ │ ├── gdmethodtweener.nim │ │ ├── gdmissingnode.nim │ │ ├── gdmissingresource.nim │ │ ├── gdmobilevrinterface.nim │ │ ├── gdmoviewriter.nim │ │ ├── gdmultimesh.nim │ │ ├── gdmultimeshinstance2d.nim │ │ ├── gdmultimeshinstance3d.nim │ │ ├── gdmultiplayerapi.nim │ │ ├── gdmultiplayerapiextension.nim │ │ ├── gdmultiplayerpeer.nim │ │ ├── gdmultiplayerpeerextension.nim │ │ ├── gdmultiplayerspawner.nim │ │ ├── gdmultiplayersynchronizer.nim │ │ ├── gdmutex.nim │ │ ├── gdnativemenu.nim │ │ ├── gdnavigationagent2d.nim │ │ ├── gdnavigationagent3d.nim │ │ ├── gdnavigationlink2d.nim │ │ ├── gdnavigationlink3d.nim │ │ ├── gdnavigationmesh.nim │ │ ├── gdnavigationmeshgenerator.nim │ │ ├── gdnavigationmeshsourcegeometrydata2d.nim │ │ ├── gdnavigationmeshsourcegeometrydata3d.nim │ │ ├── gdnavigationobstacle2d.nim │ │ ├── gdnavigationobstacle3d.nim │ │ ├── gdnavigationpathqueryparameters2d.nim │ │ ├── gdnavigationpathqueryparameters3d.nim │ │ ├── gdnavigationpathqueryresult2d.nim │ │ ├── gdnavigationpathqueryresult3d.nim │ │ ├── gdnavigationpolygon.nim │ │ ├── gdnavigationregion2d.nim │ │ ├── gdnavigationregion3d.nim │ │ ├── gdnavigationserver2d.nim │ │ ├── gdnavigationserver3d.nim │ │ ├── gdninepatchrect.nim │ │ ├── gdnode.nim │ │ ├── gdnode2d.nim │ │ ├── gdnode3d.nim │ │ ├── gdnode3dgizmo.nim │ │ ├── gdnoise.nim │ │ ├── gdnoisetexture2d.nim │ │ ├── gdnoisetexture3d.nim │ │ ├── gdobject.nim │ │ ├── gdoccluder3d.nim │ │ ├── gdoccluderinstance3d.nim │ │ ├── gdoccluderpolygon2d.nim │ │ ├── gdofflinemultiplayerpeer.nim │ │ ├── gdoggpacketsequence.nim │ │ ├── gdoggpacketsequenceplayback.nim │ │ ├── gdomnilight3d.nim │ │ ├── gdopenxraction.nim │ │ ├── gdopenxractionbindingmodifier.nim │ │ ├── gdopenxractionmap.nim │ │ ├── gdopenxractionset.nim │ │ ├── gdopenxranalogthresholdmodifier.nim │ │ ├── gdopenxrapiextension.nim │ │ ├── gdopenxrbindingmodifier.nim │ │ ├── gdopenxrbindingmodifiereditor.nim │ │ ├── gdopenxrcompositionlayer.nim │ │ ├── gdopenxrcompositionlayercylinder.nim │ │ ├── gdopenxrcompositionlayerequirect.nim │ │ ├── gdopenxrcompositionlayerquad.nim │ │ ├── gdopenxrdpadbindingmodifier.nim │ │ ├── gdopenxrextensionwrapperextension.nim │ │ ├── gdopenxrhand.nim │ │ ├── gdopenxrhapticbase.nim │ │ ├── gdopenxrhapticvibration.nim │ │ ├── gdopenxrinteractionprofile.nim │ │ ├── gdopenxrinteractionprofileeditor.nim │ │ ├── gdopenxrinteractionprofileeditorbase.nim │ │ ├── gdopenxrinteractionprofilemetadata.nim │ │ ├── gdopenxrinterface.nim │ │ ├── gdopenxripbinding.nim │ │ ├── gdopenxripbindingmodifier.nim │ │ ├── gdopenxrvisibilitymask.nim │ │ ├── gdoptimizedtranslation.nim │ │ ├── gdoptionbutton.nim │ │ ├── gdormmaterial3d.nim │ │ ├── gdos.nim │ │ ├── gdpackeddatacontainer.nim │ │ ├── gdpackeddatacontainerref.nim │ │ ├── gdpackedscene.nim │ │ ├── gdpacketpeer.nim │ │ ├── gdpacketpeerdtls.nim │ │ ├── gdpacketpeerextension.nim │ │ ├── gdpacketpeerstream.nim │ │ ├── gdpacketpeerudp.nim │ │ ├── gdpanel.nim │ │ ├── gdpanelcontainer.nim │ │ ├── gdpanoramaskymaterial.nim │ │ ├── gdparallax2d.nim │ │ ├── gdparallaxbackground.nim │ │ ├── gdparallaxlayer.nim │ │ ├── gdparticleprocessmaterial.nim │ │ ├── gdpath2d.nim │ │ ├── gdpath3d.nim │ │ ├── gdpathfollow2d.nim │ │ ├── gdpathfollow3d.nim │ │ ├── gdpckpacker.nim │ │ ├── gdperformance.nim │ │ ├── gdphysicalbone2d.nim │ │ ├── gdphysicalbone3d.nim │ │ ├── gdphysicalbonesimulator3d.nim │ │ ├── gdphysicalskymaterial.nim │ │ ├── gdphysicsbody2d.nim │ │ ├── gdphysicsbody3d.nim │ │ ├── gdphysicsdirectbodystate2d.nim │ │ ├── gdphysicsdirectbodystate2dextension.nim │ │ ├── gdphysicsdirectbodystate3d.nim │ │ ├── gdphysicsdirectbodystate3dextension.nim │ │ ├── gdphysicsdirectspacestate2d.nim │ │ ├── gdphysicsdirectspacestate2dextension.nim │ │ ├── gdphysicsdirectspacestate3d.nim │ │ ├── gdphysicsdirectspacestate3dextension.nim │ │ ├── gdphysicsmaterial.nim │ │ ├── gdphysicspointqueryparameters2d.nim │ │ ├── gdphysicspointqueryparameters3d.nim │ │ ├── gdphysicsrayqueryparameters2d.nim │ │ ├── gdphysicsrayqueryparameters3d.nim │ │ ├── gdphysicsserver2d.nim │ │ ├── gdphysicsserver2dextension.nim │ │ ├── gdphysicsserver2dmanager.nim │ │ ├── gdphysicsserver3d.nim │ │ ├── gdphysicsserver3dextension.nim │ │ ├── gdphysicsserver3dmanager.nim │ │ ├── gdphysicsserver3drenderingserverhandler.nim │ │ ├── gdphysicsshapequeryparameters2d.nim │ │ ├── gdphysicsshapequeryparameters3d.nim │ │ ├── gdphysicstestmotionparameters2d.nim │ │ ├── gdphysicstestmotionparameters3d.nim │ │ ├── gdphysicstestmotionresult2d.nim │ │ ├── gdphysicstestmotionresult3d.nim │ │ ├── gdpinjoint2d.nim │ │ ├── gdpinjoint3d.nim │ │ ├── gdplaceholdercubemap.nim │ │ ├── gdplaceholdercubemaparray.nim │ │ ├── gdplaceholdermaterial.nim │ │ ├── gdplaceholdermesh.nim │ │ ├── gdplaceholdertexture2d.nim │ │ ├── gdplaceholdertexture2darray.nim │ │ ├── gdplaceholdertexture3d.nim │ │ ├── gdplaceholdertexturelayered.nim │ │ ├── gdplanemesh.nim │ │ ├── gdpointlight2d.nim │ │ ├── gdpointmesh.nim │ │ ├── gdpolygon2d.nim │ │ ├── gdpolygonoccluder3d.nim │ │ ├── gdpolygonpathfinder.nim │ │ ├── gdpopup.nim │ │ ├── gdpopupmenu.nim │ │ ├── gdpopuppanel.nim │ │ ├── gdportablecompressedtexture2d.nim │ │ ├── gdprimitivemesh.nim │ │ ├── gdprismmesh.nim │ │ ├── gdproceduralskymaterial.nim │ │ ├── gdprogressbar.nim │ │ ├── gdprojectsettings.nim │ │ ├── gdpropertytweener.nim │ │ ├── gdquadmesh.nim │ │ ├── gdquadoccluder3d.nim │ │ ├── gdrandomnumbergenerator.nim │ │ ├── gdrange.nim │ │ ├── gdraycast2d.nim │ │ ├── gdraycast3d.nim │ │ ├── gdrdattachmentformat.nim │ │ ├── gdrdframebufferpass.nim │ │ ├── gdrdpipelinecolorblendstate.nim │ │ ├── gdrdpipelinecolorblendstateattachment.nim │ │ ├── gdrdpipelinedepthstencilstate.nim │ │ ├── gdrdpipelinemultisamplestate.nim │ │ ├── gdrdpipelinerasterizationstate.nim │ │ ├── gdrdpipelinespecializationconstant.nim │ │ ├── gdrdsamplerstate.nim │ │ ├── gdrdshaderfile.nim │ │ ├── gdrdshadersource.nim │ │ ├── gdrdshaderspirv.nim │ │ ├── gdrdtextureformat.nim │ │ ├── gdrdtextureview.nim │ │ ├── gdrduniform.nim │ │ ├── gdrdvertexattribute.nim │ │ ├── gdrectangleshape2d.nim │ │ ├── gdrefcounted.nim │ │ ├── gdreferencerect.nim │ │ ├── gdreflectionprobe.nim │ │ ├── gdregex.nim │ │ ├── gdregexmatch.nim │ │ ├── gdremotetransform2d.nim │ │ ├── gdremotetransform3d.nim │ │ ├── gdrenderdata.nim │ │ ├── gdrenderdataextension.nim │ │ ├── gdrenderdatard.nim │ │ ├── gdrenderingdevice.nim │ │ ├── gdrenderingserver.nim │ │ ├── gdrenderscenebuffers.nim │ │ ├── gdrenderscenebuffersconfiguration.nim │ │ ├── gdrenderscenebuffersextension.nim │ │ ├── gdrenderscenebuffersrd.nim │ │ ├── gdrenderscenedata.nim │ │ ├── gdrenderscenedataextension.nim │ │ ├── gdrenderscenedatard.nim │ │ ├── gdresource.nim │ │ ├── gdresourceformatloader.nim │ │ ├── gdresourceformatsaver.nim │ │ ├── gdresourceimporter.nim │ │ ├── gdresourceimporterbitmap.nim │ │ ├── gdresourceimporterbmfont.nim │ │ ├── gdresourceimportercsvtranslation.nim │ │ ├── gdresourceimporterdynamicfont.nim │ │ ├── gdresourceimporterimage.nim │ │ ├── gdresourceimporterimagefont.nim │ │ ├── gdresourceimporterlayeredtexture.nim │ │ ├── gdresourceimportermp3.nim │ │ ├── gdresourceimporterobj.nim │ │ ├── gdresourceimporteroggvorbis.nim │ │ ├── gdresourceimporterscene.nim │ │ ├── gdresourceimportershaderfile.nim │ │ ├── gdresourceimportertexture.nim │ │ ├── gdresourceimportertextureatlas.nim │ │ ├── gdresourceimporterwav.nim │ │ ├── gdresourceloader.nim │ │ ├── gdresourcepreloader.nim │ │ ├── gdresourcesaver.nim │ │ ├── gdresourceuid.nim │ │ ├── gdretargetmodifier3d.nim │ │ ├── gdribbontrailmesh.nim │ │ ├── gdrichtexteffect.nim │ │ ├── gdrichtextlabel.nim │ │ ├── gdrigidbody2d.nim │ │ ├── gdrigidbody3d.nim │ │ ├── gdrootmotionview.nim │ │ ├── gdscenemultiplayer.nim │ │ ├── gdscenereplicationconfig.nim │ │ ├── gdscenestate.nim │ │ ├── gdscenetree.nim │ │ ├── gdscenetreetimer.nim │ │ ├── gdscript.nim │ │ ├── gdscriptcreatedialog.nim │ │ ├── gdscripteditor.nim │ │ ├── gdscripteditorbase.nim │ │ ├── gdscriptextension.nim │ │ ├── gdscriptlanguage.nim │ │ ├── gdscriptlanguageextension.nim │ │ ├── gdscrollbar.nim │ │ ├── gdscrollcontainer.nim │ │ ├── gdsegmentshape2d.nim │ │ ├── gdsemaphore.nim │ │ ├── gdseparationrayshape2d.nim │ │ ├── gdseparationrayshape3d.nim │ │ ├── gdseparator.nim │ │ ├── gdshader.nim │ │ ├── gdshaderglobalsoverride.nim │ │ ├── gdshaderinclude.nim │ │ ├── gdshaderincludedb.nim │ │ ├── gdshadermaterial.nim │ │ ├── gdshape2d.nim │ │ ├── gdshape3d.nim │ │ ├── gdshapecast2d.nim │ │ ├── gdshapecast3d.nim │ │ ├── gdshortcut.nim │ │ ├── gdskeleton2d.nim │ │ ├── gdskeleton3d.nim │ │ ├── gdskeletonik3d.nim │ │ ├── gdskeletonmodification2d.nim │ │ ├── gdskeletonmodification2dccdik.nim │ │ ├── gdskeletonmodification2dfabrik.nim │ │ ├── gdskeletonmodification2djiggle.nim │ │ ├── gdskeletonmodification2dlookat.nim │ │ ├── gdskeletonmodification2dphysicalbones.nim │ │ ├── gdskeletonmodification2dstackholder.nim │ │ ├── gdskeletonmodification2dtwoboneik.nim │ │ ├── gdskeletonmodificationstack2d.nim │ │ ├── gdskeletonmodifier3d.nim │ │ ├── gdskeletonprofile.nim │ │ ├── gdskeletonprofilehumanoid.nim │ │ ├── gdskin.nim │ │ ├── gdskinreference.nim │ │ ├── gdsky.nim │ │ ├── gdslider.nim │ │ ├── gdsliderjoint3d.nim │ │ ├── gdsoftbody3d.nim │ │ ├── gdspheremesh.nim │ │ ├── gdsphereoccluder3d.nim │ │ ├── gdsphereshape3d.nim │ │ ├── gdspinbox.nim │ │ ├── gdsplitcontainer.nim │ │ ├── gdspotlight3d.nim │ │ ├── gdspringarm3d.nim │ │ ├── gdspringbonecollision3d.nim │ │ ├── gdspringbonecollisioncapsule3d.nim │ │ ├── gdspringbonecollisionplane3d.nim │ │ ├── gdspringbonecollisionsphere3d.nim │ │ ├── gdspringbonesimulator3d.nim │ │ ├── gdsprite2d.nim │ │ ├── gdsprite3d.nim │ │ ├── gdspritebase3d.nim │ │ ├── gdspriteframes.nim │ │ ├── gdstandardmaterial3d.nim │ │ ├── gdstaticbody2d.nim │ │ ├── gdstaticbody3d.nim │ │ ├── gdstatusindicator.nim │ │ ├── gdstreampeer.nim │ │ ├── gdstreampeerbuffer.nim │ │ ├── gdstreampeerextension.nim │ │ ├── gdstreampeergzip.nim │ │ ├── gdstreampeertcp.nim │ │ ├── gdstreampeertls.nim │ │ ├── gdstylebox.nim │ │ ├── gdstyleboxempty.nim │ │ ├── gdstyleboxflat.nim │ │ ├── gdstyleboxline.nim │ │ ├── gdstyleboxtexture.nim │ │ ├── gdsubtweentweener.nim │ │ ├── gdsubviewport.nim │ │ ├── gdsubviewportcontainer.nim │ │ ├── gdsurfacetool.nim │ │ ├── gdsyntaxhighlighter.nim │ │ ├── gdsystemfont.nim │ │ ├── gdtabbar.nim │ │ ├── gdtabcontainer.nim │ │ ├── gdtcpserver.nim │ │ ├── gdtextedit.nim │ │ ├── gdtextline.nim │ │ ├── gdtextmesh.nim │ │ ├── gdtextparagraph.nim │ │ ├── gdtextserver.nim │ │ ├── gdtextserveradvanced.nim │ │ ├── gdtextserverdummy.nim │ │ ├── gdtextserverextension.nim │ │ ├── gdtextservermanager.nim │ │ ├── gdtexture.nim │ │ ├── gdtexture2d.nim │ │ ├── gdtexture2darray.nim │ │ ├── gdtexture2darrayrd.nim │ │ ├── gdtexture2drd.nim │ │ ├── gdtexture3d.nim │ │ ├── gdtexture3drd.nim │ │ ├── gdtexturebutton.nim │ │ ├── gdtexturecubemaparrayrd.nim │ │ ├── gdtexturecubemaprd.nim │ │ ├── gdtexturelayered.nim │ │ ├── gdtexturelayeredrd.nim │ │ ├── gdtextureprogressbar.nim │ │ ├── gdtexturerect.nim │ │ ├── gdtheme.nim │ │ ├── gdthemedb.nim │ │ ├── gdtiledata.nim │ │ ├── gdtilemap.nim │ │ ├── gdtilemaplayer.nim │ │ ├── gdtilemappattern.nim │ │ ├── gdtileset.nim │ │ ├── gdtilesetatlassource.nim │ │ ├── gdtilesetscenescollectionsource.nim │ │ ├── gdtilesetsource.nim │ │ ├── gdtime.nim │ │ ├── gdtimer.nim │ │ ├── gdtlsoptions.nim │ │ ├── gdtorusmesh.nim │ │ ├── gdtouchscreenbutton.nim │ │ ├── gdtranslation.nim │ │ ├── gdtranslationdomain.nim │ │ ├── gdtranslationserver.nim │ │ ├── gdtree.nim │ │ ├── gdtreeitem.nim │ │ ├── gdtrianglemesh.nim │ │ ├── gdtubetrailmesh.nim │ │ ├── gdtween.nim │ │ ├── gdtweener.nim │ │ ├── gdudpserver.nim │ │ ├── gdundoredo.nim │ │ ├── gduniformsetcacherd.nim │ │ ├── gdupnp.nim │ │ ├── gdupnpdevice.nim │ │ ├── gdvboxcontainer.nim │ │ ├── gdvehiclebody3d.nim │ │ ├── gdvehiclewheel3d.nim │ │ ├── gdvflowcontainer.nim │ │ ├── gdvideostream.nim │ │ ├── gdvideostreamplayback.nim │ │ ├── gdvideostreamplayer.nim │ │ ├── gdvideostreamtheora.nim │ │ ├── gdviewport.nim │ │ ├── gdviewporttexture.nim │ │ ├── gdvisibleonscreenenabler2d.nim │ │ ├── gdvisibleonscreenenabler3d.nim │ │ ├── gdvisibleonscreennotifier2d.nim │ │ ├── gdvisibleonscreennotifier3d.nim │ │ ├── gdvisualinstance3d.nim │ │ ├── gdvisualshader.nim │ │ ├── gdvisualshadernode.nim │ │ ├── gdvisualshadernodebillboard.nim │ │ ├── gdvisualshadernodebooleanconstant.nim │ │ ├── gdvisualshadernodebooleanparameter.nim │ │ ├── gdvisualshadernodeclamp.nim │ │ ├── gdvisualshadernodecolorconstant.nim │ │ ├── gdvisualshadernodecolorfunc.nim │ │ ├── gdvisualshadernodecolorop.nim │ │ ├── gdvisualshadernodecolorparameter.nim │ │ ├── gdvisualshadernodecomment.nim │ │ ├── gdvisualshadernodecompare.nim │ │ ├── gdvisualshadernodeconstant.nim │ │ ├── gdvisualshadernodecubemap.nim │ │ ├── gdvisualshadernodecubemapparameter.nim │ │ ├── gdvisualshadernodecurvetexture.nim │ │ ├── gdvisualshadernodecurvexyztexture.nim │ │ ├── gdvisualshadernodecustom.nim │ │ ├── gdvisualshadernodederivativefunc.nim │ │ ├── gdvisualshadernodedeterminant.nim │ │ ├── gdvisualshadernodedistancefade.nim │ │ ├── gdvisualshadernodedotproduct.nim │ │ ├── gdvisualshadernodeexpression.nim │ │ ├── gdvisualshadernodefaceforward.nim │ │ ├── gdvisualshadernodefloatconstant.nim │ │ ├── gdvisualshadernodefloatfunc.nim │ │ ├── gdvisualshadernodefloatop.nim │ │ ├── gdvisualshadernodefloatparameter.nim │ │ ├── gdvisualshadernodeframe.nim │ │ ├── gdvisualshadernodefresnel.nim │ │ ├── gdvisualshadernodeglobalexpression.nim │ │ ├── gdvisualshadernodegroupbase.nim │ │ ├── gdvisualshadernodeif.nim │ │ ├── gdvisualshadernodeinput.nim │ │ ├── gdvisualshadernodeintconstant.nim │ │ ├── gdvisualshadernodeintfunc.nim │ │ ├── gdvisualshadernodeintop.nim │ │ ├── gdvisualshadernodeintparameter.nim │ │ ├── gdvisualshadernodeis.nim │ │ ├── gdvisualshadernodelinearscenedepth.nim │ │ ├── gdvisualshadernodemix.nim │ │ ├── gdvisualshadernodemultiplyadd.nim │ │ ├── gdvisualshadernodeouterproduct.nim │ │ ├── gdvisualshadernodeoutput.nim │ │ ├── gdvisualshadernodeparameter.nim │ │ ├── gdvisualshadernodeparameterref.nim │ │ ├── gdvisualshadernodeparticleaccelerator.nim │ │ ├── gdvisualshadernodeparticleboxemitter.nim │ │ ├── gdvisualshadernodeparticleconevelocity.nim │ │ ├── gdvisualshadernodeparticleemit.nim │ │ ├── gdvisualshadernodeparticleemitter.nim │ │ ├── gdvisualshadernodeparticlemeshemitter.nim │ │ ├── gdvisualshadernodeparticlemultiplybyaxisangle.nim │ │ ├── gdvisualshadernodeparticleoutput.nim │ │ ├── gdvisualshadernodeparticlerandomness.nim │ │ ├── gdvisualshadernodeparticleringemitter.nim │ │ ├── gdvisualshadernodeparticlesphereemitter.nim │ │ ├── gdvisualshadernodeproximityfade.nim │ │ ├── gdvisualshadernoderandomrange.nim │ │ ├── gdvisualshadernoderemap.nim │ │ ├── gdvisualshadernodereroute.nim │ │ ├── gdvisualshadernoderesizablebase.nim │ │ ├── gdvisualshadernoderotationbyaxis.nim │ │ ├── gdvisualshadernodesample3d.nim │ │ ├── gdvisualshadernodescreennormalworldspace.nim │ │ ├── gdvisualshadernodescreenuvtosdf.nim │ │ ├── gdvisualshadernodesdfraymarch.nim │ │ ├── gdvisualshadernodesdftoscreenuv.nim │ │ ├── gdvisualshadernodesmoothstep.nim │ │ ├── gdvisualshadernodestep.nim │ │ ├── gdvisualshadernodeswitch.nim │ │ ├── gdvisualshadernodetexture.nim │ │ ├── gdvisualshadernodetexture2darray.nim │ │ ├── gdvisualshadernodetexture2darrayparameter.nim │ │ ├── gdvisualshadernodetexture2dparameter.nim │ │ ├── gdvisualshadernodetexture3d.nim │ │ ├── gdvisualshadernodetexture3dparameter.nim │ │ ├── gdvisualshadernodetextureparameter.nim │ │ ├── gdvisualshadernodetextureparametertriplanar.nim │ │ ├── gdvisualshadernodetexturesdf.nim │ │ ├── gdvisualshadernodetexturesdfnormal.nim │ │ ├── gdvisualshadernodetransformcompose.nim │ │ ├── gdvisualshadernodetransformconstant.nim │ │ ├── gdvisualshadernodetransformdecompose.nim │ │ ├── gdvisualshadernodetransformfunc.nim │ │ ├── gdvisualshadernodetransformop.nim │ │ ├── gdvisualshadernodetransformparameter.nim │ │ ├── gdvisualshadernodetransformvecmult.nim │ │ ├── gdvisualshadernodeuintconstant.nim │ │ ├── gdvisualshadernodeuintfunc.nim │ │ ├── gdvisualshadernodeuintop.nim │ │ ├── gdvisualshadernodeuintparameter.nim │ │ ├── gdvisualshadernodeuvfunc.nim │ │ ├── gdvisualshadernodeuvpolarcoord.nim │ │ ├── gdvisualshadernodevarying.nim │ │ ├── gdvisualshadernodevaryinggetter.nim │ │ ├── gdvisualshadernodevaryingsetter.nim │ │ ├── gdvisualshadernodevec2constant.nim │ │ ├── gdvisualshadernodevec2parameter.nim │ │ ├── gdvisualshadernodevec3constant.nim │ │ ├── gdvisualshadernodevec3parameter.nim │ │ ├── gdvisualshadernodevec4constant.nim │ │ ├── gdvisualshadernodevec4parameter.nim │ │ ├── gdvisualshadernodevectorbase.nim │ │ ├── gdvisualshadernodevectorcompose.nim │ │ ├── gdvisualshadernodevectordecompose.nim │ │ ├── gdvisualshadernodevectordistance.nim │ │ ├── gdvisualshadernodevectorfunc.nim │ │ ├── gdvisualshadernodevectorlen.nim │ │ ├── gdvisualshadernodevectorop.nim │ │ ├── gdvisualshadernodevectorrefract.nim │ │ ├── gdvisualshadernodeworldpositionfromdepth.nim │ │ ├── gdvoxelgi.nim │ │ ├── gdvoxelgidata.nim │ │ ├── gdvscrollbar.nim │ │ ├── gdvseparator.nim │ │ ├── gdvslider.nim │ │ ├── gdvsplitcontainer.nim │ │ ├── gdweakref.nim │ │ ├── gdwebrtcdatachannel.nim │ │ ├── gdwebrtcdatachannelextension.nim │ │ ├── gdwebrtcmultiplayerpeer.nim │ │ ├── gdwebrtcpeerconnection.nim │ │ ├── gdwebrtcpeerconnectionextension.nim │ │ ├── gdwebsocketmultiplayerpeer.nim │ │ ├── gdwebsocketpeer.nim │ │ ├── gdwebxrinterface.nim │ │ ├── gdwindow.nim │ │ ├── gdworkerthreadpool.nim │ │ ├── gdworld2d.nim │ │ ├── gdworld3d.nim │ │ ├── gdworldboundaryshape2d.nim │ │ ├── gdworldboundaryshape3d.nim │ │ ├── gdworldenvironment.nim │ │ ├── gdx509certificate.nim │ │ ├── gdxmlparser.nim │ │ ├── gdxranchor3d.nim │ │ ├── gdxrbodymodifier3d.nim │ │ ├── gdxrbodytracker.nim │ │ ├── gdxrcamera3d.nim │ │ ├── gdxrcontroller3d.nim │ │ ├── gdxrcontrollertracker.nim │ │ ├── gdxrfacemodifier3d.nim │ │ ├── gdxrfacetracker.nim │ │ ├── gdxrhandmodifier3d.nim │ │ ├── gdxrhandtracker.nim │ │ ├── gdxrinterface.nim │ │ ├── gdxrinterfaceextension.nim │ │ ├── gdxrnode3d.nim │ │ ├── gdxrorigin3d.nim │ │ ├── gdxrpose.nim │ │ ├── gdxrpositionaltracker.nim │ │ ├── gdxrserver.nim │ │ ├── gdxrtracker.nim │ │ ├── gdxrvrs.nim │ │ ├── gdzippacker.nim │ │ └── gdzipreader.nim │ ├── colortools.nim │ ├── conversions.nim │ ├── coronation │ │ ├── README.md │ │ └── header │ │ │ ├── README.md │ │ │ └── classes.nim │ ├── dicttools.nim │ ├── dollars.nim │ ├── extclasses │ │ └── gdextensionmain.nim │ ├── gdextwiz.nim │ ├── gen │ │ ├── README.md │ │ ├── classes.nim │ │ ├── classindex.nim │ │ ├── gdaabb.nim │ │ ├── gdaabbconstr.nim │ │ ├── gdarray.nim │ │ ├── gdarrayconstr.nim │ │ ├── gdbasis.nim │ │ ├── gdbasisconstr.nim │ │ ├── gdbool.nim │ │ ├── gdboolconstr.nim │ │ ├── gdcallable.nim │ │ ├── gdcallableconstr.nim │ │ ├── gdcolor.nim │ │ ├── gdcolorconstr.nim │ │ ├── gddictionary.nim │ │ ├── gddictionaryconstr.nim │ │ ├── gdfloat.nim │ │ ├── gdfloatconstr.nim │ │ ├── gdint.nim │ │ ├── gdintconstr.nim │ │ ├── gdnilconstr.nim │ │ ├── gdnodepath.nim │ │ ├── gdnodepathconstr.nim │ │ ├── gdpackedbytearray.nim │ │ ├── gdpackedbytearrayconstr.nim │ │ ├── gdpackedcolorarray.nim │ │ ├── gdpackedcolorarrayconstr.nim │ │ ├── gdpackedfloat32array.nim │ │ ├── gdpackedfloat32arrayconstr.nim │ │ ├── gdpackedfloat64array.nim │ │ ├── gdpackedfloat64arrayconstr.nim │ │ ├── gdpackedint32array.nim │ │ ├── gdpackedint32arrayconstr.nim │ │ ├── gdpackedint64array.nim │ │ ├── gdpackedint64arrayconstr.nim │ │ ├── gdpackedstringarray.nim │ │ ├── gdpackedstringarrayconstr.nim │ │ ├── gdpackedvector2array.nim │ │ ├── gdpackedvector2arrayconstr.nim │ │ ├── gdpackedvector3array.nim │ │ ├── gdpackedvector3arrayconstr.nim │ │ ├── gdpackedvector4array.nim │ │ ├── gdpackedvector4arrayconstr.nim │ │ ├── gdplane.nim │ │ ├── gdplaneconstr.nim │ │ ├── gdprojection.nim │ │ ├── gdprojectionconstr.nim │ │ ├── gdquaternion.nim │ │ ├── gdquaternionconstr.nim │ │ ├── gdrect2.nim │ │ ├── gdrect2constr.nim │ │ ├── gdrect2i.nim │ │ ├── gdrect2iconstr.nim │ │ ├── gdrid.nim │ │ ├── gdridconstr.nim │ │ ├── gdsignal.nim │ │ ├── gdsignalconstr.nim │ │ ├── gdstring.nim │ │ ├── gdstringconstr.nim │ │ ├── gdstringname.nim │ │ ├── gdstringnameconstr.nim │ │ ├── gdtransform2d.nim │ │ ├── gdtransform2dconstr.nim │ │ ├── gdtransform3d.nim │ │ ├── gdtransform3dconstr.nim │ │ ├── gdvector2.nim │ │ ├── gdvector2constr.nim │ │ ├── gdvector2i.nim │ │ ├── gdvector2iconstr.nim │ │ ├── gdvector3.nim │ │ ├── gdvector3constr.nim │ │ ├── gdvector3i.nim │ │ ├── gdvector3iconstr.nim │ │ ├── gdvector4.nim │ │ ├── gdvector4constr.nim │ │ ├── gdvector4i.nim │ │ ├── gdvector4iconstr.nim │ │ ├── globalenums.nim │ │ ├── localenums.nim │ │ ├── structs.nim │ │ └── utilityfuncs.nim │ ├── math.nim │ ├── objectcallbacks.nim │ ├── objecttools.nim │ ├── othertools.nim │ ├── private │ │ ├── buildsettings.nim │ │ ├── configdsl.nim │ │ ├── debugging.nim │ │ ├── doctools.nim │ │ ├── gdinterface.nim │ │ ├── includes │ │ │ └── stringtoolsbase.nim │ │ ├── internalbridge.nim │ │ ├── macros.nim │ │ ├── methodinfo.nim │ │ ├── native.nim │ │ ├── propertyinfo.nim │ │ ├── staticevents.nim │ │ ├── typeshift.nim │ │ └── userclass │ │ │ ├── procs.nim │ │ │ ├── signals.nim │ │ │ ├── tools.nim │ │ │ └── virtuals.nim │ ├── stringtools.nim │ ├── swizzles.nim │ ├── utilityfuncs.nim │ ├── varianttools.nim │ └── wizard │ │ ├── sdk │ │ ├── cli.nim │ │ ├── clitools │ │ │ └── filesystem.nim │ │ └── opttools.nim │ │ └── subcommands │ │ ├── extension.nim │ │ ├── extension │ │ └── template │ │ │ ├── .gitignore │ │ │ ├── bootstrap.nim │ │ │ ├── config.nims │ │ │ └── src │ │ │ └── classes │ │ │ └── gdmyclass.nim │ │ └── iteration.nim └── nim.cfg ├── testproject ├── editor │ ├── .gitattributes │ ├── icon.png │ ├── icon.png.import │ ├── main.tscn │ ├── nim │ │ ├── EditorTest.gdextension │ │ ├── EditorTest.gdextension.uid │ │ ├── bootstrap.nim │ │ ├── config.nims │ │ └── src │ │ │ └── classes │ │ │ ├── gddoctestnode.nim │ │ │ ├── gdproptestnode.nim │ │ │ ├── gdproptestnode_pragmas.nim │ │ │ ├── gdsignalpublisher.nim │ │ │ └── gdsignalsubscriber.nim │ └── project.godot └── runtime │ ├── .gitattributes │ ├── icon.png │ ├── icon.png.import │ ├── inherited_node01.gd │ ├── inherited_node01.gd.uid │ ├── inherited_node02.gd │ ├── inherited_node02.gd.uid │ ├── main.gd │ ├── main.gd.uid │ ├── main.tscn │ ├── nim │ ├── RuntimeTest.gdextension │ ├── RuntimeTest.gdextension.uid │ ├── bootstrap.nim │ ├── config.nims │ └── src │ │ ├── cases │ │ ├── image.nim │ │ ├── issues.nim │ │ ├── primitives.nim │ │ ├── prints.nim │ │ ├── singletons.nim │ │ ├── use_api_from_toplevel.nim │ │ └── variant.nim │ │ ├── classes │ │ ├── gdextlabel.nim │ │ ├── gdextnode.nim │ │ ├── gdextnode │ │ │ ├── enums.nim │ │ │ ├── functions.nim │ │ │ └── typedef.nim │ │ ├── gdsingleton.nim │ │ ├── gdtestobject.nim │ │ ├── gdvirtualnode01.nim │ │ └── gdvirtualnode02.nim │ │ └── testutils.nim │ ├── project.godot │ ├── test_base.gd │ └── test_base.gd.uid └── tests ├── config.nims ├── importall.nim ├── tbuildwizard.nim ├── testgeometrics.nim └── testproject.nim /.gitignore: -------------------------------------------------------------------------------- 1 | nimble.develop 2 | nimble.paths 3 | *.log 4 | .godot/ 5 | bin/ 6 | lib/ 7 | 8 | **/.DS_Store -------------------------------------------------------------------------------- /config.nims: -------------------------------------------------------------------------------- 1 | # begin Nimble config (version 2) 2 | when withDir(thisDir(), system.fileExists("nimble.paths")): 3 | include "nimble.paths" 4 | # end Nimble config 5 | -------------------------------------------------------------------------------- /coronation/.gitignore: -------------------------------------------------------------------------------- 1 | nimble.develop 2 | nimble.paths 3 | 4 | out/ 5 | bin/ -------------------------------------------------------------------------------- /coronation/README.md: -------------------------------------------------------------------------------- 1 | # godot-nim/coronation 2 | 3 | godot-nim/coronation provides a generator that generates any version of the GDExtension binding. 4 | 5 | For more details, see [wiki](https://github.com/godot-nim/docs/wiki). 6 | -------------------------------------------------------------------------------- /coronation/config.nims: -------------------------------------------------------------------------------- 1 | # begin Nimble config (version 2) 2 | when withDir(thisDir(), system.fileExists("nimble.paths")): 3 | include "nimble.paths" 4 | # end Nimble config 5 | 6 | --define: ssl -------------------------------------------------------------------------------- /coronation/coronation.nimble: -------------------------------------------------------------------------------- 1 | # Package 2 | 3 | version = "0.1.0" 4 | author = "godot-nim, la.panon." 5 | description = "A GDExtension generator for Nim-lang." 6 | license = "MIT" 7 | srcDir = "src" 8 | installExt = @["nim"] 9 | bin = @["coronation"] 10 | binDir = "bin" 11 | 12 | # Dependencies 13 | 14 | requires "nim >= 2.0.0" 15 | requires "cloths >= 1.5.0" 16 | requires "cligen >= 1.7.2" -------------------------------------------------------------------------------- /coronation/src/config.nims: -------------------------------------------------------------------------------- 1 | --path: "coronation" -------------------------------------------------------------------------------- /coronation/src/coronation/submodules/filesystem/Directory.nim: -------------------------------------------------------------------------------- 1 | import VirtualDirectory 2 | 3 | type Directory* = ref object of VirtualDirectory 4 | pName: string 5 | 6 | method name(node: Directory): string = node.pName 7 | 8 | proc dir*(name: string): Directory = 9 | result = Directory( 10 | pName: name, 11 | ) -------------------------------------------------------------------------------- /coronation/src/coronation/submodules/filesystem/ProjectRoot.nim: -------------------------------------------------------------------------------- 1 | import VirtualDirectory 2 | 3 | type ProjectRoot* = ref object of VirtualDirectory 4 | pName: string 5 | 6 | proc root*(name: string): ProjectRoot = 7 | ProjectRoot(pName: name) 8 | 9 | method name(root: ProjectRoot): string = root.pName -------------------------------------------------------------------------------- /coronation/src/coronation/submodules/filesystem/Textfile.nim: -------------------------------------------------------------------------------- 1 | import VirtualFile 2 | import cloths 3 | import std/macros 4 | 5 | type 6 | Textfile* = ref object of VirtualFile 7 | pName: string 8 | pContents: Cloth 9 | 10 | macro weave*(textfile: Textfile; body): Textfile = 11 | let file = gensym(nskLet, "file") 12 | quote do: 13 | let `file` = `textfile` 14 | weave(`file`.pContents, `body`) 15 | `file` 16 | 17 | method name(file: Textfile): string = file.pName 18 | method contents(file: Textfile): Cloth = file.pContents 19 | 20 | proc textfile*(name: string): Textfile = 21 | Textfile(pName: name, pContents: cloth multiline) 22 | proc nimble*(name: string): Textfile = textfile(name & ".nimble") 23 | proc nims*(name: string): Textfile = textfile(name & ".nims") -------------------------------------------------------------------------------- /coronation/src/coronation/submodules/filesystem/VirtualDirectory.nim: -------------------------------------------------------------------------------- 1 | import sdk 2 | 3 | import cloths 4 | 5 | import std/tables 6 | import std/os 7 | 8 | type VirtualDirectory* = ref object of VirtualNode 9 | method generate(directory: VirtualDirectory) = 10 | if not directory.path.dirExists: 11 | createDir directory.path 12 | for subitem in directory.subitems.values: 13 | generate subitem 14 | method dumpTree(directory: VirtualDirectory): Cloth = 15 | weave multiline: 16 | directory.name & "/" 17 | weave tree: 18 | for key, subitem in directory.subitems: 19 | dumpTree subitem 20 | -------------------------------------------------------------------------------- /coronation/src/coronation/submodules/filesystem/VirtualFile.nim: -------------------------------------------------------------------------------- 1 | import sdk 2 | import cloths 3 | 4 | type 5 | VirtualFile* = ref object of VirtualNode 6 | 7 | method contents*(file: VirtualFile): Cloth {.base.} = discard 8 | method generate*(file: VirtualFile) = 9 | var contents = $file.contents 10 | if contents.len == 0: return 11 | if contents[^1] != '\n': 12 | contents.add '\n' 13 | file.path.writeFile contents 14 | 15 | method dumpTree(file: VirtualFile): Cloth = file.name -------------------------------------------------------------------------------- /src/gdext/classes/README.md: -------------------------------------------------------------------------------- 1 | # gdext/classes 2 | 3 | This directory will contain automatically generated files that define individual class API. 4 | 5 | Newly created/modified files in this directory are cleared each time `nimble generate` is run. 6 | 7 | Manual editing of this directory is therefore not recommended. 8 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimatablebody2d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdstaticbody2d; export gdstaticbody2d 6 | 7 | proc setSyncToPhysics*(self: AnimatableBody2D; enable: bool): void = 8 | expandMethodBind(className AnimatableBody2D, "set_sync_to_physics", 2586408642) 9 | methodbind.ptrcall(self, [getPtr enable]) 10 | 11 | proc isSyncToPhysicsEnabled*(self: AnimatableBody2D): bool = 12 | expandMethodBind(className AnimatableBody2D, "is_sync_to_physics_enabled", 36873697) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | template syncToPhysics*(self: AnimatableBody2D): untyped = self.isSyncToPhysicsEnabled() 18 | template `syncToPhysics=`*(self: AnimatableBody2D; value) = self.setSyncToPhysics(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimatablebody3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdstaticbody3d; export gdstaticbody3d 6 | 7 | proc setSyncToPhysics*(self: AnimatableBody3D; enable: bool): void = 8 | expandMethodBind(className AnimatableBody3D, "set_sync_to_physics", 2586408642) 9 | methodbind.ptrcall(self, [getPtr enable]) 10 | 11 | proc isSyncToPhysicsEnabled*(self: AnimatableBody3D): bool = 12 | expandMethodBind(className AnimatableBody3D, "is_sync_to_physics_enabled", 36873697) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | template syncToPhysics*(self: AnimatableBody3D): untyped = self.isSyncToPhysicsEnabled() 18 | template `syncToPhysics=`*(self: AnimatableBody3D; value) = self.setSyncToPhysics(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimationnodeadd2.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdanimationnodesync; export gdanimationnodesync 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimationnodeadd3.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdanimationnodesync; export gdanimationnodesync 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimationnodeblend2.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdanimationnodesync; export gdanimationnodesync 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimationnodeblend3.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdanimationnodesync; export gdanimationnodesync 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimationnodeoutput.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdanimationnode; export gdanimationnode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimationnodesub2.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdanimationnodesync; export gdanimationnodesync 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimationnodesync.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdanimationnode; export gdanimationnode 6 | 7 | proc setUseSync*(self: AnimationNodeSync; enable: bool): void = 8 | expandMethodBind(className AnimationNodeSync, "set_use_sync", 2586408642) 9 | methodbind.ptrcall(self, [getPtr enable]) 10 | 11 | proc isUsingSync*(self: AnimationNodeSync): bool = 12 | expandMethodBind(className AnimationNodeSync, "is_using_sync", 36873697) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | template sync*(self: AnimationNodeSync): untyped = self.isUsingSync() 18 | template `sync=`*(self: AnimationNodeSync; value) = self.setUseSync(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimationnodetimescale.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdanimationnode; export gdanimationnode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimationnodetimeseek.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdanimationnode; export gdanimationnode 6 | 7 | proc setExplicitElapse*(self: AnimationNodeTimeSeek; enable: bool): void = 8 | expandMethodBind(className AnimationNodeTimeSeek, "set_explicit_elapse", 2586408642) 9 | methodbind.ptrcall(self, [getPtr enable]) 10 | 11 | proc isExplicitElapse*(self: AnimationNodeTimeSeek): bool = 12 | expandMethodBind(className AnimationNodeTimeSeek, "is_explicit_elapse", 36873697) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | template explicitElapse*(self: AnimationNodeTimeSeek): untyped = self.isExplicitElapse() 18 | template `explicitElapse=`*(self: AnimationNodeTimeSeek; value) = self.setExplicitElapse(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdanimationrootnode.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdanimationnode; export gdanimationnode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudiobuslayout.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffect.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | 7 | method instantiate*(self: AudioEffect): gdref AudioEffectInstance {.base.} = (discard) 8 | proc registerVirtual_instantiate*[T: AudioEffect](Self: typedesc[T]) = 9 | Self.vmethods[newStringName"_instantiate"] = proc (p_instance: ClassInstancePtr; p_args: ptr UncheckedArray[ConstTypePtr]; r_ret: TypePtr) {.gdcall.} = 10 | errproof: cast[AudioEffect](p_instance).instantiate().encode(r_ret) 11 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffectbandlimitfilter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffectfilter; export gdaudioeffectfilter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffectbandpassfilter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffectfilter; export gdaudioeffectfilter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffecteq.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffect; export gdaudioeffect 6 | 7 | proc setBandGainDb*(self: AudioEffectEQ; bandIdx: int32; volumeDb: Float): void = 8 | expandMethodBind(className AudioEffectEQ, "set_band_gain_db", 1602489585) 9 | methodbind.ptrcall(self, [getPtr bandIdx, getPtr volumeDb]) 10 | 11 | proc getBandGainDb*(self: AudioEffectEQ; bandIdx: int32): Float = 12 | expandMethodBind(className AudioEffectEQ, "get_band_gain_db", 2339986948) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [getPtr bandIdx], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | proc getBandCount*(self: AudioEffectEQ): int32 = 18 | expandMethodBind(className AudioEffectEQ, "get_band_count", 3905245786) 19 | var ret: encoded int32 20 | methodbind.ptrcall(self, [], addr ret) 21 | (addr ret).decode_result(int32) 22 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffecteq10.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffecteq; export gdaudioeffecteq 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffecteq21.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffecteq; export gdaudioeffecteq 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffecteq6.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffecteq; export gdaudioeffecteq 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffecthighpassfilter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffectfilter; export gdaudioeffectfilter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffecthighshelffilter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffectfilter; export gdaudioeffectfilter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffectlowpassfilter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffectfilter; export gdaudioeffectfilter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffectlowshelffilter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffectfilter; export gdaudioeffectfilter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffectnotchfilter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffectfilter; export gdaudioeffectfilter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffectpanner.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffect; export gdaudioeffect 6 | 7 | proc setPan*(self: AudioEffectPanner; cpanume: Float): void = 8 | expandMethodBind(className AudioEffectPanner, "set_pan", 373806689) 9 | methodbind.ptrcall(self, [getPtr cpanume]) 10 | 11 | proc getPan*(self: AudioEffectPanner): Float = 12 | expandMethodBind(className AudioEffectPanner, "get_pan", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template pan*(self: AudioEffectPanner): untyped = self.getPan() 18 | template `pan=`*(self: AudioEffectPanner; value) = self.setPan(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudioeffectspectrumanalyzerinstance.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudioeffectinstance; export gdaudioeffectinstance 6 | 7 | proc getMagnitudeForFrequencyRange*(self: AudioEffectSpectrumAnalyzerInstance; fromHz: Float; toHz: Float; mode: AudioEffectSpectrumAnalyzerInstance_MagnitudeMode = magnitudeMax): Vector2 = 8 | expandMethodBind(className AudioEffectSpectrumAnalyzerInstance, "get_magnitude_for_frequency_range", 797993915) 9 | var ret: encoded Vector2 10 | methodbind.ptrcall(self, [getPtr fromHz, getPtr toHz, getPtr mode], addr ret) 11 | (addr ret).decode_result(Vector2) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudiolistener2d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdnode2d; export gdnode2d 6 | 7 | proc makeCurrent*(self: AudioListener2D): void = 8 | expandMethodBind(className AudioListener2D, "make_current", 3218959716) 9 | methodbind.ptrcall(self, []) 10 | 11 | proc clearCurrent*(self: AudioListener2D): void = 12 | expandMethodBind(className AudioListener2D, "clear_current", 3218959716) 13 | methodbind.ptrcall(self, []) 14 | 15 | proc isCurrent*(self: AudioListener2D): bool = 16 | expandMethodBind(className AudioListener2D, "is_current", 36873697) 17 | var ret: encoded bool 18 | methodbind.ptrcall(self, [], addr ret) 19 | (addr ret).decode_result(bool) 20 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudiosample.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudiosampleplayback.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudiostreammicrophone.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudiostream; export gdaudiostream 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudiostreamplaybackoggvorbis.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudiostreamplaybackresampled; export gdaudiostreamplaybackresampled 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudiostreamplaybackplaylist.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudiostreamplayback; export gdaudiostreamplayback 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudiostreamplaybacksynchronized.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudiostreamplayback; export gdaudiostreamplayback 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdaudiostreampolyphonic.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdaudiostream; export gdaudiostream 6 | 7 | proc setPolyphony*(self: AudioStreamPolyphonic; voices: int32): void = 8 | expandMethodBind(className AudioStreamPolyphonic, "set_polyphony", 1286410249) 9 | methodbind.ptrcall(self, [getPtr voices]) 10 | 11 | proc getPolyphony*(self: AudioStreamPolyphonic): int32 = 12 | expandMethodBind(className AudioStreamPolyphonic, "get_polyphony", 3905245786) 13 | var ret: encoded int32 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(int32) 16 | 17 | template polyphony*(self: AudioStreamPolyphonic): untyped = self.getPolyphony() 18 | template `polyphony=`*(self: AudioStreamPolyphonic; value) = self.setPolyphony(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdboxoccluder3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdoccluder3d; export gdoccluder3d 6 | 7 | proc setSize*(self: BoxOccluder3D; size: Vector3): void = 8 | expandMethodBind(className BoxOccluder3D, "set_size", 3460891852) 9 | methodbind.ptrcall(self, [getPtr size]) 10 | 11 | proc getSize*(self: BoxOccluder3D): Vector3 = 12 | expandMethodBind(className BoxOccluder3D, "get_size", 3360562783) 13 | var ret: encoded Vector3 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector3) 16 | 17 | template size*(self: BoxOccluder3D): untyped = self.getSize() 18 | template `size=`*(self: BoxOccluder3D; value) = self.setSize(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdboxshape3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdshape3d; export gdshape3d 6 | 7 | proc setSize*(self: BoxShape3D; size: Vector3): void = 8 | expandMethodBind(className BoxShape3D, "set_size", 3460891852) 9 | methodbind.ptrcall(self, [getPtr size]) 10 | 11 | proc getSize*(self: BoxShape3D): Vector3 = 12 | expandMethodBind(className BoxShape3D, "get_size", 3360562783) 13 | var ret: encoded Vector3 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector3) 16 | 17 | template size*(self: BoxShape3D): untyped = self.getSize() 18 | template `size=`*(self: BoxShape3D; value) = self.setSize(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcallbacktweener.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtweener; export gdtweener 6 | 7 | proc setDelay*(self: CallbackTweener; delay: float64): gdref CallbackTweener = 8 | expandMethodBind(className CallbackTweener, "set_delay", 3008182292) 9 | var ret: encoded gdref CallbackTweener 10 | methodbind.ptrcall(self, [getPtr delay], addr ret) 11 | (addr ret).decode_result(gdref CallbackTweener) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcanvasmodulate.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdnode2d; export gdnode2d 6 | 7 | proc setColor*(self: CanvasModulate; color: Color): void = 8 | expandMethodBind(className CanvasModulate, "set_color", 2920490490) 9 | methodbind.ptrcall(self, [getPtr color]) 10 | 11 | proc getColor*(self: CanvasModulate): Color = 12 | expandMethodBind(className CanvasModulate, "get_color", 3444240500) 13 | var ret: encoded Color 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Color) 16 | 17 | template color*(self: CanvasModulate): untyped = self.getColor() 18 | template `color=`*(self: CanvasModulate; value) = self.setColor(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcentercontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcontainer; export gdcontainer 6 | 7 | proc setUseTopLeft*(self: CenterContainer; enable: bool): void = 8 | expandMethodBind(className CenterContainer, "set_use_top_left", 2586408642) 9 | methodbind.ptrcall(self, [getPtr enable]) 10 | 11 | proc isUsingTopLeft*(self: CenterContainer): bool = 12 | expandMethodBind(className CenterContainer, "is_using_top_left", 36873697) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | template useTopLeft*(self: CenterContainer): untyped = self.isUsingTopLeft() 18 | template `useTopLeft=`*(self: CenterContainer; value) = self.setUseTopLeft(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcheckbox.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdbutton; export gdbutton 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcheckbutton.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdbutton; export gdbutton 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcircleshape2d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdshape2d; export gdshape2d 6 | 7 | proc setRadius*(self: CircleShape2D; radius: Float): void = 8 | expandMethodBind(className CircleShape2D, "set_radius", 373806689) 9 | methodbind.ptrcall(self, [getPtr radius]) 10 | 11 | proc getRadius*(self: CircleShape2D): Float = 12 | expandMethodBind(className CircleShape2D, "get_radius", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template radius*(self: CircleShape2D): untyped = self.getRadius() 18 | template `radius=`*(self: CircleShape2D; value) = self.setRadius(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcolorpalette.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | 7 | proc setColors*(self: ColorPalette; colors: PackedColorArray): void = 8 | expandMethodBind(className ColorPalette, "set_colors", 3546319833) 9 | methodbind.ptrcall(self, [getPtr colors]) 10 | 11 | proc getColors*(self: ColorPalette): PackedColorArray = 12 | expandMethodBind(className ColorPalette, "get_colors", 1392750486) 13 | var ret: encoded PackedColorArray 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(PackedColorArray) 16 | 17 | template colors*(self: ColorPalette): untyped = self.getColors() 18 | template `colors=`*(self: ColorPalette; value) = self.setColors(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcolorrect.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcontrol; export gdcontrol 6 | 7 | proc setColor*(self: ColorRect; color: Color): void = 8 | expandMethodBind(className ColorRect, "set_color", 2920490490) 9 | methodbind.ptrcall(self, [getPtr color]) 10 | 11 | proc getColor*(self: ColorRect): Color = 12 | expandMethodBind(className ColorRect, "get_color", 3444240500) 13 | var ret: encoded Color 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Color) 16 | 17 | template color*(self: ColorRect): untyped = self.getColor() 18 | template `color=`*(self: ColorRect; value) = self.setColor(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcompositor.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | 7 | proc setCompositorEffects*(self: Compositor; compositorEffects: TypedArray[gdref CompositorEffect]): void = 8 | expandMethodBind(className Compositor, "set_compositor_effects", 381264803) 9 | methodbind.ptrcall(self, [getPtr compositorEffects]) 10 | 11 | proc getCompositorEffects*(self: Compositor): TypedArray[gdref CompositorEffect] = 12 | expandMethodBind(className Compositor, "get_compositor_effects", 3995934104) 13 | var ret: encoded TypedArray[gdref CompositorEffect] 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(TypedArray[gdref CompositorEffect]) 16 | 17 | template compositorEffects*(self: Compositor): untyped = self.getCompositorEffects() 18 | template `compositorEffects=`*(self: Compositor; value) = self.setCompositorEffects(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcompressedcubemap.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcompressedtexturelayered; export gdcompressedtexturelayered 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcompressedcubemaparray.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcompressedtexturelayered; export gdcompressedtexturelayered 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcompressedtexture2d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexture2d; export gdtexture2d 6 | 7 | proc load*(self: CompressedTexture2D; path: String): Error = 8 | expandMethodBind(className CompressedTexture2D, "load", 166001499) 9 | var ret: encoded Error 10 | methodbind.ptrcall(self, [getPtr path], addr ret) 11 | (addr ret).decode_result(Error) 12 | 13 | proc getLoadPath*(self: CompressedTexture2D): String = 14 | expandMethodBind(className CompressedTexture2D, "get_load_path", 201670096) 15 | var ret: encoded String 16 | methodbind.ptrcall(self, [], addr ret) 17 | (addr ret).decode_result(String) 18 | 19 | template loadPath*(self: CompressedTexture2D): untyped = self.getLoadPath() 20 | template `loadPath=`*(self: CompressedTexture2D; value) = self.load(value) 21 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcompressedtexture2darray.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcompressedtexturelayered; export gdcompressedtexturelayered 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcompressedtexture3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexture3d; export gdtexture3d 6 | 7 | proc load*(self: CompressedTexture3D; path: String): Error = 8 | expandMethodBind(className CompressedTexture3D, "load", 166001499) 9 | var ret: encoded Error 10 | methodbind.ptrcall(self, [getPtr path], addr ret) 11 | (addr ret).decode_result(Error) 12 | 13 | proc getLoadPath*(self: CompressedTexture3D): String = 14 | expandMethodBind(className CompressedTexture3D, "get_load_path", 201670096) 15 | var ret: encoded String 16 | methodbind.ptrcall(self, [], addr ret) 17 | (addr ret).decode_result(String) 18 | 19 | template loadPath*(self: CompressedTexture3D): untyped = self.getLoadPath() 20 | template `loadPath=`*(self: CompressedTexture3D; value) = self.load(value) 21 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcompressedtexturelayered.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexturelayered; export gdtexturelayered 6 | 7 | proc load*(self: CompressedTextureLayered; path: String): Error = 8 | expandMethodBind(className CompressedTextureLayered, "load", 166001499) 9 | var ret: encoded Error 10 | methodbind.ptrcall(self, [getPtr path], addr ret) 11 | (addr ret).decode_result(Error) 12 | 13 | proc getLoadPath*(self: CompressedTextureLayered): String = 14 | expandMethodBind(className CompressedTextureLayered, "get_load_path", 201670096) 15 | var ret: encoded String 16 | methodbind.ptrcall(self, [], addr ret) 17 | (addr ret).decode_result(String) 18 | 19 | template loadPath*(self: CompressedTextureLayered): untyped = self.getLoadPath() 20 | template `loadPath=`*(self: CompressedTextureLayered; value) = self.load(value) 21 | -------------------------------------------------------------------------------- /src/gdext/classes/gdconcavepolygonshape2d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdshape2d; export gdshape2d 6 | 7 | proc setSegments*(self: ConcavePolygonShape2D; segments: PackedVector2Array): void = 8 | expandMethodBind(className ConcavePolygonShape2D, "set_segments", 1509147220) 9 | methodbind.ptrcall(self, [getPtr segments]) 10 | 11 | proc getSegments*(self: ConcavePolygonShape2D): PackedVector2Array = 12 | expandMethodBind(className ConcavePolygonShape2D, "get_segments", 2961356807) 13 | var ret: encoded PackedVector2Array 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(PackedVector2Array) 16 | 17 | template segments*(self: ConcavePolygonShape2D): untyped = self.getSegments() 18 | template `segments=`*(self: ConcavePolygonShape2D; value) = self.setSegments(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdconvexpolygonshape3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdshape3d; export gdshape3d 6 | 7 | proc setPoints*(self: ConvexPolygonShape3D; points: PackedVector3Array): void = 8 | expandMethodBind(className ConvexPolygonShape3D, "set_points", 334873810) 9 | methodbind.ptrcall(self, [getPtr points]) 10 | 11 | proc getPoints*(self: ConvexPolygonShape3D): PackedVector3Array = 12 | expandMethodBind(className ConvexPolygonShape3D, "get_points", 497664490) 13 | var ret: encoded PackedVector3Array 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(PackedVector3Array) 16 | 17 | template points*(self: ConvexPolygonShape3D): untyped = self.getPoints() 18 | template `points=`*(self: ConvexPolygonShape3D; value) = self.setPoints(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcsgcombiner3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcsgshape3d; export gdcsgshape3d 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcsgprimitive3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcsgshape3d; export gdcsgshape3d 6 | 7 | proc setFlipFaces*(self: CSGPrimitive3D; flipFaces: bool): void = 8 | expandMethodBind(className CSGPrimitive3D, "set_flip_faces", 2586408642) 9 | methodbind.ptrcall(self, [getPtr flipFaces]) 10 | 11 | proc getFlipFaces*(self: CSGPrimitive3D): bool = 12 | expandMethodBind(className CSGPrimitive3D, "get_flip_faces", 2240911060) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | template flipFaces*(self: CSGPrimitive3D): untyped = self.getFlipFaces() 18 | template `flipFaces=`*(self: CSGPrimitive3D; value) = self.setFlipFaces(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcubemap.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdimagetexturelayered; export gdimagetexturelayered 6 | 7 | proc createPlaceholder*(self: Cubemap): gdref Resource = 8 | expandMethodBind(className Cubemap, "create_placeholder", 121922552) 9 | var ret: encoded gdref Resource 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(gdref Resource) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gdcubemaparray.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdimagetexturelayered; export gdimagetexturelayered 6 | 7 | proc createPlaceholder*(self: CubemapArray): gdref Resource = 8 | expandMethodBind(className CubemapArray, "create_placeholder", 121922552) 9 | var ret: encoded gdref Resource 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(gdref Resource) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gddtlsserver.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | proc setup*(self: DTLSServer; serverOptions: gdref TLSOptions): Error = 8 | expandMethodBind(className DTLSServer, "setup", 1262296096) 9 | var ret: encoded Error 10 | methodbind.ptrcall(self, [getPtr serverOptions], addr ret) 11 | (addr ret).decode_result(Error) 12 | 13 | proc takeConnection*(self: DTLSServer; udpPeer: gdref PacketPeerUDP): gdref PacketPeerDTLS = 14 | expandMethodBind(className DTLSServer, "take_connection", 3946580474) 15 | var ret: encoded gdref PacketPeerDTLS 16 | methodbind.ptrcall(self, [getPtr udpPeer], addr ret) 17 | (addr ret).decode_result(gdref PacketPeerDTLS) 18 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorcommandpalette.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdconfirmationdialog; export gdconfirmationdialog 6 | 7 | proc addCommand*(self: EditorCommandPalette; commandName: String; keyName: String; bindedCallable: Callable; shortcutText: String = newGdString("None")): void = 8 | expandMethodBind(className EditorCommandPalette, "add_command", 864043298) 9 | methodbind.ptrcall(self, [getPtr commandName, getPtr keyName, getPtr bindedCallable, getPtr shortcutText]) 10 | 11 | proc removeCommand*(self: EditorCommandPalette; keyName: String): void = 12 | expandMethodBind(className EditorCommandPalette, "remove_command", 83702148) 13 | methodbind.ptrcall(self, [getPtr keyName]) 14 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorexportplatformandroid.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorexportplatform; export gdeditorexportplatform 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorexportplatformios.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorexportplatform; export gdeditorexportplatform 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorexportplatformlinuxbsd.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorexportplatformpc; export gdeditorexportplatformpc 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorexportplatformmacos.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorexportplatform; export gdeditorexportplatform 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorexportplatformpc.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorexportplatform; export gdeditorexportplatform 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorexportplatformweb.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorexportplatform; export gdeditorexportplatform 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorexportplatformwindows.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorexportplatformpc; export gdeditorexportplatformpc 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorsceneformatimporterblend.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorsceneformatimporter; export gdeditorsceneformatimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorsceneformatimporterfbx2gltf.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorsceneformatimporter; export gdeditorsceneformatimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorsceneformatimportergltf.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorsceneformatimporter; export gdeditorsceneformatimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorsceneformatimporterufbx.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorsceneformatimporter; export gdeditorsceneformatimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorscenepostimport.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | method postImport*(self: EditorScenePostImport; scene: Node): Object {.base.} = (discard) 8 | proc registerVirtual_postImport*[T: EditorScenePostImport](Self: typedesc[T]) = 9 | Self.vmethods[newStringName"_post_import"] = proc (p_instance: ClassInstancePtr; p_args: ptr UncheckedArray[ConstTypePtr]; r_ret: TypePtr) {.gdcall.} = 10 | errproof: cast[EditorScenePostImport](p_instance).postImport(p_args[0].decode(Node)).encode(r_ret) 11 | 12 | proc getSourceFile*(self: EditorScenePostImport): String = 13 | expandMethodBind(className EditorScenePostImport, "get_source_file", 201670096) 14 | var ret: encoded String 15 | methodbind.ptrcall(self, [], addr ret) 16 | (addr ret).decode_result(String) 17 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditorscriptpicker.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorresourcepicker; export gdeditorresourcepicker 6 | 7 | proc setScriptOwner*(self: EditorScriptPicker; ownerNode: Node): void = 8 | expandMethodBind(className EditorScriptPicker, "set_script_owner", 1078189570) 9 | methodbind.ptrcall(self, [getPtr ownerNode]) 10 | 11 | proc getScriptOwner*(self: EditorScriptPicker): Node = 12 | expandMethodBind(className EditorScriptPicker, "get_script_owner", 3160264692) 13 | var ret: encoded Node 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Node) 16 | 17 | template scriptOwner*(self: EditorScriptPicker): untyped = self.getScriptOwner() 18 | template `scriptOwner=`*(self: EditorScriptPicker; value) = self.setScriptOwner(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdeditortoaster.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdhboxcontainer; export gdhboxcontainer 6 | 7 | proc pushToast*(self: EditorToaster; message: String; severity: EditorToaster_Severity = severityInfo; tooltip: String = newGdString()): void = 8 | expandMethodBind(className EditorToaster, "push_toast", 1813923476) 9 | methodbind.ptrcall(self, [getPtr message, getPtr severity, getPtr tooltip]) 10 | -------------------------------------------------------------------------------- /src/gdext/classes/gdencodedobjectasid.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | proc setObjectId*(self: EncodedObjectAsID; id: uint64): void = 8 | expandMethodBind(className EncodedObjectAsID, "set_object_id", 1286410249) 9 | methodbind.ptrcall(self, [getPtr id]) 10 | 11 | proc getObjectId*(self: EncodedObjectAsID): uint64 = 12 | expandMethodBind(className EncodedObjectAsID, "get_object_id", 3905245786) 13 | var ret: encoded uint64 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(uint64) 16 | 17 | template objectId*(self: EncodedObjectAsID): untyped = self.getObjectId() 18 | template `objectId=`*(self: EncodedObjectAsID; value) = self.setObjectId(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdfbxdocument.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdgltfdocument; export gdgltfdocument 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdfbxstate.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdgltfstate; export gdgltfstate 6 | 7 | proc getAllowGeometryHelperNodes*(self: FBXState): bool = 8 | expandMethodBind(className FBXState, "get_allow_geometry_helper_nodes", 2240911060) 9 | var ret: encoded bool 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(bool) 12 | 13 | proc setAllowGeometryHelperNodes*(self: FBXState; allow: bool): void = 14 | expandMethodBind(className FBXState, "set_allow_geometry_helper_nodes", 2586408642) 15 | methodbind.ptrcall(self, [getPtr allow]) 16 | 17 | template allowGeometryHelperNodes*(self: FBXState): untyped = self.getAllowGeometryHelperNodes() 18 | template `allowGeometryHelperNodes=`*(self: FBXState; value) = self.setAllowGeometryHelperNodes(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdfilesystemdock.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvboxcontainer; export gdvboxcontainer 6 | 7 | proc navigateToPath*(self: FileSystemDock; path: String): void = 8 | expandMethodBind(className FileSystemDock, "navigate_to_path", 83702148) 9 | methodbind.ptrcall(self, [getPtr path]) 10 | 11 | proc addResourceTooltipPlugin*(self: FileSystemDock; plugin: gdref EditorResourceTooltipPlugin): void = 12 | expandMethodBind(className FileSystemDock, "add_resource_tooltip_plugin", 2258356838) 13 | methodbind.ptrcall(self, [getPtr plugin]) 14 | 15 | proc removeResourceTooltipPlugin*(self: FileSystemDock; plugin: gdref EditorResourceTooltipPlugin): void = 16 | expandMethodBind(className FileSystemDock, "remove_resource_tooltip_plugin", 2258356838) 17 | methodbind.ptrcall(self, [getPtr plugin]) 18 | -------------------------------------------------------------------------------- /src/gdext/classes/gdframebuffercacherd.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdobject; export gdobject 6 | 7 | proc getCacheMultipass*(_: typedesc[FramebufferCacheRD]; textures: TypedArray[RID]; passes: TypedArray[gdref RDFramebufferPass]; views: uint32): RID = 8 | expandMethodBind(className FramebufferCacheRD, "get_cache_multipass", 3437881813) 9 | var ret: encoded RID 10 | methodbind.ptrcall([getPtr textures, getPtr passes, getPtr views], addr ret) 11 | (addr ret).decode_result(RID) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gdgdextension.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | 7 | proc isLibraryOpen*(self: GDExtension): bool = 8 | expandMethodBind(className GDExtension, "is_library_open", 36873697) 9 | var ret: encoded bool 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(bool) 12 | 13 | proc getMinimumLibraryInitializationLevel*(self: GDExtension): GDExtension_InitializationLevel = 14 | expandMethodBind(className GDExtension, "get_minimum_library_initialization_level", 964858755) 15 | var ret: encoded GDExtension_InitializationLevel 16 | methodbind.ptrcall(self, [], addr ret) 17 | (addr ret).decode_result(GDExtension_InitializationLevel) 18 | -------------------------------------------------------------------------------- /src/gdext/classes/gdgdscript.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdscript; export gdscript 6 | 7 | proc new*(self: GDScript; args: varargs[Variant, variant]): Variant = 8 | expandMethodBind(className GDScript, "new", 1545262638) 9 | var `?param` = newSeqOfCap[VariantPtr](0+args.len) 10 | `?param`.add [] 11 | methodbind.call(self, `?param`, args).get(Variant) 12 | template new*(self: GDScript; args: varargs[Variant, variant]): Variant = 13 | new(self, args) 14 | -------------------------------------------------------------------------------- /src/gdext/classes/gdgdscriptsyntaxhighlighter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdeditorsyntaxhighlighter; export gdeditorsyntaxhighlighter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdgltfdocumentextensionconvertimportermesh.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdgltfdocumentextension; export gdgltfdocumentextension 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdgpuparticlesattractorbox3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdgpuparticlesattractor3d; export gdgpuparticlesattractor3d 6 | 7 | proc setSize*(self: GPUParticlesAttractorBox3D; size: Vector3): void = 8 | expandMethodBind(className GPUParticlesAttractorBox3D, "set_size", 3460891852) 9 | methodbind.ptrcall(self, [getPtr size]) 10 | 11 | proc getSize*(self: GPUParticlesAttractorBox3D): Vector3 = 12 | expandMethodBind(className GPUParticlesAttractorBox3D, "get_size", 3360562783) 13 | var ret: encoded Vector3 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector3) 16 | 17 | template size*(self: GPUParticlesAttractorBox3D): untyped = self.getSize() 18 | template `size=`*(self: GPUParticlesAttractorBox3D; value) = self.setSize(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdgpuparticlesattractorsphere3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdgpuparticlesattractor3d; export gdgpuparticlesattractor3d 6 | 7 | proc setRadius*(self: GPUParticlesAttractorSphere3D; radius: Float): void = 8 | expandMethodBind(className GPUParticlesAttractorSphere3D, "set_radius", 373806689) 9 | methodbind.ptrcall(self, [getPtr radius]) 10 | 11 | proc getRadius*(self: GPUParticlesAttractorSphere3D): Float = 12 | expandMethodBind(className GPUParticlesAttractorSphere3D, "get_radius", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template radius*(self: GPUParticlesAttractorSphere3D): untyped = self.getRadius() 18 | template `radius=`*(self: GPUParticlesAttractorSphere3D; value) = self.setRadius(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdgpuparticlescollision3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualinstance3d; export gdvisualinstance3d 6 | 7 | proc setCullMask*(self: GPUParticlesCollision3D; mask: uint32): void = 8 | expandMethodBind(className GPUParticlesCollision3D, "set_cull_mask", 1286410249) 9 | methodbind.ptrcall(self, [getPtr mask]) 10 | 11 | proc getCullMask*(self: GPUParticlesCollision3D): uint32 = 12 | expandMethodBind(className GPUParticlesCollision3D, "get_cull_mask", 3905245786) 13 | var ret: encoded uint32 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(uint32) 16 | 17 | template cullMask*(self: GPUParticlesCollision3D): untyped = self.getCullMask() 18 | template `cullMask=`*(self: GPUParticlesCollision3D; value) = self.setCullMask(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdgpuparticlescollisionbox3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdgpuparticlescollision3d; export gdgpuparticlescollision3d 6 | 7 | proc setSize*(self: GPUParticlesCollisionBox3D; size: Vector3): void = 8 | expandMethodBind(className GPUParticlesCollisionBox3D, "set_size", 3460891852) 9 | methodbind.ptrcall(self, [getPtr size]) 10 | 11 | proc getSize*(self: GPUParticlesCollisionBox3D): Vector3 = 12 | expandMethodBind(className GPUParticlesCollisionBox3D, "get_size", 3360562783) 13 | var ret: encoded Vector3 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector3) 16 | 17 | template size*(self: GPUParticlesCollisionBox3D): untyped = self.getSize() 18 | template `size=`*(self: GPUParticlesCollisionBox3D; value) = self.setSize(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdgpuparticlescollisionsphere3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdgpuparticlescollision3d; export gdgpuparticlescollision3d 6 | 7 | proc setRadius*(self: GPUParticlesCollisionSphere3D; radius: Float): void = 8 | expandMethodBind(className GPUParticlesCollisionSphere3D, "set_radius", 373806689) 9 | methodbind.ptrcall(self, [getPtr radius]) 10 | 11 | proc getRadius*(self: GPUParticlesCollisionSphere3D): Float = 12 | expandMethodBind(className GPUParticlesCollisionSphere3D, "get_radius", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template radius*(self: GPUParticlesCollisionSphere3D): untyped = self.getRadius() 18 | template `radius=`*(self: GPUParticlesCollisionSphere3D; value) = self.setRadius(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdgridcontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcontainer; export gdcontainer 6 | 7 | proc setColumns*(self: GridContainer; columns: int32): void = 8 | expandMethodBind(className GridContainer, "set_columns", 1286410249) 9 | methodbind.ptrcall(self, [getPtr columns]) 10 | 11 | proc getColumns*(self: GridContainer): int32 = 12 | expandMethodBind(className GridContainer, "get_columns", 3905245786) 13 | var ret: encoded int32 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(int32) 16 | 17 | template columns*(self: GridContainer): untyped = self.getColumns() 18 | template `columns=`*(self: GridContainer; value) = self.setColumns(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdhboxcontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdboxcontainer; export gdboxcontainer 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdhflowcontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdflowcontainer; export gdflowcontainer 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdhscrollbar.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdscrollbar; export gdscrollbar 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdhseparator.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdseparator; export gdseparator 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdhslider.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdslider; export gdslider 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdhsplitcontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdsplitcontainer; export gdsplitcontainer 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdimageformatloader.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdimagetexture3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexture3d; export gdtexture3d 6 | 7 | proc create*(self: ImageTexture3D; format: Image_Format; width: int32; height: int32; depth: int32; useMipmaps: bool; data: TypedArray[gdref Image]): Error = 8 | expandMethodBind(className ImageTexture3D, "create", 1130379827) 9 | var ret: encoded Error 10 | methodbind.ptrcall(self, [getPtr format, getPtr width, getPtr height, getPtr depth, getPtr useMipmaps, getPtr data], addr ret) 11 | (addr ret).decode_result(Error) 12 | 13 | proc update*(self: ImageTexture3D; data: TypedArray[gdref Image]): void = 14 | expandMethodBind(className ImageTexture3D, "update", 381264803) 15 | methodbind.ptrcall(self, [getPtr data]) 16 | -------------------------------------------------------------------------------- /src/gdext/classes/gdimagetexturelayered.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexturelayered; export gdtexturelayered 6 | 7 | proc createFromImages*(self: ImageTextureLayered; images: TypedArray[gdref Image]): Error = 8 | expandMethodBind(className ImageTextureLayered, "create_from_images", 2785773503) 9 | var ret: encoded Error 10 | methodbind.ptrcall(self, [getPtr images], addr ret) 11 | (addr ret).decode_result(Error) 12 | 13 | proc updateLayer*(self: ImageTextureLayered; image: gdref Image; layer: int32): void = 14 | expandMethodBind(className ImageTextureLayered, "update_layer", 3331733361) 15 | methodbind.ptrcall(self, [getPtr image, getPtr layer]) 16 | -------------------------------------------------------------------------------- /src/gdext/classes/gdinputeventfromwindow.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdinputevent; export gdinputevent 6 | 7 | proc setWindowId*(self: InputEventFromWindow; id: int64): void = 8 | expandMethodBind(className InputEventFromWindow, "set_window_id", 1286410249) 9 | methodbind.ptrcall(self, [getPtr id]) 10 | 11 | proc getWindowId*(self: InputEventFromWindow): int64 = 12 | expandMethodBind(className InputEventFromWindow, "get_window_id", 3905245786) 13 | var ret: encoded int64 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(int64) 16 | 17 | template windowId*(self: InputEventFromWindow): untyped = self.getWindowId() 18 | template `windowId=`*(self: InputEventFromWindow; value) = self.setWindowId(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdinputeventgesture.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdinputeventwithmodifiers; export gdinputeventwithmodifiers 6 | 7 | proc setPosition*(self: InputEventGesture; position: Vector2): void = 8 | expandMethodBind(className InputEventGesture, "set_position", 743155724) 9 | methodbind.ptrcall(self, [getPtr position]) 10 | 11 | proc getPosition*(self: InputEventGesture): Vector2 = 12 | expandMethodBind(className InputEventGesture, "get_position", 3341600327) 13 | var ret: encoded Vector2 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector2) 16 | 17 | template position*(self: InputEventGesture): untyped = self.getPosition() 18 | template `position=`*(self: InputEventGesture; value) = self.setPosition(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdinputeventmagnifygesture.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdinputeventgesture; export gdinputeventgesture 6 | 7 | proc setFactor*(self: InputEventMagnifyGesture; factor: Float): void = 8 | expandMethodBind(className InputEventMagnifyGesture, "set_factor", 373806689) 9 | methodbind.ptrcall(self, [getPtr factor]) 10 | 11 | proc getFactor*(self: InputEventMagnifyGesture): Float = 12 | expandMethodBind(className InputEventMagnifyGesture, "get_factor", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template factor*(self: InputEventMagnifyGesture): untyped = self.getFactor() 18 | template `factor=`*(self: InputEventMagnifyGesture; value) = self.setFactor(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdinputeventpangesture.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdinputeventgesture; export gdinputeventgesture 6 | 7 | proc setDelta*(self: InputEventPanGesture; delta: Vector2): void = 8 | expandMethodBind(className InputEventPanGesture, "set_delta", 743155724) 9 | methodbind.ptrcall(self, [getPtr delta]) 10 | 11 | proc getDelta*(self: InputEventPanGesture): Vector2 = 12 | expandMethodBind(className InputEventPanGesture, "get_delta", 3341600327) 13 | var ret: encoded Vector2 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector2) 16 | 17 | template delta*(self: InputEventPanGesture): untyped = self.getDelta() 18 | template `delta=`*(self: InputEventPanGesture; value) = self.setDelta(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdinputeventshortcut.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdinputevent; export gdinputevent 6 | 7 | proc setShortcut*(self: InputEventShortcut; shortcut: gdref Shortcut): void = 8 | expandMethodBind(className InputEventShortcut, "set_shortcut", 857163497) 9 | methodbind.ptrcall(self, [getPtr shortcut]) 10 | 11 | proc getShortcut*(self: InputEventShortcut): gdref Shortcut = 12 | expandMethodBind(className InputEventShortcut, "get_shortcut", 3766804753) 13 | var ret: encoded gdref Shortcut 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(gdref Shortcut) 16 | 17 | template shortcut*(self: InputEventShortcut): untyped = self.getShortcut() 18 | template `shortcut=`*(self: InputEventShortcut; value) = self.setShortcut(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdintervaltweener.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtweener; export gdtweener 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdjavaclasswrapper.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdobject; export gdobject 6 | 7 | proc wrap*(self: JavaClassWrapper; name: String): gdref JavaClass = 8 | expandMethodBind(className JavaClassWrapper, "wrap", 1124367868) 9 | var ret: encoded gdref JavaClass 10 | methodbind.ptrcall(self, [getPtr name], addr ret) 11 | (addr ret).decode_result(gdref JavaClass) 12 | 13 | proc getException*(self: JavaClassWrapper): gdref JavaObject = 14 | expandMethodBind(className JavaClassWrapper, "get_exception", 3277089691) 15 | var ret: encoded gdref JavaObject 16 | methodbind.ptrcall(self, [], addr ret) 17 | (addr ret).decode_result(gdref JavaObject) 18 | -------------------------------------------------------------------------------- /src/gdext/classes/gdjavaobject.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | proc getJavaClass*(self: JavaObject): gdref JavaClass = 8 | expandMethodBind(className JavaObject, "get_java_class", 541536347) 9 | var ret: encoded gdref JavaClass 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(gdref JavaClass) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gdjavascriptobject.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdjnisingleton.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdobject; export gdobject 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdlightmapper.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdlightmapperrd.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdlightmapper; export gdlightmapper 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdlightmapprobe.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdnode3d; export gdnode3d 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdmargincontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcontainer; export gdcontainer 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdmarker2d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdnode2d; export gdnode2d 6 | 7 | proc setGizmoExtents*(self: Marker2D; extents: Float): void = 8 | expandMethodBind(className Marker2D, "set_gizmo_extents", 373806689) 9 | methodbind.ptrcall(self, [getPtr extents]) 10 | 11 | proc getGizmoExtents*(self: Marker2D): Float = 12 | expandMethodBind(className Marker2D, "get_gizmo_extents", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template gizmoExtents*(self: Marker2D): untyped = self.getGizmoExtents() 18 | template `gizmoExtents=`*(self: Marker2D; value) = self.setGizmoExtents(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdmarker3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdnode3d; export gdnode3d 6 | 7 | proc setGizmoExtents*(self: Marker3D; extents: Float): void = 8 | expandMethodBind(className Marker3D, "set_gizmo_extents", 373806689) 9 | methodbind.ptrcall(self, [getPtr extents]) 10 | 11 | proc getGizmoExtents*(self: Marker3D): Float = 12 | expandMethodBind(className Marker3D, "get_gizmo_extents", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template gizmoExtents*(self: Marker3D): untyped = self.getGizmoExtents() 18 | template `gizmoExtents=`*(self: Marker3D; value) = self.setGizmoExtents(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdmultimeshinstance3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdgeometryinstance3d; export gdgeometryinstance3d 6 | 7 | proc setMultimesh*(self: MultiMeshInstance3D; multimesh: gdref MultiMesh): void = 8 | expandMethodBind(className MultiMeshInstance3D, "set_multimesh", 2246127404) 9 | methodbind.ptrcall(self, [getPtr multimesh]) 10 | 11 | proc getMultimesh*(self: MultiMeshInstance3D): gdref MultiMesh = 12 | expandMethodBind(className MultiMeshInstance3D, "get_multimesh", 1385450523) 13 | var ret: encoded gdref MultiMesh 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(gdref MultiMesh) 16 | 17 | template multimesh*(self: MultiMeshInstance3D): untyped = self.getMultimesh() 18 | template `multimesh=`*(self: MultiMeshInstance3D; value) = self.setMultimesh(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdmutex.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | proc lock*(self: Mutex): void = 8 | expandMethodBind(className Mutex, "lock", 3218959716) 9 | methodbind.ptrcall(self, []) 10 | 11 | proc tryLock*(self: Mutex): bool = 12 | expandMethodBind(className Mutex, "try_lock", 2240911060) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | proc unlock*(self: Mutex): void = 18 | expandMethodBind(className Mutex, "unlock", 3218959716) 19 | methodbind.ptrcall(self, []) 20 | -------------------------------------------------------------------------------- /src/gdext/classes/gdnode3dgizmo.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdoccluder3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | 7 | proc getVertices*(self: Occluder3D): PackedVector3Array = 8 | expandMethodBind(className Occluder3D, "get_vertices", 497664490) 9 | var ret: encoded PackedVector3Array 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(PackedVector3Array) 12 | 13 | proc getIndices*(self: Occluder3D): PackedInt32Array = 14 | expandMethodBind(className Occluder3D, "get_indices", 1930428628) 15 | var ret: encoded PackedInt32Array 16 | methodbind.ptrcall(self, [], addr ret) 17 | (addr ret).decode_result(PackedInt32Array) 18 | -------------------------------------------------------------------------------- /src/gdext/classes/gdofflinemultiplayerpeer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdmultiplayerpeer; export gdmultiplayerpeer 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdoggpacketsequenceplayback.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdopenxractionbindingmodifier.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdopenxrbindingmodifier; export gdopenxrbindingmodifier 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdopenxrbindingmodifiereditor.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdpanelcontainer; export gdpanelcontainer 6 | 7 | proc getBindingModifier*(self: OpenXRBindingModifierEditor): gdref OpenXRBindingModifier = 8 | expandMethodBind(className OpenXRBindingModifierEditor, "get_binding_modifier", 2930765082) 9 | var ret: encoded gdref OpenXRBindingModifier 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(gdref OpenXRBindingModifier) 12 | 13 | proc setup*(self: OpenXRBindingModifierEditor; actionMap: gdref OpenXRActionMap; bindingModifier: gdref OpenXRBindingModifier): void = 14 | expandMethodBind(className OpenXRBindingModifierEditor, "setup", 1284787389) 15 | methodbind.ptrcall(self, [getPtr actionMap, getPtr bindingModifier]) 16 | -------------------------------------------------------------------------------- /src/gdext/classes/gdopenxrcompositionlayerquad.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdopenxrcompositionlayer; export gdopenxrcompositionlayer 6 | 7 | proc setQuadSize*(self: OpenXRCompositionLayerQuad; size: Vector2): void = 8 | expandMethodBind(className OpenXRCompositionLayerQuad, "set_quad_size", 743155724) 9 | methodbind.ptrcall(self, [getPtr size]) 10 | 11 | proc getQuadSize*(self: OpenXRCompositionLayerQuad): Vector2 = 12 | expandMethodBind(className OpenXRCompositionLayerQuad, "get_quad_size", 3341600327) 13 | var ret: encoded Vector2 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector2) 16 | 17 | template quadSize*(self: OpenXRCompositionLayerQuad): untyped = self.getQuadSize() 18 | template `quadSize=`*(self: OpenXRCompositionLayerQuad; value) = self.setQuadSize(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdopenxrhapticbase.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdopenxrinteractionprofileeditor.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdopenxrinteractionprofileeditorbase; export gdopenxrinteractionprofileeditorbase 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdopenxrinteractionprofileeditorbase.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdhboxcontainer; export gdhboxcontainer 6 | 7 | proc setup*(self: OpenXRInteractionProfileEditorBase; actionMap: gdref OpenXRActionMap; interactionProfile: gdref OpenXRInteractionProfile): void = 8 | expandMethodBind(className OpenXRInteractionProfileEditorBase, "setup", 421962938) 9 | methodbind.ptrcall(self, [getPtr actionMap, getPtr interactionProfile]) 10 | -------------------------------------------------------------------------------- /src/gdext/classes/gdopenxripbindingmodifier.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdopenxrbindingmodifier; export gdopenxrbindingmodifier 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdopenxrvisibilitymask.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualinstance3d; export gdvisualinstance3d 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdoptimizedtranslation.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtranslation; export gdtranslation 6 | 7 | proc generate*(self: OptimizedTranslation; `from`: gdref Translation): void = 8 | expandMethodBind(className OptimizedTranslation, "generate", 1466479800) 9 | methodbind.ptrcall(self, [getPtr `from`]) 10 | -------------------------------------------------------------------------------- /src/gdext/classes/gdormmaterial3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdbasematerial3d; export gdbasematerial3d 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpackeddatacontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | 7 | proc pack*(self: PackedDataContainer; value: Variant): Error = 8 | expandMethodBind(className PackedDataContainer, "pack", 966674026) 9 | var ret: encoded Error 10 | methodbind.ptrcall(self, [getPtr value], addr ret) 11 | (addr ret).decode_result(Error) 12 | 13 | proc size*(self: PackedDataContainer): int32 = 14 | expandMethodBind(className PackedDataContainer, "size", 3905245786) 15 | var ret: encoded int32 16 | methodbind.ptrcall(self, [], addr ret) 17 | (addr ret).decode_result(int32) 18 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpackeddatacontainerref.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | proc size*(self: PackedDataContainerRef): int32 = 8 | expandMethodBind(className PackedDataContainerRef, "size", 3905245786) 9 | var ret: encoded int32 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(int32) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpanel.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcontrol; export gdcontrol 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpanelcontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcontainer; export gdcontainer 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpath2d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdnode2d; export gdnode2d 6 | 7 | proc setCurve*(self: Path2D; curve: gdref Curve2D): void = 8 | expandMethodBind(className Path2D, "set_curve", 659985499) 9 | methodbind.ptrcall(self, [getPtr curve]) 10 | 11 | proc getCurve*(self: Path2D): gdref Curve2D = 12 | expandMethodBind(className Path2D, "get_curve", 660369445) 13 | var ret: encoded gdref Curve2D 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(gdref Curve2D) 16 | 17 | template curve*(self: Path2D): untyped = self.getCurve() 18 | template `curve=`*(self: Path2D; value) = self.setCurve(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpath3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdnode3d; export gdnode3d 6 | 7 | proc setCurve*(self: Path3D; curve: gdref Curve3D): void = 8 | expandMethodBind(className Path3D, "set_curve", 408955118) 9 | methodbind.ptrcall(self, [getPtr curve]) 10 | 11 | proc getCurve*(self: Path3D): gdref Curve3D = 12 | expandMethodBind(className Path3D, "get_curve", 4244715212) 13 | var ret: encoded gdref Curve3D 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(gdref Curve3D) 16 | 17 | template curve*(self: Path3D): untyped = self.getCurve() 18 | template `curve=`*(self: Path3D; value) = self.setCurve(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdphysicsserver2dmanager.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdobject; export gdobject 6 | 7 | proc registerServer*(self: PhysicsServer2DManager; name: String; createCallback: Callable): void = 8 | expandMethodBind(className PhysicsServer2DManager, "register_server", 2137474292) 9 | methodbind.ptrcall(self, [getPtr name, getPtr createCallback]) 10 | 11 | proc setDefaultServer*(self: PhysicsServer2DManager; name: String; priority: int32): void = 12 | expandMethodBind(className PhysicsServer2DManager, "set_default_server", 2956805083) 13 | methodbind.ptrcall(self, [getPtr name, getPtr priority]) 14 | -------------------------------------------------------------------------------- /src/gdext/classes/gdphysicsserver3dmanager.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdobject; export gdobject 6 | 7 | proc registerServer*(self: PhysicsServer3DManager; name: String; createCallback: Callable): void = 8 | expandMethodBind(className PhysicsServer3DManager, "register_server", 2137474292) 9 | methodbind.ptrcall(self, [getPtr name, getPtr createCallback]) 10 | 11 | proc setDefaultServer*(self: PhysicsServer3DManager; name: String; priority: int32): void = 12 | expandMethodBind(className PhysicsServer3DManager, "set_default_server", 2956805083) 13 | methodbind.ptrcall(self, [getPtr name, getPtr priority]) 14 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpinjoint3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdjoint3d; export gdjoint3d 6 | 7 | proc setParam*(self: PinJoint3D; param: PinJoint3D_Param; value: Float): void = 8 | expandMethodBind(className PinJoint3D, "set_param", 2059913726) 9 | methodbind.ptrcall(self, [getPtr param, getPtr value]) 10 | 11 | proc getParam*(self: PinJoint3D; param: PinJoint3D_Param): Float = 12 | expandMethodBind(className PinJoint3D, "get_param", 1758438771) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [getPtr param], addr ret) 15 | (addr ret).decode_result(Float) 16 | -------------------------------------------------------------------------------- /src/gdext/classes/gdplaceholdercubemap.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdplaceholdertexturelayered; export gdplaceholdertexturelayered 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdplaceholdercubemaparray.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdplaceholdertexturelayered; export gdplaceholdertexturelayered 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdplaceholdermaterial.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdmaterial; export gdmaterial 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdplaceholdermesh.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdmesh; export gdmesh 6 | 7 | proc setAabb*(self: PlaceholderMesh; aabb: AABB): void = 8 | expandMethodBind(className PlaceholderMesh, "set_aabb", 259215842) 9 | methodbind.ptrcall(self, [getPtr aabb]) 10 | 11 | template aabb*(self: PlaceholderMesh): untyped = self.getAabb() 12 | template `aabb=`*(self: PlaceholderMesh; value) = self.setAabb(value) 13 | -------------------------------------------------------------------------------- /src/gdext/classes/gdplaceholdertexture2d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexture2d; export gdtexture2d 6 | 7 | proc setSize*(self: PlaceholderTexture2D; size: Vector2): void = 8 | expandMethodBind(className PlaceholderTexture2D, "set_size", 743155724) 9 | methodbind.ptrcall(self, [getPtr size]) 10 | 11 | template size*(self: PlaceholderTexture2D): untyped = self.getSize() 12 | template `size=`*(self: PlaceholderTexture2D; value) = self.setSize(value) 13 | -------------------------------------------------------------------------------- /src/gdext/classes/gdplaceholdertexture2darray.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdplaceholdertexturelayered; export gdplaceholdertexturelayered 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdplaceholdertexture3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexture3d; export gdtexture3d 6 | 7 | proc setSize*(self: PlaceholderTexture3D; size: Vector3i): void = 8 | expandMethodBind(className PlaceholderTexture3D, "set_size", 560364750) 9 | methodbind.ptrcall(self, [getPtr size]) 10 | 11 | proc getSize*(self: PlaceholderTexture3D): Vector3i = 12 | expandMethodBind(className PlaceholderTexture3D, "get_size", 2785653706) 13 | var ret: encoded Vector3i 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector3i) 16 | 17 | template size*(self: PlaceholderTexture3D): untyped = self.getSize() 18 | template `size=`*(self: PlaceholderTexture3D; value) = self.setSize(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpointmesh.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdprimitivemesh; export gdprimitivemesh 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpolygonoccluder3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdoccluder3d; export gdoccluder3d 6 | 7 | proc setPolygon*(self: PolygonOccluder3D; polygon: PackedVector2Array): void = 8 | expandMethodBind(className PolygonOccluder3D, "set_polygon", 1509147220) 9 | methodbind.ptrcall(self, [getPtr polygon]) 10 | 11 | proc getPolygon*(self: PolygonOccluder3D): PackedVector2Array = 12 | expandMethodBind(className PolygonOccluder3D, "get_polygon", 2961356807) 13 | var ret: encoded PackedVector2Array 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(PackedVector2Array) 16 | 17 | template polygon*(self: PolygonOccluder3D): untyped = self.getPolygon() 18 | template `polygon=`*(self: PolygonOccluder3D; value) = self.setPolygon(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpopup.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdwindow; export gdwindow 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdpopuppanel.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdpopup; export gdpopup 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdquadmesh.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdplanemesh; export gdplanemesh 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdquadoccluder3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdoccluder3d; export gdoccluder3d 6 | 7 | proc setSize*(self: QuadOccluder3D; size: Vector2): void = 8 | expandMethodBind(className QuadOccluder3D, "set_size", 743155724) 9 | methodbind.ptrcall(self, [getPtr size]) 10 | 11 | proc getSize*(self: QuadOccluder3D): Vector2 = 12 | expandMethodBind(className QuadOccluder3D, "get_size", 3341600327) 13 | var ret: encoded Vector2 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector2) 16 | 17 | template size*(self: QuadOccluder3D): untyped = self.getSize() 18 | template `size=`*(self: QuadOccluder3D; value) = self.setSize(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdrectangleshape2d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdshape2d; export gdshape2d 6 | 7 | proc setSize*(self: RectangleShape2D; size: Vector2): void = 8 | expandMethodBind(className RectangleShape2D, "set_size", 743155724) 9 | methodbind.ptrcall(self, [getPtr size]) 10 | 11 | proc getSize*(self: RectangleShape2D): Vector2 = 12 | expandMethodBind(className RectangleShape2D, "get_size", 3341600327) 13 | var ret: encoded Vector2 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector2) 16 | 17 | template size*(self: RectangleShape2D): untyped = self.getSize() 18 | template `size=`*(self: RectangleShape2D; value) = self.setSize(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdrenderdatard.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrenderdata; export gdrenderdata 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdrenderscenebuffers.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | proc configure*(self: RenderSceneBuffers; config: gdref RenderSceneBuffersConfiguration): void = 8 | expandMethodBind(className RenderSceneBuffers, "configure", 3072623270) 9 | methodbind.ptrcall(self, [getPtr config]) 10 | -------------------------------------------------------------------------------- /src/gdext/classes/gdrenderscenedatard.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrenderscenedata; export gdrenderscenedata 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporterbitmap.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporterbmfont.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimportercsvtranslation.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporterdynamicfont.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporterimage.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporterimagefont.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporterlayeredtexture.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimportermp3.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporterobj.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporteroggvorbis.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | 7 | proc loadFromBuffer*(_: typedesc[ResourceImporterOggVorbis]; streamData: PackedByteArray): gdref AudioStreamOggVorbis = 8 | expandMethodBind(className ResourceImporterOggVorbis, "load_from_buffer", 354904730) 9 | var ret: encoded gdref AudioStreamOggVorbis 10 | methodbind.ptrcall([getPtr streamData], addr ret) 11 | (addr ret).decode_result(gdref AudioStreamOggVorbis) 12 | 13 | proc loadFromFile*(_: typedesc[ResourceImporterOggVorbis]; path: String): gdref AudioStreamOggVorbis = 14 | expandMethodBind(className ResourceImporterOggVorbis, "load_from_file", 797568536) 15 | var ret: encoded gdref AudioStreamOggVorbis 16 | methodbind.ptrcall([getPtr path], addr ret) 17 | (addr ret).decode_result(gdref AudioStreamOggVorbis) 18 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporterscene.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimportershaderfile.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimportertexture.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimportertextureatlas.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdresourceimporterwav.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresourceimporter; export gdresourceimporter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdrichtexteffect.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | 7 | method processCustomFx*(self: RichTextEffect; charFx: gdref CharFXTransform): bool {.base.} = (discard) 8 | proc registerVirtual_processCustomFx*[T: RichTextEffect](Self: typedesc[T]) = 9 | Self.vmethods[newStringName"_process_custom_fx"] = proc (p_instance: ClassInstancePtr; p_args: ptr UncheckedArray[ConstTypePtr]; r_ret: TypePtr) {.gdcall.} = 10 | errproof: cast[RichTextEffect](p_instance).processCustomFx(p_args[0].decode(gdref CharFXTransform)).encode(r_ret) 11 | -------------------------------------------------------------------------------- /src/gdext/classes/gdscenetreetimer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | proc setTimeLeft*(self: SceneTreeTimer; time: float64): void = 8 | expandMethodBind(className SceneTreeTimer, "set_time_left", 373806689) 9 | methodbind.ptrcall(self, [getPtr time]) 10 | 11 | proc getTimeLeft*(self: SceneTreeTimer): float64 = 12 | expandMethodBind(className SceneTreeTimer, "get_time_left", 1740695150) 13 | var ret: encoded float64 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(float64) 16 | 17 | template timeLeft*(self: SceneTreeTimer): untyped = self.getTimeLeft() 18 | template `timeLeft=`*(self: SceneTreeTimer; value) = self.setTimeLeft(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdscriptcreatedialog.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdconfirmationdialog; export gdconfirmationdialog 6 | 7 | proc config*(self: ScriptCreateDialog; inherits: String; path: String; builtInEnabled: bool = true; loadEnabled: bool = true): void = 8 | expandMethodBind(className ScriptCreateDialog, "config", 869314288) 9 | methodbind.ptrcall(self, [getPtr inherits, getPtr path, getPtr builtInEnabled, getPtr loadEnabled]) 10 | -------------------------------------------------------------------------------- /src/gdext/classes/gdscripteditorbase.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvboxcontainer; export gdvboxcontainer 6 | 7 | proc getBaseEditor*(self: ScriptEditorBase): Control = 8 | expandMethodBind(className ScriptEditorBase, "get_base_editor", 2783021301) 9 | var ret: encoded Control 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(Control) 12 | 13 | proc addSyntaxHighlighter*(self: ScriptEditorBase; highlighter: gdref EditorSyntaxHighlighter): void = 14 | expandMethodBind(className ScriptEditorBase, "add_syntax_highlighter", 1092774468) 15 | methodbind.ptrcall(self, [getPtr highlighter]) 16 | -------------------------------------------------------------------------------- /src/gdext/classes/gdscriptlanguage.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdobject; export gdobject 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdscrollbar.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrange; export gdrange 6 | 7 | proc setCustomStep*(self: ScrollBar; step: Float): void = 8 | expandMethodBind(className ScrollBar, "set_custom_step", 373806689) 9 | methodbind.ptrcall(self, [getPtr step]) 10 | 11 | proc getCustomStep*(self: ScrollBar): Float = 12 | expandMethodBind(className ScrollBar, "get_custom_step", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template customStep*(self: ScrollBar): untyped = self.getCustomStep() 18 | template `customStep=`*(self: ScrollBar; value) = self.setCustomStep(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdsemaphore.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | proc wait*(self: Semaphore): void = 8 | expandMethodBind(className Semaphore, "wait", 3218959716) 9 | methodbind.ptrcall(self, []) 10 | 11 | proc tryWait*(self: Semaphore): bool = 12 | expandMethodBind(className Semaphore, "try_wait", 2240911060) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | proc post*(self: Semaphore; count: int32 = 1): void = 18 | expandMethodBind(className Semaphore, "post", 1667783136) 19 | methodbind.ptrcall(self, [getPtr count]) 20 | -------------------------------------------------------------------------------- /src/gdext/classes/gdseparator.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcontrol; export gdcontrol 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdshaderglobalsoverride.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdnode; export gdnode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdshaderinclude.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | 7 | proc setCode*(self: ShaderInclude; code: String): void = 8 | expandMethodBind(className ShaderInclude, "set_code", 83702148) 9 | methodbind.ptrcall(self, [getPtr code]) 10 | 11 | proc getCode*(self: ShaderInclude): String = 12 | expandMethodBind(className ShaderInclude, "get_code", 201670096) 13 | var ret: encoded String 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(String) 16 | 17 | template code*(self: ShaderInclude): untyped = self.getCode() 18 | template `code=`*(self: ShaderInclude; value) = self.setCode(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdskeletonmodification2dstackholder.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdskeletonmodification2d; export gdskeletonmodification2d 6 | 7 | proc setHeldModificationStack*(self: SkeletonModification2DStackHolder; heldModificationStack: gdref SkeletonModificationStack2D): void = 8 | expandMethodBind(className SkeletonModification2DStackHolder, "set_held_modification_stack", 3907307132) 9 | methodbind.ptrcall(self, [getPtr heldModificationStack]) 10 | 11 | proc getHeldModificationStack*(self: SkeletonModification2DStackHolder): gdref SkeletonModificationStack2D = 12 | expandMethodBind(className SkeletonModification2DStackHolder, "get_held_modification_stack", 2107508396) 13 | var ret: encoded gdref SkeletonModificationStack2D 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(gdref SkeletonModificationStack2D) 16 | -------------------------------------------------------------------------------- /src/gdext/classes/gdskeletonprofilehumanoid.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdskeletonprofile; export gdskeletonprofile 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdskinreference.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | proc getSkeleton*(self: SkinReference): RID = 8 | expandMethodBind(className SkinReference, "get_skeleton", 2944877500) 9 | var ret: encoded RID 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(RID) 12 | 13 | proc getSkin*(self: SkinReference): gdref Skin = 14 | expandMethodBind(className SkinReference, "get_skin", 2074563878) 15 | var ret: encoded gdref Skin 16 | methodbind.ptrcall(self, [], addr ret) 17 | (addr ret).decode_result(gdref Skin) 18 | -------------------------------------------------------------------------------- /src/gdext/classes/gdsliderjoint3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdjoint3d; export gdjoint3d 6 | 7 | proc setParam*(self: SliderJoint3D; param: SliderJoint3D_Param; value: Float): void = 8 | expandMethodBind(className SliderJoint3D, "set_param", 918243683) 9 | methodbind.ptrcall(self, [getPtr param, getPtr value]) 10 | 11 | proc getParam*(self: SliderJoint3D; param: SliderJoint3D_Param): Float = 12 | expandMethodBind(className SliderJoint3D, "get_param", 959925627) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [getPtr param], addr ret) 15 | (addr ret).decode_result(Float) 16 | -------------------------------------------------------------------------------- /src/gdext/classes/gdsphereoccluder3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdoccluder3d; export gdoccluder3d 6 | 7 | proc setRadius*(self: SphereOccluder3D; radius: Float): void = 8 | expandMethodBind(className SphereOccluder3D, "set_radius", 373806689) 9 | methodbind.ptrcall(self, [getPtr radius]) 10 | 11 | proc getRadius*(self: SphereOccluder3D): Float = 12 | expandMethodBind(className SphereOccluder3D, "get_radius", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template radius*(self: SphereOccluder3D): untyped = self.getRadius() 18 | template `radius=`*(self: SphereOccluder3D; value) = self.setRadius(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdsphereshape3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdshape3d; export gdshape3d 6 | 7 | proc setRadius*(self: SphereShape3D; radius: Float): void = 8 | expandMethodBind(className SphereShape3D, "set_radius", 373806689) 9 | methodbind.ptrcall(self, [getPtr radius]) 10 | 11 | proc getRadius*(self: SphereShape3D): Float = 12 | expandMethodBind(className SphereShape3D, "get_radius", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template radius*(self: SphereShape3D): untyped = self.getRadius() 18 | template `radius=`*(self: SphereShape3D; value) = self.setRadius(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdspotlight3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdlight3d; export gdlight3d 6 | 7 | template spotRange*(self: SpotLight3D): untyped = self.getParam(Light3D_Param(4)) 8 | template `spotRange=`*(self: SpotLight3D; value) = self.setParam(Light3D_Param(4), value) 9 | 10 | template spotAttenuation*(self: SpotLight3D): untyped = self.getParam(Light3D_Param(6)) 11 | template `spotAttenuation=`*(self: SpotLight3D; value) = self.setParam(Light3D_Param(6), value) 12 | 13 | template spotAngle*(self: SpotLight3D): untyped = self.getParam(Light3D_Param(7)) 14 | template `spotAngle=`*(self: SpotLight3D; value) = self.setParam(Light3D_Param(7), value) 15 | 16 | template spotAngleAttenuation*(self: SpotLight3D): untyped = self.getParam(Light3D_Param(8)) 17 | template `spotAngleAttenuation=`*(self: SpotLight3D; value) = self.setParam(Light3D_Param(8), value) 18 | -------------------------------------------------------------------------------- /src/gdext/classes/gdspringbonecollisionplane3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdspringbonecollision3d; export gdspringbonecollision3d 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdstandardmaterial3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdbasematerial3d; export gdbasematerial3d 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdstyleboxempty.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdstylebox; export gdstylebox 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdsubtweentweener.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtweener; export gdtweener 6 | 7 | proc setDelay*(self: SubtweenTweener; delay: float64): gdref SubtweenTweener = 8 | expandMethodBind(className SubtweenTweener, "set_delay", 449181780) 9 | var ret: encoded gdref SubtweenTweener 10 | methodbind.ptrcall(self, [getPtr delay], addr ret) 11 | (addr ret).decode_result(gdref SubtweenTweener) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtextserveradvanced.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtextserverextension; export gdtextserverextension 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtextserverdummy.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtextserverextension; export gdtextserverextension 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtexture.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdresource; export gdresource 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtexture2darray.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdimagetexturelayered; export gdimagetexturelayered 6 | 7 | proc createPlaceholder*(self: Texture2DArray): gdref Resource = 8 | expandMethodBind(className Texture2DArray, "create_placeholder", 121922552) 9 | var ret: encoded gdref Resource 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(gdref Resource) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtexture2darrayrd.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexturelayeredrd; export gdtexturelayeredrd 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtexture2drd.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexture2d; export gdtexture2d 6 | 7 | proc setTextureRdRid*(self: Texture2DRD; textureRdRid: RID): void = 8 | expandMethodBind(className Texture2DRD, "set_texture_rd_rid", 2722037293) 9 | methodbind.ptrcall(self, [getPtr textureRdRid]) 10 | 11 | proc getTextureRdRid*(self: Texture2DRD): RID = 12 | expandMethodBind(className Texture2DRD, "get_texture_rd_rid", 2944877500) 13 | var ret: encoded RID 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(RID) 16 | 17 | template textureRdRid*(self: Texture2DRD): untyped = self.getTextureRdRid() 18 | template `textureRdRid=`*(self: Texture2DRD; value) = self.setTextureRdRid(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtexture3drd.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexture3d; export gdtexture3d 6 | 7 | proc setTextureRdRid*(self: Texture3DRD; textureRdRid: RID): void = 8 | expandMethodBind(className Texture3DRD, "set_texture_rd_rid", 2722037293) 9 | methodbind.ptrcall(self, [getPtr textureRdRid]) 10 | 11 | proc getTextureRdRid*(self: Texture3DRD): RID = 12 | expandMethodBind(className Texture3DRD, "get_texture_rd_rid", 2944877500) 13 | var ret: encoded RID 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(RID) 16 | 17 | template textureRdRid*(self: Texture3DRD): untyped = self.getTextureRdRid() 18 | template `textureRdRid=`*(self: Texture3DRD; value) = self.setTextureRdRid(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtexturecubemaparrayrd.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexturelayeredrd; export gdtexturelayeredrd 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtexturecubemaprd.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexturelayeredrd; export gdtexturelayeredrd 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtexturelayeredrd.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexturelayered; export gdtexturelayered 6 | 7 | proc setTextureRdRid*(self: TextureLayeredRD; textureRdRid: RID): void = 8 | expandMethodBind(className TextureLayeredRD, "set_texture_rd_rid", 2722037293) 9 | methodbind.ptrcall(self, [getPtr textureRdRid]) 10 | 11 | proc getTextureRdRid*(self: TextureLayeredRD): RID = 12 | expandMethodBind(className TextureLayeredRD, "get_texture_rd_rid", 2944877500) 13 | var ret: encoded RID 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(RID) 16 | 17 | template textureRdRid*(self: TextureLayeredRD): untyped = self.getTextureRdRid() 18 | template `textureRdRid=`*(self: TextureLayeredRD; value) = self.setTextureRdRid(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtrianglemesh.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdtweener.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gduniformsetcacherd.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdobject; export gdobject 6 | 7 | proc getCache*(_: typedesc[UniformSetCacheRD]; shader: RID; set: uint32; uniforms: TypedArray[gdref RDUniform]): RID = 8 | expandMethodBind(className UniformSetCacheRD, "get_cache", 658571723) 9 | var ret: encoded RID 10 | methodbind.ptrcall([getPtr shader, getPtr set, getPtr uniforms], addr ret) 11 | (addr ret).decode_result(RID) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvboxcontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdboxcontainer; export gdboxcontainer 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvflowcontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdflowcontainer; export gdflowcontainer 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvideostreamtheora.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvideostream; export gdvideostream 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdviewporttexture.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdtexture2d; export gdtexture2d 6 | 7 | proc setViewportPathInScene*(self: ViewportTexture; path: NodePath): void = 8 | expandMethodBind(className ViewportTexture, "set_viewport_path_in_scene", 1348162250) 9 | methodbind.ptrcall(self, [getPtr path]) 10 | 11 | proc getViewportPathInScene*(self: ViewportTexture): NodePath = 12 | expandMethodBind(className ViewportTexture, "get_viewport_path_in_scene", 4075236667) 13 | var ret: encoded NodePath 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(NodePath) 16 | 17 | template viewportPath*(self: ViewportTexture): untyped = self.getViewportPathInScene() 18 | template `viewportPath=`*(self: ViewportTexture; value) = self.setViewportPathInScene(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisibleonscreennotifier3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualinstance3d; export gdvisualinstance3d 6 | 7 | proc setAabb*(self: VisibleOnScreenNotifier3D; rect: AABB): void = 8 | expandMethodBind(className VisibleOnScreenNotifier3D, "set_aabb", 259215842) 9 | methodbind.ptrcall(self, [getPtr rect]) 10 | 11 | proc isOnScreen*(self: VisibleOnScreenNotifier3D): bool = 12 | expandMethodBind(className VisibleOnScreenNotifier3D, "is_on_screen", 36873697) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | template aabb*(self: VisibleOnScreenNotifier3D): untyped = self.getAabb() 18 | template `aabb=`*(self: VisibleOnScreenNotifier3D; value) = self.setAabb(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodebooleanconstant.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeconstant; export gdvisualshadernodeconstant 6 | 7 | proc setConstant*(self: VisualShaderNodeBooleanConstant; constant: bool): void = 8 | expandMethodBind(className VisualShaderNodeBooleanConstant, "set_constant", 2586408642) 9 | methodbind.ptrcall(self, [getPtr constant]) 10 | 11 | proc getConstant*(self: VisualShaderNodeBooleanConstant): bool = 12 | expandMethodBind(className VisualShaderNodeBooleanConstant, "get_constant", 36873697) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | template constant*(self: VisualShaderNodeBooleanConstant): untyped = self.getConstant() 18 | template `constant=`*(self: VisualShaderNodeBooleanConstant; value) = self.setConstant(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeclamp.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOpType*(self: VisualShaderNodeClamp; opType: VisualShaderNodeClamp_OpType): void = 8 | expandMethodBind(className VisualShaderNodeClamp, "set_op_type", 405010749) 9 | methodbind.ptrcall(self, [getPtr opType]) 10 | 11 | proc getOpType*(self: VisualShaderNodeClamp): VisualShaderNodeClamp_OpType = 12 | expandMethodBind(className VisualShaderNodeClamp, "get_op_type", 233276050) 13 | var ret: encoded VisualShaderNodeClamp_OpType 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeClamp_OpType) 16 | 17 | template opType*(self: VisualShaderNodeClamp): untyped = self.getOpType() 18 | template `opType=`*(self: VisualShaderNodeClamp; value) = self.setOpType(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodecolorconstant.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeconstant; export gdvisualshadernodeconstant 6 | 7 | proc setConstant*(self: VisualShaderNodeColorConstant; constant: Color): void = 8 | expandMethodBind(className VisualShaderNodeColorConstant, "set_constant", 2920490490) 9 | methodbind.ptrcall(self, [getPtr constant]) 10 | 11 | proc getConstant*(self: VisualShaderNodeColorConstant): Color = 12 | expandMethodBind(className VisualShaderNodeColorConstant, "get_constant", 3444240500) 13 | var ret: encoded Color 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Color) 16 | 17 | template constant*(self: VisualShaderNodeColorConstant): untyped = self.getConstant() 18 | template `constant=`*(self: VisualShaderNodeColorConstant; value) = self.setConstant(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodecolorfunc.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setFunction*(self: VisualShaderNodeColorFunc; `func`: VisualShaderNodeColorFunc_Function): void = 8 | expandMethodBind(className VisualShaderNodeColorFunc, "set_function", 3973396138) 9 | methodbind.ptrcall(self, [getPtr `func`]) 10 | 11 | proc getFunction*(self: VisualShaderNodeColorFunc): VisualShaderNodeColorFunc_Function = 12 | expandMethodBind(className VisualShaderNodeColorFunc, "get_function", 554863321) 13 | var ret: encoded VisualShaderNodeColorFunc_Function 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeColorFunc_Function) 16 | 17 | template function*(self: VisualShaderNodeColorFunc): untyped = self.getFunction() 18 | template `function=`*(self: VisualShaderNodeColorFunc; value) = self.setFunction(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodecolorop.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOperator*(self: VisualShaderNodeColorOp; op: VisualShaderNodeColorOp_Operator): void = 8 | expandMethodBind(className VisualShaderNodeColorOp, "set_operator", 4260370673) 9 | methodbind.ptrcall(self, [getPtr op]) 10 | 11 | proc getOperator*(self: VisualShaderNodeColorOp): VisualShaderNodeColorOp_Operator = 12 | expandMethodBind(className VisualShaderNodeColorOp, "get_operator", 1950956529) 13 | var ret: encoded VisualShaderNodeColorOp_Operator 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeColorOp_Operator) 16 | 17 | template operator*(self: VisualShaderNodeColorOp): untyped = self.getOperator() 18 | template `operator=`*(self: VisualShaderNodeColorOp; value) = self.setOperator(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodecomment.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeframe; export gdvisualshadernodeframe 6 | 7 | proc setDescription*(self: VisualShaderNodeComment; description: String): void = 8 | expandMethodBind(className VisualShaderNodeComment, "set_description", 83702148) 9 | methodbind.ptrcall(self, [getPtr description]) 10 | 11 | proc getDescription*(self: VisualShaderNodeComment): String = 12 | expandMethodBind(className VisualShaderNodeComment, "get_description", 201670096) 13 | var ret: encoded String 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(String) 16 | 17 | template description*(self: VisualShaderNodeComment): untyped = self.getDescription() 18 | template `description=`*(self: VisualShaderNodeComment; value) = self.setDescription(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeconstant.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodecubemapparameter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodetextureparameter; export gdvisualshadernodetextureparameter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodecurvetexture.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernoderesizablebase; export gdvisualshadernoderesizablebase 6 | 7 | proc setTexture*(self: VisualShaderNodeCurveTexture; texture: gdref CurveTexture): void = 8 | expandMethodBind(className VisualShaderNodeCurveTexture, "set_texture", 181872837) 9 | methodbind.ptrcall(self, [getPtr texture]) 10 | 11 | proc getTexture*(self: VisualShaderNodeCurveTexture): gdref CurveTexture = 12 | expandMethodBind(className VisualShaderNodeCurveTexture, "get_texture", 2800800579) 13 | var ret: encoded gdref CurveTexture 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(gdref CurveTexture) 16 | 17 | template texture*(self: VisualShaderNodeCurveTexture): untyped = self.getTexture() 18 | template `texture=`*(self: VisualShaderNodeCurveTexture; value) = self.setTexture(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodedeterminant.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodedistancefade.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodedotproduct.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeexpression.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodegroupbase; export gdvisualshadernodegroupbase 6 | 7 | proc setExpression*(self: VisualShaderNodeExpression; expression: String): void = 8 | expandMethodBind(className VisualShaderNodeExpression, "set_expression", 83702148) 9 | methodbind.ptrcall(self, [getPtr expression]) 10 | 11 | proc getExpression*(self: VisualShaderNodeExpression): String = 12 | expandMethodBind(className VisualShaderNodeExpression, "get_expression", 201670096) 13 | var ret: encoded String 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(String) 16 | 17 | template expression*(self: VisualShaderNodeExpression): untyped = self.getExpression() 18 | template `expression=`*(self: VisualShaderNodeExpression; value) = self.setExpression(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodefaceforward.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodevectorbase; export gdvisualshadernodevectorbase 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodefloatconstant.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeconstant; export gdvisualshadernodeconstant 6 | 7 | proc setConstant*(self: VisualShaderNodeFloatConstant; constant: Float): void = 8 | expandMethodBind(className VisualShaderNodeFloatConstant, "set_constant", 373806689) 9 | methodbind.ptrcall(self, [getPtr constant]) 10 | 11 | proc getConstant*(self: VisualShaderNodeFloatConstant): Float = 12 | expandMethodBind(className VisualShaderNodeFloatConstant, "get_constant", 1740695150) 13 | var ret: encoded Float 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Float) 16 | 17 | template constant*(self: VisualShaderNodeFloatConstant): untyped = self.getConstant() 18 | template `constant=`*(self: VisualShaderNodeFloatConstant; value) = self.setConstant(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodefloatop.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOperator*(self: VisualShaderNodeFloatOp; op: VisualShaderNodeFloatOp_Operator): void = 8 | expandMethodBind(className VisualShaderNodeFloatOp, "set_operator", 2488468047) 9 | methodbind.ptrcall(self, [getPtr op]) 10 | 11 | proc getOperator*(self: VisualShaderNodeFloatOp): VisualShaderNodeFloatOp_Operator = 12 | expandMethodBind(className VisualShaderNodeFloatOp, "get_operator", 1867979390) 13 | var ret: encoded VisualShaderNodeFloatOp_Operator 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeFloatOp_Operator) 16 | 17 | template operator*(self: VisualShaderNodeFloatOp): untyped = self.getOperator() 18 | template `operator=`*(self: VisualShaderNodeFloatOp; value) = self.setOperator(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodefresnel.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeglobalexpression.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeexpression; export gdvisualshadernodeexpression 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeif.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeintconstant.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeconstant; export gdvisualshadernodeconstant 6 | 7 | proc setConstant*(self: VisualShaderNodeIntConstant; constant: int32): void = 8 | expandMethodBind(className VisualShaderNodeIntConstant, "set_constant", 1286410249) 9 | methodbind.ptrcall(self, [getPtr constant]) 10 | 11 | proc getConstant*(self: VisualShaderNodeIntConstant): int32 = 12 | expandMethodBind(className VisualShaderNodeIntConstant, "get_constant", 3905245786) 13 | var ret: encoded int32 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(int32) 16 | 17 | template constant*(self: VisualShaderNodeIntConstant): untyped = self.getConstant() 18 | template `constant=`*(self: VisualShaderNodeIntConstant; value) = self.setConstant(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeintfunc.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setFunction*(self: VisualShaderNodeIntFunc; `func`: VisualShaderNodeIntFunc_Function): void = 8 | expandMethodBind(className VisualShaderNodeIntFunc, "set_function", 424195284) 9 | methodbind.ptrcall(self, [getPtr `func`]) 10 | 11 | proc getFunction*(self: VisualShaderNodeIntFunc): VisualShaderNodeIntFunc_Function = 12 | expandMethodBind(className VisualShaderNodeIntFunc, "get_function", 2753496911) 13 | var ret: encoded VisualShaderNodeIntFunc_Function 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeIntFunc_Function) 16 | 17 | template function*(self: VisualShaderNodeIntFunc): untyped = self.getFunction() 18 | template `function=`*(self: VisualShaderNodeIntFunc; value) = self.setFunction(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeintop.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOperator*(self: VisualShaderNodeIntOp; op: VisualShaderNodeIntOp_Operator): void = 8 | expandMethodBind(className VisualShaderNodeIntOp, "set_operator", 1677909323) 9 | methodbind.ptrcall(self, [getPtr op]) 10 | 11 | proc getOperator*(self: VisualShaderNodeIntOp): VisualShaderNodeIntOp_Operator = 12 | expandMethodBind(className VisualShaderNodeIntOp, "get_operator", 1236987913) 13 | var ret: encoded VisualShaderNodeIntOp_Operator 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeIntOp_Operator) 16 | 17 | template operator*(self: VisualShaderNodeIntOp): untyped = self.getOperator() 18 | template `operator=`*(self: VisualShaderNodeIntOp; value) = self.setOperator(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeis.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setFunction*(self: VisualShaderNodeIs; `func`: VisualShaderNodeIs_Function): void = 8 | expandMethodBind(className VisualShaderNodeIs, "set_function", 1438374690) 9 | methodbind.ptrcall(self, [getPtr `func`]) 10 | 11 | proc getFunction*(self: VisualShaderNodeIs): VisualShaderNodeIs_Function = 12 | expandMethodBind(className VisualShaderNodeIs, "get_function", 580678557) 13 | var ret: encoded VisualShaderNodeIs_Function 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeIs_Function) 16 | 17 | template function*(self: VisualShaderNodeIs): untyped = self.getFunction() 18 | template `function=`*(self: VisualShaderNodeIs; value) = self.setFunction(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodelinearscenedepth.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodemix.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOpType*(self: VisualShaderNodeMix; opType: VisualShaderNodeMix_OpType): void = 8 | expandMethodBind(className VisualShaderNodeMix, "set_op_type", 3397501671) 9 | methodbind.ptrcall(self, [getPtr opType]) 10 | 11 | proc getOpType*(self: VisualShaderNodeMix): VisualShaderNodeMix_OpType = 12 | expandMethodBind(className VisualShaderNodeMix, "get_op_type", 4013957297) 13 | var ret: encoded VisualShaderNodeMix_OpType 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeMix_OpType) 16 | 17 | template opType*(self: VisualShaderNodeMix): untyped = self.getOpType() 18 | template `opType=`*(self: VisualShaderNodeMix; value) = self.setOpType(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeouterproduct.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeoutput.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeparticleboxemitter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeparticleemitter; export gdvisualshadernodeparticleemitter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeparticleconevelocity.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeparticleemitter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setMode2D*(self: VisualShaderNodeParticleEmitter; enabled: bool): void = 8 | expandMethodBind(className VisualShaderNodeParticleEmitter, "set_mode_2d", 2586408642) 9 | methodbind.ptrcall(self, [getPtr enabled]) 10 | 11 | proc isMode2D*(self: VisualShaderNodeParticleEmitter): bool = 12 | expandMethodBind(className VisualShaderNodeParticleEmitter, "is_mode_2d", 36873697) 13 | var ret: encoded bool 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(bool) 16 | 17 | template mode2D*(self: VisualShaderNodeParticleEmitter): untyped = self.isMode2D() 18 | template `mode2D=`*(self: VisualShaderNodeParticleEmitter; value) = self.setMode2D(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeparticleoutput.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeoutput; export gdvisualshadernodeoutput 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeparticleringemitter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeparticleemitter; export gdvisualshadernodeparticleemitter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeparticlesphereemitter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeparticleemitter; export gdvisualshadernodeparticleemitter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeproximityfade.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernoderandomrange.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernoderemap.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOpType*(self: VisualShaderNodeRemap; opType: VisualShaderNodeRemap_OpType): void = 8 | expandMethodBind(className VisualShaderNodeRemap, "set_op_type", 1703697889) 9 | methodbind.ptrcall(self, [getPtr opType]) 10 | 11 | proc getOpType*(self: VisualShaderNodeRemap): VisualShaderNodeRemap_OpType = 12 | expandMethodBind(className VisualShaderNodeRemap, "get_op_type", 1678380563) 13 | var ret: encoded VisualShaderNodeRemap_OpType 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeRemap_OpType) 16 | 17 | template opType*(self: VisualShaderNodeRemap): untyped = self.getOpType() 18 | template `opType=`*(self: VisualShaderNodeRemap; value) = self.setOpType(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodereroute.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc getPortType*(self: VisualShaderNodeReroute): VisualShaderNode_PortType = 8 | expandMethodBind(className VisualShaderNodeReroute, "get_port_type", 1287173294) 9 | var ret: encoded VisualShaderNode_PortType 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(VisualShaderNode_PortType) 12 | 13 | template portType*(self: VisualShaderNodeReroute): untyped = self.getPortType() 14 | template `portType=`*(self: VisualShaderNodeReroute; value) = self.setPortType(value) 15 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernoderesizablebase.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setSize*(self: VisualShaderNodeResizableBase; size: Vector2): void = 8 | expandMethodBind(className VisualShaderNodeResizableBase, "set_size", 743155724) 9 | methodbind.ptrcall(self, [getPtr size]) 10 | 11 | proc getSize*(self: VisualShaderNodeResizableBase): Vector2 = 12 | expandMethodBind(className VisualShaderNodeResizableBase, "get_size", 3341600327) 13 | var ret: encoded Vector2 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector2) 16 | 17 | template size*(self: VisualShaderNodeResizableBase): untyped = self.getSize() 18 | template `size=`*(self: VisualShaderNodeResizableBase; value) = self.setSize(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernoderotationbyaxis.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodesample3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setSource*(self: VisualShaderNodeSample3D; value: VisualShaderNodeSample3D_Source): void = 8 | expandMethodBind(className VisualShaderNodeSample3D, "set_source", 3315130991) 9 | methodbind.ptrcall(self, [getPtr value]) 10 | 11 | proc getSource*(self: VisualShaderNodeSample3D): VisualShaderNodeSample3D_Source = 12 | expandMethodBind(className VisualShaderNodeSample3D, "get_source", 1079494121) 13 | var ret: encoded VisualShaderNodeSample3D_Source 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeSample3D_Source) 16 | 17 | template source*(self: VisualShaderNodeSample3D): untyped = self.getSource() 18 | template `source=`*(self: VisualShaderNodeSample3D; value) = self.setSource(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodescreennormalworldspace.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodescreenuvtosdf.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodesdfraymarch.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodesdftoscreenuv.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodesmoothstep.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOpType*(self: VisualShaderNodeSmoothStep; opType: VisualShaderNodeSmoothStep_OpType): void = 8 | expandMethodBind(className VisualShaderNodeSmoothStep, "set_op_type", 2427426148) 9 | methodbind.ptrcall(self, [getPtr opType]) 10 | 11 | proc getOpType*(self: VisualShaderNodeSmoothStep): VisualShaderNodeSmoothStep_OpType = 12 | expandMethodBind(className VisualShaderNodeSmoothStep, "get_op_type", 359640855) 13 | var ret: encoded VisualShaderNodeSmoothStep_OpType 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeSmoothStep_OpType) 16 | 17 | template opType*(self: VisualShaderNodeSmoothStep): untyped = self.getOpType() 18 | template `opType=`*(self: VisualShaderNodeSmoothStep; value) = self.setOpType(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodestep.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOpType*(self: VisualShaderNodeStep; opType: VisualShaderNodeStep_OpType): void = 8 | expandMethodBind(className VisualShaderNodeStep, "set_op_type", 715172489) 9 | methodbind.ptrcall(self, [getPtr opType]) 10 | 11 | proc getOpType*(self: VisualShaderNodeStep): VisualShaderNodeStep_OpType = 12 | expandMethodBind(className VisualShaderNodeStep, "get_op_type", 3274022781) 13 | var ret: encoded VisualShaderNodeStep_OpType 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeStep_OpType) 16 | 17 | template opType*(self: VisualShaderNodeStep): untyped = self.getOpType() 18 | template `opType=`*(self: VisualShaderNodeStep; value) = self.setOpType(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeswitch.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOpType*(self: VisualShaderNodeSwitch; `type`: VisualShaderNodeSwitch_OpType): void = 8 | expandMethodBind(className VisualShaderNodeSwitch, "set_op_type", 510471861) 9 | methodbind.ptrcall(self, [getPtr `type`]) 10 | 11 | proc getOpType*(self: VisualShaderNodeSwitch): VisualShaderNodeSwitch_OpType = 12 | expandMethodBind(className VisualShaderNodeSwitch, "get_op_type", 2517845071) 13 | var ret: encoded VisualShaderNodeSwitch_OpType 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeSwitch_OpType) 16 | 17 | template opType*(self: VisualShaderNodeSwitch): untyped = self.getOpType() 18 | template `opType=`*(self: VisualShaderNodeSwitch; value) = self.setOpType(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodetexture2darrayparameter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodetextureparameter; export gdvisualshadernodetextureparameter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodetexture2dparameter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodetextureparameter; export gdvisualshadernodetextureparameter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodetexture3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodesample3d; export gdvisualshadernodesample3d 6 | 7 | proc setTexture*(self: VisualShaderNodeTexture3D; value: gdref Texture3D): void = 8 | expandMethodBind(className VisualShaderNodeTexture3D, "set_texture", 1188404210) 9 | methodbind.ptrcall(self, [getPtr value]) 10 | 11 | proc getTexture*(self: VisualShaderNodeTexture3D): gdref Texture3D = 12 | expandMethodBind(className VisualShaderNodeTexture3D, "get_texture", 373985333) 13 | var ret: encoded gdref Texture3D 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(gdref Texture3D) 16 | 17 | template texture*(self: VisualShaderNodeTexture3D): untyped = self.getTexture() 18 | template `texture=`*(self: VisualShaderNodeTexture3D; value) = self.setTexture(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodetexture3dparameter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodetextureparameter; export gdvisualshadernodetextureparameter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodetextureparametertriplanar.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodetextureparameter; export gdvisualshadernodetextureparameter 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodetexturesdf.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodetexturesdfnormal.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodetransformcompose.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodetransformconstant.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeconstant; export gdvisualshadernodeconstant 6 | 7 | proc setConstant*(self: VisualShaderNodeTransformConstant; constant: Transform3D): void = 8 | expandMethodBind(className VisualShaderNodeTransformConstant, "set_constant", 2952846383) 9 | methodbind.ptrcall(self, [getPtr constant]) 10 | 11 | proc getConstant*(self: VisualShaderNodeTransformConstant): Transform3D = 12 | expandMethodBind(className VisualShaderNodeTransformConstant, "get_constant", 3229777777) 13 | var ret: encoded Transform3D 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Transform3D) 16 | 17 | template constant*(self: VisualShaderNodeTransformConstant): untyped = self.getConstant() 18 | template `constant=`*(self: VisualShaderNodeTransformConstant; value) = self.setConstant(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodetransformdecompose.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeuintconstant.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeconstant; export gdvisualshadernodeconstant 6 | 7 | proc setConstant*(self: VisualShaderNodeUIntConstant; constant: int32): void = 8 | expandMethodBind(className VisualShaderNodeUIntConstant, "set_constant", 1286410249) 9 | methodbind.ptrcall(self, [getPtr constant]) 10 | 11 | proc getConstant*(self: VisualShaderNodeUIntConstant): int32 = 12 | expandMethodBind(className VisualShaderNodeUIntConstant, "get_constant", 3905245786) 13 | var ret: encoded int32 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(int32) 16 | 17 | template constant*(self: VisualShaderNodeUIntConstant): untyped = self.getConstant() 18 | template `constant=`*(self: VisualShaderNodeUIntConstant; value) = self.setConstant(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeuintfunc.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setFunction*(self: VisualShaderNodeUIntFunc; `func`: VisualShaderNodeUIntFunc_Function): void = 8 | expandMethodBind(className VisualShaderNodeUIntFunc, "set_function", 2273148961) 9 | methodbind.ptrcall(self, [getPtr `func`]) 10 | 11 | proc getFunction*(self: VisualShaderNodeUIntFunc): VisualShaderNodeUIntFunc_Function = 12 | expandMethodBind(className VisualShaderNodeUIntFunc, "get_function", 4187123296) 13 | var ret: encoded VisualShaderNodeUIntFunc_Function 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeUIntFunc_Function) 16 | 17 | template function*(self: VisualShaderNodeUIntFunc): untyped = self.getFunction() 18 | template `function=`*(self: VisualShaderNodeUIntFunc; value) = self.setFunction(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeuintop.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOperator*(self: VisualShaderNodeUIntOp; op: VisualShaderNodeUIntOp_Operator): void = 8 | expandMethodBind(className VisualShaderNodeUIntOp, "set_operator", 3463048345) 9 | methodbind.ptrcall(self, [getPtr op]) 10 | 11 | proc getOperator*(self: VisualShaderNodeUIntOp): VisualShaderNodeUIntOp_Operator = 12 | expandMethodBind(className VisualShaderNodeUIntOp, "get_operator", 256631461) 13 | var ret: encoded VisualShaderNodeUIntOp_Operator 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeUIntOp_Operator) 16 | 17 | template operator*(self: VisualShaderNodeUIntOp): untyped = self.getOperator() 18 | template `operator=`*(self: VisualShaderNodeUIntOp; value) = self.setOperator(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeuvfunc.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setFunction*(self: VisualShaderNodeUVFunc; `func`: VisualShaderNodeUVFunc_Function): void = 8 | expandMethodBind(className VisualShaderNodeUVFunc, "set_function", 765791915) 9 | methodbind.ptrcall(self, [getPtr `func`]) 10 | 11 | proc getFunction*(self: VisualShaderNodeUVFunc): VisualShaderNodeUVFunc_Function = 12 | expandMethodBind(className VisualShaderNodeUVFunc, "get_function", 3772902164) 13 | var ret: encoded VisualShaderNodeUVFunc_Function 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeUVFunc_Function) 16 | 17 | template function*(self: VisualShaderNodeUVFunc): untyped = self.getFunction() 18 | template `function=`*(self: VisualShaderNodeUVFunc; value) = self.setFunction(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeuvpolarcoord.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodevaryinggetter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodevarying; export gdvisualshadernodevarying 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodevaryingsetter.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodevarying; export gdvisualshadernodevarying 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodevec2constant.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeconstant; export gdvisualshadernodeconstant 6 | 7 | proc setConstant*(self: VisualShaderNodeVec2Constant; constant: Vector2): void = 8 | expandMethodBind(className VisualShaderNodeVec2Constant, "set_constant", 743155724) 9 | methodbind.ptrcall(self, [getPtr constant]) 10 | 11 | proc getConstant*(self: VisualShaderNodeVec2Constant): Vector2 = 12 | expandMethodBind(className VisualShaderNodeVec2Constant, "get_constant", 3341600327) 13 | var ret: encoded Vector2 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector2) 16 | 17 | template constant*(self: VisualShaderNodeVec2Constant): untyped = self.getConstant() 18 | template `constant=`*(self: VisualShaderNodeVec2Constant; value) = self.setConstant(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodevec3constant.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodeconstant; export gdvisualshadernodeconstant 6 | 7 | proc setConstant*(self: VisualShaderNodeVec3Constant; constant: Vector3): void = 8 | expandMethodBind(className VisualShaderNodeVec3Constant, "set_constant", 3460891852) 9 | methodbind.ptrcall(self, [getPtr constant]) 10 | 11 | proc getConstant*(self: VisualShaderNodeVec3Constant): Vector3 = 12 | expandMethodBind(className VisualShaderNodeVec3Constant, "get_constant", 3360562783) 13 | var ret: encoded Vector3 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Vector3) 16 | 17 | template constant*(self: VisualShaderNodeVec3Constant): untyped = self.getConstant() 18 | template `constant=`*(self: VisualShaderNodeVec3Constant; value) = self.setConstant(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodevectorbase.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | 7 | proc setOpType*(self: VisualShaderNodeVectorBase; `type`: VisualShaderNodeVectorBase_OpType): void = 8 | expandMethodBind(className VisualShaderNodeVectorBase, "set_op_type", 1692596998) 9 | methodbind.ptrcall(self, [getPtr `type`]) 10 | 11 | proc getOpType*(self: VisualShaderNodeVectorBase): VisualShaderNodeVectorBase_OpType = 12 | expandMethodBind(className VisualShaderNodeVectorBase, "get_op_type", 2568738462) 13 | var ret: encoded VisualShaderNodeVectorBase_OpType 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(VisualShaderNodeVectorBase_OpType) 16 | 17 | template opType*(self: VisualShaderNodeVectorBase): untyped = self.getOpType() 18 | template `opType=`*(self: VisualShaderNodeVectorBase; value) = self.setOpType(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodevectorcompose.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodevectorbase; export gdvisualshadernodevectorbase 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodevectordecompose.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodevectorbase; export gdvisualshadernodevectorbase 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodevectordistance.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodevectorbase; export gdvisualshadernodevectorbase 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodevectorlen.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodevectorbase; export gdvisualshadernodevectorbase 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodevectorrefract.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernodevectorbase; export gdvisualshadernodevectorbase 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvisualshadernodeworldpositionfromdepth.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdvisualshadernode; export gdvisualshadernode 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvscrollbar.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdscrollbar; export gdscrollbar 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvseparator.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdseparator; export gdseparator 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvslider.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdslider; export gdslider 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdvsplitcontainer.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdsplitcontainer; export gdsplitcontainer 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdweakref.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdrefcounted; export gdrefcounted 6 | 7 | proc getRef*(self: WeakRef): Variant = 8 | expandMethodBind(className WeakRef, "get_ref", 1214101251) 9 | var ret: encoded Variant 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(Variant) 12 | -------------------------------------------------------------------------------- /src/gdext/classes/gdworldboundaryshape3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdshape3d; export gdshape3d 6 | 7 | proc setPlane*(self: WorldBoundaryShape3D; plane: Plane): void = 8 | expandMethodBind(className WorldBoundaryShape3D, "set_plane", 3505987427) 9 | methodbind.ptrcall(self, [getPtr plane]) 10 | 11 | proc getPlane*(self: WorldBoundaryShape3D): Plane = 12 | expandMethodBind(className WorldBoundaryShape3D, "get_plane", 2753500971) 13 | var ret: encoded Plane 14 | methodbind.ptrcall(self, [], addr ret) 15 | (addr ret).decode_result(Plane) 16 | 17 | template plane*(self: WorldBoundaryShape3D): untyped = self.getPlane() 18 | template `plane=`*(self: WorldBoundaryShape3D; value) = self.setPlane(value) 19 | -------------------------------------------------------------------------------- /src/gdext/classes/gdxranchor3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdxrnode3d; export gdxrnode3d 6 | 7 | proc getSize*(self: XRAnchor3D): Vector3 = 8 | expandMethodBind(className XRAnchor3D, "get_size", 3360562783) 9 | var ret: encoded Vector3 10 | methodbind.ptrcall(self, [], addr ret) 11 | (addr ret).decode_result(Vector3) 12 | 13 | proc getPlane*(self: XRAnchor3D): Plane = 14 | expandMethodBind(className XRAnchor3D, "get_plane", 2753500971) 15 | var ret: encoded Plane 16 | methodbind.ptrcall(self, [], addr ret) 17 | (addr ret).decode_result(Plane) 18 | -------------------------------------------------------------------------------- /src/gdext/classes/gdxrcamera3d.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdcamera3d; export gdcamera3d 6 | -------------------------------------------------------------------------------- /src/gdext/classes/gdxrcontrollertracker.nim: -------------------------------------------------------------------------------- 1 | {.warning[UnusedImport]:off.} 2 | 3 | import gdext/coronation/header/classes 4 | 5 | import gdxrpositionaltracker; export gdxrpositionaltracker 6 | -------------------------------------------------------------------------------- /src/gdext/colortools.nim: -------------------------------------------------------------------------------- 1 | import std/strformat 2 | import gdext/private/gdinterface 3 | import gdext/private/staticevents 4 | import gdext/builtinindex 5 | 6 | proc color*(): Color = discard 7 | proc color*(`from`: Color): Color = `from` 8 | proc color*(`from`: Color; alpha: float32): Color = 9 | Color(r: `from`.r, g: `from`.g, b: `from`.b, a: alpha) 10 | proc color*(r,g,b: float32): Color = Color(r: r, g: g, b: b, a: 1) 11 | proc color*(r,g,b,a: float32): Color = Color(r: r, g: g, b: b, a: a) 12 | 13 | include gdext/gen/gdcolorconstr 14 | include gdext/gen/gdcolor 15 | 16 | proc `[]`*(self: Color; index: int): float_elem = 17 | if index notin 0..3: raise newException(IndexDefect, &"index must be in [0..3]; but got {index}") 18 | cast[ptr array[4, float_elem]](addr self)[][index] 19 | -------------------------------------------------------------------------------- /src/gdext/conversions.nim: -------------------------------------------------------------------------------- 1 | import gdext/builtinindex 2 | import gdext/stringtools 3 | import gdext/objecttools 4 | import gdext/varianttools 5 | 6 | {.push, inline.} 7 | 8 | converter convertToString*(str: string): String = newGdString str 9 | converter convertToStringName*(str: string): StringName = newStringName str 10 | converter convertToNodePath*(str: string): NodePath = newNodePath newGdString str 11 | 12 | converter convertToArray*(arr: TypedArray): Array = Array arr 13 | 14 | converter convertToSingleton*[T: SomeClass](_: typedesc[T]): T = singleton(T) 15 | 16 | converter convertToBool*(variant: Variant): bool = variant.booleanize 17 | 18 | {.pop.} 19 | -------------------------------------------------------------------------------- /src/gdext/coronation/README.md: -------------------------------------------------------------------------------- 1 | # gdext/coronation 2 | 3 | A set of modules just to assist generation by coronation. -------------------------------------------------------------------------------- /src/gdext/coronation/header/README.md: -------------------------------------------------------------------------------- 1 | # gdext/coronation/header 2 | 3 | This directory is use to configure coronation's module import settings. 4 |
5 | Instead of repeating the list required modules for all generated modules, it is enough to place single module. -------------------------------------------------------------------------------- /src/gdext/dicttools.nim: -------------------------------------------------------------------------------- 1 | import gdext/private/gdinterface 2 | import gdext/private/staticevents 3 | import gdext/private/typeshift 4 | import gdext/private/macros 5 | import gdext/builtinindex 6 | 7 | import std/[hashes] 8 | 9 | proc `[]`*(self: Dictionary; key: Variant): Variant = 10 | cast[ptr Variant](interface_Dictionary_operatorIndexConst(addr self, addr key))[] 11 | proc `[]`*(self: var Dictionary; key: Variant): var Variant = 12 | cast[ptr Variant](interface_Dictionary_operatorIndex(addr self, addr key))[] 13 | proc `[]=`*(self: var Dictionary; key: Variant; value: sink Variant) = 14 | `[]`(self, key) = value 15 | 16 | include gdext/gen/gddictionaryconstr 17 | include gdext/gen/gddictionary 18 | 19 | proc contains*[T: SomeProperty](dict: Dictionary; value: T): bool = dict.has(variant value) 20 | 21 | template dictionary*(args: varargs[untyped]): untyped {.deprecated: "use newDictionary instead".} = unpackVarargs(newDictionary, args) 22 | -------------------------------------------------------------------------------- /src/gdext/gen/README.md: -------------------------------------------------------------------------------- 1 | # gdext/gen 2 | 3 | This directory will contain automatically generated files that do not need to be imported manually by the user. 4 | 5 | Newly created/modified files in this directory are cleared each time `nimble generate` is run. 6 | 7 | Manual editing of this directory is therefore not recommended. 8 | -------------------------------------------------------------------------------- /src/gdext/gen/gdaabbconstr.nim: -------------------------------------------------------------------------------- 1 | var AABB_constr: array[3, PtrConstructor] 2 | proc load_AABB_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {2}: 4 | AABB_constr[i] = interface_Variant_getPtrConstructor(VariantType_AABB, int32 i) 5 | 6 | # proc aABB*(): AABB = 7 | # proc aABB*(`from`: AABB): AABB = 8 | proc aABB*(position: Vector3; size: Vector3): AABB = 9 | let argArr = [getPtr position, getPtr size] 10 | AABB_constr[2](addr result, addr argArr[0]) 11 | -------------------------------------------------------------------------------- /src/gdext/gen/gdbasisconstr.nim: -------------------------------------------------------------------------------- 1 | var Basis_constr: array[5, PtrConstructor] 2 | proc load_Basis_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {2, 3}: 4 | Basis_constr[i] = interface_Variant_getPtrConstructor(VariantType_Basis, int32 i) 5 | 6 | # proc basis*(): Basis = 7 | # proc basis*(`from`: Basis): Basis = 8 | proc basis*(`from`: Quaternion): Basis = 9 | let argArr = [getPtr `from`] 10 | Basis_constr[2](addr result, addr argArr[0]) 11 | proc basis*(axis: Vector3; angle: Float): Basis = 12 | let argArr = [getPtr axis, getPtr angle] 13 | Basis_constr[3](addr result, addr argArr[0]) 14 | # proc basis*(xAxis: Vector3; yAxis: Vector3; zAxis: Vector3): Basis = 15 | -------------------------------------------------------------------------------- /src/gdext/gen/gdboolconstr.nim: -------------------------------------------------------------------------------- 1 | # proc bool*(): bool = 2 | # proc bool*(`from`: bool): bool = 3 | # proc bool*(`from`: Int): bool = 4 | # proc bool*(`from`: Float): bool = 5 | -------------------------------------------------------------------------------- /src/gdext/gen/gdcallableconstr.nim: -------------------------------------------------------------------------------- 1 | var Callable_constr: array[3, PtrConstructor] 2 | proc load_Callable_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | Callable_constr[i] = interface_Variant_getPtrConstructor(VariantType_Callable, int32 i) 5 | 6 | # proc callable*(): Callable = 7 | proc callable*(`from`: Callable): Callable = 8 | let argArr = [getPtr `from`] 9 | Callable_constr[1](addr result, addr argArr[0]) 10 | proc callable*(`object`: Object; `method`: StringName): Callable = 11 | let argArr = [getPtr `object`, getPtr `method`] 12 | Callable_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdcolorconstr.nim: -------------------------------------------------------------------------------- 1 | var Color_constr: array[7, PtrConstructor] 2 | proc load_Color_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {5, 6}: 4 | Color_constr[i] = interface_Variant_getPtrConstructor(VariantType_Color, int32 i) 5 | 6 | # proc color*(): Color = 7 | # proc color*(`from`: Color): Color = 8 | # proc color*(`from`: Color; alpha: Float): Color = 9 | # proc color*(r: Float; g: Float; b: Float): Color = 10 | # proc color*(r: Float; g: Float; b: Float; a: Float): Color = 11 | proc color*(code: String): Color = 12 | let argArr = [getPtr code] 13 | Color_constr[5](addr result, addr argArr[0]) 14 | proc color*(code: String; alpha: Float): Color = 15 | let argArr = [getPtr code, getPtr alpha] 16 | Color_constr[6](addr result, addr argArr[0]) 17 | -------------------------------------------------------------------------------- /src/gdext/gen/gddictionaryconstr.nim: -------------------------------------------------------------------------------- 1 | var Dictionary_constr: array[3, PtrConstructor] 2 | proc load_Dictionary_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {0, 1, 2}: 4 | Dictionary_constr[i] = interface_Variant_getPtrConstructor(VariantType_Dictionary, int32 i) 5 | 6 | proc newDictionary*(): Dictionary = 7 | Dictionary_constr[0](addr result, nil) 8 | proc newDictionary*(`from`: Dictionary): Dictionary = 9 | let argArr = [getPtr `from`] 10 | Dictionary_constr[1](addr result, addr argArr[0]) 11 | proc newDictionary*(base: Dictionary; keyType: Int; keyClassName: StringName; keyScript: Variant; valueType: Int; valueClassName: StringName; valueScript: Variant): Dictionary = 12 | let argArr = [getPtr base, getPtr keyType, getPtr keyClassName, getPtr keyScript, getPtr valueType, getPtr valueClassName, getPtr valueScript] 13 | Dictionary_constr[2](addr result, addr argArr[0]) 14 | -------------------------------------------------------------------------------- /src/gdext/gen/gdfloatconstr.nim: -------------------------------------------------------------------------------- 1 | # proc float*(): Float = 2 | # proc float*(`from`: Float): Float = 3 | # proc float*(`from`: Int): Float = 4 | # proc float*(`from`: bool): Float = 5 | # proc float*(`from`: String): Float = 6 | -------------------------------------------------------------------------------- /src/gdext/gen/gdintconstr.nim: -------------------------------------------------------------------------------- 1 | # proc int*(): Int = 2 | # proc int*(`from`: Int): Int = 3 | # proc int*(`from`: Float): Int = 4 | # proc int*(`from`: bool): Int = 5 | # proc int*(`from`: String): Int = 6 | -------------------------------------------------------------------------------- /src/gdext/gen/gdnilconstr.nim: -------------------------------------------------------------------------------- 1 | # proc nil*(): Nil = 2 | # proc nil*(`from`: Variant): Nil = 3 | -------------------------------------------------------------------------------- /src/gdext/gen/gdnodepathconstr.nim: -------------------------------------------------------------------------------- 1 | var NodePath_constr: array[3, PtrConstructor] 2 | proc load_NodePath_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | NodePath_constr[i] = interface_Variant_getPtrConstructor(VariantType_NodePath, int32 i) 5 | 6 | # proc newNodePath*(): NodePath = 7 | proc newNodePath*(`from`: NodePath): NodePath = 8 | let argArr = [getPtr `from`] 9 | NodePath_constr[1](addr result, addr argArr[0]) 10 | proc newNodePath*(`from`: String): NodePath = 11 | let argArr = [getPtr `from`] 12 | NodePath_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdpackedbytearrayconstr.nim: -------------------------------------------------------------------------------- 1 | var PackedByteArray_constr: array[3, PtrConstructor] 2 | proc load_PackedByteArray_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | PackedByteArray_constr[i] = interface_Variant_getPtrConstructor(VariantType_PackedByteArray, int32 i) 5 | 6 | # proc newPackedByteArray*(): PackedByteArray = 7 | proc newPackedByteArray*(`from`: PackedByteArray): PackedByteArray = 8 | let argArr = [getPtr `from`] 9 | PackedByteArray_constr[1](addr result, addr argArr[0]) 10 | proc newPackedByteArray*(`from`: Array): PackedByteArray = 11 | let argArr = [getPtr `from`] 12 | PackedByteArray_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdpackedcolorarrayconstr.nim: -------------------------------------------------------------------------------- 1 | var PackedColorArray_constr: array[3, PtrConstructor] 2 | proc load_PackedColorArray_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | PackedColorArray_constr[i] = interface_Variant_getPtrConstructor(VariantType_PackedColorArray, int32 i) 5 | 6 | # proc newPackedColorArray*(): PackedColorArray = 7 | proc newPackedColorArray*(`from`: PackedColorArray): PackedColorArray = 8 | let argArr = [getPtr `from`] 9 | PackedColorArray_constr[1](addr result, addr argArr[0]) 10 | proc newPackedColorArray*(`from`: Array): PackedColorArray = 11 | let argArr = [getPtr `from`] 12 | PackedColorArray_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdpackedfloat32arrayconstr.nim: -------------------------------------------------------------------------------- 1 | var PackedFloat32Array_constr: array[3, PtrConstructor] 2 | proc load_PackedFloat32Array_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | PackedFloat32Array_constr[i] = interface_Variant_getPtrConstructor(VariantType_PackedFloat32Array, int32 i) 5 | 6 | # proc newPackedFloat32Array*(): PackedFloat32Array = 7 | proc newPackedFloat32Array*(`from`: PackedFloat32Array): PackedFloat32Array = 8 | let argArr = [getPtr `from`] 9 | PackedFloat32Array_constr[1](addr result, addr argArr[0]) 10 | proc newPackedFloat32Array*(`from`: Array): PackedFloat32Array = 11 | let argArr = [getPtr `from`] 12 | PackedFloat32Array_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdpackedfloat64arrayconstr.nim: -------------------------------------------------------------------------------- 1 | var PackedFloat64Array_constr: array[3, PtrConstructor] 2 | proc load_PackedFloat64Array_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | PackedFloat64Array_constr[i] = interface_Variant_getPtrConstructor(VariantType_PackedFloat64Array, int32 i) 5 | 6 | # proc newPackedFloat64Array*(): PackedFloat64Array = 7 | proc newPackedFloat64Array*(`from`: PackedFloat64Array): PackedFloat64Array = 8 | let argArr = [getPtr `from`] 9 | PackedFloat64Array_constr[1](addr result, addr argArr[0]) 10 | proc newPackedFloat64Array*(`from`: Array): PackedFloat64Array = 11 | let argArr = [getPtr `from`] 12 | PackedFloat64Array_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdpackedint32arrayconstr.nim: -------------------------------------------------------------------------------- 1 | var PackedInt32Array_constr: array[3, PtrConstructor] 2 | proc load_PackedInt32Array_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | PackedInt32Array_constr[i] = interface_Variant_getPtrConstructor(VariantType_PackedInt32Array, int32 i) 5 | 6 | # proc newPackedInt32Array*(): PackedInt32Array = 7 | proc newPackedInt32Array*(`from`: PackedInt32Array): PackedInt32Array = 8 | let argArr = [getPtr `from`] 9 | PackedInt32Array_constr[1](addr result, addr argArr[0]) 10 | proc newPackedInt32Array*(`from`: Array): PackedInt32Array = 11 | let argArr = [getPtr `from`] 12 | PackedInt32Array_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdpackedint64arrayconstr.nim: -------------------------------------------------------------------------------- 1 | var PackedInt64Array_constr: array[3, PtrConstructor] 2 | proc load_PackedInt64Array_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | PackedInt64Array_constr[i] = interface_Variant_getPtrConstructor(VariantType_PackedInt64Array, int32 i) 5 | 6 | # proc newPackedInt64Array*(): PackedInt64Array = 7 | proc newPackedInt64Array*(`from`: PackedInt64Array): PackedInt64Array = 8 | let argArr = [getPtr `from`] 9 | PackedInt64Array_constr[1](addr result, addr argArr[0]) 10 | proc newPackedInt64Array*(`from`: Array): PackedInt64Array = 11 | let argArr = [getPtr `from`] 12 | PackedInt64Array_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdpackedstringarrayconstr.nim: -------------------------------------------------------------------------------- 1 | var PackedStringArray_constr: array[3, PtrConstructor] 2 | proc load_PackedStringArray_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | PackedStringArray_constr[i] = interface_Variant_getPtrConstructor(VariantType_PackedStringArray, int32 i) 5 | 6 | # proc newPackedStringArray*(): PackedStringArray = 7 | proc newPackedStringArray*(`from`: PackedStringArray): PackedStringArray = 8 | let argArr = [getPtr `from`] 9 | PackedStringArray_constr[1](addr result, addr argArr[0]) 10 | proc newPackedStringArray*(`from`: Array): PackedStringArray = 11 | let argArr = [getPtr `from`] 12 | PackedStringArray_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdpackedvector2arrayconstr.nim: -------------------------------------------------------------------------------- 1 | var PackedVector2Array_constr: array[3, PtrConstructor] 2 | proc load_PackedVector2Array_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | PackedVector2Array_constr[i] = interface_Variant_getPtrConstructor(VariantType_PackedVector2Array, int32 i) 5 | 6 | # proc newPackedVector2Array*(): PackedVector2Array = 7 | proc newPackedVector2Array*(`from`: PackedVector2Array): PackedVector2Array = 8 | let argArr = [getPtr `from`] 9 | PackedVector2Array_constr[1](addr result, addr argArr[0]) 10 | proc newPackedVector2Array*(`from`: Array): PackedVector2Array = 11 | let argArr = [getPtr `from`] 12 | PackedVector2Array_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdpackedvector3arrayconstr.nim: -------------------------------------------------------------------------------- 1 | var PackedVector3Array_constr: array[3, PtrConstructor] 2 | proc load_PackedVector3Array_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | PackedVector3Array_constr[i] = interface_Variant_getPtrConstructor(VariantType_PackedVector3Array, int32 i) 5 | 6 | # proc newPackedVector3Array*(): PackedVector3Array = 7 | proc newPackedVector3Array*(`from`: PackedVector3Array): PackedVector3Array = 8 | let argArr = [getPtr `from`] 9 | PackedVector3Array_constr[1](addr result, addr argArr[0]) 10 | proc newPackedVector3Array*(`from`: Array): PackedVector3Array = 11 | let argArr = [getPtr `from`] 12 | PackedVector3Array_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdpackedvector4arrayconstr.nim: -------------------------------------------------------------------------------- 1 | var PackedVector4Array_constr: array[3, PtrConstructor] 2 | proc load_PackedVector4Array_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | PackedVector4Array_constr[i] = interface_Variant_getPtrConstructor(VariantType_PackedVector4Array, int32 i) 5 | 6 | # proc newPackedVector4Array*(): PackedVector4Array = 7 | proc newPackedVector4Array*(`from`: PackedVector4Array): PackedVector4Array = 8 | let argArr = [getPtr `from`] 9 | PackedVector4Array_constr[1](addr result, addr argArr[0]) 10 | proc newPackedVector4Array*(`from`: Array): PackedVector4Array = 11 | let argArr = [getPtr `from`] 12 | PackedVector4Array_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdplaneconstr.nim: -------------------------------------------------------------------------------- 1 | var Plane_constr: array[7, PtrConstructor] 2 | proc load_Plane_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {2, 4, 5}: 4 | Plane_constr[i] = interface_Variant_getPtrConstructor(VariantType_Plane, int32 i) 5 | 6 | # proc plane*(): Plane = 7 | # proc plane*(`from`: Plane): Plane = 8 | proc plane*(normal: Vector3): Plane = 9 | let argArr = [getPtr normal] 10 | Plane_constr[2](addr result, addr argArr[0]) 11 | # proc plane*(normal: Vector3; d: Float): Plane = 12 | proc plane*(normal: Vector3; point: Vector3): Plane = 13 | let argArr = [getPtr normal, getPtr point] 14 | Plane_constr[4](addr result, addr argArr[0]) 15 | proc plane*(point1: Vector3; point2: Vector3; point3: Vector3): Plane = 16 | let argArr = [getPtr point1, getPtr point2, getPtr point3] 17 | Plane_constr[5](addr result, addr argArr[0]) 18 | # proc plane*(a: Float; b: Float; c: Float; d: Float): Plane = 19 | -------------------------------------------------------------------------------- /src/gdext/gen/gdprojectionconstr.nim: -------------------------------------------------------------------------------- 1 | var Projection_constr: array[4, PtrConstructor] 2 | proc load_Projection_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {2}: 4 | Projection_constr[i] = interface_Variant_getPtrConstructor(VariantType_Projection, int32 i) 5 | 6 | # proc projection*(): Projection = 7 | # proc projection*(`from`: Projection): Projection = 8 | proc projection*(`from`: Transform3D): Projection = 9 | let argArr = [getPtr `from`] 10 | Projection_constr[2](addr result, addr argArr[0]) 11 | # proc projection*(xAxis: Vector4; yAxis: Vector4; zAxis: Vector4; wAxis: Vector4): Projection = 12 | -------------------------------------------------------------------------------- /src/gdext/gen/gdrect2constr.nim: -------------------------------------------------------------------------------- 1 | # proc rect2*(): Rect2 = 2 | # proc rect2*(`from`: Rect2): Rect2 = 3 | # proc rect2*(`from`: Rect2i): Rect2 = 4 | # proc rect2*(position: Vector2; size: Vector2): Rect2 = 5 | # proc rect2*(x: Float; y: Float; width: Float; height: Float): Rect2 = 6 | -------------------------------------------------------------------------------- /src/gdext/gen/gdrect2iconstr.nim: -------------------------------------------------------------------------------- 1 | # proc rect2i*(): Rect2i = 2 | # proc rect2i*(`from`: Rect2i): Rect2i = 3 | # proc rect2i*(`from`: Rect2): Rect2i = 4 | # proc rect2i*(position: Vector2i; size: Vector2i): Rect2i = 5 | # proc rect2i*(x: Int; y: Int; width: Int; height: Int): Rect2i = 6 | -------------------------------------------------------------------------------- /src/gdext/gen/gdridconstr.nim: -------------------------------------------------------------------------------- 1 | # proc rID*(): RID = 2 | # proc rID*(`from`: RID): RID = 3 | -------------------------------------------------------------------------------- /src/gdext/gen/gdsignalconstr.nim: -------------------------------------------------------------------------------- 1 | var Signal_constr: array[3, PtrConstructor] 2 | proc load_Signal_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | Signal_constr[i] = interface_Variant_getPtrConstructor(VariantType_Signal, int32 i) 5 | 6 | # proc signal*(): Signal = 7 | proc signal*(`from`: Signal): Signal = 8 | let argArr = [getPtr `from`] 9 | Signal_constr[1](addr result, addr argArr[0]) 10 | proc signal*(`object`: Object; signal: StringName): Signal = 11 | let argArr = [getPtr `object`, getPtr signal] 12 | Signal_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdstringconstr.nim: -------------------------------------------------------------------------------- 1 | var String_constr: array[4, PtrConstructor] 2 | proc load_String_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2, 3}: 4 | String_constr[i] = interface_Variant_getPtrConstructor(VariantType_String, int32 i) 5 | 6 | # proc newGdString*(): String = 7 | proc newGdString*(`from`: String): String = 8 | let argArr = [getPtr `from`] 9 | String_constr[1](addr result, addr argArr[0]) 10 | proc newGdString*(`from`: StringName): String = 11 | let argArr = [getPtr `from`] 12 | String_constr[2](addr result, addr argArr[0]) 13 | proc newGdString*(`from`: NodePath): String = 14 | let argArr = [getPtr `from`] 15 | String_constr[3](addr result, addr argArr[0]) 16 | -------------------------------------------------------------------------------- /src/gdext/gen/gdstringnameconstr.nim: -------------------------------------------------------------------------------- 1 | var StringName_constr: array[3, PtrConstructor] 2 | proc load_StringName_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {1, 2}: 4 | StringName_constr[i] = interface_Variant_getPtrConstructor(VariantType_StringName, int32 i) 5 | 6 | # proc newStringName*(): StringName = 7 | proc newStringName*(`from`: StringName): StringName = 8 | let argArr = [getPtr `from`] 9 | StringName_constr[1](addr result, addr argArr[0]) 10 | proc newStringName*(`from`: String): StringName = 11 | let argArr = [getPtr `from`] 12 | StringName_constr[2](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdtransform2dconstr.nim: -------------------------------------------------------------------------------- 1 | var Transform2D_constr: array[5, PtrConstructor] 2 | proc load_Transform2D_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {2, 3}: 4 | Transform2D_constr[i] = interface_Variant_getPtrConstructor(VariantType_Transform2D, int32 i) 5 | 6 | # proc transform2D*(): Transform2D = 7 | # proc transform2D*(`from`: Transform2D): Transform2D = 8 | proc transform2D*(rotation: Float; position: Vector2): Transform2D = 9 | let argArr = [getPtr rotation, getPtr position] 10 | Transform2D_constr[2](addr result, addr argArr[0]) 11 | proc transform2D*(rotation: Float; scale: Vector2; skew: Float; position: Vector2): Transform2D = 12 | let argArr = [getPtr rotation, getPtr scale, getPtr skew, getPtr position] 13 | Transform2D_constr[3](addr result, addr argArr[0]) 14 | # proc transform2D*(xAxis: Vector2; yAxis: Vector2; origin: Vector2): Transform2D = 15 | -------------------------------------------------------------------------------- /src/gdext/gen/gdtransform3dconstr.nim: -------------------------------------------------------------------------------- 1 | var Transform3D_constr: array[5, PtrConstructor] 2 | proc load_Transform3D_constructor {.execon: staticevents.init_engine.on_load_builtinclassConstructor.} = 3 | for i in {4}: 4 | Transform3D_constr[i] = interface_Variant_getPtrConstructor(VariantType_Transform3D, int32 i) 5 | 6 | # proc transform3D*(): Transform3D = 7 | # proc transform3D*(`from`: Transform3D): Transform3D = 8 | # proc transform3D*(basis: Basis; origin: Vector3): Transform3D = 9 | # proc transform3D*(xAxis: Vector3; yAxis: Vector3; zAxis: Vector3; origin: Vector3): Transform3D = 10 | proc transform3D*(`from`: Projection): Transform3D = 11 | let argArr = [getPtr `from`] 12 | Transform3D_constr[4](addr result, addr argArr[0]) 13 | -------------------------------------------------------------------------------- /src/gdext/gen/gdvector2constr.nim: -------------------------------------------------------------------------------- 1 | # proc vector2*(): Vector2 = 2 | # proc vector2*(`from`: Vector2): Vector2 = 3 | # proc vector2*(`from`: Vector2i): Vector2 = 4 | # proc vector2*(x: Float; y: Float): Vector2 = 5 | -------------------------------------------------------------------------------- /src/gdext/gen/gdvector2iconstr.nim: -------------------------------------------------------------------------------- 1 | # proc vector2i*(): Vector2i = 2 | # proc vector2i*(`from`: Vector2i): Vector2i = 3 | # proc vector2i*(`from`: Vector2): Vector2i = 4 | # proc vector2i*(x: Int; y: Int): Vector2i = 5 | -------------------------------------------------------------------------------- /src/gdext/gen/gdvector3constr.nim: -------------------------------------------------------------------------------- 1 | # proc vector3*(): Vector3 = 2 | # proc vector3*(`from`: Vector3): Vector3 = 3 | # proc vector3*(`from`: Vector3i): Vector3 = 4 | # proc vector3*(x: Float; y: Float; z: Float): Vector3 = 5 | -------------------------------------------------------------------------------- /src/gdext/gen/gdvector3iconstr.nim: -------------------------------------------------------------------------------- 1 | # proc vector3i*(): Vector3i = 2 | # proc vector3i*(`from`: Vector3i): Vector3i = 3 | # proc vector3i*(`from`: Vector3): Vector3i = 4 | # proc vector3i*(x: Int; y: Int; z: Int): Vector3i = 5 | -------------------------------------------------------------------------------- /src/gdext/gen/gdvector4constr.nim: -------------------------------------------------------------------------------- 1 | # proc vector4*(): Vector4 = 2 | # proc vector4*(`from`: Vector4): Vector4 = 3 | # proc vector4*(`from`: Vector4i): Vector4 = 4 | # proc vector4*(x: Float; y: Float; z: Float; w: Float): Vector4 = 5 | -------------------------------------------------------------------------------- /src/gdext/gen/gdvector4iconstr.nim: -------------------------------------------------------------------------------- 1 | # proc vector4i*(): Vector4i = 2 | # proc vector4i*(`from`: Vector4i): Vector4i = 3 | # proc vector4i*(`from`: Vector4): Vector4i = 4 | # proc vector4i*(x: Int; y: Int; z: Int; w: Int): Vector4i = 5 | -------------------------------------------------------------------------------- /src/gdext/othertools.nim: -------------------------------------------------------------------------------- 1 | {.experimental: "callOperator".} 2 | 3 | import gdext/private/gdinterface 4 | import gdext/private/staticevents 5 | import gdext/builtinindex 6 | 7 | import std/[hashes] 8 | 9 | proc callable*(): Callable = discard 10 | proc signal*(): Signal = discard 11 | 12 | proc rid*(): RID = discard 13 | proc rid*(`from`: RID): RID = `from` 14 | 15 | include gdext/gen/gdcallableconstr 16 | include gdext/gen/gdsignalconstr 17 | include gdext/gen/gdridconstr 18 | include gdext/gen/gdcallable 19 | include gdext/gen/gdsignal 20 | include gdext/gen/gdrid 21 | 22 | include gdext/gen/gdint 23 | include gdext/gen/gdfloat 24 | include gdext/gen/gdbool 25 | 26 | {.push, inline.} 27 | proc `()`*(signal: Signal; args: varargs[Variant, variant]) = 28 | signal.emit(args) 29 | {.pop.} 30 | -------------------------------------------------------------------------------- /src/gdext/private/includes/stringtoolsbase.nim: -------------------------------------------------------------------------------- 1 | privateAccess Object 2 | proc engineInstancePtr(obj: Object): ptr ObjectPtr = 3 | if unlikely(obj.isNil or obj.unsafeEngineInstance.isNil): nil 4 | else: addr obj.unsafeEngineInstance 5 | 6 | template getPtr[T](v: T): pointer = cast[pointer](addr v) 7 | template getPtr(v: Variant): pointer = cast[pointer](addr v) 8 | template getPtr[T: Object](v: T): pointer = 9 | cast[pointer](v.engineInstancePtr) 10 | template getPtr(v: GdRef): pointer = 11 | getPtr v.handle 12 | 13 | proc load(typ: VariantType; proc_name: string; hash: int64): PtrBuiltinMethod = 14 | let name = newStringName proc_name 15 | interface_Variant_getPtrBuiltinMethod(typ, addr name, hash) 16 | proc load(op: Variant_Operator; left, right: VariantType): PtrOperatorEvaluator = 17 | interfaceVariantGetPtrOperatorEvaluator(cuint op.ord, left, right) -------------------------------------------------------------------------------- /src/gdext/utilityfuncs.nim: -------------------------------------------------------------------------------- 1 | import gdext/private/gdinterface 2 | import gdext/builtinindex 3 | import gdext/stringtools 4 | 5 | proc load(proc_name: string; hash: int64): PtrUtilityFunction = 6 | let name = newStringName proc_name 7 | interface_Variant_getPtrUtilityFunction(addr name, hash) 8 | 9 | include gdext/gen/utilityfuncs 10 | -------------------------------------------------------------------------------- /src/gdext/wizard/sdk/opttools.nim: -------------------------------------------------------------------------------- 1 | import std/parseopt 2 | 3 | proc reverseOpt*(p: var OptParser): string = 4 | case p.kind 5 | of cmdLongOption: 6 | if p.val.len == 0: 7 | "--" & p.key 8 | else: 9 | "--" & p.key & ":" & p.val 10 | of cmdShortOption: 11 | if p.val.len == 0: 12 | "-" & p.key 13 | else: 14 | "-" & p.key & ":" & p.val 15 | of cmdArgument: 16 | p.key 17 | of cmdEnd: 18 | "" -------------------------------------------------------------------------------- /src/gdext/wizard/subcommands/extension/template/.gitignore: -------------------------------------------------------------------------------- 1 | lib/ -------------------------------------------------------------------------------- /src/gdext/wizard/subcommands/extension/template/bootstrap.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | import classes/gdMyClass 3 | 4 | 5 | GDExtensionEntryPoint 6 | -------------------------------------------------------------------------------- /src/gdext/wizard/subcommands/extension/template/config.nims: -------------------------------------------------------------------------------- 1 | # Buildconf, default settings (includes a few required settings) is in. 2 | # Every settings you want can overwrite in a general way. 3 | # All functions defined here are simply wrappers for the switch function, 4 | # so raw switch can be used instead 5 | import gdext/buildconf 6 | import std/strutils 7 | 8 | --path: src 9 | 10 | let setting = BuildSettings( 11 | name: capitalizeAscii "$name" 12 | ) 13 | 14 | configure(setting) -------------------------------------------------------------------------------- /src/nim.cfg: -------------------------------------------------------------------------------- 1 | define: "Assistance.checkenv:off" 2 | define: "Extension.name:Gdext" 3 | path: "." -------------------------------------------------------------------------------- /testproject/editor/.gitattributes: -------------------------------------------------------------------------------- 1 | # Normalize EOL for all files that Git considers text files. 2 | * text=auto eol=lf 3 | -------------------------------------------------------------------------------- /testproject/editor/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godot-nim/gdext-nim/949f5891c19e965568ce966949a2c65c050f9761/testproject/editor/icon.png -------------------------------------------------------------------------------- /testproject/editor/icon.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://b5lc5myy1blsf" 6 | path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://icon.png" 14 | dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /testproject/editor/main.tscn: -------------------------------------------------------------------------------- 1 | [gd_scene load_steps=2 format=3 uid="uid://dyswbjsdvglbr"] 2 | 3 | [ext_resource type="Texture2D" uid="uid://b5lc5myy1blsf" path="res://icon.png" id="2_x3ep8"] 4 | 5 | [node name="Main" type="Node"] 6 | 7 | [node name="PropTestNode" type="PropTestNode" parent="."] 8 | icon = ExtResource("2_x3ep8") 9 | 10 | [node name="PropTestNodePragmas" type="PropTestNodePragmas" parent="."] 11 | icon = ExtResource("2_x3ep8") 12 | 13 | [node name="SignalPublisher" type="SignalPublisher" parent="."] 14 | 15 | [node name="SignalSubscriber" type="SignalSubscriber" parent="." node_paths=PackedStringArray("publisher")] 16 | publisher = NodePath("../SignalPublisher") 17 | 18 | [node name="DocTestNode" type="DocTestNode" parent="."] 19 | -------------------------------------------------------------------------------- /testproject/editor/nim/EditorTest.gdextension: -------------------------------------------------------------------------------- 1 | [configuration] 2 | 3 | entry_symbol = "init_library" 4 | compatibility_minimum = 4.4 5 | reloadable = true 6 | 7 | [libraries] 8 | 9 | windows.debug = "res://./nim/lib/EditorTest.windows.debug.dll" 10 | windows.release = "res://./nim/lib/EditorTest.windows.release.dll" 11 | linux.debug = "res://./nim/lib/libEditorTest.linux.debug.so" 12 | linux.release = "res://./nim/lib/libEditorTest.linux.release.so" 13 | macos.debug = "res://./nim/lib/libEditorTest.macos.debug.dylib" 14 | macos.release = "res://./nim/lib/libEditorTest.macos.release.dylib" 15 | web.debug = "res://./nim/lib/libEditorTest.web.debug.wasm" 16 | web.release = "res://./nim/lib/libEditorTest.web.release.wasm" 17 | -------------------------------------------------------------------------------- /testproject/editor/nim/EditorTest.gdextension.uid: -------------------------------------------------------------------------------- 1 | uid://dpcq2rsubwtqi 2 | -------------------------------------------------------------------------------- /testproject/editor/nim/bootstrap.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | 3 | # import your extension classes here 4 | # import myclass 5 | import classes/gdproptestnode 6 | import classes/gdproptestnode_pragmas 7 | import classes/gddoctestnode 8 | import classes/gdsignalpublisher 9 | import classes/gdsignalsubscriber 10 | 11 | # ================================== 12 | 13 | proc register_classes {.execon: initialize_scene.} = 14 | # register your extension classes here 15 | # register MyClass 16 | register SignalPublisher 17 | register SignalSubscriber 18 | 19 | # ==================================== 20 | discard 21 | 22 | 23 | GDExtensionEntryPoint 24 | -------------------------------------------------------------------------------- /testproject/editor/nim/config.nims: -------------------------------------------------------------------------------- 1 | import gdext/buildconf 2 | 3 | --path: "src" 4 | --path: "../../../src" 5 | 6 | let setting = BuildSettings( 7 | name: "EditorTest", 8 | genEditorHelp: on, 9 | ) 10 | 11 | configure(setting) -------------------------------------------------------------------------------- /testproject/editor/nim/src/classes/gdsignalpublisher.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | import gdext/classes/gdNode 3 | randomize() 4 | 5 | type SignalPublisher* {.tool.} = ptr object of Node 6 | key: Int 7 | 8 | proc send*(self: SignalPublisher; key: Int): Error {.signal, gdsync.} 9 | 10 | method process(self: SignalPublisher; delta: float64) {.gdsync.} = 11 | if self.key == 0: 12 | self.key = randiRange(0, 255) 13 | assert self.send(self.key) == ok -------------------------------------------------------------------------------- /testproject/editor/project.godot: -------------------------------------------------------------------------------- 1 | ; Engine configuration file. 2 | ; It's best edited using the editor UI and not directly, 3 | ; since the parameters that go here are not all obvious. 4 | ; 5 | ; Format: 6 | ; [section] ; section goes between [] 7 | ; param=value ; assign values to parameters 8 | 9 | config_version=5 10 | 11 | [application] 12 | 13 | config/name="godot-nim/testproject" 14 | run/main_scene="res://main.tscn" 15 | config/features=PackedStringArray("4.4") 16 | 17 | [dotnet] 18 | 19 | project/assembly_name="godot-nim-test" 20 | -------------------------------------------------------------------------------- /testproject/runtime/.gitattributes: -------------------------------------------------------------------------------- 1 | # Normalize EOL for all files that Git considers text files. 2 | * text=auto eol=lf 3 | -------------------------------------------------------------------------------- /testproject/runtime/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godot-nim/gdext-nim/949f5891c19e965568ce966949a2c65c050f9761/testproject/runtime/icon.png -------------------------------------------------------------------------------- /testproject/runtime/icon.png.import: -------------------------------------------------------------------------------- 1 | [remap] 2 | 3 | importer="texture" 4 | type="CompressedTexture2D" 5 | uid="uid://b5lc5myy1blsf" 6 | path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex" 7 | metadata={ 8 | "vram_texture": false 9 | } 10 | 11 | [deps] 12 | 13 | source_file="res://icon.png" 14 | dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"] 15 | 16 | [params] 17 | 18 | compress/mode=0 19 | compress/high_quality=false 20 | compress/lossy_quality=0.7 21 | compress/hdr_compression=1 22 | compress/normal_map=0 23 | compress/channel_pack=0 24 | mipmaps/generate=false 25 | mipmaps/limit=-1 26 | roughness/mode=0 27 | roughness/src_normal="" 28 | process/fix_alpha_border=true 29 | process/premult_alpha=false 30 | process/normal_map_invert_y=false 31 | process/hdr_as_srgb=false 32 | process/hdr_clamp_exposure=false 33 | process/size_limit=0 34 | detect_3d/compress_to=1 35 | -------------------------------------------------------------------------------- /testproject/runtime/inherited_node01.gd: -------------------------------------------------------------------------------- 1 | extends VirtualNode01 2 | 3 | func virtualMethod(str: String) -> String: 4 | return "virtualMethod of InheritedNode01 is called " + str 5 | -------------------------------------------------------------------------------- /testproject/runtime/inherited_node01.gd.uid: -------------------------------------------------------------------------------- 1 | uid://br2aj64ry7rs1 2 | -------------------------------------------------------------------------------- /testproject/runtime/inherited_node02.gd: -------------------------------------------------------------------------------- 1 | extends VirtualNode02 2 | 3 | func virtualMethod(str: String) -> String: 4 | return "virtualMethod of InheritedNode02 is called " + str 5 | -------------------------------------------------------------------------------- /testproject/runtime/inherited_node02.gd.uid: -------------------------------------------------------------------------------- 1 | uid://7lji1hr8xghd 2 | -------------------------------------------------------------------------------- /testproject/runtime/main.gd.uid: -------------------------------------------------------------------------------- 1 | uid://b4m3g7vm27kwg 2 | -------------------------------------------------------------------------------- /testproject/runtime/nim/RuntimeTest.gdextension: -------------------------------------------------------------------------------- 1 | [configuration] 2 | 3 | entry_symbol = "init_library" 4 | compatibility_minimum = 4.4 5 | reloadable = true 6 | 7 | [libraries] 8 | 9 | windows.debug = "res://./nim/lib/RuntimeTest.windows.debug.dll" 10 | windows.release = "res://./nim/lib/RuntimeTest.windows.release.dll" 11 | linux.debug = "res://./nim/lib/libRuntimeTest.linux.debug.so" 12 | linux.release = "res://./nim/lib/libRuntimeTest.linux.release.so" 13 | macos.debug = "res://./nim/lib/libRuntimeTest.macos.debug.dylib" 14 | macos.release = "res://./nim/lib/libRuntimeTest.macos.release.dylib" 15 | web.debug = "res://./nim/lib/libRuntimeTest.web.debug.wasm" 16 | web.release = "res://./nim/lib/libRuntimeTest.web.release.wasm" 17 | -------------------------------------------------------------------------------- /testproject/runtime/nim/RuntimeTest.gdextension.uid: -------------------------------------------------------------------------------- 1 | uid://iecq1qhidwst 2 | -------------------------------------------------------------------------------- /testproject/runtime/nim/bootstrap.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | 3 | {.warning[UnusedImport]:off.} 4 | # import your extension classes here 5 | # import myclass 6 | import cases/use_api_from_toplevel 7 | import cases/primitives 8 | import cases/variant 9 | import cases/image 10 | import cases/prints 11 | import cases/issues 12 | import cases/singletons 13 | import classes/gdextnode 14 | import classes/gdvirtualnode01 15 | import classes/gdvirtualnode02 16 | import classes/gdtestobject 17 | import classes/gdextlabel 18 | import classes/gdsingleton 19 | 20 | # ================================== 21 | 22 | proc register_classes {.execon: initialize_scene.} = 23 | # register your extension classes here 24 | # register MyClass 25 | register GDExtNode 26 | register TestObject 27 | 28 | # ==================================== 29 | discard 30 | 31 | 32 | GDExtensionEntryPoint 33 | -------------------------------------------------------------------------------- /testproject/runtime/nim/config.nims: -------------------------------------------------------------------------------- 1 | import gdext/buildconf 2 | 3 | --path: "src" 4 | --path: "../../../src" 5 | 6 | let setting = BuildSettings( 7 | name: "RuntimeTest", 8 | genEditorHelp: off, 9 | ) 10 | 11 | configure(setting) -------------------------------------------------------------------------------- /testproject/runtime/nim/src/cases/image.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | import gdext/classes/gdImage 3 | import testutils 4 | 5 | runtime: suite "Image": 6 | test "create": 7 | var image {.used.}: gdref Image = Image.create(1920, 1080, false, formatRgba8) -------------------------------------------------------------------------------- /testproject/runtime/nim/src/cases/issues.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | import gdext/classes/[gdCSGSphere3D, gdStandardMaterial3D] 3 | import testutils 4 | 5 | runtime: suite "Community Reported": 6 | 7 | test "set a StandardMaterial3D crash? #134": 8 | let s : CSGSphere3D = instantiate CSGSphere3D 9 | check s != nil 10 | 11 | let mat: GdRef[StandardMaterial3D] = instantiate StandardMaterial3D 12 | mat[].albedoColor = color(0, 0, 1) 13 | s.material = mat as GdRef[Material] 14 | 15 | destroy s 16 | -------------------------------------------------------------------------------- /testproject/runtime/nim/src/cases/prints.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | import testutils 3 | 4 | runtime: suite "print": 5 | test "print": 6 | print("print: ", "1 = ", 1, ", instantiate RefCounted = ", instantiate RefCounted) 7 | printRich("printRich: ", "[b]1[/b] = ", 1, ", [b]instantiate RefCounted[/b] = ", instantiate RefCounted) 8 | printerr("printerr: ", "1 = ", 1, ", instantiate RefCounted = ", instantiate RefCounted) -------------------------------------------------------------------------------- /testproject/runtime/nim/src/cases/singletons.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | import classes/gdSingleton 3 | import testutils 4 | 5 | runtime: suite "Custom singletons": 6 | test "use custom singletons": 7 | Singleton.singleton.value1 = 10 8 | check Singleton.singleton.value1 == 10 9 | 10 | Singleton.set_value2 10 11 | check Singleton.get_value2 == 10 12 | -------------------------------------------------------------------------------- /testproject/runtime/nim/src/classes/gdextlabel.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | 3 | type ExtLabel* {.gdsync.} = ptr object of Label 4 | -------------------------------------------------------------------------------- /testproject/runtime/nim/src/classes/gdextnode.nim: -------------------------------------------------------------------------------- 1 | import gdextnode/[typedef, functions, enums] 2 | export typedef, functions, enums -------------------------------------------------------------------------------- /testproject/runtime/nim/src/classes/gdsingleton.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | 3 | type Singleton* {.gdsync, singleton.} = ptr object of Object 4 | value1* {.gdexport.}: int 5 | value2: int 6 | 7 | proc get_value2*(self: Singleton): int {.gdsync.} = 8 | self.value2 9 | proc set_value2*(self: Singleton; val: int) {.gdsync.} = 10 | self.value2 = val 11 | 12 | gdexport "value2", 13 | getter= get_value2, 14 | setter= set_value2 -------------------------------------------------------------------------------- /testproject/runtime/nim/src/classes/gdtestobject.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | 3 | type TestObject* = ptr object of Object 4 | 5 | -------------------------------------------------------------------------------- /testproject/runtime/nim/src/classes/gdvirtualnode01.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | 3 | type VirtualNode01* {.gdsync.} = ptr object of Node 4 | 5 | 6 | method virtualMethod*(self: VirtualNode01; str: string): string {.gdsync, base.} = 7 | "virtualMethod of VirtualNode01 is called " & str 8 | 9 | method virtualMethod2*(self: VirtualNode01) {.gdsync, base.} = 10 | discard 11 | method virtualMethod3*(self: VirtualNode01; value: int): int {.gdsync, base.} = 12 | result = value 13 | method virtualMethod4*(self: VirtualNode01; value: int): int {.gdsync, base.} = 14 | return value 15 | -------------------------------------------------------------------------------- /testproject/runtime/nim/src/classes/gdvirtualnode02.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | 3 | import classes/gdvirtualnode01 4 | 5 | type VirtualNode02* {.gdsync.} = ptr object of VirtualNode01 6 | 7 | method virtualMethod*(self: VirtualNode02; str: string): string {.gdsync.} = 8 | "virtualMethod of VirtualNode02 is called " & str 9 | -------------------------------------------------------------------------------- /testproject/runtime/nim/src/testutils.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | import std/[unittest, exitprocs] 3 | 4 | # paramFiltering tryes to access to `paramCount` and it cause `OSError` 5 | # because the program will finally be shared object(dll). 6 | unittest.disableParamFiltering() 7 | export unittest 8 | 9 | template runtime*(body) = 10 | if not Engine.isEditorHint: body 11 | 12 | gdexport "test_success", 13 | proc(self: ExtensionMain): bool = exitprocs.getProgramResult() == 0, 14 | proc(self: ExtensionMain; value: bool) = (discard) 15 | -------------------------------------------------------------------------------- /testproject/runtime/project.godot: -------------------------------------------------------------------------------- 1 | ; Engine configuration file. 2 | ; It's best edited using the editor UI and not directly, 3 | ; since the parameters that go here are not all obvious. 4 | ; 5 | ; Format: 6 | ; [section] ; section goes between [] 7 | ; param=value ; assign values to parameters 8 | 9 | config_version=5 10 | 11 | [application] 12 | 13 | config/name="godot-nim/testproject" 14 | run/main_scene="res://main.tscn" 15 | config/features=PackedStringArray("4.4") 16 | 17 | [dotnet] 18 | 19 | project/assembly_name="godot-nim-test" 20 | -------------------------------------------------------------------------------- /testproject/runtime/test_base.gd.uid: -------------------------------------------------------------------------------- 1 | uid://d2217neuse6ro 2 | -------------------------------------------------------------------------------- /tests/config.nims: -------------------------------------------------------------------------------- 1 | switch("define", "Assistance.checkEnv:off") 2 | switch("define", "Extension.name:unittest") 3 | switch("define", "nimPreviewDotLikeOps") 4 | switch("path", "../src") -------------------------------------------------------------------------------- /tests/importall.nim: -------------------------------------------------------------------------------- 1 | import gdext 2 | import gdext/gen/classes -------------------------------------------------------------------------------- /tests/tbuildwizard.nim: -------------------------------------------------------------------------------- 1 | import std/os 2 | 3 | var status: int 4 | 5 | status = execShellCmd "nimble build" 6 | if status != 0: quit status 7 | 8 | -------------------------------------------------------------------------------- /tests/testproject.nim: -------------------------------------------------------------------------------- 1 | import std/[os] 2 | 3 | var status: int 4 | 5 | status = execShellCmd"nim c testproject/runtime/nim/bootstrap" 6 | if status != 0: quit status 7 | 8 | if not dirExists("testproject/runtime/.godot"): 9 | status = execShellCmd"godot --headless --editor --path testproject/runtime" 10 | if status != 0: quit status 11 | 12 | status = execShellCmd"godot --headless --path testproject/runtime" 13 | if status != 0: quit status --------------------------------------------------------------------------------